<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi, </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Am trying to cluster two rabbitmq servers running on two independent
nodes, </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Node 1 terminal</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--------------------</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@morungole sbin]# rabbitmqctl status</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>./..</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Status of node rabbit@morungole ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{mnesia,"MNESIA CXC 138 12","4.4.7"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{os_mon,"CPO CXC 138 46","2.1.8"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{sasl,"SASL CXC 138 11","2.1.5.4"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{stdlib,"ERTS CXC 138 10","1.15.5"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{kernel,"ERTS CXC 138 10","2.12.5"}]},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {nodes,[rabbit@morungole]},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {running_nodes,[rabbit@morungole]}]</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Node 2 terminal </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--------------------------</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
status</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Status of node 'MocovirRabbit@mocovir2' ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{mnesia,"MNESIA CXC 138 12","4.4.12"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{os_mon,"CPO CXC 138 46","2.2.4"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{sasl,"SASL CXC 138 11","2.1.8"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{stdlib,"ERTS CXC 138 10","1.16.4"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{kernel,"ERTS CXC 138 10","2.13.4"}]},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {nodes,['MocovirRabbit@mocovir2']},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {running_nodes,['MocovirRabbit@mocovir2']}]</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
stop_app Stopping node 'MocovirRabbit@mocovir2'
...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
reset Resetting node
'MocovirRabbit@mocovir2' ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
cluster rabbit@morungole</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Clustering node 'MocovirRabbit@mocovir2' with
[rabbit@morungole] ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
start_app</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Starting node 'MocovirRabbit@mocovir2' ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[root@mocovir2 sbin]# rabbitmqctl -n MocovirRabbit@mocovir2
status</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Status of node 'MocovirRabbit@mocovir2' ...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{mnesia,"MNESIA CXC 138 12","4.4.12"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{os_mon,"CPO CXC 138 46","2.2.4"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{sasl,"SASL CXC 138 11","2.1.8"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{stdlib,"ERTS CXC 138 10","1.16.4"},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
{kernel,"ERTS CXC 138 10","2.13.4"}]},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {nodes,['MocovirRabbit@mocovir2']},</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> {running_nodes,['MocovirRabbit@mocovir2']}]</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>...done.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Even though it is telling Clustering is done. Both the
rabbitmq nodes are not able to recognize each other. </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can you please tell me where am going wrong ?\</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The .erlang.cookie in $HOME was not same at the
beginning . Then i copied the .erlang.cookie content from Node 1
(rabbit@morungole) to Node 2 ( MocovirRabbit@mocovir2 ) </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p style='line-height:9.75pt'><strong><b><font size=1 color="#0066cc" face=Verdana><span style='font-size:8.5pt;font-family:Verdana;color:#0066CC'>Thanks
and Regards,</span></font></b></strong></p>
<p style='line-height:9.75pt'><strong><b><font size=1 color="#0066cc" face=Verdana><span style='font-size:8.5pt;font-family:Verdana;color:#0066CC'>D.Radhakrishnan</span></font></b></strong><font size=1 color="#0066cc" face=Verdana><span style='font-size:8.5pt;font-family:
Verdana;color:#0066CC'><br>
</span></font><font size=1 color="#333333" face=Verdana><span style='font-size:
8.5pt;font-family:Verdana;color:#333333'>Trainee Engineer-Architecture</span></font></p>
<p style='margin-top:3.75pt;line-height:9.75pt'><b><font size=1 color="#0066cc" face=Verdana><span style='font-size:8.5pt;font-family:Verdana;color:#0066CC;
font-weight:bold'>IVY Comptech Private Limited</span></font></b><font size=1 color="#0066cc" face=Verdana><span style='font-size:8.5pt;font-family:Verdana;
color:#0066CC'><br>
</span></font><font size=1 color="#333333" face=Verdana><span style='font-size:
8.5pt;font-family:Verdana;color:#333333'>Cyber Spazio,Road No 2, Banjara Hills,
<br>
Hyderabad-500034, Andhra Pradesh. </span></font></p>
<div id="pg_contactnumbers">
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:9.75pt'><font size=1 color="#333333" face=Verdana><span style='font-size:8.5pt;font-family:Verdana;color:#333333'>Phone + 91 (40)
66721000 – 4638<br>
Mobile + 91 (0) 9030842104</span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=1 color="#333333" face=Verdana><span style='font-size:7.5pt;font-family:
Verdana;color:#333333'>This email and any attachments are confidential, legally
privileged and protected by copyright. If you are not the intended recipient,
dissemination or copying this email is prohibited. If you have received this in
error, please notify the sender by replying by email and then delete the email
completely from your system.</span></font><font color="#333333"><span style='color:#333333'></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=1 color="#333333" face=Verdana><span style='font-size:7.5pt;font-family:
Verdana;color:#333333'>Any views or opinions are solely those of the sender.
This communication is not intended to form a binding contract unless expressly
indicated to the contrary and properly authorized. Any actions taken on the
basis of this email are at recipient’s own risk. </span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
<!--[object_id=#ivycomptech.com#]--><P align=left><FONT face=Tahoma color=#808080 size=2>
<HR>
</FONT></P>
<P align=left><FONT face=Arial color=#808080 size=1>This email is sent for and on behalf of Ivy Comptech Private Limited. Ivy Comptech Private Limited is a limited liability company.</FONT></P>
<P align=left><FONT face=AR><FONT size=1><FONT color=#808080><FONT face=Arial>This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract on behalf of Ivy Comptech Private Limited unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk</FONT>.</FONT></FONT></FONT></P>
<P align=left><FONT face=Arial color=#808080 size=1>Registered Office:</FONT></P>
<P align=left><FONT face=Arial color=#808080 size=1>Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills, Hyderabad 500 033, Andhra Pradesh, India.</FONT></P>
<P align=left><FONT face=Arial color=#808080 size=1>Registered number: 37994. Registered in India. A list of members' names is available for inspection at the registered office.</FONT></P>
<P align=left><FONT face=Tahoma color=#0000ff size=2>
<HR>
</FONT>
<P></P></body>
</html>