Checking the Cluster Status

On the Clusters page of the GaussDB(DWS) management console, you can view the general information about a cluster in the cluster list, such as the cluster status, task information, and node flavor.

Querying General Information of a Cluster

Log in to the GaussDB(DWS) management console. In the navigation pane, choose Clusters. The cluster list displays all clusters. If there are a large number of clusters, you can turn pages to view the clusters in any status.

Enter the cluster name in the search box, and click image1 to search for a cluster. Alternatively, in the All projects drop-down list above the cluster list, select the target project. Click image2 to refresh the cluster list. You can also click Search by Tag to search for clusters based on the criteria. For details, see Searching for Clusters Based on Tags.

Clusters are listed in chronological order by default, with the most recent clusters displayed at the top. Table 1 lists the cluster list parameters.

**Figure 1** Cluster list

Figure 1 Cluster list

Table 1 Cluster list parameters

Parameter

Description

Cluster Name

Cluster name specified when a cluster is created.

Cluster Status

Cluster running status. For details, see Cluster Status.

Task Information

Cluster task status. For details, see Cluster Task Information.

Node Flavor

Node flavors of clusters. For details about the node flavors, see Table 3.

Enterprise Project

Enterprise project to which a cluster belongs.

Operation

Cluster Status

Table 2 Cluster status description

Status

Description

Available

Indicates that the cluster runs properly.

Read-only

A cluster goes into this state when the disk usage of the cluster or a single node in the cluster is greater than 90%. The cluster can still work in this state but supports only query operations. Write operations are not supported. When the cluster status becomes read-only, contact technical support engineers.

After the read-only status is canceled for the cluster, you are advised to perform the following operations:

  • Use the SQL client tool to connect to the database as the database administrator and run the following command to periodically clear and reclaim the storage space:

    VACUUM FULL;
    

    After you delete data stored in GaussDB(DWS) data warehouses, dirty data may be generated possibly because the disk space is not released. This results in disk space waste. It is recommended that the storage space be cleared periodically.

  • You are advised to check the disk capacity and analyze whether the existing cluster specifications meet service requirements. If not, expand the cluster capacity. For details, see Cluster Scale-out.

Unbalanced

If the role of a GTM or DN in the cluster is different from the initial role, the cluster is in the Unbalanced state. In the Unbalanced state, the number of primary instances on some nodes increases. As a result, the load pressure is high. In this case, the cluster is normal, but the overall performance is not as good as that in a balanced state. You are advised to switch a cluster to the Available state during off-peak hours.

Redistributing

A cluster goes into this state when it detects that the service data on the original nodes is significantly larger than that on the new node after a new node is added to the cluster. In this case, the system automatically redistributes data on all nodes. The cluster can still work in this state.

Redistribution failed

A cluster goes into this state when data redistribution fails, but no data loss occurs. The cluster can still work in this state. You are advised to contact technical support.

Degraded

A cluster goes into this state when some nodes in the cluster are faulty, but the whole cluster runs properly. You are advised to contact technical support.

Unavailable

A cluster goes into this state when it cannot provide database services. You are advised to contact technical support.

Creating

A cluster goes into this state when it is being created.

Creation failed

A cluster goes into this state when it fails to be created.

Creating, restoring

A cluster goes into this state when it is being restored from a snapshot.

Cluster Task Information

Table 3 Task information description

Status

Description

Creating snapshot

Indicates that a snapshot is being created in the cluster.

Snapshot creation failed

Indicates that a snapshot fails to be created.

Configuring

Indicates that the system is storing modifications of cluster parameters.

Restarting

Indicates that a cluster is being restarted.

Restart failed

Indicates that a cluster fails to be restarted.

Resizing

Indicates that a cluster is being resized.

Resize failed

Indicates that a cluster fails to be resized.