>> "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 <[email protected]>
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: [email protected]?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators