[erlang-questions] Remove running node from mnesia cluster
Mon Jul 21 03:21:03 CEST 2014
> Is there a way to take a node out of mnesia clustering while leaving it
I'm no mnesia expert but I remember reading that to completely remove a
node you need to delete the schema on the "orphaned" node before starting
it again. Look under chapter 5.6 in mnesia user guide (
So your script would look like this:
rpc:call('node_to_be_orphaned', mnesia, stop, ),
rpc:call('node_to_be_orphaned', mnesia, start, ).
Note that all data on the orphaned node will be lost.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions