Cluster lock
If your cluster hosts critical services, we recommend enabling its cluster lock. This feature prevents manual release, which helps avoid irreversible consequences from operational errors or miscommunication.
Usage notes
-
A cluster lock does not prevent automatic release under certain conditions, including:
-
The cluster is automatically released if it is suspended for more than 8 days due to an overdue payment in your account.
-
The cluster is stopped or released due to security or compliance risks.
-
Enable a cluster lock
-
Log in to the PolarDB console。
-
In the navigation pane on the left, click Clusters。
-
In the upper-left corner, select the region where the cluster is deployed.
-
You can enable a cluster lock in two ways:
-
Method 1:
On the Clusters, find the target cluster. In the Actions column, choose .
-
Method 2:
-
On the Clusters, click the target cluster.
-
On the Basic Information page, click Enable to the right of Cluster Lock.
-
-
-
In the dialog box, click OK.
Disable a cluster lock
-
Log in to the PolarDB console。
-
In the navigation pane on the left, click Clusters。
-
In the upper-left corner, select the region where the cluster is deployed.
-
You can disable a cluster lock in two ways:
-
Method 1:
On the Clusters, find the target cluster. In the Actions column, choose .
-
Method 2:
-
On the Clusters, click the target cluster.
-
On the Basic Information page, click Disable to the right of Cluster Lock.
-
-
-
In the dialog box, click OK.
View the cluster lock status
-
Log in to the PolarDB console。
-
In the navigation pane on the left, click Clusters。
-
In the upper-left corner, select the region where the cluster is deployed.
-
On the Clusters, click the target cluster.
-
On the Basic Information page, check the status of Cluster Lock.
The Cluster Lock field displays Enabled.
Related APIs
|
API |
Description |
|
Enables or disables a cluster lock. |