Hi Matthias,<br><br>Thanks for the suggestions, I plan to try these today and update the group about the results.<br><br>Pradeep<br><br><div class="gmail_quote">On Sun, Sep 27, 2009 at 3:04 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Pradeep,<div class="im"><br>
<br>
Pradeep Gatram wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yes, i did that. infact, i have 1 winxp and 1 vista machines as well.<br>
I have same cookie throughout. i am able to create cluster with both<br>
the windows machines but not with the other ubuntu machine. cluster<br>
creation succeeds if both the ubuntu machines enter into a cluster<br>
with a windows machine. this lead me to think that there might be<br>
something with some ubuntu security policy (ufw or something,<br>
disabling ufw did not help though). any ideas will be most helpful.<br>
</blockquote>
<br></div>
For two Erlang nodes to be able to communicate they<br>
<br>
- must have the same cookie (which, you say they do)<br>
<br>
- must be able to resolve the other node's hostname to an IP<br>
<br>
- must be able to connect to the Erlang port mapper daemon (epmd) on that IP - it listens on port 4369 by default<br>
<br>
- 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.<br>
<br>
As a first step in tracking down the problem I suggest you start some test Erlang nodes on all your machines with<br>
erl -sname mytest -setcookie mycookie<br>
and then evaluate<br>
net_adm:ping(mytest@<machine1>).<br>
net_adm:ping(mytest@<machine2>).<br>
...<br>
in each of the nodes, attempting to connect to the nodes on all other machines.<br>
<br>
The result of that will tell you which nodes have problems talking to each other, and then you can use the above information about epmd etc to investigate that further.<br>
<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></blockquote></div><br>