Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Web Help Desk (WHD) > Set up multiple instances of Web Help Desk 12.2 and later

Set up multiple instances of Web Help Desk 12.2 and later

Table of contents

Updated March 23, 2017

Overview

This article provides steps to set up multiple instances of Web Help Desk with more than a one front-end instance and a load balancer

Environment

WHD 12.2 and later

Steps

  1. For Node 1 is the first WHD instance to be set up. Activate the license at the first start up.
  2. For Nodes 2, 3 4 and 5, install WHD and stop the service.
    1. Copy the files from step 1's configuration folder to the <WebHelpDesk>/conf folder of each Node (2, 3, 4 and 5):
      • whd.conf
      • keystore.jks (if you have HTTPS)
      • .whd.properties (this contains the DB connection info)
    2. Modify the <WebHelpDesk>/conf/tomcat_web_template.xml file and set the Daemon Mode to none (should be the on the last 4 lines):

      from:
      <env-entry-name>WHDDaemonMode</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>background</env-entry-value>

      to:
      <env-entry-name>WHDDaemonMode</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>none</env-entry-value>

    3. Add the JVM Argument -DClusterSecondaryNode=true to the configuration.
      For Windows:
      Edit the conf file <WebHelpDesk>/bin/wrapper/conf/wrapper_template.conf then add the following line in the # Java Additional Parameters section of that file setting the next sequential number in the list:

      wrapper.java.additional.<NUMBER>=-DClusterSecondaryNode=true
      where <NUMBER> is the next proceeding number.

      For Mac or Linux:
      Edit <WebHelpDesk>/conf/whd.conf then add the following line at the end of the config file:
      JAVA_OPTS="-DClusterSecondaryNode=true"
  3. Make Node 1 the dedicated daemon instance, that way, all it does is run the WHD daemons especially for heavy emails and database interactions.
    1. Edit the <WebHelpDesk>/conf/tomcat_web_template.xml file and set the Daemon Mode to dedicated (should be the on the last 4 lines):
      from:
      <env-entry-name>WHDDaemonMode</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>background</env-entry-value>

      to:
      <env-entry-name>WHDDaemonMode</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>dedicated</env-entry-value>
    2. Since this machine is no longer offering the Web UI, you will have to take it off the pool for from your load balancer.
  4. In your load balancer, enable Sticky sessions as WHD will require this for tracking sessions.
  5. Restart all WHD instances.

 

Last modified

Tags

Classifications

Public