We upgraded our server to 4.7.1 recently and thought it would be nice to build some resiliency to the system so we installed Hazelcast. Now, it seems that pade also supports clustering since 1.6.1 but we can’t seem to make it work.
Our setup is two centos nodes connected to a galera database cluster. Client connections to the nodes come via a load balancer. Essentially you have a Front End Load Balancer → Two Openfire Nodes → DB Load Balancer → Galera Cluster.
Pade on both nodes seems to be up and running. Both videobridges appear to be up and you have focus on the senior node also up.
For clarity lets say that node01 has focus and jvb up and node02 has only jvb up.
What we are seeing is that conferencing is possible only when the clients are directed to the node that has jicofo running (in our example node01). As long as clients are directed to node01 they can join and create conferences just fine.
If a client however gets directed to node02 which only has videobridge running the connection is rejected. Also that client cannot join a room that has been created at node01.
The questions we have are the following:
- Should it not be able for clients to connect and create conferences regardless of the node the load balancer directs them to?
- Should it not be able for clients to join existing conferences regardless of the node the load balancer directs them to?
- How can we load balance media streams? From what I understand the only way this would work is if we could force tcp media streams and make sure there are sticky sessions to the load balancer. But how can we do this (force media streams)? Can we disable udp media streams completely and force clients to a specific tcp port? How would the clients know where to connect in this case?
- Are there other ports required to be open between the two nodes besides the one used by Hazelcast for this setup to work? We have selinux on both nodes and have ports tcp 5701, 5222, 7443 and udp 10000 open. Do we need any extra ports?
Let me know if any further clarification is required for our setup.
Thanks