High Availability

 

ADSelfService Plus has implemented high availability with the aim to provide failover in case of both expected and unexpected system or application failures. High availability is achieved through automatic failover, that is, when the service running on one machine fails, another instance of the service running on another machine will take over. 

 

To implement high availability for ADSelfService Plus,

 

  1. You have to install the product in two machines. One of the machines will serve as the primary server and the other as the standby server.

  2. Both the servers use the same database, and at any given time a single server will cater to user requests and the other will be inactive till the time the primary server is down.

  3. If you are using the bundled PgSQL database: While configuring high availability, the bundled PgSQL database will be configured as an external database and run as an independent service.

  4. Whenever the primary server encounters planned or unplanned downtime, the standby server becomes operational and services all requests.

Prerequisites

 

Before enabling this setting, make sure that the following conditions are satisfied.

 

Make sure that both instances of the product:

  1. Are installed and running as a service.

  2. Have the same build architecture (32-bit or 64-bit) and build number.

  3. Have the same context path.

  4. Are connected to the same domain and network. For example, if your IP range is 172.21.x.x, then the primary server, standby server and the virtual IP should also lie in the IP range 172.21.x.x

  5. If you are using an external database, make sure that both the primary and secondary servers can access the database.

 

Configuration

 

Follow the steps given below to enable high availability:

 

  1. Navigate to Admin → Product Settings → High Availability.

  2. Select Enable High Availability.

    enable-high-availability
  3. In the Primary Server section, enter the URL of ADSelfService Plus running in the primary server.

  4. In the Standby Server section, enter the:

    1. Host name of the standby server where ADSelfService Plus is running.

    2. Super admin credentials of ADSelfService Plus in standby server.

  5. Note: Super administrators are users who have been provided with the full control over the entire product.

  6. In the Virtual IP section, enter:

    1. A single IP with which you can access both the primary and standby servers. When the product is accessed using this IP, the data is routed directly through the server that is active at that particular time.

      Note: A virtual IP address is an unused static IP address. Open command prompt and try pinging an IP. If it throws the error "Request timed out", the IP is unused and can be used as the virtual IP. 


    2. The Virtual Host Name.

      Note A virtual host name is the alias given to the virtual IP. This can be set from the DNS server.

  7. Click Save.

If you’ve enabled high availability, it is important that you update the the Virtual IP Address value in Access URL, GINA/CP agent configuration, mobile app server settings, SAML SSO settings, password sync agent, and enrollment script.

 

Disabling High Availability:

High availability can be disabled only from the standby server. Follow the steps below to disable high availability:

 

Copyright © 2019, ZOHO Corp. All Rights Reserved.
ManageEngine