GSS Backup Failover Plan ¶
In order to ensure that the backup side can run normally, we plan to do a failover test. In theory, as long as the primary side is unhealthy, route53 will automatically failover to the backup side. Once the primary side is healthy, route53 will switch back to the primary side. Based on this, we can do the following:
- Check the healthCheck status for backup side by Route53|Health checks.

- Change the primary healthCheck url from the correct url to a error url.
- Route53 will auto failover to backup side.
- Open the /ping api to check if in backup side(if so, it'll show "okok, the current region is: us-east-2").
- Check if the status page running successfully.
-
Update the primary healthCheck url to the correct url and check the healthCheck status for primary side.

-
Route53 will auto failover to primary side once the healthCheck status for primary side is healthy.
- Open the /ping api to check if in primary side(if so, it'll show "okok, the current region is: us-east-1").
- Check if the status page running successfully.