[rabbitmq-discuss] rabbitmq clustering issues

Jeremy McSpadden jeremy at fluxlabs.net
Tue Jun 25 07:23:03 BST 2013


Add rabbit1,2,3 to hosts file and set IPs accordingly.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Jun 25, 2013, at 1:18 AM, "Luis Rodriguez" <lrodriguez1995 at yahoo.com<mailto:lrodriguez1995 at yahoo.com>> wrote:

Hi all,
I am a newbie trying rabbitmq.
my setup is the following:
running a windows host with three virtual machines running centos 5.9 and have them in a host only network.
I have rabbitmq server 3.0.3 installed in all three vm's along with erlang (named the nodes rabbit1 at localhost,rabbit2 at localhost,rabbit3 at localhost)
I also have added an init.d script (pic 4) that starts rabbitmq when the node starts.
After reading the tutorials, I was able to make the three separate vm's work. (created a java application to test them and works fine). The problems started when I tried to cluster the three nodes.
I understand you need to make sure your chosen erlang cookie is copied to all the nodes that will be in the cluster so I made sure of that as well.
I get the expected results when I do rabbitmq-server -detached ,rabbitmqctl cluster_status.(shown in the second picture) on the three nodes
but when I try to join a cluster, I get: Error: Cannot discover cluster."the nodes provided are either offline or not running". (same thing for the other two)
I am not exactly sure what I'm missing (I also have no idea how to change the status of my node in the Rabbitmq_management from disc to connected)
Pleease help!!!
I have added more pics to hopefuly make it easier to pinpoint what I'm doing wrong.
Any help will be greatly appreciated..:)


<1.png>
<2.png>
<3.png>
<4.png>
<5.png>
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130625/2da1fabc/attachment.htm>


More information about the rabbitmq-discuss mailing list