Failover is an emergency operation that switches business operations and data to a standby system or data center when a catastrophic event (such as natural disasters, hardware failures, or network attacks) prevents the normal operation of the system or data center. This topic describes how to perform a failover operation.
Prerequisites
The standby instance status must be "Running".
Private endpoints have been created for all tenants in both primary and standby instances. For more information, see Get connection string.
Global endpoint configuration has been completed for tenants in both primary and standby instances. After failover, requests sent to the original primary instance will be forwarded to the active tenants on the current instance based on the global endpoint. For more information, see Configure global endpoint.
You have Project Admin and Instance Admin permissions.
Procedure
Log in to the OceanBase Cloud Console.
In the left navigation pane, click Instances.
In the instance list, locate your target standby instance and select ... > Initiate Failover in the Actions column.
Click OK to complete the failover. After the failover, the primary-standby relationship between the instances will be terminated, and you can create a new standby instance for the current instance.