Skip to main content

Create aggregate

Contributors netapp-ranuk

You can create new aggregates within a Cloud Volumes ONTAP working environment using this workflow.

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

Create aggregate for single node

You can use this workflow to create aggregates in a single node working environment.

1. Select the working environment

Perform the workflow Get working environment and choose the publicId value for the workingEnvironmentId parameter in the JSON input.

2. Select the Google Cloud disk types

Perform the Get Google Cloud disk types workflow and choose the size and supportedDiskType values of the required diskSize and providerVolumeType parameters in the JSON input.

3. Create the aggregate

HTTP method Path

POST

occm/api/gcp/vsa/aggregates

curl example
curl --location --request POST 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/vsa/aggregates' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --d @JSONinput
Input

The JSON input example includes the minimum list of input parameters.

JSON input example
{
  "name": "ziv01agg01",
  "workingEnvironmentId": "vsaworkingenvironment-sfrf3wvj",
  "numberOfDisks": 1,
  "diskSize": {
    "size": 100,
    "unit": "GB"
  },
  "providerVolumeType": "pd-ssd"
}
Output

None

Create aggregate for high availability pair

You can use this workflow to create aggregates in an HA working environment.

1. Select the working environment

Perform the workflow Get working environment and choose the publicId value for the workingEnvironmentId parameter in the JSON input.

2. Select the Google Cloud disk types

Perform the Get Google Cloud disk types workflow and choose the size and supportedDiskType values of the required diskSize and providerVolumeType parameters in the JSON input.

3. Create the aggregate

HTTP method Path

POST

occm/api/gcp/ha/aggregates

curl example
curl --location --request POST 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/ha/aggregates' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --d @JSONinput
Input

The JSON input example includes the minimum list of input parameters.

JSON input example
{
  "name": "ziv01we02agg01ha",
  "workingEnvironmentId": "vsaworkingenvironment-blg9ei6u",
  "numberOfDisks": 1,
  "diskSize": {
    "size": 100,
    "unit": "GB"
  },
  "providerVolumeType": "pd-ssd"
}
Output

None