Home » Configuring Failover Server

Configuring Failover Server

Downtime is a threat to every enterprise, which would affect productivity.  Endpoint Central offers Failover Server, to overcome these challenges. You can configure a secondary server, which will act as a standby server, whenever the primary server fails. This will ensure that the desktop management system is not aborted due to any hardware surprises. This document will explain the steps involved in configuring the failover server. This feature is supported for computers running Windows XP and later versions.


You need to ensure that the below listed criteria are met, before configuring the failover server:

Failover is supported only for MSSQL database. You should have purchased license for failover and uploaded it in the product. You need to ensure that the database, patch store and the software repository are installed in a remote computer. This will ensure that the database, patch store and software repository are not affected, when one of the server is down. You should also ensure that the IP Address, that you configure for the primary server and the secondary server is static so that the communication will reach the appropriate static IP address.

Ensure that the Endpoint Central's primary server, secondary server and the remote database (if any) belongs to a same domain.  If you have configured NAT settings to redirect all communications to a local IP, you will have to ensure that the redirected communications reach the virtual IP address. A virtual IP address is an IP address that is shared among multiple domain names or multiple servers and this eliminates a host's dependency upon individual network interfaces.

Configuring Failover Server

You can configure failover server from the product web console -> Admin - > Server Settings -> Failover Server. Ensure that the following prerequisites are met.

You will have to specify the Primary and Secondary Server's IP address. You will have to provide a virtual IP address, which could actually be updated to the agents. Every communication from the agent, distribution server will reach the virtual IP. If you have configured NAT settings to redirect all communications to a local IP, you will have to ensure that the redirected communications reach the virtual IP address. You will also have to specify an email address to receive notifications related to server status. You have to configure mail server to receive notifications. If it has not been done previously, this article will guide you in configuring mail server.

All request that reaches this virtual IP will be redirected to the primary server, whenever the primary server is not reachable, the communication will be taken to the secondary server. The secondary server will periodically sync all the data from the primary server, so that it is up-to-date. Upon clicking "Save" button after providing the above details, donwnload Configure_Failover_server.bat from the page that appears next. Copy and paste the bat file in the machine in which you are about to configure the secondary server.  Now, follow the steps mentioned below to configure Failover server:

  1. Clone Server components to secondary server
  2. Configuring Secondary Server
  3. Activate Secondary Server

Clone Server components to secondary server

Perform the following steps on the computer, where (Primary) Endpoint Central server is installed:

  1. Stop Endpoint Central server
  2. Open command prompt as administrator and navigate to <Installation_Directory>/ManageEngine/DesktopCentral_Server/bin
  3. Execute "Clone_Primary_Server.bat", to clone and create a zip folder which contains the server components.
  4. A new zip file "Product.zip", will be created in the "<Installation_Directory>/ManageEngine/DesktopCentral_Server>" folder.

Configure Share Permissions

Ensure that the the secondary server do have permissions to synchronize the data from the primary server and vice versa.

You will have to enable the following settings:

  • Access to computer where Endpoint Central Primary & Secondary Server are installed.
  • Permission for the system user to manage both the Endpoint Central Primary & Secondary Server.

IMPORTANT NOTE: Make sure that the share permissions for "everyone" is turned OFF in both primary server and secondary server as it may lead to security vulnerablities.  

The below mentioned steps should be performed on the primary server first and the same should be performed on the secondary server during activation.

Steps for Sharing:

  1. Right click on the folder choose Sharing tab
  2. Click Advanced Sharing
  3. Enable Share this Folder
  4. Specify the name as DesktopCentral_Server
  5. Click Permissions
  6. Click Add
  7. Choose Object Types
  8. Enable Computers,
  9. Click OK
  10. Under Enter Object Name, specify the secondary server name and the user name with Admin privileges
  11. Click share permission and select user and computer and ensure that Full Control is enabled

  12. Click OK, to complete the process.

    If the Endpoint Central server is installed in Windows 10 or Windows Server 2012 R2, you will have to ensure that the permissions are modified here, (Right click) Desktop Central folder -> Properties -> Security -> Edit Permissions -> Edit -> Add (add the name of the secondary server).

Activate Secondary Server

Perform the below mentioned step on the computer where the Secondary server is installed:

  1. Start the primary server and proceed after it has started completely.
    • Open Command Prompt as an administrator in the secondary server and navigate to the location where you have downloaded or placed the .bat file and execute Configure_Failover_Server.bat <PrimaryServer_IP>
    • Repeat the steps for sharing, as mentioned above on the secondary server and ensure that you provide name of the computer, where the primary server is installed, in step 10.

You can now see that the server components are replicated to the secondary server.