本文介紹彈性高效能運算E-HPC通過Action Trail接入作為事件來源發布到事件匯流排EventBridge的事件類型。
支援的地區
支援彈性高效能運算E-HPC發布到事件匯流排EventBridge的地區有華東1(杭州)、華東2(上海)、華北1(青島)、華北2(北京)、華北3(張家口)、華北5(呼和浩特)、華北6(烏蘭察布)、華南1(深圳)、華南2(河源)、中國香港、德國(法蘭克福)、新加坡和日本(東京)。
事件類型
彈性高效能運算E-HPC支援發布到事件匯流排EventBridge的事件類型如下所示。
事件類型 | type參數值 |
ehpc:ClusterOperation:ClusterCreate | |
ehpc:ClusterOperation:ClusterCreated | |
ehpc:ClusterOperation:ClusterDelete | |
ehpc:ClusterOperation:ClusterDeleted | |
ehpc:ClusterOperation:ClusterRecover | |
ehpc:ClusterOperation:ClusterRecovered | |
ehpc:ClusterOperation:ClusterStart | |
ehpc:ClusterOperation:ClusterStarted | |
ehpc:ClusterOperation:ClusterStatusChange | |
ehpc:ClusterOperation:ClusterStop | |
ehpc:ClusterOperation:ClusterStopped | |
ehpc:NodeOperation:NodeCreate | |
ehpc:NodeOperation:NodeCreated | |
ehpc:NodeOperation:NodeDelete | |
ehpc:NodeOperation:NodeDeleted | |
ehpc:NodeOperation:NodeStart | |
ehpc:NodeOperation:NodeStarted | |
ehpc:NodeOperation:NodeStatusChange | |
ehpc:NodeOperation:NodeStop | |
ehpc:NodeOperation:NodeStopped | |
ehpc:NodeOperation:NodeCreateForHybrid | |
ehpc:NodeOperation:NodeCreatedForHybrid | |
ehpc:Instant:CreateJob | |
ehpc:Instant:DeleteJobs | |
ehpc:Instant:ExecutorStartRunning | |
ehpc:Instant:ExecutorFinished | |
阿里雲平台對資源執行的操作事件 | ehpc:ActionTrail:AliyunServiceEvent |
API調用 | ehpc:ActionTrail:ApiCall |
控制台的操作事件 | ehpc:ActionTrail:ConsoleOperation |
CloudEvents規範中定義的參數解釋,請參見事件概述。
開始建立叢集
當開始建立叢集時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "7C7510B6-3EA7-10B2-A63D-42AEF131B****,
"source": "acs.ehpc",
"type": "ehpc:ClusterOperation:ClusterCreate",
"time": "2022-06-21T07:34:57Z",
"aliyuneventbus": "default",
"subject": "acs:ehpc:cn-hangzhou:12543453****:cluster/ehpc-hz-****",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"DeployMode": "standard",
"SchedulerType": "pbs",
"AccountType": "nis",
"VolumeType": "NAS",
"VolumeMountpoint": "0832****.cn-hangzhou.nas.aliyuncs.com",
"VpcId": "vpc-****",
"ImageId": "centos_7_02****",
"Location": "PublicCloud",
"CreateTime": "2022-06-21T07:34:57Z"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
ClusterId | String | ehpc-hz-**** | 叢集ID。 |
ClusterName | String | E-HPC叢集 | 叢集名字。 |
Uid | String | 1254345**** | 雲帳號ID。 |
SubUid | String | 234726**** | 子帳號ID。 |
RoleId | String | 625372**** | RAM角色ID。 |
RegionId | String | cn-hangzhou | 地區ID。 |
DeployMode | String | standard | 部署模式。 |
SchedulerType | String | pbs | 調度器類型。 |
AccountType | String | nis | 域賬戶類型。 |
VolumeType | String | NAS | 共用儲存類型。 |
VolumeMountpoint | String | 0832****.cn-hangzhou.nas.aliyuncs.com | 共用儲存掛載點。 |
VpcId | String | vpc-**** | VPC網路ID。 |
ImageId | String | centos_7_02**** | 鏡像ID。 |
Location | String | PublicCloud | 叢集所在位置。 |
CreateTime | String | 2022-06-08 16:03:40 | 叢集開始建立時間。 |
完成建立叢集
當建立叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2022-06-08T16:03:40Z",
"type": "ehpc:ClusterOperation:ClusterCreated",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"DeployMode": "standard",
"SchedulerType": "pbs",
"AccountType": "nis",
"VolumeType": "NAS",
"VolumeMountpoint": "0832****.cn-hangzhou.nas.aliyuncs.com",
"VpcId": "vpc-****",
"ImageId": "centos_7_02****",
"Location": "PublicCloud",
"CreatedTime": "2022-06-08T16:03:40Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is created successfully"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始刪除叢集
當開始刪除建立的叢集時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2022-06-21T07:34:57Z",
"type": "ehpc:ClusterOperation:ClusterDelete",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-xxxxx",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"DeleteTime": "2022-06-21T07:34:57Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成刪除叢集
當刪除叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2022-06-21T07:34:57Z",
"type": "ehpc:ClusterOperation:ClusterDeleted",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"DeletedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is deleted successfully"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始修複叢集
當開始修複叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterRecover",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"SchedulerType": "pbs",
"AccountType": "nis",
"ImageId": "centos_7_02xxxx",
"RecoverTime": "2022-06-21T07:34:57Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成修複叢集
當修複叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterRecovered",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"SchedulerType": "pbs",
"AccountType": "nis",
"ImageId": "centos_7_02****",
"RecoveredTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is recovered successfully"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始啟動叢集
當開始啟動叢集時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterStart",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"StartTime": "2022-06-21T07:34:57Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成啟動叢集
當啟動叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterStarted",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"StartedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is started successfully"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
叢集狀態轉換事件
當叢集狀態轉換時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterStatusChange",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"UpdateTime": "2022-06-21T07:34:57Z",
"OldStatus": "running",
"NewStatus": "exception",
"Detail": "heartbeat miss"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始停止叢集
當開始停止叢集時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterStop",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"StopTime": "2022-06-21T07:34:57Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成停止叢集
當停止叢集完成時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:ClusterOperation:ClusterStopped",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"StoppedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is stopped successfully"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始建立節點
當開始建立節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeCreate",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-h",
"VSwitchId": "vsw-bp1bf****",
"ImageId": "centos_7_02****",
"InstanceType": "ecs.c6.large",
"EcsChargeType": "PostPaid",
"Count": 10,
"JobQueue": "workq",
"CreateTime": "2022-06-21T07:34:57Z"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
ClusterId | String | ehpc-hz-**** | 叢集ID。 |
ClusterName | String | E-HPC叢集 | 叢集名稱。 |
Uid | String | 1254345**** | 雲帳號ID。 |
SubUid | String | 234726**** | 子帳號ID。 |
RoleId | String | 625372**** | RAM角色ID。 |
RegionId | String | cn-hangzhou | 地區ID。 |
ZoneId | String | cn-hangzhou-h | 可用性區域ID。 |
VSwitchId | String | vsw-bp1bf**** | 交換器ID。 |
ImageId | String | centos_7_02**** | 鏡像ID。 |
InstanceType | String | ecs.c6.large | 執行個體類型。 |
EcsChargeType | String | PostPaid | 付費類型。 |
Count | Int | 10 | 節點數量。 |
JobQueue | String | workq | 作業數量。 |
CreateTime | String | 2022-06-21T07:34:57Z | 節點開始建立時間。 |
完成建立節點
當完成建立節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeCreated",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-h",
"VSwitchId": "vsw-bp1bf****",
"ImageId": "centos_7_02****",
"InstanceType": "ecs.c6.large",
"EcsChargeType": "PostPaid",
"Count": 10,
"JobQueue": "workq",
"Instances": [
{"InstanceId": "i-xnshd****", "HostName": "compute000", "PrivateIpAddress": "192.168.XX.XX", "PublicIpAddress": "10.200.XX.XX"},
{"InstanceId": "i-xnshd****", "HostName": "compute001", "PrivateIpAddress": "192.168.XX.XX", "PublicIpAddress": "10.200.XX.XX"}
],
"OperationResult": "SUCCESS/FAILED",
"Detail": "NodeCreate success",
"CreatedTime": "2022-07-25T11:00:56Z"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
ClusterId | String | ehpc-hz-**** | 叢集ID。 |
ClusterName | String | E-HPC叢集 | 叢集名稱。 |
Uid | String | 1254345**** | 雲帳號ID。 |
RegionId | String | cn-hangzhou | 地區ID。 |
ZoneId | String | cn-hangzhou-h | 可用性區域ID。 |
VSwitchId | String | vsw-bp1bf**** | 交換器ID。 |
ImageId | String | centos_7_02**** | 鏡像ID。 |
InstanceType | String | ecs.c6.large | 執行個體類型。 |
EcsChargeType | String | PostPaid | 付費類型。 |
Count | Int | 10 | 節點數量。 |
JobQueue | String | workq | 作業數量。 |
Instances | Array | 完成建立的節點數組。 | |
InstanceId | String | i-xnshd**** | 節點執行個體ID。 |
HostName | String | compute000 | 節點主機名稱。 |
PrivateIpAddress | String | 192.168.XX.XX | 節點內網IP。 |
PublicIpAddress | String | 10.200.XX.XX | 節點外網IP。 |
OperationResult | String | SUCCESS/FAILED | 節點完成建立結果。 |
Detail | String | NodeCreate success | 節點完成建立詳情。 |
CreatedTime | String | 2022-07-25T11:00:56Z | 節點完成建立時間。 |
開始刪除節點
當開始刪除節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeDelete",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****","i-bc****"],
"DeleteTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成刪除節點
當完成刪除節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeDeleted",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "12543452***",
"RegionId": "cn-hangzhou",
"Instances": [
{"InstanceId": "i-ab****", "HostName": "compute000", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c6.large"},
{"InstanceId": "i-bc****", "HostName": "compute001", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c7.large"}
],
"OperationResult": "SUCCESS/FAILED",
"Detail": "NodeDelete success",
"DeletedTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始啟動節點
當開始啟動節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeStart",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-xxxxx",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "6253721****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****", "i-bc****"],
"StartTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成啟動節點
當完成啟動節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeStarted",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"Instances": [
{"InstanceId": "i-ab****", "HostName": "compute000", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c6.large"},
{"InstanceId": "i-bc****", "HostName": "compute001", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c7.large"}
],
"OperationResult": "SUCCESS/FAILED",
"Detail": "NodeStart success",
"StartedTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
節點狀態轉換
當節點狀態轉換時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeStatusChange",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"ClusterName": "E-HPC叢集",
"UpdateTime": "2022-06-21T07:34:57Z",
"InstanceId": "i-auajxl****",
"HostName": "compute000",
"OldStatus": "running",
"NewStatus": "exception",
"Detail": "heartbeat miss"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
ClusterId | String | ehpc-hz-**** | 叢集ID。 |
Uid | String | 1254345**** | 雲帳號ID。 |
RegionId | String | cn-hangzhou | 地區ID。 |
ClusterName | String | E-HPC叢集 | 叢集名稱。 |
UpdateTime | String | 2022-06-21T07:34:57Z | 節點狀態更新時間。 |
InstanceId | String | i-auajxl**** | 節點執行個體ID。 |
HostName | String | compute000 | 節點主機名稱。 |
OldStatus | String | running | 更新前節點狀態。 |
NewStatus | String | exception | 更新後節點狀態。 |
Detail | String | heartbeat miss | 狀態更新詳情。 |
開始停止節點
當開始停止節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeStop",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****", "i-bc****"],
"StopTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
完成停止節點
當完成停止節點時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeStopped",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-****",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"Instances": [
{"InstanceId": "i-ab****", "HostName": "compute000", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c6.large"},
{"InstanceId": "i-bc****", "HostName": "compute001", "PrivateIpAddress": "192.168.XX.XX", "JobQueue": "workq", "InstanceType": "ecs.c7.large"}
],
"OperationResult": "SUCCESS/FAILED",
"Detail": "NodeStop success",
"StoppedTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
開始建立節點(僅混合雲叢集)
當開始建立節點(僅混合雲叢集)時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeCreateForHybrid",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"ClusterId": "ehpc-hz-xxxxx",
"ClusterName": "E-HPC叢集",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "6253721****",
"RegionId": "cn-hangzhou",
"ZoneInfos": [
{"ZoneId": "cn-hangzhou-a", "VSwitchId": "vsw-bp1e47optm9g58zcu****"},
{"ZoneId": "cn-hangzhou-b", "VSwitchId": "vsw-bp1e47optm9g58zcu****"}
],
"InstanceTypeModel": [
{"InstanceType": "ecs.n1.tiny", "TargetImageId": "win2016_1607_x64_dtc_zh-cn_40G_alibase_20210516.vhd", "MaxPrice": 0.034},
{"InstanceType": "ecs.g7.4xlarge", "TargetImageId": "m-bp1gvdxguovoui7z****", "MaxPrice": 2.5}
],
"Cores": 2,
"Memory": 16,
"ImageId": "centos_7_02xxxx",
"TargetCapacity": 10,
"JobQueue": "workq",
"TotalRound": 1,
"Interval": 60,
"CreateTime": "2022-07-25T11:00:56Z"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
ClusterId | String | ehpc-hz-xxxxx | 叢集ID。 |
ClusterName | String | E-HPC叢集 | 叢集名稱。 |
Uid | String | 12543452**** | 雲帳號ID。 |
SubUid | String | 234726**** | 子帳號ID。 |
RoleId | String | 6253721**** | RAM角色ID。 |
RegionId | String | cn-hangzhou | 地區ID。 |
ZoneInfos | Array | 多可用性區域資訊。 | |
ZoneId | String | cn-hangzhou-a | 可用性區域ID。 |
VSwitchId | String | vsw-bp1e47optm9g58zcu**** | 交換器ID。 |
InstanceTypeModel | Array | 執行個體類型模式。 | |
InstanceType | String | ecs.n1.tiny | 執行個體類型。 |
TargetImageId | String | m-bp1gvdxguovoui7z**** | 執行個體鏡像ID。 |
MaxPrice | Number | 2.5 | 搶佔式執行個體支付的每小時最高價格。 |
Cores | Int | 2 | vCPU個數。 |
Memory | Int | 16 | 記憶體大小。 |
ImageId | String | centos_7_02xxxx | 鏡像ID。 |
TargetCapacity | Int | 10 | 期望添加的資源數量。 |
JobQueue | String | workq | 作業隊列名稱。 |
TotalRound | Int | 1 | 分批建立節點的總批數。 |
Interval | Int | 60 | 分批建立節點的時間間隔。 |
CreateTime | String | 2022-07-25T11:00:56Z | 節點開始建立時間。 |
完成建立節點(僅混合雲叢集)
當完成建立節點(僅混合雲叢集)時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:NodeOperation:NodeCreatedForHybrid",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF13176O0",
"ClusterId": "ehpc-hz-xxxxx",
"ClusterName": "E-HPC叢集",
"Uid": "12543452***",
"RegionId": "cn-hangzhou",
"ZoneInfos": [
{"ZoneId": "cn-hangzhou-a", "VSwitchId": "vsw-bp1e47optm9g58zcu****"},
{"ZoneId": "cn-hangzhou-b", "VSwitchId": "vsw-bp1e47optm9g58zcu****"}
],
"InstanceTypeModel": [
{"InstanceType": "ecs.n1.tiny", "TargetImageId": "win2016_1607_x64_dtc_zh-cn_40G_alibase_20210516.vhd", "MaxPrice": 0.034},
{"InstanceType": "ecs.g7.4xlarge", "TargetImageId": "m-bp1gvdxguovoui7z3jol", "MaxPrice": 2.5}
],
"Cores": 2,
"Memory": 16,
"ImageId": "centos_7_02xxxx",
"TargetCapacity": 10,
"JobQueue": "workq",
"Round": 1,
"Interval": 60,
"Instances": [
{"InstanceId": "i-xnshdj***", "ZoneId": "cn-hangzhou-a", "ImageId": "m-bp1gvdxguovoui7z3jol", "HostName": "compute000", "PrivateIpAddress": "192.168.0.1", "PublicIpAddress": "10.200.1.2"},
{"InstanceId": "i-xnshdk***", "ZoneId": "cn-hangzhou-b", "ImageId": "m-bp1gvdxguovoui7z3jol", "HostName": "compute001", "PrivateIpAddress": "192.168.0.2", "PublicIpAddress": "10.200.3.2"}
],
"OperationResult": "SUCCESS/FAILED",
"Detail": "NodeCreate success",
"CreatedTime": "2022-07-25T11:00:56Z"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
提交作業
當提交作業時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:Instant:CreateJob",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"UserUid": "12543452***",
"SubUserUid": "33343452***",
"CreatedAt": "2024-02-10T08:00:00Z",
"JobName": "MyJob",
"JobId": "job-1234****",
"TaskNames": "MyTask",
"TaskSustainable": "true",
"TaskExecutorCount": "100",
"TaskExecutorResource": "cores:2|mem:4|disk:40"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
UserUid | String | 12543452*** | 使用者UID。 |
SubUserUid | String | 33343452*** | 子使用者UID。 |
CreatedAt | String | 2024-02-10T08:00:00Z | 作業提交時間。 |
JobName | String | MyJob | 作業名稱。 |
JobId | String | job-1234**** | 作業ID。 |
TaskNames | String | MyTask | 任務名,多個任務使用 |
TaskSustainable | String | true | 是否是LongRunning作業,多個任務使用 |
TaskExecutorCount | String | 100 | 任務Executor數,多個任務使用 |
TaskExecutorResource | String | cores:2|mem:4|disk:40 | 單個Executor資源,格式: |
刪除作業
當刪除作業時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:Instant:DeleteJobs",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"RequestId": "2372XSZB6-3EA7-10B2-A63D-42AEF131****",
"UserUid": "12543452***",
"SubUserUid": "33343452***",
"DeletedAt": "2024-02-10T08:00:00Z",
"JobName": "MyJob",
"JobId": "job-1234****"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | 請求ID。 |
UserUid | String | 12543452*** | 使用者UID。 |
SubUserUid | String | 33343452*** | 子使用者UID。 |
DeletedAt | String | 2024-02-10T08:00:00Z | 作業刪除時間。 |
JobName | String | MyJob | 作業名稱。 |
JobId | String | job-1234**** | 作業ID。 |
Executor啟動運行
當Executor啟動運行時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:Instant:ExecutorStartRunning",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"StartedAt": "2024-02-10T08:00:00Z",
"JobName": "MyJob",
"JobId": "job-1234****",
"TaskName": "MyTask",
"ArrayId": "1",
"Resource": "cores:2|mem:4|disk:40|parallism:1"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
StartedAt | String | 2024-02-10T08:00:00Z | 啟動已耗用時間。 |
JobName | String | MyJob | Executor所屬的作業名稱。 |
JobId | String | job-1234**** | Executor所屬的作業ID。 |
TaskName | String | MyTask | Executor所屬的任務名。 |
ArrayId | String | 1 | Executor的編號。 |
Resource | String | cores:2|mem:4|disk:40|parallism:1 | Executor資源配置,,格式: |
Executor停止運行
當Executor停止運行時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ehpc",
"specversion": "1.0",
"subject": "acs.ehpc:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ehpc:Instant:ExecutorFinished",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"FinishedAt": "2024-02-10T08:00:00Z",
"JobName": "MyJob",
"JobId": "job-1234****",
"TaskName": "MyTask",
"ArrayId": "1",
"Resource": "cores:2|mem:4|disk:40|parallism:1"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
FinishedAt | String | 2024-02-10T08:00:00Z | 停止已耗用時間。 |
JobName | String | MyJob | Executor所屬的作業名稱。 |
JobId | String | job-1234**** | Executor所屬的作業ID。 |
TaskName | String | MyTask | Executor所屬的任務名。 |
ArrayId | String | 1 | Executor的編號。 |
Resource | String | cores:2|mem:4|disk:40|parallism:1 | Executor資源配置,,格式: |