ejabberd集群运行db []

时间:2013-12-18 08:33:34

标签: erlang ejabberd mnesia

我按照此步骤ejabberd官方文档进行群集。在运行ejabberd目录后输入此命令

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

它的节目终端就像这样 ===> 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 个答案:

答案 0 :(得分:0)

ejabberd 15.03以来,ejabberd集群已经大大简化,只需一个简单的“join_cluster”命令。不再需要输入手动Mnesia命令。

在ejabberd文档站点上解释:ejabberd clustering