Add disks to aggregate
You can add disks to an existing aggregate.
Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
Add disks to an aggregate for a single node
You can use this workflow to add disks to an aggregate for a single node system.
Step 1. Create the system
Perform the workflow Create Azure single node system and choose the publicId
value for the workingEnvironmentId
path parameter.
Step 2. Create the aggregate
Perform the workflow Create an aggregate to create an aggregate with the name aggr2
and choose aggr2
for the aggregateName
path parameter.
Step 3. Add the disks to the aggregate
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
POST |
/occm/api/azure/vsa/aggregates/{workingEnvironmentId}/{aggregateName}/disks |
curl --request POST \
--location "https://api.bluexp.netapp.com/occm/api/azure/vsa/aggregates/<WORKING_ENV_ID>/<AGGR_NAME>/disks" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>" \
--d @JSONinput
The JSON input example includes the minimum list of parameters.
You must include the following path parameters:
-
<WORKING_ENV_ID>
(workingEnvironmentId)
string -
<AGGR_NAME>
(aggregateName)
string
Also, the JSON input example includes an input parameter as shown.
{
"numberOfDisks": "1"
}
None
Add disks to an aggregate for a high availability pair
You can use this workflow to add disks to an aggregate for HA system.
Step 1. Create the system
Perform the workflow Create Azure HA system and choose the publicId
value for the workingEnvironmentId
path parameter.
Step 2. Create the aggregate
Perform the workflow Create an aggregate to create an aggregate with the name aggr2
and choose aggr2
for the aggregateName
path parameter.
Step 3. Add the disks to the aggregate
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
POST |
/occm/api/azure/ha/aggregates/{workingEnvironmentId}/{aggregateName}/disks |
curl --request POST \
--location "https://api.bluexp.netapp.com/occm/api/azure/ha/aggregates/<WORKING_ENV_ID>/<AGGR_NAME>/disks" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>" \
--d @JSONinput
The JSON input example includes the minimum list of parameters.
You must include the following path parameters:
-
<WORKING_ENV_ID>
(workingEnvironmentId)
string -
<AGGR_NAME>
(aggregateName)
string
Also, the JSON input example includes an input parameter as shown.
{
"numberOfDisks": "2"
}
None