erl_boot_server
Boot Server for Other Erlang Machines
This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine.
This server is used to fetch all code, including the start
script, if an Erlang runtime system is started with
the -loader inet
command line flag. All hosts specified
with the -hosts Host
command line flag must have one
instance of this server running.
This server can be started with the kernel
configuration
parameter start_boot_server
.
The erl_boot_server
can both read regular files as well as
files in archives. See code(3)
and erl_prim_loader(3).
Warning!
The support for loading of code from archive files is experimental. The sole purpose of releasing it before it is ready is to obtain early feedback. The file format, semantics, interfaces etc. may be changed in a future release.
Functions
start/1
Starts the boot server.
is a list of IP
addresses for hosts which are allowed to use this server as a
boot server.
start_link/1
Starts the boot server and links to the caller. This function is used to start the server if it is included in a supervision tree.
add_slave/1
Adds a
node to the list of allowed slave hosts.
delete_slave/1
Deletes a
node from the list of allowed slave
hosts.
which_slaves/0
Returns the current list of allowed slave hosts.