Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up 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 12.2 and later.

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 as the dedicated daemon instance, that way, all it needs to do is run the daemon for WHD 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
19:46, 22 Mar 2017

Tags

Classifications

Public