Hi,
I would like to know where I can read up about the behaviour and expected HA on failover, e.g. will sessions be maintained if a cluster node goes down? What is the expected behaviour of messages in flight? etc.
Thanks in advance
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hi,
I would like to know where I can read up about the behaviour and expected HA on failover, e.g. will sessions be maintained if a cluster node goes down? What is the expected behaviour of messages in flight? etc.
Thanks in advance
ejabberd nodes in a cluster
ejabberd nodes in a cluster can share some tables of the database: accounts (username and password), roster, offline messages, vcard...
Each node has his own client and server connections. When a node crashes, all his connections are lost.
I don't know what will happen with messages in the flight.
Thanks - seems like I will
Thanks - seems like I will have to make my own arrangements!
What do you mean ? The
What do you mean ?
The cluster in ejabberd is top notch and I doubt you can do better with some quick hack ...
--
Process-one
Mickaël Rémond
Clarification Question on ejabberd Clustering
I have two machines set up in an ejabberd cluster, and everything works as advertised when they are both online. However, if the first (primary) node is offline, I cannot log in to my ejabberd domain via the second (secondary) node. Is this the intended behavior, or should secondary nodes still be able to operate (as an ejabberd server) in the event the primary node is down? When I look at the databases for each node in the Web Admin, they are identical for each node, which I assumed meant they were operating independently, but with replication of the tables. It's like it is looking for something for authentication that only exists on the primary server??
If this is not the intended behavior, are there any clues for where I can begin to look for misconfiguration? I don't see anything that looks out of order in the logs, etc. I have no hacks to my setup, just used the standard config with the clustering setup instructions in the doc.
TIA -TF
*******************************
ejabberd 2.0.0 on OpenSuSE 10.2
The table 'passwd' must be replicated in each node.
if the first (primary) node is offline, I cannot log in to my ejabberd domain via the second (secondary) node. Is this the intended behavior, or should secondary nodes still be able to operate (as an ejabberd server) in the event the primary node is down?
The ejabberd Guide says:
If you didn't instruct Mnesia @ node2 to replicate the table 'passwd' from node1, then you can only login in node2 when node1 is available.
If you already configured Mnesia @ node2 to replicate the table 'passwd' from node1, then I don't have clues of where is the problem.