This documentation supports the 1.5 version of Remedy with Smart IT.

To view the latest version, select the version from the Product version menu.

Configuring load balancer for Openfire

To configure load balancer 

  1. Configure the load balancer to route requests to the appropriate server.
    1. Create a pool map for all the nodes in Openfire cluster listening on port 7070 (or bind port mentioned in admin console).
    2. Set rule on load balancer to route all requests on port 7070 (or bind port set) to pool map created in step a.
    3. Set rule in load balancer to enable sticky connections on coming URL parameter JID  which can abstract from url parameter.
      If you do not enable sticky session on JID, invalid SID errors are reported  in bosh connections made to Openfire service.
    When using load balancer address with bind port (7070 default), the following message is displayed in a browser: “Openfire HTTP binding service”.
  2. Configure Smart IT with bosh URL pointing to load balancer. 
    1. Configure the load balancer address in Smart IT bosh URL, under
    2. Provide the same address in chat domain and chat service name. The same should reflect in all Openfire nodes admin console xmpp domain value.

    3. Update the auth URL pointing to Smart IT load balancer. 

    Sample HAProxy config

    frontend tcp-smtopenfireclient
      bind *:7070       # listening  for incoming requests on port 7070
      mode http
      option forwardfor
      option accept-invalid-http-request
      acl is_http_bind url_beg /http-bind
      default_backend back-smtopenfireclient
    backend back-smtopenfireclient
      mode http
      balance leastconn
      option forwardfor
      option accept-invalid-http-response
      stick-table type string len 40 size 200k expire 3m
       stick on url_param(jid) table back-smtopenfireclient      # abstract the jid from url parmater and enable stick on it
      server itst-dev-smt-01 x.x.x.x:7070 check cookie itst-dev-smt-01
      server itst-dev-smt-02 x.x.x.y:7070 check cookie itst-dev-smt-02

To configure F5 load balancer

  1. Create a virtual pool with the members of Openfire cluster server on port 5222. 
  2. Create a virtual server for the virtual pool. This virtual server is used by the chat server admin.
    Properties tab 

    Resources tab

  3. Create OpenFire health monitor. 
    The health monitor will monitor Openfire server state and mark the Punjab server serving node down if Openfire server goes down. Use the corresponding Alias Server Port as configured.

    1. Create a new monitor
    2. Provide the Name. For example, OpenFire_HTTP_Monitor (or any suitable name)
    3. Select the Type as HTTP
    4. Set the Configuration to Advanced

    5. Set Send String as GET /login.jsp HTTP/1.0 \n\n

    6. Set Alias Service Port as 9090. (port which is configured for accessing Openfire admin page)

  4. Create a virtual pool for Punjab connection manager
    1. Create new pool for Punjab servers.
    2. Add the following health monitors
      1. Openfire HTTP Monitor.
      2. http_15_46
    3. Click Update.
  5. Configure Virtual Server for SmartIT and Chat. This is the same Virtual Server used for current MyIT traffic. 
    1. Edit the currently used virtual server for MyIT traffic. 
    2. Set OneConnect Profile to OneConnect
    3. Set HTTP Profile to http-no-cache
    4. Add iRule rule_onbmc_myit_v1 to the virtual server.
  6. Create new onbmc_chat_pool_map in Data Group List.

    1. Go to Local Traffic > iRules > Data Group List.

    2. Create new onbmc_chat_pool_map in Data Group List.

    3. Map SmartIT host name to the desired chat cluster.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.