umeshy9120
umeshy9120

Reputation: 33

How to setup RabbitMQ cluster with AWS EC2

Followed this article https://medium.com/@vipin.pratap18/rabbitmq-cluster-on-aws-ec2-with-high-availability-1bcd3f8a6404

But while doing sudo rabbitmqctl join_cluster rabbit@

facing issue

DIAGNOSTICS

attempted to contact: [rabbit@rabbitmqnode1]

rabbit@rabbitmqnode1:

Upvotes: 1

Views: 1148

Answers (1)

umeshy9120
umeshy9120

Reputation: 33

I solved it by following the logs itself

it clearly says "CLI tools must refer to node "rabbit@ip-10-0-x-xxx" using the same name the node itself uses"

while passing the cluster node name i was doing it wrong NOTE : added hostname from cat /etc/hosts

did like below sudo rabbitmqctl join_cluster rabbit@ip-10-0-x-yyy

and it worked suucessfull message "Clustering node rabbit@ip-10-0-x-xxx with rabbit@ip-10-0-x-yyy"

Upvotes: 1

Related Questions