How Do I Set Up Data Center in Warm Standby Mode?
About this task
This use case explains how to set up the data centers in warm standby mode to achieve disaster recovery.
For example, assume that you have two data centers DC 1 and DC 2 in the following landscape:
Data Center Name | Host Name | Region |
---|---|---|
DC 1 | uk.myhost.com | United Kingdom |
DC 2 | us.myhost.com | United States |
Pre-requisites
- Install webMethods API Gateway in DC2 and ensure that the fix upgrades of DC1 is applied to DC2 too.
- Run the following backup REST API periodically to take a snapshot of data from DC1 and
store the snapshots in a suitable externalized storage system based on the RPO:
curl -si -X POST -H "content-type:application/json" -d '{"indices": "gateway_tenant_*"}' http://es-host:es-port/_snapshot/repo-name/backup_file_name
- Run the following restore REST API periodically to restore the backup snapshots from the
externalized storage in DC2.
curl -si -X POST -H "content-type:application/json" -d '{"indices": "gateway_tenant_*"}' http://es-host:es-port/_snapshot/repo-name/backup_file_name/_restore
For more information about backup and restore, see Data Backup
Failover and Failback process