The idea presented in Easy ejabberd clustering procedure is to extend ejabberdctl with an additional command ("attach") which hides the complexity of connecting to an Erlang node and setup Mnesia replication. It can be also used to attach a debug console to a running ejabberd instance, or execute any command exposed by an ejabberd module. Although you can easily move to MySQL as storage backend, it's important to note that Mnesia is still necessary to successfully build the cluster.Įjabberdctl is the control script that can be used to start, stop, restart ejabberd. This can be generalized and made N times to build your cluster.Įjabberd uses Mnesia as its internal DB. Assuming both ejabberd instances have a similar configuration setup and can connect to each other over the network, you're pretty much done. The process of configuring a cluster of ejabberd entities serving the same domain is apparently simple (considering the ejabberd Installation and Operation Guide).Īssuming you have a node running, you create a second node with the same Erlang cookie, then setup Mnesia replication between the two.
0 Comments
Leave a Reply. |