summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJohn Eckersberg <jeckersb@redhat.com>2017-07-19 11:28:39 -0400
committerJohn Eckersberg <jeckersb@redhat.com>2017-07-19 11:28:39 -0400
commitef582bfc6a25958fbb3d701b6b95328ef72c1fc8 (patch)
treeb5f2ad618824cc5fd819a7c591b7946e76744d5a /puppet
parent7e4f7dd2b0324247bba8fd8da5f3becd20e8299f (diff)
Increase default RabbitMQ/Erlang TCP timeout from 5 to 15 seconds
This should be greater than the default value of corosync_token_timeout, which is 10 seconds. That way, if an entire cluster node is unavailable, appropriate fencing measures can occur. With the current settings, it is possible for brief network interruptions, greater than 5 seconds, but less than 10 seconds, to occur. This can cause the RabbitMQ cluster to fail in subtle ways, but no corrective action taken by pacemaker. Change-Id: I735d43616c5c623c4398d924713012f595b2e5f9
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/rabbitmq.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/services/rabbitmq.yaml b/puppet/services/rabbitmq.yaml
index 66f5c4b6..5867721a 100644
--- a/puppet/services/rabbitmq.yaml
+++ b/puppet/services/rabbitmq.yaml
@@ -97,7 +97,7 @@ outputs:
NODE_PORT: ''
NODE_IP_ADDRESS: ''
RABBITMQ_NODENAME: "rabbit@%{::hostname}"
- RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<5000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<5000:64/native>>}]"'
+ RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<15000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<15000:64/native>>}]"'
'export ERL_EPMD_ADDRESS': "%{hiera('rabbitmq::interface')}"
rabbitmq_kernel_variables:
inet_dist_listen_min: '25672'