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,
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.
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.
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.
Whenever the primary server encounters planned or unplanned downtime, the standby server becomes operational and services all requests.
Before enabling this setting, make sure that the following conditions are satisfied.
Make sure that both instances of the product:
Are installed and running as a service.
Have the same build architecture (32-bit or 64-bit) and build number.
Have the same context path.
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
If you are using an external database, make sure that both the primary and secondary servers can access the database.
Follow the steps given below to enable high availability:
Navigate to Admin → Product Settings → High Availability.
Select Enable High Availability.
In the Primary Server section, enter the URL of ADSelfService Plus running in the primary server.
In the Standby Server section, enter the:
Host name of the standby server where ADSelfService Plus is running.
Super admin credentials of ADSelfService Plus in standby server.
Note: Super administrators are users who have been provided with the full control over the entire product.
In the Virtual IP section, enter:
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.
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.
|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:
Shut down the primary server.
Access ADSelfService Plus. This will automatically route you to the standby server.
Go to the High Availability settings and disable it.
Restart the standby server, and then restart the primary server.