Disaster Recovery

Disaster recovery (DR) ensures availability of ServiceDesk Plus when the region or site hosting the application goes down due to a disaster. It implements a hot-standby system by keeping a secondary server in the standby mode while a primary server runs the application. Moreover, the primary and secondary servers are placed in different geographical regions.

 

The application runs on the primary server while the secondary server monitors the activity of the primary server. When disaster strikes, the secondary server takes over and hosts the application by replicating the data from the primary server. This ensures application availability for users without any data loss.

 

Role Required: OrgAdmin

 

Currently, disaster recovery is supported only for servers running on Windows Operating System.

 

This page discusses disaster recovery in the following topics.

 

Prerequisites

Server Requirements

 

ServiceDesk Plus Configuration Requirements 

 

How does disaster recovery work? 

The disaster recovery setup involves the following components:

 

 

Benefits of Launching ServiceDesk Plus in DR mode

 

Setup process 

You can set up your servers for DR configurations in two ways:

 

Approach 1: Set up each server individually

Install ServiceDesk Plus separately in both servers and configure them separately to the same database server.

 

Approach 2: Set up one server and mirror the configurations to the other server

Use robocopy to mirror the server. Install the application in the primary server and execute the following command from <SDP_home>bin directory: mirrorSetup.bat <IP address of secondary server>

On mirroring the application, the folders relevant to ServiceDesk Plus will be copied from the primary server to the secondary server. However, the application will not be started as a service in the secondary server. To start the application as a service,

 

 

Set Folder Permissions

 

Configure Disaster Recovery

 

Use the following pointers to configure the application in DR mode.

 

 

Attributes

Description

Primary Server IP*

Enter the IP address of the server where the application is running.

Secondary Server IP*

Enter the IP address of the standby server.

Common Alias Name*

Specify the domain name using which you can access the application. You can customize the alias name as needed.

In case of disaster notify to

Specify the email address to which the notifications must be sent in case of server failure. Notifications regarding disaster self-monitoring alerts, data synchronization alerts, and secondary server takeover alerts will be sent to this email address. You can add multiple email addresses by separating them using commas.

* Mandatory fields

 

The status of the servers is monitored every 5 minutes by default. In the event of server failure, an email is triggered to the configured email address. You can modify the server's listening time by following the steps below:

 

For the notification emails to be sent, the outgoing mail server should be configured for the application. You can customize the notification message from Translations.

 

 

 

After setting up DR configuration, set up HA file replication configuration.

 

When the secondary server takes over as the primary server, the configurations in the DR page are not auto-updated accordingly. In other words, DR configurations do not reflect which server is primary/secondary unless manually updated. 

Network Modifications

 

Upgrade/Restore

Upgrade DR

Announcement for users using ServiceDesk Plus version 13001 and later

Users upgrading to version 13001 and later are not required to mirror the updates in both servers because the changes are automatically pushed during the upgrade.

 

To upgrade your application,

 

Alternatively, you can also start ServiceDesk Plus as a service.

 

 Ensure that you back up your files before upgrading your application. Click here to know more. 

Restore DR

In the event of upgrade failure, you can restore the application to its previous version by following the steps mentioned below.

 

Alternatively, you can also start ServiceDesk Plus as a service.

After successfully restoring the application, DR will be disabled by default. Enable DR and restart the application again.

 

Why is DR disabled on restoring ServiceDesk Plus and an application reboot is required?
In some cases, the application backup from one machine with DR enabled is restored in another machine. In such cases, the application will fail to start because the IP address will be incorrect in the ha.conf file. To avoid such failures, DR will be disabled by default.
Administrators can enable DR from ESM Directory > General Settings HA Configuration and restart the application for the changes to take effect.

 

Disable DR

To disable DR from the application,

 

Alternatively, you can also start ServiceDesk Plus as a service in each server.

 

History   

The history tab records the summary of operations performed on both DR and FOS configuration.