手动设置 ejabberd 集群(没有 ejabberdctl join_cluster)

Setup ejabberd cluster by hand (without ejabberdctl join_cluster)

根据 http://docs.ejabberd.im/admin/guide/clustering/#adding-a-node-in-a-cluster ejabberd clusters should be set up via the "join_cluster" command in ejaberdctl. However, there is currently a bug which prevents this from working (at least in my attempts): https://github.com/processone/ejabberd/issues/676

上的文档

有没有一种不依赖 ejabberdctl 的手动设置集群的简洁方法?以这种方式,节点 offline/online 将根据需要自动重新加入?

(这对我来说不是关键任务,因为我只是试一试并测试一下,但了解这些作为备份计划如何运作以及用更多人手管理集群是件好事- 在需要扑灭火灾等情况下采取的方法。:)

你有两个选择:

如您所见,该过程非常复杂,因此您确实应该找到一种方法,使基于 join_cluster 的方法可行。