Failover steps when active site is inaccessible
Disable network access to your failed active data center, and promote your warm-standby data center to active.
About this task
Follow the steps in this procedure when your active site is inaccessible, or the API Connect subsystems in your active site are not responding to apicup operations.
Procedure
What to do next
- Convert your remaining data center to a stand-alone, and continue with one data center. See Removing a two data center deployment.
- Install a new warm-standby data center to replace the failed one. See Installing a two data center deployment.
If you are able to recover your failed data center, before you re-enable network access, set the management and portal subsystems to warm-standby:
- Set the
multi-site-ha-mode
property topassive
for the management subsystem in DC1:apicup subsys set <DC1 management> multi-site-ha-mode=passive
- Apply the update to
DC1:
apicup subsys install <DC1 management> --accept-dr-data-deletion
Note: When an active management subsystem is converted to warm-standby, all contents of its management database are deleted (to be replaced by the contents from the other data center when it becomes the active). The--accept-dr-data-deletion
flag is acknowledgment that you accept this temporary loss of data. - Monitor the progress of the conversion to warm-standby:
apicup subsys health-check <DC1 management> -v
- Set the
multi-site-ha-mode
property topassive
for the portal subsystem in DC1:apicup subsys set <DC1 portal> multi-site-ha-mode=passive
- Apply the update to
DC1:
apicup subsys install <DC1 portal> --skip-health-check
- Monitor the progress of the conversion to warm-standby:
apicup subsys health-check <DC1 portal> -v
- When you have confirmed that both management and portal subsystems in DC1 are set to warm-standby, you can re-enable the
network to the DC1 API Connect subsystems, and
the two data centers should synchronize their API Connect data.Monitor the health at both data centers with:
apicup subsys health-check <DC1 management> -v