ejabberd clustering running db []

316 Views Asked by At

I follow this step ejabberd offical document for clustering.After entering this command in running ejabberd directory

root@slave:/home/xxx/Desktop/ejabberd-2.1.13/src# erl -sname ejabberd \ -mnesia dir '"/var/lib/ejabberd/"' \ -mnesia extra_db_nodes "['[email protected]']" \ -s mnesia
then mnesia:info()

its shows terminal like this
===> System info in version {mnesia_not_loaded,nonode@nohost,{1387,355144,32779}}, debug level = none ==opt_disc.Directory "/home/hari/Desktop/ejabberd-2.1.13/src/Mnesia.nonode@nohost" is NOT used.use fallback at restart = false running db nodes = [] stopped db nodes = [nonode@nohost] ok

1

There are 1 best solutions below

0
On

Since ejabberd 15.03, ejabberd clustering has been considerably simplified, with a simple "join_cluster" command. There is no need anymore to type manual Mnesia commands.

It is explained on ejabberd Documentation site: ejabberd clustering