[rabbitmq-discuss] Why is it so difficult to setup clustering ?
John Smith
gb10hkzo-rabbitmq at yahoo.co.uk
Fri May 30 14:08:27 BST 2014
Well, it seems my newly installed rabbit is misbehaving.
Both RabbitMQ and Erlang are current versions off their relative APT feeds (http://packages.erlang-solutions.com/debian, http://www.rabbitmq.com/debian/). One node is running Ubuntu 12.04LTS, the other 14.04LTS but I can't see that making a difference as long as Rabbit and Erlang match ?
For the purposes of this email, we'll call the Ubuntu 12 node U12 and the Ubuntu 14 node U14.
I have synched the Rabbit cookie file.
I can ping between both nodes, they are on the same subnet, no firewalls.
If I try clustering from U12 to U14, I get :
Error: {'EXIT',
{function_clause,
[{rabbit_control,action,
[join_cluster,'rabbit at U12',
["rabbit at U14"],
[{"-p","/"},{"-n","rabbit at U14"},{"-q",false}],
#Fun<rabbit_control.1.115240681>],
[]},
{rabbit_control,start,0,[]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
If I try from U14 to U12, I get :
Clustering node 'rabbit at U14' with 'rabbit at U12' ...
Error: unable to connect to nodes ['rabbit at U12]: {'EXIT',{undef,[{rabbit_mnesia,cluster_status_from_mnesia,[],[]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,[114,112,99,46,101,114,108]},{line,205}]}]}}
DIAGNOSTICS
===========
attempted to contact: ['rabbit at U12']
rabbit at U12:
* connected to epmd (port 4369) on U12
* node rabbit at U12 up, 'rabbit' application running
current node details:
- node name: 'rabbitmqctl9529 at U14'
- home dir: /var/lib/rabbitmq
- cookie hash: YhcBiH/OYzC0Gqx1id7VZg==
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140530/b335d7f7/attachment.html>
More information about the rabbitmq-discuss
mailing list