No subject


Thu Mar 14 15:04:54 GMT 2013


rabbitmqctl status -n rabbit at testrabbit02

This is my /etc/rabbitmq/rabbitmq.config file:
[
  {kernel,
       [{inet_dist_listen_min, 45111},
        {inet_dist_listen_max, 45111},
        {inet_default_listen_options, [{nodelay,true}]},
        {inet_default_connect_options, [{nodelay,true}]}
       ]
  },
  {rabbit, [
    {cluster_nodes, {['rabbit at testrabbit01', 'rabbit at testrabbit02'], disc}},
    {tcp_listen_options, [binary, {packet,raw},
                                  {reuseaddr,true},
                                  {backlog,128},
                                  {nodelay,true},
                                  {exit_on_close,false},
                                  {keepalive,false}]},
    {default_user, <<"rabbit">>},
    {default_pass, <<"rabbit">>}
  ]}
].

I'm able to join the servers via:
rabbitmqctl join_cluster rabbit at testrabbit02

But I can never get them to "auto-configure" from the config file alone. 
 I'm not getting any errors in any logs.

Any ideas?  What else should I try?

Thanks,
Ben


------=_Part_247_18799776.1381195859997
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I've setup two Ubuntu 12.04 servers with rabbitmq running =
on each.<div><br></div><div>From server 1, I can see server 2's status, cor=
rectly running:</div><div><font face=3D"courier new, monospace">rabbitmqctl=
 status -n rabbit at testrabbit02</font><br></div><div><br></div><div>This is =
my /etc/rabbitmq/rabbitmq.config file:</div><div><div><font face=3D"courier=
 new, monospace">[</font></div><div><font face=3D"courier new, monospace">&=
nbsp; {kernel,</font></div><div><font face=3D"courier new, monospace">&nbsp=
; &nbsp; &nbsp; &nbsp;[{inet_dist_listen_min, 45111},</font></div><div><fon=
t face=3D"courier new, monospace">&nbsp; &nbsp; &nbsp; &nbsp; {inet_dist_li=
sten_max, 45111},</font></div><div><font face=3D"courier new, monospace">&n=
bsp; &nbsp; &nbsp; &nbsp; {inet_default_listen_options, [{nodelay,true}]},<=
/font></div><div><font face=3D"courier new, monospace">&nbsp; &nbsp; &nbsp;=
 &nbsp; {inet_default_connect_options, [{nodelay,true}]}</font></div><div><=
font face=3D"courier new, monospace">&nbsp; &nbsp; &nbsp; &nbsp;]</font></d=
iv><div><font face=3D"courier new, monospace">&nbsp; },</font></div><div><f=
ont face=3D"courier new, monospace">&nbsp; {rabbit, [</font></div><div><fon=
t face=3D"courier new, monospace">&nbsp; &nbsp; {cluster_nodes, {['rabbit at t=
estrabbit01', 'rabbit at testrabbit02'], disc}},</font></div><div><font face=
=3D"courier new, monospace">&nbsp; &nbsp; {tcp_listen_options, [binary, {pa=
cket,raw},</font></div><div><font face=3D"courier new, monospace">&nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {reuseaddr,true},</font></div><div><font=
 face=3D"courier new, monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; {backlog,128},</font></div><div><font face=3D"courier new, monospace">&nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {nodelay,true},</font></div><div><=
font face=3D"courier new, monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; {exit_on_close,false},</font></div><div><font face=3D"courier new, mo=
nospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {keepalive,false}]},</=
font></div><div><font face=3D"courier new, monospace">&nbsp; &nbsp; {defaul=
t_user, &lt;&lt;"rabbit"&gt;&gt;},</font></div><div><font face=3D"courier n=
ew, monospace">&nbsp; &nbsp; {default_pass, &lt;&lt;"rabbit"&gt;&gt;}</font=
></div><div><font face=3D"courier new, monospace">&nbsp; ]}</font></div><di=
v><font face=3D"courier new, monospace">].</font></div></div><div><font fac=
e=3D"courier new, monospace"><br></font></div><div>I'm able to join the ser=
vers via:</div><div><font face=3D"courier new, monospace">rabbitmqctl join_=
cluster rabbit at testrabbit02</font><br></div><div><br></div><div>But I can n=
ever get them to "auto-configure" from the config file alone. &nbsp;I'm not=
 getting any errors in any logs.</div><div><br></div><div>Any ideas? &nbsp;=
What else should I try?</div><div><br></div><div>Thanks,</div><div>Ben</div=
><div><br></div></div>
------=_Part_247_18799776.1381195859997--

------=_Part_246_24050424.1381195859997--


More information about the rabbitmq-discuss mailing list