Deploying Openfire nodes in a cluster
Perform these settings on all the nodes in the cluster.
Note
All servers in the cluster must be configured to share a single external database (not the Embedded DB).
Related topics
To deploy Openfire nodes in a cluster
- Install the Hazelcast plugin.
- Open the Openfire Administration console.
- Click on the Plugins tab.
- Install the Hazelcast plugin.
On the server, update the values in the /openfire/conf/hazelcast-local-config.xml file.
For example, to set up a two-node cluster using well-known DNS name/port values you must update the file with the following:<join> <multicast enabled="false"/> <tcp-ip enabled="true"> <member>of-node-a.example.com:5701</member> <member>of-node-b.example.com:5701</member> </tcp-ip> <aws enabled="false"/> </join>
- Activate the node in the cluster.
- Open the Openfire Administrator console.
- Click on the Server tab.
- Go to Server Manager > Clustering.
- In the Clustering Enabled section, select Enabled.
- Restart Openfire service on each node.
To verify your Openfire nodes setup in a cluster
Log on to the admin console, and click Server > Server Manager > clustering option. You should see a list of nodes added to the cluster.
Was this page helpful? Yes No
Submitting...
Thank you
Comments