This topic describes how to modify zone priorities.
Prerequisites
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. The Tenants page automatically appears.
On the Tenants page, find the target tenant and click its name to go to the Overview page of the tenant.
In the Primary Zone section, click Modify.
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.