Skip to main content

Add a capacity to an Elastic Volume aggregate

Contributors netapp-ranuk

You can use this workflow to add capacity to an existing aggregate with Elastic Volumes enabled.

Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:

Add capacity for single node

You can use this workflow to add capacity to an existing aggregate in a single node system.

1. Select the working environment to use

Perform the workflow Get working environments and choose the publicId value for the workingEnvironmentId path parameter.

2. Select the aggregate

Perform the workflow Get aggregates and choose the name value for the aggregateName path parameter.

3. Specify capacity size to add to an aggregate

Choose the size and unit values for the capacityToAdd input parameter. The unit must be one of the following: TB, GB, MB, KB, or Byte.

4. Add capacity

HTTP method Path

POST

occm/api/vsa/aggregates/{workingEnvironmentId}/{aggregateName}/add-capacity

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/aggregates/{workingEnvironmentId}/{aggregateName}/add-capacity' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json'
JSON input example
{
  "name": "aggr1",
  "capacityToAdd": {
    "size": 2,
    "unit": "TB"  },
  "aggregateName": "aggr1",
  "workingEnvironmentName": "shirleyha7",
  "workingEnvironmentId": "VsaWorkingEnvironment-yTsHWvWD"
}
Output

None

Add capacity for high availability pair

You can use this workflow to add capacity in an HA working environment.

1. Select the working environment to use

Perform the workflow Get working environments and choose the publicId value for the workingEnvironmentId path parameter.

2. Select the aggregate

Perform the workflow Get aggregates and choose the name value for the aggregateName path parameter.

3. Specify capacity size to add to an aggregate

Choose the size and unit values for the capacityToAdd input parameter. The unit must be one of the following: TB, GB, MB, KB, or Byte.

4. Add capacity

HTTP method Path

POST

/occm/api/aws/ha/aggregates/{workingEnvironmentId}/{aggregateName}/add-capacity

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/aws/ha/aggregates/{workingEnvironmentId}/{aggregateName}/add-capacity' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json'
JSON input example
{
  "name": "aggr1",
  "capacityToAdd": {
    "size": 2,
    "unit": "TB"  },
  "aggregateName": "aggr1",
  "workingEnvironmentName": "shirleyha7",
  "workingEnvironmentId": "VsaWorkingEnvironment-yTsHWvWD"
}
Output

None