<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><br>Is there a way to take a node out of mnesia clustering while leaving it up-and-running?<br><br></div></blockquote><div><br></div><div>Hi Kristoffer,</div><div><br></div><div>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 (<a href="http://www.erlang.org/doc/apps/mnesia/Mnesia_chap5.html">http://www.erlang.org/doc/apps/mnesia/Mnesia_chap5.html</a>)</div>
<div style><br></div><div>So your script would look like this:</div><div><br></div><div><div>   rpc:call('node_to_be_orphaned', mnesia, stop, []),</div><div>   mnesia:del_table_copy(schema, 'node_to_be_orphaned'),</div>

<div>   mnesia:delete_schema(['node_to_be_orphaned']), </div><div>   rpc:call('node_to_be_orphaned', mnesia, start, []).<br></div><div><br></div><div style>Note that all data on the orphaned node will be lost.</div>
<div style><br></div><div style>Cheers,</div><div style>Martin</div><div><br></div><div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div></div></div><br></div></div>