Starts one or more nodes in a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes StartNodes

The operation that you want to perform. Set the value to StartNodes.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

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

Role String No Compute

The role of the node. Valid values:

  • Manager: management node
  • Login: logon node
  • Compute: compute node

Default value: Compute

Instance.N.Id String No i-bp13p7vlcb1uihfv****

The ID of the Nth node. Valid values of N: 1 to 100.

Make sure that the node is in the Stopped state. You can call the ListNodes operation to query the status of the node.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE7****

The ID of the request.

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

The ID of the task.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=StartNodes
&ClusterId=ehpc-hz-FYUr32****
&Instance.1.Id=i-bp13p7vlcb1uihfv****
&<Common request parameters>

Sample success responses

XML format

<StartNodesResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FE7****</RequestId>
      <TaskId>04F0F334-1335-436C-A1D7-6C044FE7****</TaskId>
</StartNodesResponse>

JSON format

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

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The service is temporarily unavailable.

For a list of error codes, visit the API Error Center.