Software AG Products 10.7 | Integrate Software AG Products Using Digital Event Services | API Gateway Configuration Guide | API Gateway Data Management | Cross-Data Center Support | What is Cold Standby Mode? | How Do I Set Up the Data Center in Cold Standby Mode?
 
How Do I Set Up the Data Center in Cold Standby Mode?
This use case explains how to set up the data center in cold standby mode.
The use case starts when you set up the data center in cold standby mode and ends when you successfully replace the primary data center.
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
Here, the DC 1 is in active mode and DC 2 is passive. You want to bring up DC 2, when DC 1 goes down. Assume that DC 2 is in cold standby mode, then there would be no data or API Gateway installed on DC 2. All the DC 1 data is backed up to some external data store based on the RPO. After you back up DC 1, you have to install the API Gateway instance in DC 2, and restore the backed up data from DC 1 to DC 2.
*To set up the data center in cold standby mode
1. Run the following command in DC 1 to back up the data:

apigatewayUtil.sh create backup -name backup_file_name
For more information about back up and restore, see API Gateway Database Backup and Restore (Disaster Recovery).
2. Install API Gateway on DC 2 after DC 1 goes down.
3. Run the following command in DC 2 to restore the backed up data:

apigatewayUtil.sh restore backup -name backup_file_name
Note:
In cold standby mode, the data is restored only once.
4. Start the API Gateway instance in DC 2.
5. Reconfigure the load balancer by exposing DC 2 to the client.