[rabbitmq-discuss] Newbie trying to get rabbit cluster to work

David Montgomery davidmontgomery at gmail.com
Sun Nov 4 10:05:22 GMT 2012


Hi 

I have tried the below from the second node to test the status of node 1.  
Given tat I have the correct ports open the what is the issue.  The first 
node is running.

sudo rabbitmqctl -n rabbit at 10.28. status
Status of node 'rabbit at 10.28.108' ...

=ERROR REPORT==== 4-Nov-2012::10:01:46 ===
** System NOT running to use fully qualified hostnames **
** Hostname 10.28.1 is illegal **
Error: unable to connect to node 'rabbit at 10.28.104': nodedown

DIAGNOSTICS
===========

nodes in question: ['rabbit at 10.28.108']

hosts, their running nodes and ports:
- 10.28.108.154: [{rabbit,36790}]

current node details:
- node name: 'rabbitmqctl30376 at aws-rabbit-server-east-development-233005'
- home dir: /var/lib/rabbitmq
- cookie hash: iSY9r1qzf7JJWtqs+9YHpA==









On Sunday, November 4, 2012 5:30:44 PM UTC+8, David Montgomery wrote:
>
> Hi,
>
> I cant get rabbit cluster to work on ec2
>
>
> 1) I have two nodes with ports 22, 4369, 5672 open  node names are 
>
> aws-rabbit-server-east-development-20121102162143
> aws-rabbit-server-east-development-20121103033005
>
>
> 2) Both have the same cookie.  Followed the docs on the rabbit page for 
> creating.  
>
> rabbitmqctl stop_app
> rabbitmqctl reset
> rabbitmqctl start_app
>
> I boot another node.
> sudo service rabbitmq-server stop
> #Copy cookie from the first server booted
> sudo su - -c 'echo -n "cookie" > /var/lib/rabbitmq/.erlang.cookie'
> sudo rabbitmqctl stop_app
> sudo rabbitmqctl reset
> sudo rabbitmqctl cluster rabbit at aws-rabbit-server-east-development-20121102162143
>
> sudo rabbitmqctl cluster rabbit at aws-rabbit-server-east-development-20121102162143
> Clustering node 'rabbit at aws-rabbit-server-east-development-20121103033005' with ['rabbit at aws-rabbit-server-east-development-20121102162143'] ...
> Error: {no_running_cluster_nodes,['rabbit at aws-rabbit-server-east-development-20121102162143'],
>                                  ['rabbit at aws-rabbit-server-east-development-20121102162143']}
>
>
>
> So....where is the issue with rabbit?  
>
> Thanks
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121104/c46d0ef5/attachment.htm>


More information about the rabbitmq-discuss mailing list