Este tópico descreve os tipos de eventos do Elastic High Performance Computing (E-HPC) que o ActionTrail registra e publica no EventBridge.
Regiões suportadas
O EventBridge suporta a publicação de eventos do E-HPC nas seguintes regiões: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Hong Kong), Alemanha (Frankfurt), Singapura e Japão (Tóquio).
Tipos de eventos
A tabela a seguir lista os tipos de eventos do E-HPC publicáveis no EventBridge.
|
Tipo de evento |
Valor do parâmetro 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 |
|
|
Operação em recurso |
ehpc:ActionTrail:AliyunServiceEvent |
|
Chamada de API |
ehpc:ActionTrail:ApiCall |
|
Operação no console |
ehpc:ActionTrail:ConsoleOperation |
Para mais informações sobre os parâmetros da especificação CloudEvents, consulte Visão geral de eventos.
Início da criação de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a criação de um 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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
ClusterId |
String |
ehpc-hz-**** |
ID do cluster. |
|
ClusterName |
String |
E-HPC cluster |
Nome do cluster. |
|
Uid |
String |
1254345**** |
ID da conta Alibaba Cloud. |
|
SubUid |
String |
234726**** |
ID do usuário do Resource Access Management (RAM). |
|
RoleId |
String |
625372**** |
ID da função do RAM. |
|
RegionId |
String |
cn-hangzhou |
ID da região. |
|
DeployMode |
String |
standard |
Modo de implantação. |
|
SchedulerType |
String |
pbs |
Tipo de agendador. |
|
AccountType |
String |
nis |
Tipo de conta de domínio. |
|
VolumeType |
String |
NAS |
Tipo de armazenamento compartilhado. |
|
VolumeMountpoint |
String |
0832****.cn-hangzhou.nas.aliyuncs.com |
Ponto de montagem do armazenamento compartilhado. |
|
VpcId |
String |
vpc-**** |
ID da Virtual Private Cloud (VPC). |
|
ImageId |
String |
centos_7_02**** |
ID da imagem. |
|
Location |
String |
PublicCloud |
Local de implantação do cluster. |
|
CreateTime |
String |
2022-06-08 16:03:40 |
Horário de início da criação do cluster. |
Criação de cluster concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a criação de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da exclusão de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a exclusão de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Exclusão de cluster concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a exclusão de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da restauração de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a restauração de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Restauração de cluster concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a restauração de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da inicialização de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Inicialização de cluster concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a inicialização de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Alteração de status de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge quando o status de um cluster é alterado:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da parada de cluster
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a parada de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Parada de cluster concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a parada de um 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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da criação de nó
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a criação de um nó:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
ClusterId |
String |
ehpc-hz-**** |
ID do cluster. |
|
ClusterName |
String |
E-HPC cluster |
Nome do cluster. |
|
Uid |
String |
1254345**** |
ID da conta Alibaba Cloud. |
|
SubUid |
String |
234726**** |
ID do usuário do RAM. |
|
RoleId |
String |
625372**** |
ID da função do RAM. |
|
RegionId |
String |
cn-hangzhou |
ID da região. |
|
ZoneId |
String |
cn-hangzhou-h |
ID da zona. |
|
VSwitchId |
String |
vsw-bp1bf**** |
ID do vSwitch. |
|
ImageId |
String |
centos_7_02**** |
ID da imagem. |
|
InstanceType |
String |
ecs.c6.large |
Tipo de instância. |
|
EcsChargeType |
String |
PostPaid |
Método de faturamento. |
|
Count |
Int |
10 |
Quantidade de nós. |
|
JobQueue |
String |
workq |
Fila de jobs. |
|
CreateTime |
String |
2022-06-21T07:34:57Z |
Horário de início da criação do nó. |
Criação de nó concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a criação de um nó:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
ClusterId |
String |
ehpc-hz-**** |
ID do cluster. |
|
ClusterName |
String |
E-HPC cluster |
Nome do cluster. |
|
Uid |
String |
1254345**** |
ID da conta Alibaba Cloud. |
|
RegionId |
String |
cn-hangzhou |
ID da região. |
|
ZoneId |
String |
cn-hangzhou-h |
ID da zona. |
|
VSwitchId |
String |
vsw-bp1bf**** |
ID do vSwitch. |
|
ImageId |
String |
centos_7_02**** |
ID da imagem. |
|
InstanceType |
String |
ecs.c6.large |
Tipo de instância. |
|
EcsChargeType |
String |
PostPaid |
Método de faturamento. |
|
Count |
Int |
10 |
Quantidade de nós. |
|
JobQueue |
String |
workq |
Fila de jobs. |
|
Instances |
Array |
Nós criados. |
|
|
InstanceId |
String |
i-xnshd**** |
ID da instância do nó. |
|
HostName |
String |
compute000 |
Nome do host. |
|
PrivateIpAddress |
String |
192.168.XX.XX |
Endereço IP privado do nó. |
|
PublicIpAddress |
String |
10.200.XX.XX |
Endereço IP público do nó. |
|
OperationResult |
String |
SUCCESS/FAILED |
Resultado da criação do nó. |
|
Detail |
String |
NodeCreate success |
Detalhes da criação do nó. |
|
CreatedTime |
String |
2022-07-25T11:00:56Z |
Horário de criação do nó. |
Início da exclusão de nó
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a exclusão de um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Exclusão de nó concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a exclusão de um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da inicialização de nó
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Inicialização de nó concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a inicialização de um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Alteração de status de nó
O exemplo abaixo ilustra o evento recebido pelo EventBridge quando o status de um nó é alterado:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
ClusterId |
String |
ehpc-hz-**** |
ID do cluster. |
|
Uid |
String |
1254345**** |
ID da conta Alibaba Cloud. |
|
RegionId |
String |
cn-hangzhou |
ID da região. |
|
ClusterName |
String |
E-HPC cluster |
Nome do cluster. |
|
UpdateTime |
String |
2022-06-21T07:34:57Z |
Horário da alteração de status do nó. |
|
InstanceId |
String |
i-auajxl**** |
ID da instância do nó. |
|
HostName |
String |
compute000 |
Nome do host. |
|
OldStatus |
String |
running |
Status anterior do nó. |
|
NewStatus |
String |
exception |
Novo status do nó. |
|
Detail |
String |
heartbeat miss |
Detalhes da alteração de status. |
Início da parada de nó
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a parada de um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Parada de nó concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a parada de um nó:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Início da criação de nó em cluster híbrido
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar a criação de um nó em cluster híbrido:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
ClusterId |
String |
ehpc-hz-xxxxx |
ID do cluster. |
|
ClusterName |
String |
E-HPC cluster |
Nome do cluster. |
|
Uid |
String |
12543452**** |
ID da conta Alibaba Cloud. |
|
SubUid |
String |
234726**** |
ID do usuário do RAM. |
|
RoleId |
String |
6253721**** |
ID da função do RAM. |
|
RegionId |
String |
cn-hangzhou |
ID da região. |
|
ZoneInfos |
Array |
Informações das zonas. |
|
|
ZoneId |
String |
cn-hangzhou-a |
ID da zona. |
|
VSwitchId |
String |
vsw-bp1e47optm9g58zcu**** |
ID do vSwitch. |
|
InstanceTypeModel |
Array |
Tipos de instância. |
|
|
InstanceType |
String |
ecs.n1.tiny |
Tipo de instância. |
|
TargetImageId |
String |
m-bp1gvdxguovoui7z**** |
ID da imagem da instância. |
|
MaxPrice |
Number |
2.5 |
Preço máximo por hora da instância preemptível. |
|
Cores |
Int |
2 |
Quantidade de vCPUs. |
|
Memory |
Int |
16 |
Tamanho da memória. |
|
ImageId |
String |
centos_7_02xxxx |
ID da imagem. |
|
TargetCapacity |
Int |
10 |
Quantidade de recursos a adicionar. |
|
JobQueue |
String |
workq |
Nome da fila de jobs. |
|
TotalRound |
Int |
1 |
Total de lotes para criação de nós. |
|
Interval |
Int |
60 |
Intervalo entre lotes consecutivos de criação de nós. |
|
CreateTime |
String |
2022-07-25T11:00:56Z |
Horário de início da criação do nó. |
Criação de nó em cluster híbrido concluída
O exemplo abaixo ilustra o evento recebido pelo EventBridge após a criação de um nó em cluster híbrido:
{
"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"
}
}
Para detalhes sobre os parâmetros em data, consulte a tabela de descrição de campos.
Envio de job
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao enviar um job:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
||||
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
||||
|
UserUid |
String |
12543452*** |
UID da conta Alibaba Cloud. |
||||
|
SubUserUid |
String |
33343452*** |
UID do usuário do RAM. |
||||
|
CreatedAt |
String |
2024-02-10T08:00:00Z |
Horário de envio do job. |
||||
|
JobName |
String |
MyJob |
Nome do job. |
||||
|
JobId |
String |
job-1234**** |
ID do job. |
||||
|
TaskNames |
String |
MyTask |
Nome da tarefa. Separe múltiplos nomes por vírgula ( |
||||
|
TaskSustainable |
String |
true |
Indica se o job é do tipo LongRunning. Separe múltiplos jobs por vírgula ( |
||||
|
TaskExecutorCount |
String |
100 |
Quantidade de executores de tarefa. Separe múltiplas tarefas por vírgula ( |
||||
|
TaskExecutorResource |
String |
cores:2 |
mem:4 |
disk:40 |
Executor da tarefa. Formato: |
mem:y |
disk:z`. Separe múltiplas tarefas por vírgula (,). |
Exclusão de job
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao excluir um job:
{
"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****"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
|
RequestId |
String |
2372XSZB6-3EA7-10B2-A63D-42AEF131**** |
ID da solicitação. |
|
UserUid |
String |
12543452*** |
UID da conta Alibaba Cloud. |
|
SubUserUid |
String |
33343452*** |
UID do usuário do RAM. |
|
DeletedAt |
String |
2024-02-10T08:00:00Z |
Horário de exclusão do job. |
|
JobName |
String |
MyJob |
Nome do job. |
|
JobId |
String |
job-1234**** |
ID do job. |
Início de executor
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao iniciar um executor:
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
||||||
|
StartedAt |
String |
2024-02-10T08:00:00Z |
Horário de início do executor. |
||||||
|
JobName |
String |
MyJob |
Nome do job associado ao executor. |
||||||
|
JobId |
String |
job-1234**** |
ID do job associado ao executor. |
||||||
|
TaskName |
String |
MyTask |
Nome da tarefa associada ao executor. |
||||||
|
ArrayId |
String |
1 |
Número do executor. |
||||||
|
Resource |
String |
cores:2 |
mem:4 |
disk:40 |
parallism:1 |
Executor. Formato: |
mem:y |
disk:z |
parallism:w`. |
Parada de executor
O exemplo abaixo ilustra o evento recebido pelo EventBridge ao parar um executor.
{
"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"
}
}
A tabela a seguir detalha os parâmetros em data.
|
Parâmetro |
Tipo |
Exemplo |
Descrição |
||||||
|
FinishedAt |
String |
2024-02-10T08:00:00Z |
Horário de parada do executor. |
||||||
|
JobName |
String |
MyJob |
Nome do job associado ao executor. |
||||||
|
JobId |
String |
job-1234**** |
ID do job associado ao executor. |
||||||
|
TaskName |
String |
MyTask |
Nome da tarefa associada ao executor. |
||||||
|
ArrayId |
String |
1 |
Número do executor. |
||||||
|
Resource |
String |
cores:2 |
mem:4 |
disk:40 |
parallism:1 |
Executor. Formato: |
mem:y |
disk:z |
parallism:w`. |