No subject


Tue Apr 12 10:32:41 BST 2011


add lenovo to posti's host file.

If it does work, on posti, try:
  rabbitmqctl -n rabbit at lenovo status

If that doesn't work, check that both nodes have the same .erlang.cookie
file, and, if you have a firewall, check that Erlang's port is open.

Cheers,
Alex

On Sat, Oct 01, 2011 at 05:57:26AM -0700, Alex Grönholm wrote:
> I'm trying to set up a cluster between two nodes in a LAN, and I'm not 
> getting anywhere.
> 
> On node 1 (lenovo) I have a rabbitmq 2.6.1 instance running:
> $ sudo rabbitmqctl cluster_status
> Cluster status of node rabbit at lenovo ...
> [{nodes,[{disc,[rabbit at lenovo]}]},{running_nodes,[rabbit at lenovo]}]
> ...done.
> 
> One node 2 (posti) I have a stopped rabbitmq 2.6.1 instance:
> $ sudo rabbitmqctl cluster_status
> Cluster status of node rabbit at posti ...
> [{nodes,[{unknown,[rabbit at posti]}]},{running_nodes,[]}]
> ...done.
> 
> Then I attempt to join node 2 to node 1:
> $ sudo rabbitmqctl cluster rabbit at lenovo
> Clustering node rabbit at posti with [rabbit at lenovo] ...
> Error: {no_running_cluster_nodes,[rabbit at lenovo],[rabbit at lenovo]}
> 
> What am I doing wrong? The instructions on the official site weren't that 
> complicated.
> Attempting the automatic cluster configuration proved equally fruitless.

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list