When the primary zone fails, OceanBase automatically switches the primary zone based on service conditions. We recommend that you do not manually switch the primary zone. If you need to perform drills for high availability scenarios, you can manually switch the primary zone in the OceanBase management console.
When you switch the primary zone, access to the database is interrupted for a few seconds.
To maximize the access performance of OceanBase Database, we recommend that you switch the primary zone back to the original primary zone of the VPC after the drill is completed.
Log on to the OceanBase management console.
In the left-side navigation pane, choose Clusters.
Click the name of the target cluster to go to the Cluster Workspace page.
On the Tenants tab, locate the row containing the tenant that requires a primary zone switchover.
Click the more icon in the Actions column, and choose Switch Primary Zone.
Set a new primary zone for the current tenant, and click OK.