弹性高性能计算E-HPC事件

本文介绍弹性高性能计算E-HPC通过操作审计接入作为事件源发布到事件总线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

Executor启动运行

ehpc:Instant:ExecutorStartRunning

Executor停止运行

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资源,格式:cores:x|mem:y|disk:z,多个任务使用,分隔。

删除作业

当删除作业时,事件总线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资源配置,,格式:cores:x|mem:y|disk:z|parallism:w

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资源配置,,格式:cores:x|mem:y|disk:z|parallism:w