If beta were up and running and received a disk copy of the schema we would be done right now. However, disc-less nodes are a little special and require this extra step. Let's go ahead and start up our beta node. Obviously we need to leave the alpha node running.

+

If ''kappa'' were up and running and received a disk copy of the schema we would be done right now. However, disc-less nodes are a little special and require this extra step. Let's go ahead and start up our ''kappa'' node. Obviously we need to leave the alpha node running.

−

erl -sname beta

+

erl -sname kappa

> mnesia:start().

> mnesia:start().

> mnesia:info().

> mnesia:info().

Line 21:

Line 21:

Notice that mnesia here is completely unaware that it is supposed to be a disc-less node of the system running on alpha. Here's the money line:

Notice that mnesia here is completely unaware that it is supposed to be a disc-less node of the system running on alpha. Here's the money line:

−

> % still on beta

+

> % still on kappa

> mnesia:change_config(extra_db_nodes, [alpha@localhost]).

> mnesia:change_config(extra_db_nodes, [alpha@localhost]).

> mnesia:info().

> mnesia:info().

−

And you should have a working disc-less node running on beta. Enjoy.

+

And you should have a working disc-less node running on ''kappa''. Enjoy.

−

Alternatively you can start up beta like this:

+

Alternatively you can start up ''kappa'' like this:

−

erl -sname beta -mnesia extra_db_nodes "[alpha@localhost]"

+

erl -sname kappa -mnesia extra_db_nodes "[alpha@localhost]"

−

For more information see http://erlang.org/doc/doc-5.5/lib/mnesia-4.3.1/doc/html/Mnesia_chap5.html#5.5 .

If kappa were up and running and received a disk copy of the schema we would be done right now. However, disc-less nodes are a little special and require this extra step. Let's go ahead and start up our kappa node. Obviously we need to leave the alpha node running.

erl -sname kappa
> mnesia:start().
> mnesia:info().

Notice that mnesia here is completely unaware that it is supposed to be a disc-less node of the system running on alpha. Here's the money line: