Tools
Migrate Web Help Desk to another server
This article explains how to move Web Help Desk to a new server running an identical or disparate operating system.
First published date
Last published date
Overview
This article describes how to move Web Help Desk to another server running an identical or disparate operating system. This article addresses the following configurations:
- Original and target server are running identical operating systems
- Original server is running Windows Server and the target server is UNIX-based (Linux or macOS)
- Original server is UNIX based (Linux or macOS) and the target server is running Windows Server
This article uses standard installation directories for a reference. If you installed WHD to a non-standard directory, replace c:\progra~1\WebHelpDesk (Windows), /Library/WebHelpDesk (macOS), /usr/local/webhelpdesk (Linux or Virtual Appliance) with the correct locations in all commands.
Product section
Resolution
Original and target server are running identical operating systems
Ensure that both servers are running identical 32-bit or 64-bit operating systems.- Log in to Web Help Desk as an administrator.
- Click Setup > General > License.
- Click the padlock next to your license.
- In the License Settings screen, click Deactivate to deactivate your license.
- Log out of the Web Help Desk Administrator Console.
- Stop WHD (Stop and start Web Help Desk) on the original server.
- Navigate to the <WebHelpDesk> directory.
- macOS: /Library/WebHelpDesk
- Microsoft® Windows Server®: \Program Files\WebHelpDesk
- Linux: /user/local/webhelpdesk
- Back up the <WebHelpDesk>conf directory to a safe location.
- If the original server is running Windows Server, copy the \bin\wrapper\conf directory to a safe location.
- Install the same WHD version on the target server.
- On the target server, initialize Web Help Desk using the Getting Started Wizard. When prompted, select Embedded database (the default is PostgreSQL).
- Stop WHD (Stop and start Web Help Desk) and the PostgreSQL service on the target server.
- On the target WHD sever, rename the \Program Files\WebHelpDesk\PGSQL9 directory to OLD_PGSQL9.
You can also move the directory to a different location. - Copy the program files in the \WebHelpDesk\PGSQL9 directory from the old WHD installation to \Program Files\WebHelpDesk\ on the target server.
- On the target WHD sever, rename the \Program Files\WebHelpDesk\PGSQL9 directory to OLD_PGSQL9.
- Navigate to the conf directory on the target server.
- Windows Server: <WebHelpDesk>\bin\wrapper\conf
- Linux or macOS: <WebHelpDesk/conf
- Copy the conf directory files from the original server to the same location on the target server.
- Windows Server:
- keystore.jks
- whd.conf
- labels\CustomLabels*.properties
- bin\wrapper\conf\wrapper_template.conf
- Linux or macOS:
- keystore.jks
- whd.conf
- labels/CustomLabels*.properties
- Windows Server:
- Start WHD (Stop and start Web Help Desk) on the target server.
- If the target server domain host name is identical to the original server domain host name, you are finished.
If the target server domain host name is different from the original server domain host name, perform the following steps:- Log in to Web Help Desk as an administrator.
- Click Setup > General > Options.
- In the Server DNS Name field, enter the new server DNS name.
- Click Save.
- Log in to the Web Help Desk Administrator Console as an administrator.
- Click Setup > General > License.
- Reactivate your license.
Original server is running Windows Server and the target server is UNIX-based (Linux or macOS)
Ensure that both servers are running identical 32-bit or 64-bit operating systems.- Log in to Web Help Desk as an administrator.
- Click Setup > General > License.
- Click the padlock next to your license.
- In the License Settings screen, click Deactivate to deactivate your license.
- Log out of the Web Help Desk Administrator Console.
- Stop WHD(Stop and start Web Help Desk) on the original server.
- Back up the /conf directory and the whd\bin\wrapper\conf directories to a safe location.
- Install an identical WHD version on the target server.
- Initialize WHD using the Getting Started Wizard. When prompted, select the default PostgreSQL embedded database.
- Log in to WHD using admin/admin credentials.
- Click Setup > General > Database and point WHD to your original database. If the original server connected to an embedded PostgreSQL database, use port 20293.
- Stop WHD (Stop and start Web Help Desk) on the target server.
- Navigate to the conf directory on the target server.
- Windows Server: <WebHelpDesk>\bin\wrapper\conf
- Linux or macOS: <WebHelpDesk/conf
- Copy the following files from the original server to the same location on the target server:
- keystore.jks
- whd.conf
- labels/CustomLabels*.properties
- If you use custom VM arguments in the \bin\wrapper\conf\wrapper_template.conf file, add them to the JAVA_OPTS parameter in the /conf/whd.conf file.
For example: JAVA_OPTS="-Darg1=true -Darg2=true" - Start WHD (Stop and start Web Help Desk) on the target server.
- If the target server domain host name is identical to the original server domain host name, you are finished.
If the target server domain host name is different from the original server domain host name, perform the following steps:- Log in to Web Help Desk as an administrator.
- Click Setup > General > Options.
- In the Server DNS Name field, enter the new server DNS name.
- Click Save.
- Log in to the Web Help Desk Administrator Console as an administrator.
- Click Setup > General > License.
- Reactivate your license.
Original server is UNIX based (Linux or macOS) and target server is running Windows Server
- Log in to Web Help Desk as an administrator.
- Click Setup > General > License.
- Click the padlock next to your license.
- In the License Settings screen, click Deactivate to deactivate your license.
- Log out of the Web Help Desk Administrator Console.
- Stop WHD (Stop and start Web Help Desk) on the original server.
- Navigate to the <WebHelpDesk> directory.
- macOS: /Library/WebHelpDesk
- Windows Server: \Program Files\WebHelpDesk
- Linux: /user/local/webhelpdesk
- Back up the <WebHelpDesk>/conf directory to a safe location.
- Install an identical WHD version on the target server.
- Initialize WHD using the Getting Started Wizard. When prompted, select the default PostgreSQL embedded database.
- Log in to WHD using admin/admin credentials.
- Click Setup > General > Database and point WHD to your original database. If the original server used embedded PostgreSQL, use port 20293.
- Stop WHD (Stop and start Web Help Desk) on the target server.
- Navigate to the conf directory on the target server.
- Windows Server: <WebHelpDesk>\bin\wrapper\conf
- Linux or macOS: <WebHelpDesk/conf
- Copy the following files from the original server to the same location on the target server:
- keystone.jks
- whd.conf
- labels/CustomLabels*.properties
- If you used custom VM arguments in the JAVA_OPTS parameter in the /conf/whd.conf file, add them to the \bin\wrapper\conf\wrapper_template.conf file.
For example: wrapper.java.additional.16=-DWHDconfig=...Helpdesk.woa.properties - Start WHD (Stop and start Web Help Desk) on the target server.
- If the target server domain host name is identical to the original server domain host name, you are finished.
If the target server domain host name is different from the original server domain host name, perform the following steps:- Log in to Web Help Desk as an administrator.
- Click Setup > General > Options.
- In the Server DNS Name field, enter the new server DNS name.
- Click Save.
- Log in to the Web Help Desk Administrator Console as an administrator.
- Click Setup > General > License.
- Reactivate your license.
Access a command line
Most of the commands in this article must be executed in a command line. The following table describes how to open a command line in your operating system.
| OPERATING SYSTEM | STEPS |
|---|---|
| Windows Server |
|
| macOS |
|
| Linux (RPM installation) |
|
| Virtual Appliance |
|