All Products
Search
Document Center

Elastic High Performance Computing:UpdateClusterVolumes

Last Updated:Apr 25, 2024

Mount new storage resources to a cluster.

Debugging

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

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ehpc:UpdateClusterVolumesWRITE
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the cluster.

ehpc-hz-FYUr32****
AdditionalVolumesobject []No

The file systems that you want to mount.

JobQueuestringNo

The queue name of the file system to be mounted.

work
VolumeIdstringNo

The ID of the file system to be mounted.

extreme-00b88****
Rolesobject []No

The array of the nodes to which the file system is mounted.

NamestringNo

The type of the node to which the file system is mounted. Valid values:

  • Manager: management node
  • Login: logon node
  • Compute: compute node
["Compute"]
VolumeMountpointstringNo

The endpoint of the mount target of the file system.

0088****-sihc.cn-hangzhou.extreme.nas.aliyuncs.com
RemoteDirectorystringNo

The remote directory to which the file system is mounted.

/test
VolumeTypestringNo

The type of the file system to be mounted. Set the value to NAS.

NAS
LocalDirectorystringNo

The on-premises mount directory of the file system to be mounted.

/ff
VolumeProtocolstringNo

The protocol type of the file system to be mounted. Valid values:

  • NFS
  • SMB
NFS
LocationstringNo

The storage location of the file system to be mounted. Valid values:

  • OnPremise: The file system is stored in a hybrid cloud.
  • PublicCloud: The file system cluster is stored in a public cloud.
PublicCloud
VolumeMountOptionstringNo

The mount option of the file system to be mounted.

-t nfs -o vers=3,nolock,noresvport

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

F6757FA4-8FED-4602-B7F5-3550C0842122

Examples

Sample success responses

JSONformat

{
  "RequestId": "F6757FA4-8FED-4602-B7F5-3550C0842122"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
406NasErrorNAS API request failed.Failed to request the NAS interface.
406DbErrorA database service error occurred.Database request failed.
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
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.

Change history

Change timeSummary of changesOperation
2023-03-16The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 406
    delete Error Codes: 407
    delete Error Codes: 500
    delete Error Codes: 503