Updated on 2024-10-21 GMT+08:00

Starting, Stopping, and Deleting a GaussDB(DWS) Cluster

Restarting a cluster

If a cluster is in the Unbalanced state or cannot work properly, you may need to restart it for restoration. After modifying a cluster's configurations, such as security settings and parameters, manually restart the cluster to make the configurations take effect.

If your cluster is in arrears, this function may be unavailable. Please top up your account in time.

Impact on the System

  • A cluster cannot provide services during the restart. Therefore, before the restart, ensure that no task is running and all data is saved.

    If the cluster is processing service data, such as importing data, querying data, creating snapshots, or restoring snapshots, cluster restarting will cause file damage or restart failure. You are advised to stop all cluster tasks before restarting the cluster.

    View the Session Count and Active SQL Count metrics to check whether the cluster has active events. For details, see Viewing GaussDB(DWS) Cluster Monitoring Information on Cloud Eye.

  • The time required for restarting a cluster depends on the cluster scale and services. Generally, it takes about 3 minutes to restart a cluster. The duration does not exceed 20 minutes.
  • If the restart fails, the cluster may be unavailable. Try again later or contact technical support.

Procedure

  1. Log in to the GaussDB(DWS) console.
  2. Choose Clusters > Dedicated Clusters.
  3. In the Operation column of the cluster to be restarted, choose More > Restart.
  4. In the dialog box that is displayed, click Yes.

    Task Information changes to Restarting. When Cluster Status changes to Available again, the cluster is successfully restarted.

Stopping a Cluster

If a cluster is no longer used, you can stop the cluster to bring services offline.

  • If the current console does not support this feature, contact technical support. Billing resumes after the cluster is started.
  • After the cluster is stopped, ECS basic resources (vCPUs and memory) are no longer reserved. When you start the service again, it may fail to be started due to insufficient resources. In this case, wait for a while and try again later.
  • For details about cluster billing after the cluster is stopped, see Stopping Billing.

Procedure

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane, choose Clusters > Dedicated Clusters.
  3. On the Dedicated Clusters page, locate the row that contains the target dedicated cluster, click More > Stop in the Operation column.
  4. In the dialog box that is displayed, click Yes.

    The Task Information of the cluster changes to Stopping. If the Cluster Status changes to Stopped, the cluster is stopped successfully.

Starting a Cluster

You can start a stopped cluster to restore cluster services.

If the current console does not support this feature, contact technical support. Billing resumes after the cluster is started.

Procedure

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation pane, choose Clusters > Dedicated Clusters.
  3. On the Dedicated Clusters page, locate the row that contains the target dedicated cluster, click More > Start in the Operation column.
  4. In the dialog box that is displayed, click Yes.

    The Task Information of the cluster changes to Starting. If the Cluster Status changes to Available, the cluster is started successfully.

Deleting a Cluster

If you do not need to use a cluster, perform the operations in this section to delete it.

  • If your cluster is in arrears, this function may be unavailable. Please top up your account in time.
  • You cannot delete a cluster that is either read-only or being scaled. Wait until the scaling process is finished or the read-only state is canceled before attempting to delete it.
  • If a cluster has DR tasks, the cluster cannot be deleted. You need to delete the DR tasks and then delete the cluster.

Impact on the System

Deleted clusters cannot be recovered. Additionally, you cannot access user data and automated snapshots in a deleted cluster because the data and snapshots are automatically deleted. If you delete a cluster, its manual snapshots will not be deleted.

Procedure

  1. Log in to the GaussDB(DWS) console.
  2. Click in the upper left corner of the management console to select a region.
  3. On the Clusters > Dedicated Clusters page, locate the cluster to be deleted.
  4. In the row of a cluster, choose More > Delete.
  5. In the displayed dialog box, confirm the deletion. You can determine whether to perform the following operations:

    • Create a snapshot for the cluster.

      If the cluster status is normal, click Create Snapshot. On the snapshot list page, click Create Snapshot to create a snapshot for the cluster to be deleted. For details, see Manual Snapshots. In the row of a cluster, choose More > Delete.

    • Delete associated resources.
      • Release the EIP bound to a cluster.

        If an EIP is bound to the cluster, you are advised to select EIP to release the EIP of the cluster to be deleted. If you do not release the EIP, you can bind it to another cluster or cloud resource and it will be billed based on the EIP pricing rule of VPC.

      • Delete automated snapshots.
      • Delete manual snapshots.

        If you have created a manual snapshot, you can select Manual Snapshot to delete it.

  6. After confirming that the information is correct, enter DELETE or click Auto Enter and click OK to delete the cluster. The cluster status in the cluster list will change to Deleting and the cluster deletion progress will be displayed.

    If the cluster to be deleted uses an automatically created security group that is not used by other clusters, the security group is automatically deleted when the cluster is deleted.