slaves and remote nodes... How do you start them?

Rudolph van Graan <>
Sat Sep 2 20:15:16 CEST 2006

Suppose I have file system with lots of interdependent erlang  
I need a couple of nodes that make up my system.
So each type of node has a different boot script.
I would like to have an ordered way of starting the system. For example:

1. Start the mnesia node(s)
2. Start the application server(s)
3. Start the web server(s)

I would like to start all these from a single erlang VM as slave  
nodes. (So that I don't have to try and get them to start correctly  
from outside erlang in scripts).

Looking at the documentation for slave:

start_link(Host, Name)
start(Host, Name, Args) -> {ok, Node} | {error, ErrorInfo}

None of these functions give me a way to start each node by  
specifying the boot script for the node type.

How do other people do this? Or am I going to have to start this  
system the hard way?

Rudolph van Graan

Telecommunications Specialist
Pattern Matched Technologies

Mobile:  +27 83 390 7767
Fax:     +27 12 667 5342

More information about the erlang-questions mailing list