[erlang-questions] How does running nodes() on host knows about all connected nodes?
Harit Himanshu
harit.subscriptions@REDACTED
Mon Jan 19 18:10:55 CET 2015
Hi
I am new to this and I am totally surprised how this works
I have a server (gru) and 3 minions talking to gru. But none of the minions
ever talked to each other.
Still when I run nodes() on any of the minions tells me which other minions
are connected.
*Gru*
(gru@REDACTED)7> nodes().
['minion1@REDACTED','minion2@REDACTED',
'minion3@REDACTED']
(gru@REDACTED)8>
*minion1*
(minion1@REDACTED)6> nodes().
['gru@REDACTED','minion2@REDACTED',
'minion3@REDACTED']
*minion2*
(minion2@REDACTED)2> nodes().
['gru@REDACTED','minion1@REDACTED',
'minion3@REDACTED']
(minion2@REDACTED)3>
*minion3*
(minion3@REDACTED)2> nodes().
['gru@REDACTED','minion2@REDACTED',
'minion1@REDACTED']
(minion3@REDACTED)3>
How does this process work? What's going on behind the scenes?
Thanks
+ Harit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150119/0aea54da/attachment.htm>
More information about the erlang-questions
mailing list