ejabberd Clustering Not Working

Hello,

I've set up a ejabberd (v 15.04) cluster on AWS using 2 Ubuntu images. Whilst I am able to successfully cluster the two (using the command join_cluster from the 2nd node to the 1st node), I am not sure if the behavior is as expected... any thoughts would be much appreciated...

To detail the above, 2 different clients connected to the 2 nodes separately can communicate with each other. However, when I stop the server on the secondary node, I would still expect the two clients to be able to talk to each other. But instead, this 2nd client simply gets disconnected as the server is not running.

Is there something possibly that am overlooking here?

Many thanks!

This is the normal behaviour.

This is the normal behaviour. The client is necessarily disconnected from non running node and is expected to reconnect. The balancing method you use should route the reconnection to a running node.

Syndicate content