<div>The clustering + mirrored queue approach you&#39;ve already got is what is required to make RabbitMQ HA, you don&#39;t (additionally) need the Heartbeat/DRBD�shenanigans, get rid of that as it just complicates things.</div>
<div><br></div><div>Since you also mention making this transparent to the clients (which is a�separate�issue), you will need to either embed the failover logic in the client code (making clients aware of every node in the cluster), or use a VIP, Proxy or something similar to present a single address/endpoint to the clients.</div>
<div><br></div><div>Many people have success using a TCP load-balancing mechanism like LVS or HAProxy in front of RabbitMQ.</div><div><br></div><div>This way if one of the nodes in your cluster goes down, the clients TCP connection to the dead node is reset and when they reconnect to the Proxy they will be directed to the healthy node, upon which the mirrored queue would be master.</div>
<div><br></div><div><br></div><div><div class="gmail_quote">On Thu, May 17, 2012 at 2:08 PM, sameekmishra <span dir="ltr">&lt;<a href="mailto:sameek@arosys.com" target="_blank">sameek@arosys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I have implement the following points :<br>
<br>
1.clustering with two node<br>
2.mirror queue<br>
3. installation and configuration of heartbeat on both nodes<br>
4. installation of pacemaker.<br>
<br>
I need to implement: if any node is failed to switch to other node without<br>
know the client.<br>
<br>
as you say i have read it document-<a href="http://www.rabbitmq.com/pacemaker.html" target="_blank">http://www.rabbitmq.com/pacemaker.html</a><br>
but i can&#39;t able to find out without using DRBD.<br>
please help me how i configure it.<br>
<div class="im"><br>
<br>
<br>
Brendan Hay-2 wrote:<br>
&gt;<br>
&gt; The document that you must have read which refers to DRBD is:<br>
&gt; <a href="http://www.rabbitmq.com/pacemaker.html" target="_blank">http://www.rabbitmq.com/pacemaker.html</a><br>
&gt;<br>
</div>&gt; Please read about M*irrored Queue Behaviour* via the link Simon mentioned<br>
<div class="im">&gt; here: <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.html</a><br>
&gt;<br>
&gt; This will give you information about creating a highly available<br>
</div>&gt; active/active setup *without* using something like DRBD.<br>
<div><div class="h5">&gt;<br>
&gt; - Brendan<br>
&gt;<br>
&gt; On Thu, May 17, 2012 at 12:56 PM, sameekmishra &lt;<a href="mailto:sameek@arosys.com">sameek@arosys.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have already read this document.i want to know that DRBD required<br>
&gt;&gt; partition<br>
&gt;&gt; or it uses any free space in hard disk to stored file.if we can do then<br>
&gt;&gt; please explain it.otherwise tell me the approach to followed to achieve<br>
&gt;&gt; high<br>
&gt;&gt; availability without using DRBD.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Simon MacMullen-2 wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 17/05/12 05:27, sameekmishra wrote:<br>
&gt;&gt; &gt;&gt; can we manage the high availability without using DRBD,because have<br>
&gt;&gt; not<br>
&gt;&gt; &gt;&gt; created any shared partition for DRBD device.please help how can i<br>
&gt;&gt; &gt;&gt; implment<br>
&gt;&gt; &gt;&gt; high �availability.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; See <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers, Simon<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Simon MacMullen<br>
&gt;&gt; &gt; RabbitMQ, VMware<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rabbitmq-discuss mailing list<br>
&gt;&gt; &gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; &gt; <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>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://old.nabble.com/can-we-implement-high-availability-without-using-DRBD--tp33862277p33863431.html" target="_blank">http://old.nabble.com/can-we-implement-high-availability-without-using-DRBD--tp33862277p33863431.html</a><br>

&gt;&gt; Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://old.nabble.com/can-we-implement-high-availability-without-using-DRBD--tp33862277p33863776.html" target="_blank">http://old.nabble.com/can-we-implement-high-availability-without-using-DRBD--tp33862277p33863776.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
<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>
</div></div></blockquote></div><br></div>