[openstack-dev] Which is the correct way to set ha queues in RabbitMQ

Alex Schultz aschultz at mirantis.com
Tue Jul 28 13:50:59 UTC 2015


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

Both?  I think ha_all/HA is just the policy name and so it can be whatever
you want.

-Alex

On Tue, Jul 28, 2015 at 2:17 AM, Alvise Dorigo <alvise.dorigo at pd.infn.it>
wrote:

>  Hi,
> I read these two documents:
>
>
> http://docs.openstack.org/high-availability-guide/content/_configure_rabbitmq.html
>
> https://www.rdoproject.org/RabbitMQ
>
> To configure the queues in HA mode, the two docs suggests two slightly
> different commands;
>
> The first one says:
>
> rabbitmqctl set_policy ha-all '^(?!amq\.).*' '{"ha-mode": "all"}'
>
>
> while the second one says:
>
> rabbitmqctl set_policy HA '^(?!amq\.).*' '{"ha-mode": "all"}'
>
>
> "ha_all" vs. "HA".
>
> which one is correct ?
>
> thanks,
>
>     Alvise
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150728/289e7c14/attachment.html>


More information about the OpenStack-dev mailing list