How to remove node from node group in Erlang?

Total Post:128


 1053  View(s)
Rate this:

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.

  1. Re: How to remove node from node group in Erlang?

    To remove paricular node from the node list. Follow the steps:
    * 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.

      Modified On Mar-22-2016 01:22:04 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.