[rabbitmq-discuss] unable to cluster rabbitmq on ec2

Tim Watson tim at rabbitmq.com
Fri Jul 20 10:54:43 BST 2012

On 07/20/2012 10:14 AM, avinash0601 wrote:
> but Do i need to change 'sname' to 'name' in
> /usr/lib/rabbitmq/bin/rabbitmq-server&  rabbitmqctl?
> Do i need to change node name initialization in rabbitmq-env from
> NODENAME=rabbit@${HOSTNAME%%.*} to NODENAME=rabbit@${HOSTNAME}

No you shouldn't need to change that. The choice between long and 
shortnames is about whether or not you're fully qualifying your hostname 
with the domain or not. This is *not* why you cannot cluster your 
rabbits. You can't cluster them because they cannot talk to the epmd 
daemons on one another's nodes, as evidenced by the fact that you cannot 
telnet onto it. If *this* works, then you should be able to cluster 
without changing too much: `telnet <hostname> <epmd-port>`


More information about the rabbitmq-discuss mailing list