Облачная платформаAdvanced

Starting, Stopping, and Deleting a DWS Cluster

Язык статьи: Английский
Перевести

Application Scenarios

  • 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.
  • Stopping a Cluster: If a cluster is no longer used, you can stop the cluster.
  • Starting a Cluster: You can start a stopped cluster to restore cluster services.
  • Deleting a Cluster: If you do not need to use a cluster, you can delete it.

Restarting a cluster

  1. Log in to the DWS console.
  2. Choose Cluster > Cluster List.
  3. In the Operation column of the cluster to be restarted, click More and select Restart.

    • During the restart, the cluster cannot provide services. Before restarting the cluster, 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.

      You can view the Session Count and Active SQL Count metrics by referring to Viewing DWS Cluster Monitoring Information on Cloud Eye and check whether the cluster has active transactions.

    • 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.
    Note

    The positions of the function keys in the Operation column are dynamic. To ensure that there are always two function keys visible before More, any function keys that typically appear only when you hover over More will be moved to a position directly before More. This adjustment occurs if there are some functions whose keys are supposed to be placed before More but are not supported for the current site.

  4. In the displayed dialog box, click Yes.

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

Stopping a Cluster

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. On the displayed page, locate the target cluster, click More in the Operation column, and select Stop.

    • After the cluster is stopped, ECS basic resources (vCPUs and memory) are no longer reserved. When you start the cluster again, it may fail to be started due to insufficient resources. In this case, wait for a while and try again later.

  4. In the displayed dialog box, 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

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. On the displayed page, locate the target cluster, click More in the Operation column, and select Start.
  4. In the displayed dialog box, 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

  1. Log in to the DWS console.
  2. Choose Cluster > Cluster List and locate the cluster you want to delete.
  3. Locate the target cluster, click More in the Operation column, and select Delete.

    • Before deleting a cluster, ensure that all DR tasks of the cluster have been deleted.

  4. In the displayed dialog box, confirm the deletion. You can determine whether to:

    • Create a cluster snapshot immediately if no snapshot is available for the current cluster.

      If the cluster status is normal and no snapshot is available, click Create Snapshot. On the snapshot list page, click Create Snapshot to create a snapshot for the cluster to be deleted. For details, see Creating and Managing a DWS Snapshot. After the snapshot is created, go back to the Cluster List page and delete the cluster.

    • Delete associated resources, including:
      • EIP bound to a cluster

        You are advised to select EIP to release the EIP of the cluster to be deleted.

      • Automated snapshots
      • Manual snapshots

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

  5. 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.

    When you delete a cluster, its automatically created security group is also deleted, as long as other clusters are not using it. Deleted clusters cannot be recovered. After a cluster is deleted, its data and automated snapshots will be lost, but its manual snapshots are retained.