<div dir="ltr">Please consult the documentation on HA via mirrored queues at:<div><br></div><div><a href="http://www.rabbitmq.com/ha.html">http://www.rabbitmq.com/ha.html</a><br><br>One wants to be careful about how one uses the term "high availability." �Normally a queue will reside on only one node of a cluster, and its availability will be subject to the health of that node. �HA via mirrored queues allows you to specify that a queue or queues will be replicated on more than one node of a cluster, thereby guarding against failure of what would otherwise be a single node holding the queue.<div>
<br></div><div>So do you want to mirror all queues? �Maybe, but it depends on your actual requirements.</div><div>HA via mirrored queues, as the above link explains, isn't a switch one throws once on the cluster and walks away from, ticking off a box on one's checklist marked "High Availability: Done."</div>
<div><br></div><div>If you want to guard against message loss in the presence of failures, there are other things your applications will have to think about, particularly around the transfer of responsibility for messages as they pass in and out of the broker, whether by using a proper acknowledgement discipline with consumers, using publisher confirms on the producer side, or using transactions, and handling the various failure notifications that can happen when a connection or cluster node go down, potentially retransmitting on demand, being prepared to see a duplicated message under certain failure syndromes, etc. �These issues are all discussed in the above link.<br>
</div><div><br></div><div>Best regards,</div><div>Jerry</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 9:43 AM, Anita Yip <span dir="ltr"><<a href="mailto:Anita.Yip@realpage.com" target="_blank">Anita.Yip@realpage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>To achieve High Availability, I do need to mirror all the queues, right? Or is there any other way. My basic requirement is that when one Rabbit server goes down, the apps connecting to it should not get affected and the messages should not be lost.</div>

<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:0.0001pt;font-family:Calibri,sans-serif">
</p>
<div><b>Anita Yip</b></div>
<span style="font-size:14px;line-height:normal">RealPage, Inc.</span><span style="font-size:14px;line-height:normal">
<div>360 Third Street � Suite 450</div>
<div>San Francisco, CA �94107</div>
<div><br>
</div>
<div>Office: �<a href="tel:415-395-2109" value="+14153952109" target="_blank">415-395-2109</a></div>
<div><a href="mailto:don.dalenberg@relapage.com" target="_blank">Anita.yip@realpage.com</a></div>
<div><a href="http://www.realpage.com/" target="_blank">www.realpage.com</a></div>
<div>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><b><span style="font-size:10pt;font-family:Tahoma;color:rgb(54,95,145)">Connect with RealPage:</span></b><span style="font-size:10pt;font-family:Tahoma;color:rgb(31,73,125)"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"><a href="http://www.realpage.com/" style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:C4959BE4-C0F7-4C05-B546-E09294B50506" alt="Description: Description: Description: cid:image003.jpg@01CE5184.4C0A9D20" type="image/png"></span></a><a href="http://twitter.com/RealPage" style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:D99B09FC-AE4F-4518-8C12-7C762D27BE9B" alt="Description: Description: Description: cid:image005.gif@01CE5184.4C0A9D20" type="image/png"></span></a><span style="font-size:15px;color:rgb(31,73,125)">�</span><a href="http://www.facebook.com/RealPage" style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:3ACF1A40-305B-4E98-8F18-E9F3B8BDC105" alt="Description: Description: Description: cid:image006.gif@01CE5184.4C0A9D20" type="image/png"></span></a><span style="font-size:15px;color:rgb(31,73,125)">�</span><a href="http://www.youtube.com/realpagemedia" style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:3EF1BA9F-FBD1-49DF-BCB9-56CA0EEAFC91" alt="Description: Description: Description: cid:image007.png@01CE5184.4C0A9D20" type="image/png"></span></a><span style="font-size:15px;color:rgb(31,73,125)">�</span><a href="http://www.linkedin.com/company/realpage-inc." style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:E72FDF08-F468-48D6-9977-B642D6471597" alt="Description: Description: Description: cid:image008.jpg@01CE5184.4C0A9D20" type="image/png"></span></a><span style="font-size:15px">�</span><a href="http://www.propertymanagementinsider.com/" style="color:purple;font-size:15px" target="_blank"><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="28" height="28" src="cid:2EA19E2A-7482-4EAD-AF49-684B585DDC63" alt="Description: Description: Description: cid:image009.jpg@01CE5184.4C0A9D20" type="image/png"></span></a></p>

</div>
</span>
<p></p>
<p style="font-size:14px"></p>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Jerry Kuch <<a href="mailto:jkuch@gopivotal.com" target="_blank">jkuch@gopivotal.com</a>><div class=""><br>
<span style="font-weight:bold">Reply-To: </span>Discussions about RabbitMQ <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>><br>
</div><span style="font-weight:bold">Date: </span>Tuesday, April 22, 2014 4:08 PM<div class=""><br>
<span style="font-weight:bold">To: </span>Discussions about RabbitMQ <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>><br>
</div><span style="font-weight:bold">Subject: </span>Re: [rabbitmq-discuss] RabbitMQ HA set up not working as expected<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Apr 22, 2014 at 4:03 PM, Anita Yip <span dir="ltr">
<<a href="mailto:Anita.Yip@realpage.com" target="_blank">Anita.Yip@realpage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>Ignore the below email, as it turned out the set up is not correct. On a similar note, can you please let me know if high availability set up is possible at a cluster level?�</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>In old Rabbits HA/mirroring is a property of the queue, granted to it when the queue is declared.</div>
<div><br>
</div>
<div>In newer Rabbits, HA is defined by a policy, which applies to a pattern specifying the names of the objects the policy is supposed to modify. �For details see here: �<a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.html</a></div>

<div><br>
</div>
<div>Are you sure you want to mirror absolutely all of the queues?</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></span><div class=""><br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not
 the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the
 sender immediately and delete the original message.<br>
</font>
</div></div>

<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>