[rabbitmq-discuss] Clustering Off LAN isn't working
Daniel N
has.sox at gmail.com
Wed Apr 15 05:51:12 BST 2009
Hi
I've setup a cluster on my LAN (finally) and got it working by modifying the
startup script for rabbitmq-server (yuk) to set the cookie. Then setup
/etc/rabbitmq/rabbitmq.conf to set the cookie:
CTL_ERL_ARGS="-setcookie mycookie"
On the lan:
$ sudo rabbitmqctl -n rabbit at ubi status
Status of node rabbit at ubi ...
[{running_applications,[{rabbit,"RabbitMQ","1.5.4"},
{mnesia,"MNESIA CXC 138 12","4.4.3"},
{os_mon,"CPO CXC 138 46","2.1.6"},
{sasl,"SASL CXC 138 11","2.1.5.3"},
{stdlib,"ERTS CXC 138 10","1.15.3"},
{kernel,"ERTS CXC 138 10","2.12.3"}]},
{nodes,[rabbit at ubi,rabbit at hassox]},
{running_nodes,[rabbit at ubi]}]
...done.
Over the Interwebs:
$ sudo rabbitmqctl -n rabbit at ubinet status
Status of node rabbit at ubinet ...
{badrpc,nodedown}
...done.
Where ubinet is setup in my hosts file. If I use a full IP address:
$ sudo rabbitmqctl -n rabbit at 123.456.789.123 status
Status of node 'rabbit at 123.456.789.123' ...
=ERROR REPORT==== 15-Apr-2009::14:50:00 ===
** System NOT running to use fully qualified hostnames **
** Hostname 123.456.789.123 is illegal **
{badrpc,nodedown}
...done.
IP addy changed...
Any idea on why this would cause an issue? I can't find any documentation
on it on the rabbit site at all :(
Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090415/220815fe/attachment.htm
More information about the rabbitmq-discuss
mailing list