Hello, I have installed an Openfire cluster with Hazelcast, and it seems to work pretty fine!
Connecting to the nodes (lets say node1 and node2) works great, but I’ve been asigned a VIP Adress to load balance the servers and when connecting to the VIP Adress we dont get answer from the Openfire servers.
-When connecting directly to nodes works ok.
-When telnet to the VIP Adress on port 5222 works allways ok and I can send XMPP messages (so I assume is load balanced ok, Its an F5 and have been configured to be transparent and forward all of the ports and to support XML).
-When connecting to the VIP Adress I dont have any result (I tryed to connect with spark and CitronIM).
Do I missed any configuration of the VIP Adress in the Openfire or Hazelcast Services?
Sounds like either a misconfiguration on the F5, or you need some extra configuration on the hosts running Openfire - There is nothing in Openfire required to support load balancing.
Is the F5 doing proxying or TCP load balancing? Does it log anything when you connect with an IM client? I don’t understand what ‘to support XML’ means in the context of F5 - it should be passing all TCP traffic to Openfire, rather than caring what the content is.
Is the F5 doing proxying or TCP load balancing? Yes, it does.
Does it log anything when you connect with an IM client? No, when we connect with the VIP Interface we cant see any message in the debug log. Anway if we connect via telnet and send.
I’ve mad some tests and I’ve found something interesting sending Xmpp messages throug telnet:
1-Telnet into the node (port 5222)-> send the following message: