Deploying Openfire nodes in a cluster
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.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*