summaryrefslogtreecommitdiff
path: root/deps/rabbit/docs/set_rabbitmq_policy.sh.example
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbit/docs/set_rabbitmq_policy.sh.example')
-rw-r--r--deps/rabbit/docs/set_rabbitmq_policy.sh.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/rabbit/docs/set_rabbitmq_policy.sh.example b/deps/rabbit/docs/set_rabbitmq_policy.sh.example
new file mode 100644
index 0000000000..f46e901ad5
--- /dev/null
+++ b/deps/rabbit/docs/set_rabbitmq_policy.sh.example
@@ -0,0 +1,4 @@
+# This script is called by rabbitmq-server-ha.ocf during RabbitMQ
+# cluster start up. It is a convenient place to set your cluster
+# policy here, for example:
+# ${OCF_RESKEY_ctl} set_policy ha-all "." '{"ha-mode":"all", "ha-sync-mode":"automatic"}' --apply-to all --priority 0