OceanBase Cloud Platform (OCP) provides a topology diagram that allows you to view the primary/standby relationships of the current tenant.
Prerequisites
To view information such as the primary tenant, archive log information, tenant synchronization status, and standby tenant information in the topology, make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only or Tenant Read-only permission -
Menu Permissions : Permission on theTopology menu ofTenants
-
To perform O&M operations such as suspending or starting tenant synchronization, make sure that you have the following permissions:
-
Resource Permissions : Cluster Maintenance or Tenant Maintenance permission -
Menu Permissions : Permission on theTopology menu ofTenants
-
Procedure
Log in to the OCP console.
Click
Tenants in the left-side navigation pane. In theTenants list, select the target tenant to go to itsOverview page.On the left side of the page, click the topology to go to the
Topology of Primary/Standby Tenants tab.Note
If the tenant has no primary/standby relationship, you can click Create Standby Tenant to create a standby tenant for the current tenant.
You can click the icons in the upper-right corner of the canvas to resize and refresh the topology.
The topology consists of four layers:
The first layer indicates the primary tenant.
The second layer indicates archive logs. This layer is shown only when the archiving-based synchronization mode is used.
The third layer indicates the tenant synchronization status.
The fourth layer indicates the standby tenant.
If the tenant has a cascading relationship, which means that the current tenant is a standby tenant and it has a standby tenant, the synchronization status and standby tenant information are displayed in the lower part of the canvas.
Primary tenant
The primary tenant icon shows the name of the cluster to which the primary tenant belongs and the current status of the primary tenant.
Archive logs
When the archiving-based mode is used for synchronization between the primary and standby tenants, the topology shows the information about archive logs. You can hover the pointer over the archive logs icon to view the archive path.
Tenant synchronization status
The tenant synchronization status icon shows whether the synchronization is normal and the log latency. You can hover the pointer over the icon to view synchronization details.
Possible synchronization states are
-
Normal Synchronization : The standby tenant is synchronizing data from the primary tenant normally. -
Synchronization Error : The OceanBase Database version of the primary tenant is later than that of the standby tenant, the primary tenant has been deleted, the log source cannot be accessed or is unreachable, or other exceptions occur. -
Log Conflict : The restored logs conflict with those of the standby tenant. For example, a log in the standby tenant is different from the log with the same log sequence number (LSN) in the log source. -
Synchronization Suspended : The synchronization is suspended. - Logs are missing: Logs in the log source are incomplete.
Standby tenant
The standby tenant icon shows the name of the cluster to which the standby tenant belongs, current status of the standby tenant, and whether the standby tenant is a remote tenant.
Click the