[rabbitmq-discuss] Unable to cluster rabbit nodes
Anders Ljusberg
andlju at gmail.com
Tue Apr 2 13:51:33 BST 2013
You may have already figured this out by now, but for anyone else.
Rabbit by default uses a random port range to do the actual communication
between nodes in the cluster and you need to allow communication on all
these ports. If it's the Windows firewall that is blocking you, the easiest
way is probably to allow erl.exe to communicate on any TCP port.
See the last paragraph under "(Windows) Firewall Settings" in my post on
clustering RabbitMQ on Windows:
http://coding-insomnia.com/2013/02/23/clustering-rabbitmq-on-windows/
Cheers,
Anders Ljusberg
On Monday, March 18, 2013 10:39:13 PM UTC+1, Govind wrote:
>
> I see below error when I try to cluster rabbitmq.
>
> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-3.0.3\sbin>rabbitmqctl.bat join_cluster
> rabbit at WIN-GOVIND1
> Clustering node 'rabbit at WIN-GOVIND2' with 'rabbit at WIN-GOVIND1' ...
> Error: {cannot_discover_cluster,"The nodes provided are either offline or
> not running"}
>
> a) Node GOVIND1 is up
> b) Can ping each other machine with name
> c) Can telnet to 5672 and 4369 (empd) ports from each box prior to running
> stop_app on GOVIND2.
> d) Synced up erlang cookie
>
> What else did I miss for this not to work?
>
> I get GOVIND1 as node down. why?
>
> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-3.0.3\sbin>rabbitmqctl.bat -n
> rabbit at WIN-GOVIND1status
> Status of node 'rabbit at WIN-GOVIND1' ...
> Error: unable to connect to node 'rabbit at WIN-GOVIND1': nodedown
>
> DIAGNOSTICS
> ===========
>
> nodes in question: ['rabbit at WIN-GOVIND1']
>
> hosts, their running nodes and ports:
> - WIN-GOVIND1: [{rabbit,49283}]
>
> current node details:
> - node name: 'rabbitmqctl2221614 at WIN-GOVIND1'
> - home dir: C:\Users\Administrator
> - cookie hash: IgPbUHwN5LE8HjnJYwYTiA==
>
>
> C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.0.3\sbin>
>
> I didn't change default port (5672) but what is 49283 from above status?
>
> I appreciate any help to cluster rabbit nodes.
>
> Thanks,
> Govind
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130402/a0ef8844/attachment.htm>
More information about the rabbitmq-discuss
mailing list