Ejabberd mnesia tables6/21/2023 ![]() okie from “master node” (/var/lib/ejabberd/.okie) Note: hostname changes are a pain, it’s easier to just let ejabberd rebuild the mnesia db’s at startup. ’s use ,’s INET_DIST_INTERFACE=ģ: clear your ejabberd mnesia tables after hostname change Note: look closely, that’s a tuple, don’t use. ![]() (we’re assuming at this point you’ve installed ejabberd from source without a prefix, have it properly configured, and can successfully connect and message using it)ġ: shut down your “master node” ejabberdctl stopĢ: edit ejabberdctl.cfg (/etc/ejabberd/ejabberctl.cfg)Ģ.1: change node name: change ip we listen on: (get this from ifconfig) it doesn’t really matter to ejabberd for clustering purposes, although it is important when joining the cluster (which the official documentation seems to forget).įirst things first, let’s configure our master node So below are the nitty gritty details and a helper module I wrote… because inputing mnesia commands into a debug shell for multiple slave node is… retarded.īefore we begin, I want to point out that if you’re using mysql or postgres for authentication, offline messaging, etc. To get things working properly I pieced together multiple tutorials and official documentation… which seems absurd considering the popularity of the ejabberd. I have just spent way to long getting things configured (this is partly due to mysql5 support and 3rd party modules, dual NIC machines, public dns records… clustering issues were just icing on the cake) and I’m going to (hopefully) make your life a little easier. ![]() Easy ejabberd clustering guide (mnesia, mysql, & postgres)Įjabberd is a great little XMPP server, however it’s documentation makes me want to rip my fucking face off. ![]()
0 Comments
Leave a Reply. |