<div dir="ltr">You're welcome :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 1:15 PM, 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">
    thank you very much Vishal.<span class="HOEnZb"><font color="#888888"><br>
    <br>
        A.</font></span><div><div class="h5"><br>
    <br>
    <div>On 28/07/2015 09:41, vishal yadav
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>>> "ha_all" vs. "HA".<br>
              >> which one is correct ?<br>
              <br>
              That's the policy name, you can name anything...<br>
              <br>
            </div>
            Excerpt from 'man rabbitmqctl'<br>
            ...<br>
            set_policy [-p vhostpath] {name} {pattern} {definition}
            [priority]<br>
                       Sets a policy.<br>
            <br>
                       name<br>
                           The name of the policy.<br>
            <br>
                       pattern<br>
                           The regular expression, which when matches on
            a given resources causes the policy to apply.<br>
            <br>
                       definition<br>
                           The definition of the policy, as a JSON term.
            In most shells you are very likely to need to quote this.<br>
            <br>
                       priority<br>
                           The priority of the policy as an integer,
            defaulting to 0. Higher numbers indicate greater precedence.<br>
            ...<br>
            <br>
          </div>
          Regards,<br>
        </div>
        Vishal<br>
        <div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jul 28, 2015 at 12:47 PM,
          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>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>