|
|
| Author |
Message |
< RabbitMQ mailing list ~ problems with rabbitmq cluster across 2 ubuntu 9.04 machines |
| Guest |
Posted: Thu Sep 24, 2009 5:38 am |
|
|
|
Guest
|
I keep getting unable_to_contact_cluster_nodes error
Has anyone seen this earlier and resolved it?
### The machine is pingable (I made an entry in /etc/hosts file)
pgatram@mzl005:~$ ping mz005
PING mz005 (192.168.0.22) 56(84) bytes of data.
64 bytes from mz005 (192.168.0.22): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from mz005 (192.168.0.22): icmp_seq=2 ttl=64 time=0.023 ms
^C
--- mz005 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.023/0.024/0.026/0.005 ms
### I cant get the cluster to work
pgatram@mzl005:~$ sudo rabbitmqctl cluster rabbit@mz005
Clustering node rabbit@mzl005 with [rabbit@mz005] ...
Error: {unable_to_contact_cluster_nodes,[rabbit@mz005]}
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Sep 25, 2009 7:13 pm |
|
|
|
Guest
|
Pradeep,
Pradeep Gatram wrote:
> ### I cant get the cluster to work
> pgatram@mzl005:~$ sudo rabbitmqctl cluster rabbit@mz005
> Clustering node rabbit@mzl005 with [rabbit@mz005] ...
> Error: {unable_to_contact_cluster_nodes,[rabbit@mz005]}
Did you ensure that the erlang cookie on both nodes is the same?
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Sep 27, 2009 6:54 am |
|
|
|
Guest
|
yes, i did that. infact, i have 1 winxp and 1 vista machines as well.
I have same cookie throughout. i am able to create cluster with both
the windows machines but not with the other ubuntu machine. cluster
creation succeeds if both the ubuntu machines enter into a cluster
with a windows machine. this lead me to think that there might be
something with some ubuntu security policy (ufw or something,
disabling ufw did not help though). any ideas will be most helpful.
Pradeep
On Sep 26, 12:13 |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 29, 2009 6:01 am |
|
|
|
Guest
|
Hi Matthias,
Thanks for the suggestions, I plan to try these today and update the group about the results.
Pradeep
On Sun, Sep 27, 2009 at 3:04 PM, Matthias Radestock <matthias@lshift.net (matthias@lshift.net)> wrote:
Quote: Pradeep,
Pradeep Gatram wrote:
Quote: yes, i did that. infact, i have 1 winxp and 1 vista machines as well.
I have same cookie throughout. i am able to create cluster with both
the windows machines but not with the other ubuntu machine. cluster
creation succeeds if both the ubuntu machines enter into a cluster
with a windows machine. this lead me to think that there might be
something with some ubuntu security policy (ufw or something,
disabling ufw did not help though). any ideas will be most helpful.
For two Erlang nodes to be able to communicate they
- must have the same cookie (which, you say they do)
- must be able to resolve the other node's hostname to an IP
- must be able to connect to the Erlang port mapper daemon (epmd) on that IP - it listens on port 4369 by default
- must be able to connect to the other node's distribution port. That port is chosen dynamically (though you can "pin" it with -kernel inet_dist_listen_min 4000 inet_dist_listen_max 4000) and returned by epmd.
As a first step in tracking down the problem I suggest you start some test Erlang nodes on all your machines with
|
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|