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.

Step 1. Select the working environment to use

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

Step 2. Select the aggregate

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

Step 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.

Step 4. Add capacity

You can issue the REST API call to add capacity.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Path

POST

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

Curl example
curl --request POST \
--location "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" \
--data @JSONinput
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.

Step 1. Select the working environment to use

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

Step 2. Select the aggregate

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

Step 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.

Step 4. Add capacity

You can issue the REST API call to add capacity.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Path

POST

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

Curl example
curl --request POST \
--location "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" \
--data @JSONinput
JSON input example
{
  "name": "aggr1",
  "capacityToAdd": {
    "size": 2,
    "unit": "TB"  },
  "aggregateName": "aggr1",
  "workingEnvironmentName": "shirleyha7",
  "workingEnvironmentId": "VsaWorkingEnvironment-yTsHWvWD"
}
Output

None