1erl_boot_server(3)         Erlang Module Definition         erl_boot_server(3)
2
3
4

NAME

6       erl_boot_server - Boot server for other Erlang machines.
7

DESCRIPTION

9       This  server is used to assist diskless Erlang nodes that fetch all Er‐
10       lang code from another machine.
11
12       This server is used to fetch all code, including the start  script,  if
13       an  Erlang  runtime  system  is  started with command-line flag -loader
14       inet. All hosts specified with command-line flag -hosts Host must  have
15       one instance of this server running.
16
17       This  server  can  be  started  with the Kernel configuration parameter
18       start_boot_server.
19
20       The erl_boot_server can read regular files and files in  archives.  See
21       code(3) and erl_prim_loader(3) in ERTS.
22
23   Warning:
24       The  support for loading code from archive files is experimental. It is
25       released before it is ready to obtain early feedback. The file  format,
26       semantics, interfaces, and so on, can be changed in a future release.
27
28

EXPORTS

30       add_slave(Slave) -> ok | {error, Reason}
31
32              Types:
33
34                 Slave = Host
35                 Host = inet:ip_address() | inet:hostname()
36                 Reason = {badarg, Slave}
37
38              Adds a Slave node to the list of allowed slave hosts.
39
40       delete_slave(Slave) -> ok | {error, Reason}
41
42              Types:
43
44                 Slave = Host
45                 Host = inet:ip_address() | inet:hostname()
46                 Reason = {badarg, Slave}
47
48              Deletes a Slave node from the list of allowed slave hosts.
49
50       start(Slaves) -> {ok, Pid} | {error, Reason}
51
52              Types:
53
54                 Slaves = [Host]
55                 Host = inet:ip_address() | inet:hostname()
56                 Pid = pid()
57                 Reason = {badarg, Slaves}
58
59              Starts  the  boot  server.  Slaves is a list of IP addresses for
60              hosts, which are allowed to use this server as a boot server.
61
62       start_link(Slaves) -> {ok, Pid} | {error, Reason}
63
64              Types:
65
66                 Slaves = [Host]
67                 Host = inet:ip_address() | inet:hostname()
68                 Pid = pid()
69                 Reason = {badarg, Slaves}
70
71              Starts the boot server and links to the caller. This function is
72              used  to  start  the  server  if it is included in a supervision
73              tree.
74
75       which_slaves() -> Slaves
76
77              Types:
78
79                 Slaves = [Slave]
80                 Slave =
81                     {Netmask ::  inet:ip_address(),  Address  ::  inet:ip_ad‐
82                 dress()}
83
84              Returns the current list of allowed slave hosts.
85

SEE ALSO

87       erts:init(3), erts:erl_prim_loader(3)
88
89
90
91Ericsson AB                       kernel 9.1                erl_boot_server(3)
Impressum