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

devdoer bird devdoer2@REDACTED
Wed Sep 10 07:21:47 CEST 2008


Thanks. If I have 100 machines ,I have to edt the config files on all 100
machines, that's unacceptable. Are there any solutions?

2008/9/10 Nicolas Charpentier <nc-dated-1226207874.43c4c5@REDACTED>

> devdoer bird wrote:
>
>> ...
>> 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?
>>
>>
>
>
> Hi,
>
> if you can't stop your nodes because others mandatory applications are
> running you can try to use application:load/2 on all your nodes. The second
> param is the distribution parameter which overload kernel value.
> To be able to load an application, it have to be stopped.
> Don't forget to update the config file for the next node restart.
>
> I never tried to do that but the documentation seems to say that it's
> possible
>
>
> Regards,
>
> ----
> Nicolas
> http://charpi.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080910/4cdf5ffb/attachment.htm>


More information about the erlang-questions mailing list