<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><br><div style="display: block;" class="yahoo_quoted"><div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv8690674877"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div class="yiv8690674877" style=""><span class="yiv8690674877" style="">Hi Simon, thanks very much for your answer.</span></div><div class="yiv8690674877" style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span class="yiv8690674877" style="">What is the recommended set up for HA running in AWS?</span></div><div class="yiv8690674877" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span class="yiv8690674877" style="">Is there a way to workaround the partition problem? <br clear="none"></span></div><br class="yiv8690674877" style="" clear="none"><div class="yiv8690674877" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span class="yiv8690674877"
style=""><br class="yiv8690674877" style="" clear="none"></span></div><div class="yiv8690674877" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span class="yiv8690674877" style="">> On May 12, 2014, at 6:27 AM, Simon MacMullen <simon@rabbitmq.com> wrote:<br class="yiv8690674877" style="" clear="none">> > <br class="yiv8690674877" style="" clear="none">> > On 09/05/2014 20:18, Leonardo N. S. Pereira wrote:<br class="yiv8690674877" style="" clear="none">> > I'm bouncing the network connection between two nodes, for instance C<br class="yiv8690674877" style="" clear="none">> > and B, in the way that:<br class="yiv8690674877" style="" clear="none">> > - A: can reach C and B<br class="yiv8690674877" style="" clear="none">> > - C: can
reach A<br class="yiv8690674877" style="" clear="none">> > - B can reach A<br class="yiv8690674877" style="" clear="none">> > In this case, the cluster get stuck and only recovers when all nodes are<br class="yiv8690674877" style="" clear="none">> > restarted.<br class="yiv8690674877" style="" clear="none">> > Is it an expected behavior?<br class="yiv8690674877" style="" clear="none">> <br class="yiv8690674877" style="" clear="none">> We don't deal very well with partial partitions in general, and in this specific case it's unclear what pause_minority even *could* do. In this partial partition all >three nodes think that they are in the majority - so pause_minority mode has nothing to do. So I'm afraid this is expected, yes.<br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none">Cheers, Simon<br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style=""
clear="none"><br class="yiv8690674877" style="" clear="none"></span></div><div class="yiv8690674877" style=""> </div><div class="yiv8690674877" style=""><span class="yiv8690674877" style="font-weight:bold;">Leonardo Nogueira de Sá Pereira</span><br class="yiv8690674877" style="" clear="none">Tel.: +55 19 3307-5589<br class="yiv8690674877" style="" clear="none">Cel.: +55 19
9122-5943<br class="yiv8690674877" style="" clear="none">Skype: leonardo_pereira_77<br class="yiv8690674877" style="" clear="none"></div><div class="yiv8690674877yahoo_quoted" style="display:block;"> <div class="yiv8690674877" style="font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div class="yiv8690674877" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="yiv8690674877yqt3535567940" id="yiv8690674877yqtfd65171"><div class="yiv8690674877" dir="ltr" style=""> <font class="yiv8690674877" style="" face="Arial" size="2"> On Friday, May 9, 2014 4:18 PM, Leonardo N. S. Pereira <lndspereira-rabbit@yahoo.com> wrote:<br class="yiv8690674877" style="" clear="none"> </font> </div> <div class="yiv8690674877" style=""><div class="yiv8690674877" id="yiv8690674877" style=""><div class="yiv8690674877"
style=""><div class="yiv8690674877" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;">Hi all.<br class="yiv8690674877" style="" clear="none">I have a three nodes in a
cluster deployed on different AWS AZs: A, B and C.<br class="yiv8690674877" style="" clear="none">The queues are fully mirrored among nodes, the queues are persistent and cluster partition handler is configured to pause-minority. The RabbitMq version I'm using is 3.3.1<br class="yiv8690674877" style="" clear="none">The queues policies are set as: {"ha-mode":"all","ha-sync-mode":"automatic"} .<br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none">I'm bouncing the network connection between two nodes, for instance C and B, in the way that:<br class="yiv8690674877" style="" clear="none">- A: can reach C and B<br class="yiv8690674877" style="" clear="none">- C: can reach A<br class="yiv8690674877" style="" clear="none">- B can reach A<br class="yiv8690674877" style="" clear="none">In this case, the cluster get stuck and only recovers when all nodes are restarted.<span class="yiv8690674877" style=""> <br
class="yiv8690674877" style="" clear="none">Is it an expected behavior? </span><br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none">And if I kill one node, instead of only bounce the connection as before, the cluster is
still working.<br class="yiv8690674877" style="" clear="none">What I think is expected<br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none">Thanks in advance for your time and help<br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none">Best Regards,<br class="yiv8690674877" style="" clear="none">Leo<br class="yiv8690674877" style="" clear="none"><div class="yiv8690674877" style=""><br class="yiv8690674877" style="" clear="none"><span class="yiv8690674877" style=""></span></div><div class="yiv8690674877" style=""> </div><div class="yiv8690674877" style=""><span class="yiv8690674877" style="font-weight:bold;">Leonardo Nogueira de Sá Pereira</span><br class="yiv8690674877" style="" clear="none">Tel.: +55 19 3307-5589<br class="yiv8690674877" style="" clear="none">Cel.: +55 19 9122-5943<br class="yiv8690674877" style="" clear="none">Skype: leonardo_pereira_77<br
class="yiv8690674877" style="" clear="none"></div></div></div></div><br class="yiv8690674877" style="" clear="none"><br class="yiv8690674877" style="" clear="none"></div> </div></div><div class="yiv8690674877yqt3535567940" id="yiv8690674877yqtfd56591"> </div></div><div class="yiv8690674877yqt3535567940" id="yiv8690674877yqtfd55253"> </div></div><div class="yiv8690674877yqt3535567940" id="yiv8690674877yqtfd89370"> </div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>