Query information about a specified E-HPC cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:GetCluster |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The cluster ID. |
ehpc-hz-FYUr32**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Returned parameter collection. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| ClusterId |
string |
The E-HPC cluster ID. |
ehpc-hz-FYUr32**** |
| ClusterName |
string |
The E-HPC cluster name. |
slurm22.05.8-cluster-20240614 |
| ClusterCategory |
string |
The cluster series. Valid values:
|
Standard |
| MaxCount |
string |
The number of compute nodes the cluster can manage. |
100 |
| MaxCoreCount |
string |
The total number of cores of compute nodes the cluster can manage. |
10000 |
| DeleteProtection |
string |
Indicates whether delete protection is enabled for the cluster. Valid values:
|
true |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxazb4ph**** |
| ClusterCreateTime |
string |
The cluster creation time. The time follows the ISO 8601 standard and is in UTC+0. The format is yyyy-MM-ddTHH:mmZ. For more information, see ISO 8601. |
2024-08-06T12:43:01.000Z |
| ClusterModifyTime |
string |
The cluster modification time. The time follows the ISO 8601 standard and is in UTC+0. The format is yyyy-MM-ddTHH:mmZ. For more information, see ISO 8601. |
2024-08-06T12:43:01.000Z |
| ClusterVpcId |
string |
The Virtual Private Cloud (VPC) ID used by the cluster. |
vpc-uf6u3lk1pjy28eg***** |
| ClusterVSwitchId |
string |
The virtual switch ID used by the cluster. |
vsw-bp1p2uugqsjppno****** |
| SecurityGroupId |
string |
The security group ID. |
sg-f8z9vb2zaezpkr69a21k |
| EhpcVersion |
string |
The E-HPC product version number. |
2.0.0 |
| ClientVersion |
string |
The E-HPC Util version used by the cluster. |
2.0.31 |
| ClusterStatus |
string |
The cluster status. Valid values:
|
running |
| ClusterMode |
string |
The deployment type of the cluster. Valid values:
|
Integrated |
| Manager |
object |
The cluster control plane node configuration. |
|
| Scheduler |
object |
The scheduler service information. |
|
| Type |
string |
The scheduler type. Valid values:
|
SLURM |
| Version |
string |
The scheduler version. |
22.05.8 |
| Status |
string |
The scheduler service status. Valid values:
|
running |
| DirectoryService |
object |
The domain account service information. |
|
| Type |
string |
The domain account type. |
nis |
| Version |
string |
The domain account version. |
2.31 |
| Status |
string |
The domain account service status. Valid values:
|
running |
| DNS |
object |
The domain name resolution service configuration. |
|
| Type |
string |
The domain name resolution type. |
nis |
| Version |
string |
The domain name resolution version. |
2.31 |
| Status |
string |
The domain name resolution service status. Valid values:
|
running |
| ManagerNode |
object |
The control plane node configuration. |
|
| InstanceId |
string |
The control plane node instance ID. |
i-bp1a170jgea1vl****** |
| InstanceType |
string |
The control plane node instance type. |
ecs.g6.4xlarge |
| InstanceChargeType |
string |
The billing method of the control plane node instance. Valid values:
|
PostPaid |
| ExpiredTime |
string |
The expiration time of the control plane node. |
2099-12-31T15:59Z |
| ImageId |
string |
aliyun_2_1903_x64_20G_alibase_20200324.vhd |
|
| PeriodUnit |
string |
Month |
|
| Period |
integer |
1 |
|
| AutoRenew |
boolean |
||
| AutoRenewPeriod |
integer |
Month |
|
| SpotStrategy |
string |
NoSpot |
|
| SpotPriceLimit |
number |
1 |
|
| Duration |
integer |
1 |
|
| EnableHt |
boolean |
||
| SystemDisk |
object |
||
| Category |
string |
cloud_ssd |
|
| Size |
integer |
40 |
|
| Level |
string |
PL0 |
|
| ClusterCustomConfiguration |
object |
The cluster post-processing script. |
|
| Script |
string |
The download URL of the post-processing script. |
http://***** |
| Args |
string |
The runtime parameters of the post-installation script. |
E-HPC cn-hangzhou |
| GrowInterval |
integer |
The interval for cluster auto scale-out. |
2 |
| IdleInterval |
integer |
The idle time of the cluster's compute nodes. |
4 |
| EnableScaleOut |
boolean |
Indicates whether auto scale-out is enabled for the cluster. Valid values:
|
true |
| EnableScaleIn |
boolean |
Indicates whether auto scale-in is enabled for the cluster. Valid values:
|
true |
| MonitorSpec |
object |
The cluster monitoring details. |
|
| EnableComputeLoadMonitor |
boolean |
Indicates whether the monitoring component for compute nodes is enabled for the cluster. Valid values:
|
true |
| SchedulerSpec |
object |
The cluster scheduling details. |
|
| EnableTopologyAwareness |
boolean |
Indicates whether the topology awareness feature is enabled for the cluster. Valid values:
|
true |
| EnablePowerSaving |
boolean |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"ClusterId": "ehpc-hz-FYUr32****",
"ClusterName": "slurm22.05.8-cluster-20240614",
"ClusterCategory": "Standard",
"MaxCount": "100",
"MaxCoreCount": "10000",
"DeleteProtection": "true",
"ResourceGroupId": "rg-acfmxazb4ph****",
"ClusterCreateTime": "2024-08-06T12:43:01.000Z\n",
"ClusterModifyTime": "2024-08-06T12:43:01.000Z\n",
"ClusterVpcId": "vpc-uf6u3lk1pjy28eg*****",
"ClusterVSwitchId": "vsw-bp1p2uugqsjppno******",
"SecurityGroupId": "sg-f8z9vb2zaezpkr69a21k",
"EhpcVersion": "2.0.0",
"ClientVersion": "2.0.31",
"ClusterStatus": "running",
"ClusterMode": "Integrated",
"Manager": {
"Scheduler": {
"Type": "SLURM",
"Version": "22.05.8",
"Status": "running"
},
"DirectoryService": {
"Type": "nis",
"Version": "2.31",
"Status": "running"
},
"DNS": {
"Type": "nis",
"Version": "2.31",
"Status": "running"
},
"ManagerNode": {
"InstanceId": "i-bp1a170jgea1vl******",
"InstanceType": "ecs.g6.4xlarge",
"InstanceChargeType": "PostPaid",
"ExpiredTime": "2099-12-31T15:59Z",
"ImageId": "aliyun_2_1903_x64_20G_alibase_20200324.vhd",
"PeriodUnit": "Month",
"Period": 1,
"AutoRenew": false,
"AutoRenewPeriod": 0,
"SpotStrategy": "NoSpot",
"SpotPriceLimit": 1,
"Duration": 1,
"EnableHt": false,
"SystemDisk": {
"Category": "cloud_ssd",
"Size": 40,
"Level": "PL0"
}
}
},
"ClusterCustomConfiguration": {
"Script": "http://*****\n",
"Args": "E-HPC cn-hangzhou\n"
},
"GrowInterval": 2,
"IdleInterval": 4,
"EnableScaleOut": true,
"EnableScaleIn": true,
"MonitorSpec": {
"EnableComputeLoadMonitor": true
},
"SchedulerSpec": {
"EnableTopologyAwareness": true,
"EnablePowerSaving": false
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.