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

Brett Cameron brett.r.cameron at gmail.com
Sun Nov 4 23:13:16 GMT 2012


David,

See http://karlgrz.com/rabbitmq-highly-available-queues-and-clustering-using-amazon-ec2/
- in particular the comments about firewall rules. In addition to
opening up 4369 for epmd you'll need to open up one or more ports for
the cluster instances to communicate with each other on.

Brett


On Sun, Nov 4, 2012 at 10:30 PM, David Montgomery
<davidmontgomery at gmail.com> 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
>
>
>
> _______________________________________________
> 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