I want to cluster ejabberd node, so I want each node to have a different node name. I searched over net, everywhere it says you can change nodename in ejabberdctl.cfg file by changing ERLANG_NODE=ejabberd@desired_name.
But the moment I modify that line to any other name, when starting the server, it says "Crash dump written to......", and when stopping the server using ejabberdctl stop, it says "Failed RPC connection to the node ejabberd@desired_name: nodedown".
Can somebody tell me how to change the node name successfully?
Thanks in advance!!!