[rabbitmq-discuss] Cluster setup : rabbitmq server stops responding to rabbitmqctl commands

sanjiv.kumar.jha at accenture.com sanjiv.kumar.jha at accenture.com
Mon Jul 16 14:14:05 BST 2012

Hi Francesco,

I am using the rabbitmq.config file to setup the cluster:

[{rabbit, [{cluster_nodes, ['rabbit at rabbit1', 'rabbit at rabbit2']}]}].

I am doing the similar steps (more or less) as described in your script. Also, this cluster sits on two different VMs.

I am checking on whether two clocks are in synch or not and will get back to you.



-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Francesco Mazzoli
Sent: 13 July 2012 16:45
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] Cluster setup : rabbitmq server stops responding to rabbitmqctl commands

At Fri, 13 Jul 2012 10:23:15 +0000,
Hi Sanjiv,

I have hacked up a quick script to try to reproduce your problem. It is a bash script that starts/stops/cluster and a python script used by the bash script to declare 100 HA queues; I have attached them. I'm running the two nodes on the same machine, this makes a difference but hopefully the problem is not there.

Looking at your logs, it looks like DV1SP001 sees BSPEVSDK001 going down, but there is no trace of that in the BSPEVSDK001 logs, which looks like it's running all the way through. Are the clocks on the two nodes synchronised?  If they are, what I see in the logs looks like a netsplit, which is a bad thing for rabbit clusters, and can cause mnesia to act funny.

It's also not clear from your email and the logs how you set up the cluster in the first place.

Can you confirm that what I do in the script is more or less what you are doing?
If it's not, can you give more details on your setup?

Francesco * Often in error, never in doubt

Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.


More information about the rabbitmq-discuss mailing list