This topic describes how to decouple a standby tenant from the primary tenant.
Scenarios
You can decouple a standby tenant from the primary tenant, making it an independent tenant that can provide services without needing to synchronize data from the original primary tenant.
Prerequisites
- Make sure that you have the following permissions:
-
Resource Permissions : Cluster Maintenance or Tenant Maintenance permission -
Menu Permissions : Permission on theOverview menu ofTenants
-
- The current tenant is a standby tenant.
- The current tenant is available, and the cluster to which the tenant belongs is normal.
Procedure
Log on to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, click
Tenants . On theTenants tab, select the target standby tenant.On the page that appears, click the More icon in the upper-right corner and select
Decouple Primary and Standby Clusters from the menu.In the dialog box that appears, click
OK to submit a decoupling task.After the task succeeds, the standby tenant is decoupled from the primary tenant. If an error occurs after you click
OK , fix the error based on the error message and then submit a decoupling task again.
FAQ
What are the differences between failover and decoupling in OCP?
OCP performs the following additional checks in a failover:
- Check whether the primary and standby tenants have been added to OCP for management.
- Check whether the primary tenant is unavailable. This check prevents the existence of two primary tenants after the failover, to avoid upper-layer business errors.
When you decouple a standby tenant from the primary tenant, OCP assumes that the primary tenant is available and therefore does not perform additional checks.