diff options
| author | Michael Klishin <michael@novemberain.com> | 2015-12-09 18:51:29 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@novemberain.com> | 2015-12-09 18:51:29 +0300 |
| commit | 06389b4f4a33cb94464d7d72a23ac848c6809082 (patch) | |
| tree | d6ab095f2b9dd192c1e9926b53d93a5c63601651 /scripts | |
| parent | 1be1da575bfdcd01d8c674b7c359f807f1e3e723 (diff) | |
| parent | 7d3055a5052e073c2a7beda3b38b717715f21f10 (diff) | |
| download | rabbitmq-server-git-06389b4f4a33cb94464d7d72a23ac848c6809082.tar.gz | |
Merge pull request #480 from dmitrymex/stable
Allow users to define poliies and parameters in OCF script for HA
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/set_rabbitmq_policy.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/set_rabbitmq_policy.sh b/scripts/set_rabbitmq_policy.sh new file mode 100755 index 0000000000..a88b0c417a --- /dev/null +++ b/scripts/set_rabbitmq_policy.sh @@ -0,0 +1,5 @@ +# 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 + |
