Create a FlexGroup volume
You can use this workflow to create an ONTAP FlexGroup volume.
-
The ONTAP cluster must be running version 9.7 or later.
-
You should be aware of the considerations and requirements when selecting the aggregates for provisioning a FlexGroup volume. See the ONTAP documentation for more details.
-
You should be aware of minimum and maximum size limits. See the NetApp ONTAP FlexGroup volumes best practices and implementation guide for more details.
-
FlexGroup volumes are not supported as a source for data replication from the BlueXP replication service.
-
FlexGroup volumes do not support iSCSI block protocol.
Step 1. Select the working environment
Perform the workflow Get working environments and choose the publicId
and the svmName
values for the workingEnvironmentId
and the svmName
input parameters.
Step 2. Select the aggregates and constituents
-
Select one or more aggregates as needed.
Perform the workflow Get aggregates and choose thename
values of the aggregates for theflexGroupVolumeInfo
→aggregateList
input parameter. -
Choose the desired value for the
flexGroupVolumeInfo
→numberOfConstituents
input parameter.
As a general rule, the minimum or maximum size limit of a FlexGroup volume is based on the number of constituent members. The maximum member constituent count is 200; the minimum size of a constituent member volume is 100GB and the maximum member volume size is 100TB. For example, if you provide the value of theflexGroupVolumeInfo
→numberOfConstituents
parameter as 10, the minimum volume size should be 100GB * 10 = 1TB and the maximum volume size should be 100TB * 10 = 1000TB.
|
Step 3. Select the network
Choose the desired value for the exportPolicyInfo
input parameter. You need to specify your internal network IP for the ips
input parameter that can access a volume.
Step 4. Choose the size for the disk
Choose the size value for the size:size
input parameter. The size:unit
must be one of the following: TB
, GB
, MB
, KB
, or Byte
.
Step 5. Create the volume
You can issue the REST API call to create a volume.
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
POST |
/occm/api/onprem/volumes |
curl --request POST \
--location "https://cloudmanager.cloud.netapp.com/occm/api/onprem/volumes" \
--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.
Parameter | Type | Required | Description |
---|---|---|---|
<WORKING_ENV_ID> |
Query |
No |
Identifies the number of fields you will retrieve |
<SVM_NAME> |
Query |
Yes |
Identifies the working environment ID |
{
"verifyNameUniqueness": true,
"name": "fgvol3",
"volumeTags": [],
"size": {
"size": "2",
"unit": "TB"
},
"enableCompression": true,
"enableDeduplication": true,
"flexGroupVolumeInfo": {
"aggregateList": [
"aggr2GP3",
"aggr1"
],
"numberOfConstituents": 10
},
"enableThinProvisioning": true,
"svmName": "svm_cvogalinaonprem",
"snapshotPolicyName": "default",
"autoVsaCapacityManagementEnabled": true,
"exportPolicyInfo": {
"policyType": "custom",
"rules": [
{
"nfsVersion": [
"nfs3",
"nfs4"
],
"ruleAccessControl": "readwrite",
"ips": [
"0.0.0.0/0"
],
"superUser": true,
"index": 1
}
]
},
"workingEnvironmentId": "OnPremWorkingEnvironment-xx"
}
None