Home » Configuring Settings >> Configuring Failover Server
srch-icn
 

Configuring Failover Server

This document provides a detailed guide on setting up a Failover Server in ManageEngine Endpoint Central MSP. A Failover Server ensures high availability by taking over when the primary server goes offline, maintaining uninterrupted services for your network. This guide is intended for IT administrators responsible for server setup and maintenance. To know more about Failover Server, click here.

Table of Contents

Pre-requisites for Failover Server Management

  1. Failover Server License: To check whether you have a Failover Server license, navigate to Profile > License > Additional Details in the Endpoint Central MSP web console. If you do not have failover service enabled, contact Sales.
  2. Remote MSSQL Database: Check whether you have a remote MSSQL Database by navigating to Support in the Endpoint Central MSP web console. Scroll down to General Details and check the Database Type. It is mandatory to have a remote MSSQL Database in the same domain as the Primary and Secondary Server. If you do not have a remote MSSQL database, refer here.
  3. Remote Repositories: Ensure remote repositories are configured on a computer within the same domain, not on the primary or secondary servers.
  4. Static IP Address: Required for consistent network identification.

Note: Ensure all components (central server, failover server, and remote MSSQL database) are within the same domain. Verify that NAT settings are properly configured for communication redirection.

How to configure a Failover Server?

  • Build below 11.3.2440.01
  • Build 11.3.2440.01 and above

Configuring the Failover Server

  1. Go to Admin > Server Settings > Failover Server in the Endpoint Central MSP console.
  2. Primary Server IP: Enter the IP addresses of Endpoint Central MSP Server.
  3. Secondary Server IP: Enter the IP address of Failover Server.
  4. Set up the Virtual IP for the agents to communicate with the correct server. 
  5. Configure the Secondary Server FQDN if servers are in different subnets.

Note: A single IP address cannot be used to access the server in scenarios where you are utilizing the failover server across different subnets. Furthermore, only one server IP can be employed for integration, as there is no provision for a shared IP when utilizing the failover server across different subnets.

Cloning Server Components

To clone server components, follow these steps:

  1. Stop the Endpoint Central MSP service on the primary server.
  2. Open the command prompt in administrator mode and change the directory to <ServerInstalled_Directory>\UEMS_MSP CentralServer\bin.
  3. Execute the Clone_Primary_Server.bat script to create a backup of server components.
  4. Once it is executed a new zip file "Product.zip" will be created in the <ServerInstalled_Directory>\UEMS_MSP CentralServer folder.

Configuring Share Permissions

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

To configure, enable the following settings

  1. Access the computer where the Endpoint Central MSP Primary Server is installed.
  2. Open the primary server folder and add the system user of the secondary server as shown in the steps below.
  3. 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 vulnerabilities. Also ensure that you login as a domain user while configuring the failover server.

  4. Right click on the folder choose Sharing tab > Click Advanced Sharing > Enable Share this Folder
  5. Specify the name as UEMS_MSPCentralServer
  6. Click Permissions > Add > Object Types > Computers > Ok
  7. Under Enter Object Name, specify the secondary server name and the user name with Admin privileges
  8. Click share permission and select user and computer and ensure that Full Control is enabled
  9. Navigate to Security tab and Click Edit.
  10. Click Add to open the Select Users or Groups window. Click Object Types, select Computers, and click OK.
  11. Enter the username and computer name, click Check Names, and click OK.
  12. Select Full Control for both the user and computer.
  13. Click Apply, then OK to save the changes.
security permissions

Activate Failover Server

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

  • 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 (the .bat file can be downloaded from the Endpoint Central  MSP Server console as shown in the image above) 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.

Configuring the Failover Server

  1. Go to Admin > Server Settings > Failover Server in the Endpoint Central MSP console.
  2. Primary Server IP: Enter the IP addresses of Endpoint Central MSP Server.
  3. Secondary Server IP: Enter the IP address of Failover Server.
  4. Set up the Virtual IP for the agents to communicate with the correct server.
  5. Configure the Secondary Server FQDN if servers are in different subnets.
  6. Provide the Secondary Server machine name which is used to share UEMS_MSPCentralServer directory and assign permissions for that machine.

Note: A single IP address cannot be used to access the server in scenarios where you are utilizing the failover server across different subnets. Furthermore, only one server IP can be employed for integration, as there is no provision for a shared IP when utilizing the failover server across different subnets.

Cloning Server Components

To clone server components, follow these steps:

  1. Stop the Endpoint Central MSP service on the primary server.
  2. Open the command prompt in administrator mode and change the directory to <ServerInstalled_Directory>\UEMS_MSPCentralServer\bin.
  3. Execute the Clone_Primary_Server.bat script to create a backup of server components.
  4. Once it is executed a new zip file "Product.zip" will be created in the <ServerInstalled_Directory>\UEMS_MSPCentralServer.
  5. Start the Endpoint Central MSP Server

Configuring Share Permissions

The permission will be configured automatically in the Primary server.

Activate Failover Server

  1. On the secondary server, create a folder that mirrors the primary server's installation path.
  2. Extract the generated "Product.zip" file into newly created folder. For example, if the primary server is installed in C://Program Files/UEMS_MSPCentralServer, Create a similar path and extract the generated "Product.zip".
  3. Open the command prompt in administrator mode and Run the file named "Activate_Secondary.bat" in the bin folder.

activate failover server

Support

If you have any queries, kindly reach out to support