[erlang-questions] How to dynamically add one node to erlang's distrubted application?
Wed Sep 10 11:22:49 CEST 2008
I do have a suggestion. Write a program that takes the configurations for
all 100 (1000, 10000) machines from a file or database, generates the
configuration files, and then distributes them to the nodes using an agent
or something similar. The config files are kept under configuration
management centrally and pushed out to nodes when changes are made.
2008/9/10 devdoer bird <>
> 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 <>
>> 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?
>> 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
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions