This topic describes how to start the original primary cluster in read-only mode after a failover.
Background information
After you perform a failover, the cluster exists in the disabled state and can only be deleted. After the failover, some data in the original primary cluster may be missing from the new primary cluster. You can start the original primary cluster in read-only mode, compare the data of the new primary cluster with that of the original primary cluster, and update the new primary cluster if necessary based on the result of the comparison.
Prerequisites
Make sure that you have the following permissions:
-
Resource Permissions : Cluster Maintenance permission -
Menu Permissions : Permission on theOverview menu ofClusters
-
The current cluster is the original primary cluster and must be in the DISABLED state.
The OceanBase Database version is V2.2.76 BP1 or later.
Procedure
Log on to the OceanBase Cloud Platform (OCP) console. In the left-side navigation pane, click
Clusters . In theClusters list, click the name of the target cluster.On the Overview page of the cluster, click
Start as Read-Only Cluster in the upper right corner.In the dialog box that appears, click
Start .When the cluster is starting, the cluster status changes to
Starting read-only cluster . After the cluster is started, the cluster status changes toRunning and the cluster is marked as Read-Only Cluster .Note
When the cluster is in the Starting read-only cluster state, you cannot perform any operation on the cluster.