查詢指定E-HPC叢集資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ehpc:GetCluster |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClusterId |
string |
否 |
叢集 ID。 |
ehpc-hz-FYUr32**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回參數集合。 |
||
| RequestId |
string |
請求 ID。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| ClusterId |
string |
E-HPC 叢集 ID |
ehpc-hz-FYUr32**** |
| ClusterName |
string |
E-HPC 叢集名稱 |
slurm22.05.8-cluster-20240614 |
| ClusterCategory |
string |
叢集系列,可能值:
|
Standard |
| MaxCount |
string |
叢集可管理的計算節點數量。 |
100 |
| MaxCoreCount |
string |
叢集可管理的計算節點總核心數。 |
10000 |
| DeleteProtection |
string |
叢集是否開啟刪除保護。可能值:
|
true |
| ResourceGroupId |
string |
資源群組 ID。 |
rg-acfmxazb4ph**** |
| ClusterCreateTime |
string |
叢集的建立時間。以 ISO 8601 為標準,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mmZ。更多資訊,請參見ISO 8601。 |
2024-08-06T12:43:01.000Z |
| ClusterModifyTime |
string |
叢集的修改時間。以 ISO 8601 為標準,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mmZ。更多資訊,請參見ISO 8601。 |
2024-08-06T12:43:01.000Z |
| ClusterVpcId |
string |
叢集使用的Virtual Private Cloud ID。 |
vpc-uf6u3lk1pjy28eg***** |
| ClusterVSwitchId |
string |
叢集使用的虛擬交換器 ID。 |
vsw-bp1p2uugqsjppno****** |
| SecurityGroupId |
string |
安全性群組 ID。 |
sg-f8z9vb2zaezpkr69a21k |
| EhpcVersion |
string |
E-HPC 產品版本號碼。 |
2.0.0 |
| ClientVersion |
string |
叢集使用的 E-HPC Util 版本。 |
2.0.31 |
| ClusterStatus |
string |
叢集狀態。可能值:
|
running |
| ClusterMode |
string |
叢集的部署類型。可能值:
|
Integrated |
| Manager |
object |
叢集管理節點配置。 |
|
| Scheduler |
object |
調度器服務資訊。 |
|
| Type |
string |
調度器類型。可能值:
|
SLURM |
| Version |
string |
調度器版本。 |
22.05.8 |
| Status |
string |
調度器服務狀態,可能值:
|
running |
| DirectoryService |
object |
域帳號服務資訊。 |
|
| Type |
string |
域帳號類型。 |
nis |
| Version |
string |
域帳號版本。 |
2.31 |
| Status |
string |
域帳號服務狀態,可能值:
|
running |
| DNS |
object |
網域名稱解析服務配置資訊。 |
|
| Type |
string |
網域名稱解析類型。 |
nis |
| Version |
string |
網域名稱解析版本。 |
2.31 |
| Status |
string |
網域名稱解析服務狀態,可能值:
|
running |
| ManagerNode |
object |
管理節點的配置資訊。 |
|
| InstanceId |
string |
管理節點執行個體 ID。 |
i-bp1a170jgea1vl****** |
| InstanceType |
string |
管控節點執行個體規格。 |
ecs.g6.4xlarge |
| InstanceChargeType |
string |
管理節點的執行個體付費類型。可能值:
|
PostPaid |
| ExpiredTime |
string |
管理節點的到期時間。 |
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 |
叢集後處理指令碼。 |
|
| Script |
string |
後處理指令碼的下載地址。 |
http://***** |
| Args |
string |
安裝後指令碼的執行參數。 |
E-HPC cn-hangzhou |
| GrowInterval |
integer |
叢集自動擴容的時間間隔。 |
2 |
| IdleInterval |
integer |
叢集計算節點的空閑時間。 |
4 |
| EnableScaleOut |
boolean |
叢集是否開啟自動擴容。可選值:
|
true |
| EnableScaleIn |
boolean |
叢集是否開啟自動縮容,可能值:
|
true |
| MonitorSpec |
object |
叢集監控詳情。 |
|
| EnableComputeLoadMonitor |
boolean |
叢集是否開啟計算節點的監控組件,可能值:
|
true |
| SchedulerSpec |
object |
叢集調度詳情。 |
|
| EnableTopologyAwareness |
boolean |
叢集是否開啟拓撲感知功能,可能值:
|
true |
| EnablePowerSaving |
boolean |
樣本
正常返回樣本
JSON格式
{
"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": true,
"AutoRenewPeriod": 0,
"SpotStrategy": "NoSpot",
"SpotPriceLimit": 1,
"Duration": 1,
"EnableHt": true,
"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": true
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 404 | ClusterNotFound | The specified cluster does not exist. | 指定的叢集不存在,請您檢查該參數是否正確。 |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | 請求失敗,服務暫時不可用 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。