<div dir="ltr"><div>Hey... I had a pretty rough time today with a 3-node RabbitMQ 3.1.3 cluster thats under pretty heavy use (6-7 million messages per day -- 100MB peak bandwidth per node). I want to pose a few questions here. First off, here&#39;s the basic configuration though.</div>
<div><br></div><div>Configuration:</div><div>� serverA, serverB and serverC are all configured with RabbitMQ 3.1.3. They each are configured via Puppet ... and Puppet uses a dynamic node discovery plugin (zookeeper) to find the nodes. The node lists are hard-coded into the rabbitmq.config file. A dynamic server list generator supplies Puppet with this list of servers (and is not really necessary to describe here in this email).</div>
<div><br></div><div>Scenario:</div><div>� A momentary configuration blip caused serverA and serverB to begin reconfiguring their rabbitmq.config files... when they did this, they also both issued a &#39;service rabbitmq restart&#39; command. This command took 40+minutes and ultimately failed. During this failure, RabbitMQ was technically running and accepting connections to the TCP ports ... but it would not actually answer any queries. Commands like list_queues would hang indefinitely.</div>
<div><br></div><div>Questions:</div><div>� 1. We only had ~2500 messages in the queues (they are HA&#39;d and durable). The policy is { &#39;ha-mode&#39;: &#39;all&#39; }. When serverA and serverB restarted, why did they never come up? Unfortunately in the restart process, they blew away their log files as well which makes this really tough to troubleshoot.</div>
<div><br></div><div>� 2. I know that restarting serverA and serverB at nearly the same time is obviously a bad idea -- we&#39;ll be implementing some changes so this doesn&#39;t happen again -- but could this have lead to data corruption? Once the entire RabbitMQ farm was shut down, we actually were forced to move the rabbitmq data directory out of the way and start up the farm completely with blank databases. It seemed that RabbitMQ 3.1.3 really did not want to recover from this failure. Any thoughts?</div>
<div><br></div><div>� 3. Lastly .. in the event of future failures, what tools are there for recovering our Mnesia databases? Is there any way we can dump out the data into some raw form, and then import it back into a new fresh cluster?</div>

</div>