Deploying an Openfire chat cluster in Smart IT


Openfire is an open source real-time collaboration server based on the XMPP (Jabber) protocol used for instant messaging and group chat. 

  1. Install the Openfire chat on all the nodes in the cluster.
  2. Deploy Openfire nodes in a cluster
  3. Complete loadbalancer configurations.
  4. (Optional)Install the Punjab service on the primary and secondary severs and run the Punjab service on both the servers
    Using Punjab is optional and is useful to manage XMPP connections.  
  5. Log on to the Openfire Admin console, go to Server > Server Information > Edit Properties, and change the Server name to the load balancer URL that points to 5222 port on openfire. 
  6. Click Save.

    Note

    Step 5 and Step 6 are required for a single node as all nodes have a common database.

  7. Restart the Openfire nodes.
  8. From the Centralized Configuration modify the following statements:

    chat.server.cm.host = <loadbalancer url pointing to 5222>
    chat.server.client.port = 5222
    chat.server.admin.login = admin
    chat.server.admin.password = admin
    chat.server.admin.pool.size = 6
    chat.server.groupChatService = conference
    chat.server.domain = <loadbalancer url pointing to 5222>
    chat.server.boshUrl = http://<loadbalancer url pointing to 7070>/http-bind/
  9. Restart Smart IT servers.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*