I am new in Erlang programming. My problem is how can I remove a particular node from the nodes group. The node I want to remove is replicating their data through Mnesia.
So please tell me how can I remove a node that still preserve the inserted data.
Thanks in advance.
How to remove node from node group in Erlang?
200821-Mar-2016
Tarun Kumar
22-Mar-2016* First of all, login to the cluster that you want to remove.
* after that stop mnesia database:
> mnesia: stop().
* after that login from another node on the cluster.
* now, you can delete the schema:
> mnesia:del_table_copy(schema, nameOfNode@hostName.domainName).
That's it.
I hope above steps will be helpful for you.