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). 

To deploy Openfire nodes in a cluster

  1. Install the Hazelcast plugin.
    1. Open the Openfire Administration console.
    2. Click on the Plugins tab. 
    3. Install the Hazelcast plugin.
  2. 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>
  3. Activate the node in the cluster.
    1. Open the Openfire Administrator console.
    2. Click on the Server tab. 
    3. Go to Server Manager > Clustering.
    4. In the Clustering Enabled section, select Enabled
  4. 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*