This topic describes the types of Elastic High Performance Computing (E-HPC) events that ActionTrail records and can be published to EventBridge.
Supported regions
E-HPC events in the following regions can be published to EventBridge: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Hong Kong), Germany (Frankfurt), Singapore (Singapore), and Japan (Tokyo).
Event types
The following table describes the types of E-HPC events that can be published to EventBridge.
Type | Value of the type parameter |
---|---|
Start to create a cluster | ehpc:ClusterOperation:ClusterCreate |
Finish creating a cluster | ehpc:ClusterOperation:ClusterCreated |
Start to delete a cluster | ehpc:ClusterOperation:ClusterDelete |
Finish deleting a cluster | ehpc:ClusterOperation:ClusterDeleted |
Start to restore a cluster | ehpc:ClusterOperation:ClusterRecover |
Finish restoring a cluster | ehpc:ClusterOperation:ClusterRecovered |
Start a cluster | ehpc:ClusterOperation:ClusterStart |
Finish starting a cluster | ehpc:ClusterOperation:ClusterStarted |
Convert a cluster status | ehpc:ClusterOperation:ClusterStatusChange |
Start to stop a cluster | ehpc:ClusterOperation:ClusterStop |
Finish stopping a cluster | ehpc:ClusterOperation:ClusterStopped |
Start to create a node | ehpc:NodeOperation:NodeCreate |
Finish creating a node | ehpc:NodeOperation:NodeCreated |
Start to delete a node | ehpc:NodeOperation:NodeDelete |
Finish deleting a node | ehpc:NodeOperation:NodeDeleted |
Start a node | ehpc:NodeOperation:NodeStart |
Finish starting a node | ehpc:NodeOperation:NodeStarted |
Convert a node status | ehpc:NodeOperation:NodeStatusChange |
Start to stop a node | ehpc:NodeOperation:NodeStop |
Finish stopping a node | ehpc:NodeOperation:NodeStopped |
Start to create a node (only applicable to hybrid cloud clusters) | ehpc:NodeOperation:NodeCreateForHybrid |
Finish creating a node (only applicable to hybrid cloud clusters) | ehpc:NodeOperation:NodeCreatedForHybrid |
An operation is performed on a resource | ehpc:ActionTrail:AliyunServiceEvent |
An API operation is called | ehpc:ActionTrail:ApiCall |
An operation is performed in the console | ehpc:ActionTrail:ConsoleOperation |
For more information about the parameters defined in the CloudEvents specification, see Overview.
Start to create a cluster
The following example shows the event that EventBridge receives when you start to create a cluster:
{
"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 cluster",
"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"
}
}
The following table describes the parameters contained in data.
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | The ID of the request. |
ClusterId | String | ehpc-hz-**** | The ID of the cluster. |
ClusterName | String | E-HPC cluster | The name of the cluster. |
Uid | String | 1254345**** | The ID of the Alibaba Cloud account. |
SubUid | String | 234726**** | The ID of the RAM user. |
RoleId | String | 625372**** | The ID of the RAM role. |
RegionId | String | cn-hangzhou | The ID of the region. |
DeployMode | String | standard | The deployment mode. |
SchedulerType | String | pbs | The type of the scheduler. |
AccountType | String | nis | The type of the domain account. |
VolumeType | String | NAS | The type of the shared storage. |
VolumeMountpoint | String | 0832****.cn-hangzhou.nas.aliyuncs.com | The mount point of the shared storage. |
VpcId | String | vpc-**** | The ID of the VPC. |
ImageId | String | centos_7_02**** | The ID of the image. |
Location | String | PublicCloud | The location where the cluster is deployed. |
CreateTime | String | 2022-06-08 16:03:40 | The time when the cluster starts to be created. |
Finish creating a cluster
The following example shows the event that EventBridge receives when you finish creating a cluster:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.
Start to delete a cluster
The following example shows the event that EventBridge receives when you start to delete a cluster:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"DeleteTime": "2022-06-21T07:34:57Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish deleting a cluster
The following example shows the event that EventBridge receives when you finish deleting a cluster:
{
"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 cluster",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"DeletedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is deleted successfully"
}
}
For information about the parameters contained in data, see the field description table.
Start to restore a cluster
The following example shows the event that EventBridge receives when you start to restore a cluster:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"SchedulerType": "pbs",
"AccountType": "nis",
"ImageId": "centos_7_02xxxx",
"RecoverTime": "2022-06-21T07:34:57Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish restoring a cluster
The following example shows the event that EventBridge receives when you finish restoring a cluster:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.
Start a cluster
The following example shows the event that EventBridge receives when you start a cluster:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"StartTime": "2022-06-21T07:34:57Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish starting a cluster
The following example shows the event that EventBridge receives when you finish starting a cluster:
{
"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 cluster",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"StartedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is started successfully"
}
}
For information about the parameters contained in data, see the field description table.
Convert a cluster status
The following example shows the events that the EventBridge receives when you convert a cluster status:
{
"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 cluster",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"UpdateTime": "2022-06-21T07:34:57Z",
"OldStatus": "running",
"NewStatus": "exception",
"Detail": "heartbeat miss"
}
}
For information about the parameters contained in data, see the field description table.
Start to stop a cluster
The following example shows the event that EventBridge receives when you start to stop a cluster:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"StopTime": "2022-06-21T07:34:57Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish stopping a cluster
The following example shows the event that EventBridge receives when you finish stopping a cluster:
{
"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 cluster",
"Uid": "1254345****",
"RegionId": "cn-hangzhou",
"StoppedTime": "2022-06-21T07:34:57Z",
"OperationResult": "SUCCESS",
"Detail": "Cluster is stopped successfully"
}
}
For information about the parameters contained in data, see the field description table.
Start to create a node
The following example shows the event that EventBridge receives when you start to create a node:
{
"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 cluster",
"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"
}
}
The following table describes the parameters contained in data.
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | The ID of the request. |
ClusterId | String | ehpc-hz-**** | The ID of the cluster. |
ClusterName | String | E-HPC cluster | The name of the cluster. |
Uid | String | 1254345**** | The ID of the Alibaba Cloud account. |
SubUid | String | 234726**** | The ID of the RAM user. |
RoleId | String | 625372**** | The ID of the RAM role. |
RegionId | String | cn-hangzhou | The ID of the region. |
ZoneId | String | cn-hangzhou-h | The ID of the zone. |
VSwitchId | String | vsw-bp1bf**** | The ID of the vSwitch. |
ImageId | String | centos_7_02**** | The ID of the image. |
InstanceType | String | ecs.c6.large | The type of the instance. |
EcsChargeType | String | PostPaid | The billing method of the instance. |
Count | Int | 10 | The number of nodes. |
JobQueue | String | workq | The number of jobs. |
CreateTime | String | 2022-06-21T07:34:57Z | The time when the node starts to be created. |
Finish creating a node
The following example shows the event that EventBridge receives when you finish creating a node:
{
"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 cluster",
"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"
}
}
The following table describes the parameters contained in data.
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | The ID of the request. |
ClusterId | String | ehpc-hz-**** | The ID of the cluster. |
ClusterName | String | E-HPC cluster | The name of the cluster. |
Uid | String | 1254345**** | The ID of the Alibaba Cloud account. |
RegionId | String | cn-hangzhou | The ID of the region. |
ZoneId | String | cn-hangzhou-h | The ID of the zone. |
VSwitchId | String | vsw-bp1bf**** | The ID of the vSwitch. |
ImageId | String | centos_7_02**** | The ID of the image. |
InstanceType | String | ecs.c6.large | The type of the instance. |
EcsChargeType | String | PostPaid | The billing method of the instance. |
Count | Int | 10 | The number of nodes. |
JobQueue | String | workq | The number of jobs. |
Instances | Array | The node array that has been created. | |
InstanceId | String | i-xnshd**** | The ID of the instance. |
HostName | String | compute000 | The name of the host. |
PrivateIpAddress | String | 192.168.XX.XX | The private IP address of the node. |
PublicIpAddress | String | 10.200.XX.XX | The public IP address of the node. |
OperationResult | String | SUCCESS/FAILED | The result of node creation. |
Detail | String | NodeCreate success | The details of node creation. |
CreatedTime | String | 2022-07-25T11:00:56Z | The time when the node is created. |
Start to delete a node
The following example shows the event that EventBridge receives when you start to delete a node:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****","i-bc****"],
"DeleteTime": "2022-07-25T11:00:56Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish deleting a node
The following example shows the event that EventBridge receives when you finish deleting a node:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.
Start a node
The following example shows the event that EventBridge receives when you start a node:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "6253721****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****", "i-bc****"],
"StartTime": "2022-07-25T11:00:56Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish starting a node
The following example shows the event that EventBridge receives when you finish starting a node:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.
Convert a node status
The following example shows the events that the EventBridge receives when you convert a node status:
{
"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 cluster",
"UpdateTime": "2022-06-21T07:34:57Z",
"InstanceId": "i-auajxl****",
"HostName": "compute000",
"OldStatus": "running",
"NewStatus": "exception",
"Detail": "heartbeat miss"
}
}
The following table describes the parameters contained in data.
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | The ID of the request. |
ClusterId | String | ehpc-hz-**** | The ID of the cluster. |
Uid | String | 1254345**** | The ID of the Alibaba Cloud account. |
RegionId | String | cn-hangzhou | The ID of the region. |
ClusterName | String | E-HPC cluster | The name of the cluster. |
UpdateTime | String | 2022-06-21T07:34:57Z | The time when the node status is updated. |
InstanceId | String | i-auajxl**** | The ID of the instance. |
HostName | String | compute000 | The name of the host. |
OldStatus | String | running | The status of the node before the update. |
NewStatus | String | exception | The status of the node after the update. |
Detail | String | heartbeat miss | The details of status update. |
Start to stop a node
The following example shows the event that EventBridge receives when you start to stop a node:
{
"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 cluster",
"Uid": "1254345****",
"SubUid": "234726****",
"RoleId": "625372****",
"RegionId": "cn-hangzhou",
"InstanceIds": ["i-ab****", "i-bc****"],
"StopTime": "2022-07-25T11:00:56Z"
}
}
For information about the parameters contained in data, see the field description table.
Finish stopping a node
The following example shows the event that EventBridge receives when you finish stopping a node:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.
Start to create a node (only applicable to hybrid cloud clusters)
The following example shows the event that EventBridge receives when you start to create a node:
{
"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 cluster",
"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"
}
}
The following table describes the parameters contained in data.
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2372XSZB6-3EA7-10B2-A63D-42AEF131**** | The ID of the request. |
ClusterId | String | ehpc-hz-xxxxx | The ID of the cluster. |
ClusterName | String | E-HPC cluster | The name of the cluster. |
Uid | String | 12543452**** | The ID of the Alibaba Cloud account. |
SubUid | String | 234726**** | The ID of the RAM user. |
RoleId | String | 6253721**** | The ID of the RAM role. |
RegionId | String | cn-hangzhou | The ID of the region where the cluster resides. |
ZoneInfos | Array | The information about zones. | |
ZoneId | String | cn-hangzhou-a | The ID of the zone. |
VSwitchId | String | vsw-bp1e47optm9g58zcu**** | The ID of the vSwitch. |
InstanceTypeModel | Array | The instance types. | |
InstanceType | String | ecs.n1.tiny | The type of the instance. |
TargetImageId | String | m-bp1gvdxguovoui7z**** | The ID of the instance image. |
MaxPrice | Number | 2.5 | The maximum hourly price that is paid for the preemptible instance. |
Cores | Int | 2 | The number of vCPUs. |
Memory | Int | 16 | The size of the memory. |
ImageId | String | centos_7_02xxxx | The ID of the image. |
TargetCapacity | Int | 10 | The number of resources that you want to add |
JobQueue | String | workq | The name of the job queue. |
TotalRound | Int | 1 | The total number of batches for node creation. |
Interval | Int | 60 | The interval between two consecutive batches. |
CreateTime | String | 2022-07-25T11:00:56Z | The time when the node starts to be created. |
Finish creating a node (only applicable to hybrid cloud clusters)
The following example shows the event that EventBridge receives when you finish creating a node:
{
"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 cluster",
"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"
}
}
For information about the parameters contained in data, see the field description table.