<div dir="ltr">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.<br>
<br><div class="gmail_quote">2008/9/10 devdoer bird <span dir="ltr"><<a href="mailto:devdoer2@gmail.com">devdoer2@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Thanks. If I have 100 machines ,I have to edt the config files on all 100 machines, that's unacceptable. Are there any solutions?<br><br>
<div class="gmail_quote">2008/9/10 Nicolas Charpentier <span dir="ltr"><<a href="mailto:nc-dated-1226207874.43c4c5@charpi.net" target="_blank">nc-dated-1226207874.43c4c5@charpi.net</a>></span><div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">devdoer bird wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">...
<div><br>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?<br>
<br></div></blockquote><br><br>Hi,<br><br>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.<br>
To be able to load an application, it have to be stopped.<br>Don't forget to update the config file for the next node restart.<br><br>I never tried to do that but the documentation seems to say that it's possible<br>
<br><br>Regards,<br><br>----<br>Nicolas<br><a href="http://charpi.net/" target="_blank">http://charpi.net</a><br></blockquote></div></div><br></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br></div>