Merge "Set Rabbit recovery method for network partitions"
This commit is contained in:
commit
66d8d6ee96
@ -34,6 +34,9 @@ rabbitmq_userid: rabbitmq
|
|||||||
# Name of the rabbitmq cluster
|
# Name of the rabbitmq cluster
|
||||||
rabbitmq_cluster_name: rabbitmq_cluster1
|
rabbitmq_cluster_name: rabbitmq_cluster1
|
||||||
|
|
||||||
|
# Specify a partition recovery strategy (autoheal | pause_minority | ignore)
|
||||||
|
rabbitmq_cluster_partition_handling: pause_minority
|
||||||
|
|
||||||
# Rabbitmq open file limits
|
# Rabbitmq open file limits
|
||||||
rabbitmq_ulimit: 4096
|
rabbitmq_ulimit: 4096
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[
|
[
|
||||||
{rabbit, [
|
{rabbit, [
|
||||||
{loopback_users, []},
|
{loopback_users, []},
|
||||||
|
{% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}},{% endif %}
|
||||||
{cluster_nodes, {
|
{cluster_nodes, {
|
||||||
[ {% for host in groups['rabbitmq_all'] %}'rabbit@{{ hostvars[host]['ansible_ssh_host'] }}'{% if not loop.last %}, {% endif %}{% endfor %}], disc}
|
[ {% for host in groups['rabbitmq_all'] %}'rabbit@{{ hostvars[host]['ansible_ssh_host'] }}'{% if not loop.last %}, {% endif %}{% endfor %}], disc}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user