You can enable the cluster lock feature for your clusters that carry key business to prevent potential irreversible consequences arising from accidental manual release of the clusters. This topic describes how to enable or disable the cluster lock feature.
Precautions
The cluster lock feature cannot prevent the automatic release of clusters in normal cases such as the following ones:
A payment in your account is overdue for more than eight days.
The cluster does not comply with the applicable security compliance policies.
Enable the cluster lock feature
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region in which the cluster is deployed.
You can use one of the following methods to enable the cluster lock feature:
Method 1
On the Clusters page, find the cluster and choose
in the Actions column.Method 2
On the Clusters page, find the cluster and click its ID.
On the Overview page, click Enable next to Cluster Lock.
In the dialog box that appears, click OK.
Disable the cluster lock feature
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region in which the cluster is deployed.
You can use one of the following methods to disable the cluster lock feature:
Method 1
On the Clusters page, find the cluster and choose
in the Actions column.Method 2
On the Clusters page, find the cluster and click its ID.
On the Overview page, click Disable next to Cluster Lock.
In the dialog box that appears, click OK.
View the status of the cluster lock feature
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region in which the cluster is deployed.
On the Clusters page, click the name of the cluster.
On the Overview page, view the status of Cluster Lock.
Related API operations
Operation | Description |
Enables or disables the cluster lock feature. |