[rabbitmq-discuss] RabbitMQ - another HA approach - shared mnesia folders

Peter Sokolowski sysfalcon at gmail.com
Tue Oct 1 19:04:47 BST 2013

I've made a few tests of HA in RabbitMQ based on mirroring and
synchronization(with message write confirmation, 3 disk cluster
nodes). For me this approach is not working properly. I found that the
cluster is unstable - it's very weak.Sometimes the restarted node is
not working at all (I can't join it to the cluster, even it was
working properly a moment ago), sometimes queues in the whole cluster
are disappearing, sometimes are blocking (e.g. after breaking
synchronization process). In general: there are many pitfalls in this
approach (I know that 100% HA is impossible).

So I decided to make small test. I shared mnesia folder by NFS in
Linux(by changing RABBITMQ_MNESIA_BASE variable). Now, installation of
RabbitMQ and its mnesia folders lies on different physical machines.
Finally I'm going to create two installations of RabbitMQ which share
the same mnesia folders by NFS (One will be active, the other will be

Here's my question:  I'm not sure whether this is a good direction to
go to make HA in RabbitMQ without synchronization (only by sharing
mnesia folders)?

More information about the rabbitmq-discuss mailing list