I am trying to make a cluster of ejabberd.For the same purpose i have configured the single node of ejabberd(i am using version 15.04 which is the latest one available)and now to add another node i am trying modify the configuration file.I opened the "/sbin/ejabberdctl" script file for changing the host name and modified the
ERLANG_NODE=ejabberd@localhost to ERLANG_NODE=ejabberd@ejabbered1
and modified the "/etc/ejabberd/ejabberd.yml" ERLANG_NODE=ejabberd@ejabbered1
Now when I try to run the ejabberd using "ejabberdctl start" i could see Failed RPC connection to the node ejabberd@ejabberd1: nodedown
After going to the "ejabberd.log" i could see
"2015-05-20 06:10:21.462 [critical] <0.38.0>@ejabberd_app:db_init:120 Node name mismatch: I'm [ejabberd@ejabberd1], the database is owned by [ejabberd@localhost]"
Now i want to know how can i change the node name in change node name in Mnesia.
thanks in advance.