[erlang-questions] How to dynamically add one node to erlang's distrubted application?
Matt Williamson
dawsdesign@REDACTED
Tue Sep 9 18:39:34 CEST 2008
Andrew, that will indeed connect them, but it won't start the application on
the dynamically added node if all the rest go down. That is what this
mechanism does. I do not know how to do it. I've been wondering about it
myself.
2008/9/9 Andrew Stone <stondage123@REDACTED>
> You can start the 4th node and do a net_kernel:connect to one of the other
> nodes. Just make sure that the cookies are the same on all nodes.
>
> ----- Original Message ----
> From: devdoer bird <devdoer2@REDACTED>
> To: erlang-questions@REDACTED
> Sent: Tuesday, September 9, 2008 3:46:00 AM
> Subject: [erlang-questions] How to dynamically add one node to erlang's
> distrubted application?
>
> 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
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080909/732b6db1/attachment.htm>
More information about the erlang-questions
mailing list