[erlang-questions] How to dynamically add one node to erlang's distrubted application?

devdoer bird devdoer2@REDACTED
Tue Sep 9 09:46:00 CEST 2008


HI:
I have a distrbuted system  using erlang's distributed application
mechanism.It firstly ran on 3 nodes with the config file like this:

[{kernel,
  [{distributed, [{myapp, 5000, [cp1@REDACTED, {cp2@REDACTED, cp3@REDACTED}]}]},
   {sync_nodes_mandatory, [cp2@REDACTED, cp3@REDACTED]},
   {sync_nodes_timeout, 5000}
  ]
}
].

Now I want to  add one more node to  the system  .How can I do this using
erlang's distributed applicaiton mechanism? Do I have to edit the config
file on all 3 nodes to add the 4th node and restart all of them?

Thanks .
------------------------------------
devdoer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080909/547492e4/attachment.htm>


More information about the erlang-questions mailing list