[rabbitmq-discuss] Unable to get automatic clustering to work

Mark J. Reed markjreed at gmail.com
Fri Jan 14 14:07:06 GMT 2011


OK, I'm having better luck with 2.2.   But I still have a few
instances where one node can't talk to another, even though TCP
connectivity is there.  Any help diagnosing those?

rabbit1$ rabbitmqctl status
Status of node rabbit at rabbit1 ...
[{running_applications,[{rabbit,"RabbitMQ","2.2.0"},
                        {mnesia,"MNESIA  CXC 138 12","4.4.12"},
                        {os_mon,"CPO  CXC 138 46","2.2.4"},
                        {sasl,"SASL  CXC 138 11","2.1.8"},
                        {stdlib,"ERTS  CXC 138 10","1.16.4"},
                        {kernel,"ERTS  CXC 138 10","2.13.4"}]},
 {nodes,[{disc,[rabbit at rabbit1]}]},
 {running_nodes,[rabbit at rabbit1]}]
...done.

rabbit1$ rabbitmqctl -n rabbit at rabbit2 status  # 1 can see 2
Status of node rabbit at rabbit2 ...
[{running_applications,[{rabbit,"RabbitMQ","2.2.0"},
                        {mnesia,"MNESIA  CXC 138 12","4.4.12"},
                        {os_mon,"CPO  CXC 138 46","2.2.4"},
                        {sasl,"SASL  CXC 138 11","2.1.8"},
                        {stdlib,"ERTS  CXC 138 10","1.16.4"},
                        {kernel,"ERTS  CXC 138 10","2.13.4"}]},
 {nodes,[{disc,[rabbit at rabbit2]}]},
 {running_nodes,[rabbit at rabbit2]}]
...done.


rabbit2$ rabbitmqctl -n rabbit at rabbit1  # but 2 can't connect to 1
Status of node slurp at rabbit1 ...
Error: unable to connect to node slurp at slurpp1refq1: nodedown
diagnostics:
- nodes and their ports on slurpp1refq1: [{rabbit,12635}]
- current node: rabbitmqctl7085 at slurpp1refw1
- current node home dir: /var/lib/rabbitmq
- current node cookie hash: aEuWObzDves/lfh1+WJREQ==

rabbit2$ telnet rabbit1 5672
Trying 10.1.2.3...
Connected to rabbit1.my.domain.
Escape character is '^]'.
Connection closed by foreign host.
rabbit2$


More information about the rabbitmq-discuss mailing list