[Openstack-operators] [openstack-dev] Which is the correct way to set ha queues in RabbitMQ
vishal yadav
vishalcdac07 at gmail.com
Tue Jul 28 07:46:26 UTC 2015
You're welcome :)
On Tue, Jul 28, 2015 at 1:15 PM, Alvise Dorigo <alvise.dorigo at pd.infn.it>
wrote:
> thank you very much Vishal.
>
> A.
>
>
> On 28/07/2015 09:41, vishal yadav wrote:
>
> >> "ha_all" vs. "HA".
> >> which one is correct ?
>
> That's the policy name, you can name anything...
>
> Excerpt from 'man rabbitmqctl'
> ...
> set_policy [-p vhostpath] {name} {pattern} {definition} [priority]
> Sets a policy.
>
> name
> The name of the policy.
>
> pattern
> The regular expression, which when matches on a given
> resources causes the policy to apply.
>
> definition
> The definition of the policy, as a JSON term. In most
> shells you are very likely to need to quote this.
>
> priority
> The priority of the policy as an integer, defaulting to 0.
> Higher numbers indicate greater precedence.
> ...
>
> Regards,
> Vishal
>
>
> On Tue, Jul 28, 2015 at 12:47 PM, 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-operators/attachments/20150728/e4ef5a3b/attachment.html>
More information about the OpenStack-operators
mailing list