Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > 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