This topic describes how to modify zone priorities.
Prerequisites
Make sure that you have the following permissions:
-
Resource Permissions : Cluster Maintenance or Tenant Maintenance permission -
Menu Permissions : Permission on theOverview menu ofTenants
-
In a standalone centralized database, you cannot modify the priority of a zone for a tenant.
Procedure
Log in to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, select
Tenants . TheTenants page automatically appears.On the
Tenants page, find the target tenant and click its name to go to theOverview page of the tenant.In the
Primary Zone section, clickModify .In the dialog box that appears on the right, modify the zone priorities.
Note
If the OceanBase Database version of the cluster is V4.2.0 or later and the
enable_rebalaceparameter is set tofalse, you cannot perform the following operations:- Adjust the number of zones with the highest priority specified in
primary_zone. - Adjust the number of full-featured replicas when
primary_zoneis set toRANDOM.
- Adjust the number of zones with the highest priority specified in
Click
OK .