Tools
Set up multiple instances of Web Help Desk
This article provides step by step procedure on how to setup multiple instance of Web Help Desk
First published date
Last published date
Overview
Product section
Resolution
- For Node 1 is the first WHD instance to be set up. Activate the license at the first start up.
- For Nodes 2, 3 4 and 5, install WHD and stop the service.
- Copy the files from step 1's configuration folder to the
<WebHelpDesk>/conffolder of each Node (2, 3, 4 and 5):- whd.conf
- keystore.jks (if you have HTTPS)
- .whd.properties (this contains the DB connection info)
- Modify the
<WebHelpDesk>/conf/tomcat_web_template.xmlfile and set the Daemon Mode tonone(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>
- Add the JVM Argument
-DClusterSecondaryNode=trueto the configuration.
For Windows:
Edit the conf file<WebHelpDesk>/bin/wrapper/conf/wrapper_template.confthen add the following line in the# Java Additional Parameterssection of that file setting the next sequential number in the list:wrapper.java.additional.<NUMBER>=-DClusterSecondaryNode=true
For Mac or Linux:
where<NUMBER>is the next proceeding number.
Edit<WebHelpDesk>/conf/whd.confthen add the following line at the end of the config file:JAVA_OPTS="-DClusterSecondaryNode=true"
- Copy the files from step 1's configuration folder to the
- Make Node 1 the dedicated daemon instance, that way, all it does is run the WHD daemons especially for heavy emails and database interactions.
- Edit the
<WebHelpDesk>/conf/tomcat_web_template.xmlfile 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>
- Since this machine is no longer offering the Web UI, you will have to take it off the pool for from your load balancer.
- Edit the
- In your load balancer, enable Sticky sessions as WHD will require this for tracking sessions.
- Restart all WHD instances.