<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>Hi Emile,</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span> I read all the documentation + mailing list and can understand from past experience that HA in MQ is not a simple task. Here is my understanding to setup HA in Rabbit MQ and pl correct me if i am wrong</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-size: 12pt; font-weight: bold;">Step -0: Setup 2 nodes.</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>Node -1 :
Master</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>Node -2: Slave</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-weight: bold;">Step -1: Configure Mirrored Queues</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-weight: bold;">Step-2: Publish Message to Master</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">"</span>This is why publishes *also* go via GM - the master pushes each publish onto GM and the slaves received that and use it to derive the correct order"
- <b style="font-family: 'Times New Roman'; ">Matthew Sackman@ Rabbit MQ</b></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-weight: bold;">Step -3:Let Guaranteed Multicast(GM) to replicate messages to slaves</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-weight: bold;">Step-4: Consume messages from slaves</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-weight: bold;">Note</span>: There is a risk in the above strategy if the master node goes down.
If you want to avoid, then publish to all slaves? Here on wards, i am not clear. I also read about putting HA Proxy in front of the Rabbit MQ cluster and don't know whether it can lead to better or worse in this complex mix :-)</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">It looks to me that my steps can get basic level of HA in Rabbit MQ! Pl correct if i am wrong.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Best,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">-Uday.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div> <div style="font-size: 12pt; font-family:
'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Emile Joubert <emile@rabbitmq.com><br> <b><span style="font-weight: bold;">To:</span></b> Uday Subbarayan <uday.subbarayan@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "rabbitmq-discuss@lists.rabbitmq.com" <rabbitmq-discuss@lists.rabbitmq.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 10, 2012 2:04 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] HA Documentation Error?<br> </font> </div> <br>
Hi Uday,<br><br>On 09/02/12 23:32, Uday Subbarayan wrote:<br>> The first statement should be-<br>> All actions other than publishes go only to the SLAVE, ... (instead of<br>> master)<br><br>No, the statement as it stands is correct. This thread has some more detail:<br>http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-February/017957.html<br><br>> Side Note: Pl correct the spelling for "Behavior" in the title.<br><br>Both are correct. The RabbitMQ team tend towards British spelling.<br><br><br><br>-Emile<br><br><br> </div> </div> </div></body></html>