[erlang-questions] Re: Programatically Starting Erlang Nodes
Wed Mar 30 21:04:25 CEST 2011
Perhaps you should look at what these guys did:
From:  On Behalf Of Dale Harvey 
Sent: Wednesday, March 30, 2011 2:47 PM
Subject: [erlang-questions] Programatically Starting Erlang Nodes
How do people manage programatically starting and stopping seperate
erlang distributed nodes?
I would really prefer the option to do this inside erlang, making
starting a node as easy as node:start(''), test_server
start node uses a port under the hood which leaves the child node
closely tied to the parent node, starting -detached nodes has the
opposite problem of being very early to leave dangling nodes whenever
they arent wanted.
so the basic things I am looking for
easily create a node from within erlang
be able to to detach from child node and leave it running when parent node exits
a nice way to ensure the stopping child nodes actually shutdown, even
when erlang distribution falls down.
Can anyone think of elegant examples of setting up / tearing down
distributed erlang nodes? one managed outside erlang are also suitable
erlang-questions mailing list
More information about the erlang-questions