All Products
Search
Document Center

Elastic High Performance Computing:AddExistedNodes

Last Updated:Apr 09, 2024

Adds one or more existing ECS instances as compute nodes to a specified cluster.

Operation description

  • The compute nodes to be added are in the Stopped state.
  • After the compute nodes are added to the cluster, the operating systems of the nodes are replaced with the operating system specified by the ImageId parameter.
  • The hosts of the compute nodes must be different from those of the existing compute nodes in the cluster. Otherwise, the add operation fails.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the cluster.

You can call the ListClusters operation to query the cluster ID.

ehpc-hz-FYUr32****
ImageIdstringYes

The ID of the image that is specified for the compute nodes. The image must meet the following requirements:

  • The operating system that is specified for the image must be the same as that of the existing cluster nodes. For example, if the operating system of the cluster nodes is CentOS, you can select only a CentOS image.
Note If you add nodes to a hybrid cloud cluster that supports multiple operating systems, you can select a Windows Server image or a CentOS image when the operating system of the cluster nodes is Windows.
  • The major version of the image specified for the compute nodes that you want to add must be the same as that of the image of the cluster. For example, if the version of the cluster image is CentOS 7.x, the version of the image specified for the compute nodes must be CentOS 7.x.

You can call the ListImages and ListCustomImages operations to query the image ID.

centos_7_06_64_20G_alibase_20190711.vhd
JobQueuestringNo

The queue in the cluster to which the node is to be added.

workq
ImageOwnerAliasstringYes

The type of the images. Valid values:

  • system: public image.
  • self: custom image
  • others: shared image
  • marketplace: Alibaba Cloud Marketplace image

Default value: system.

system
Instanceobject []Yes

The information about the node that you want to add.

IdstringYes

The Nth node ID. N starts from 1. Valid values: 1 to 100.

i-bp16mxn6mt3t7ftk****

Response parameters

ParameterTypeDescriptionExample
object
TaskIdstring

The task ID.

04F0F334-1335-436C-A1D7-6C044FE7****
RequestIdstring

The request ID.

04F0F334-1335-436C-A1D7-6C044FE7****

Examples

Sample success responses

JSONformat

{
  "TaskId": "04F0F334-1335-436C-A1D7-6C044FE7****",
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
400NotEnabledYou have not enabled this serviceYou have not enabled this service
400InDebtYour account has overdue payments.Your account has overdue payments.
403TooManyComputesThe number of computing nodes exceeds the quota.The number of computing nodes exceeds the quota.
403InvalidClusterStatusThe operation failed due to invalid cluster status.The cluster status does not support the operation.
403InvalidOptThe specified operation is invalid. Please try again later. If the problem still exists, submit a ticket.-
403ConflictOptA conflicting operation is running.A conflicting operation is running. Please try again later.
403ImageNotSupportedThe specified image is not supported.The specified image does not exist. Change the image and try again.
404ImageNotFoundThe specified image does not exist.The specified image does not exist. Please verify the parameter.
404ClusterNotFoundThe specified cluster does not exist.The specified instance does not exist.
404VolumeNotFoundThe specified volume does not exist.The specified storage does not exist. Please verify the parameter.
404ManagerNotFoundThe manager nodes do not exist or their status is abnormal.The manager nodes do not exist or their status is abnormal.
404ObjectNotFoundThe specified object is not found.The specified object does not exist. Please verify the parameter.
406EcsErrorAn error occurred while calling the ECS API operation.An error occurred while calling the ECS API operation.
406DbErrorA database service error occurred.Database request failed.
406AliyunErrorAn Alibaba Cloud product error occurred.An Alibaba Cloud product error occurred.
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
409PartFailurePart of the batch operation failed.Part of the batch operation failed.
500UnknownErrorAn unknown error occurred.An unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.