All Products
Search
Document Center

AnalyticDB:DescribeDBClusterHealthStatus

Last Updated:May 27, 2025

Queries the health status of an AnalyticDB for MySQL cluster.

Operation description

For information about the endpoints of AnalyticDB for MySQL, see Endpoints .

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.

Note You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
amv-uf6o6m8p6x7v****
RegionIdstringYes

The region ID of the cluster.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
CSobject

The access nodes of the queried cluster.

ActiveCountlong

The number of healthy access nodes.

2
UnavailableCountlong

The number of unavailable access nodes.

0
RiskCountlong

The number of risky nodes.

0
ExpectedCountlong

The total number of access nodes.

2
Statusstring

The health state of access nodes. Valid values:

  • RISK
  • NORMAL
  • UNAVAILABLE
NORMAL
Executorobject

The compute node groups of the queried cluster.

ActiveCountlong

The number of healthy access nodes.

2
UnavailableCountlong

The number of unavailable access nodes.

0
RiskCountlong

The number of risky nodes.

0
ExpectedCountlong

The total number of compute nodes.

2
Statusstring

The health state of compute node groups. Valid values:

  • RISK
  • NORMAL
  • UNAVAILABLE
NORMAL
Workerobject

The storage node groups of the queried cluster.

ActiveCountlong

The number of healthy storage node groups.

2
UnavailableCountlong

The number of unavailable storage node groups.

0
RiskCountlong

The number of risky storage node groups.

0
ExpectedCountlong

The total number of storage node groups.

2
Statusstring

The health state of storage node groups. Valid values:

  • RISK
  • NORMAL
  • UNAVAILABLE
NORMAL
InstanceStatusstring

The health state of the cluster. Valid values:

  • RISK
  • NORMAL
  • UNAVAILABLE
Note When the states of the access nodes, compute node groups, and storage node groups of a cluster are all NORMAL and a connection to the cluster is established, the state of the cluster is NORMAL. When the state of the access nodes, compute node groups, or storage node groups of the cluster is RISK, the state of the cluster is RISK. When the state of the access nodes, compute node groups, or storage node groups of the cluster is UNAVAILABLE, the state of the cluster is UNAVAILABLE.
NORMAL
RequestIdstring

The request ID.

1AD222E9-E606-4A42-BF6D-8A4442913CEA

Examples

Sample success responses

JSONformat

{
  "CS": {
    "ActiveCount": 2,
    "UnavailableCount": 0,
    "RiskCount": 0,
    "ExpectedCount": 2,
    "Status": "NORMAL"
  },
  "Executor": {
    "ActiveCount": 2,
    "UnavailableCount": 0,
    "RiskCount": 0,
    "ExpectedCount": 2,
    "Status": "NORMAL"
  },
  "Worker": {
    "ActiveCount": 2,
    "UnavailableCount": 0,
    "RiskCount": 0,
    "ExpectedCount": 2,
    "Status": "NORMAL"
  },
  "InstanceStatus": "NORMAL",
  "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEA",
  "AccessDeniedDetail": ""
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidDBCluster.NotFoundThe DBClusterId provided does not exist in our records.The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-05-14The Error code has changed. The response structure of the API has changedView Change Details