We have set up two Openfire servers v3.9.1 under Ubuntu 12.04 LTS, both using an external MySQL DB backend. The servers as separate entities work fine. We wanted to cluster them in order to add High Availability functionality to our platform. By reading many posts and instructions, we used the Hazelcast plugin, to no effect!
When OpenFire is started in both servers and we visit the cluster information tab, each server can see as a cluster member only itself! That is, server A can see as a cluster member only server A, whereas server B can see only server B. We have disabled multicast as a cluster transport due to network incompatibility and we use the TCP/IP method of interconnecting the clusters.
In addition, we are using a load-balancer to load-balance the XMPP and the HTTP connections to the admin interface. However, when the servers are accessed via the load-balanced address (eg balance.mycompany.com), we cannot login to the admin console but if we access directly the admin console of either either serverA.mycompany.com or serverB.mycompany.com, we can login perfectly!
Any ideas or help regarding the two issues?? The cluster as-is is unusable!
The cluster setup is the following:
SERVER A (IP 192.168.0.1)
Server B (IP 192.168.0.2)