[rabbitmq-discuss] rabbitmq clustering: ensuring failover and high availability

Chris stuff at moesel.net
Thu Jun 27 18:10:38 BST 2013


Hi Luis,

Mirrored queues are configured via policies on the server.  Clients don't
have to do anything special to take advantage of them.

Have you seen the documentation that specifically discusses mirrored queues?

http://www.rabbitmq.com/ha.html

This provides lots more information as well as examples on how to setup the
policies.  If you want all queues mirrored on all servers, then I think
you're looking for something like this:

rabbitmqctl set_policy ha-all ".*" '{"ha-mode":"all"}'

-Chris



On Thu, Jun 27, 2013 at 12:36 PM, Luis Rodriguez
<lrodriguez1995 at yahoo.com>wrote:

> Hi all,
>
> I  am trying to get High availability (active/active) and failover working
> on a clustered setup (3 vm's using Centos. I joined rabbit3 and rabbit2 to
> rabbit1)
> After reading the tutorials, I understand that " Mirrored queues
> replicate their contents across all configured cluster nodes"
> I am using a java application in my desktop to send messages to the vm's
> to test these instances.
> I'm really not sure how to change the settings for this to happen. (be
> able to display a message to all three nodes, and if 1 node goes down, it
> would still display the message to the remaining nodes in the cluster)
> Please help...
>
>
>
>
>
> Luis
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130627/60192cf2/attachment.htm>


More information about the rabbitmq-discuss mailing list