<div dir="ltr"><a href="https://www.rabbitmq.com/ha.html">https://www.rabbitmq.com/ha.html</a><br><div><br></div><div>Both? I think ha_all/HA is just the policy name and so it can be whatever you want.</div><div><br></div><div>-Alex</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 2:17 AM, Alvise Dorigo <span dir="ltr"><<a href="mailto:alvise.dorigo@pd.infn.it" target="_blank">alvise.dorigo@pd.infn.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I read these two documents:<br>
<br>
<a href="http://docs.openstack.org/high-availability-guide/content/_configure_rabbitmq.html" target="_blank">http://docs.openstack.org/high-availability-guide/content/_configure_rabbitmq.html</a><br>
<br>
<a href="https://www.rdoproject.org/RabbitMQ" target="_blank">https://www.rdoproject.org/RabbitMQ</a><br>
<br>
To configure the queues in HA mode, the two docs suggests two
slightly different commands;<br>
<br>
The first one says:<br>
<br>
<pre style="color:rgb(35,48,45);display:block;font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;overflow-x:scroll;width:705.333312988281px;border-bottom-color:rgb(222,222,222)!important;border-bottom-style:solid!important;border-bottom-width:1px!important;border-top-color:rgb(222,222,222)!important;border-top-style:solid!important;border-top-width:1px!important;font-size:12px;margin:1em 0px!important;padding:0.5em!important;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px">rabbitmqctl set_policy ha-all '^(?!amq\.).*' '{"ha-mode": "all"}'</pre>
<br>
while the second one says:<br>
<br>
<pre style="padding:10px 15px;font-family:'PT Mono',sans-serif;font-size:12px;color:rgb(51,51,51);border-radius:0px;display:block;margin:5px 0px;line-height:20px;word-break:normal;word-wrap:normal;white-space:pre-wrap;border:none;overflow-x:auto;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background:rgb(238,238,238)">rabbitmqctl set_policy HA '^(?!amq\.).*' '{"ha-mode": "all"}'
</pre>
<br>
"ha_all" vs. "HA".<br>
<br>
which one is correct ?<br>
<br>
thanks,<br>
<br>
Alvise<br>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>