How to create an additional data serving SVM in Cloud Volumes ONTAP Azure
- Views:
- 515
- Visibility:
- Public
- Votes:
- 0
- Category:
- cloud-volumes-ontap-cvo
- Specialty:
- microsoft_azure
- Last Updated:
Applies to
- Cloud Volumes ONTAP (CVO)
- NetApp Console
Description
To create an additional data serving SVM in CVO you'll need to use our documented API. Using these APIs should automatically setup the needed ISCSI connections.
Procedure
- Using NetApp connector's built-in API utility or a similar tool, perform the API call below. This will also create the lifs in the new SVM by default.
POST /azure/vsa/working-environments/{workingEnvironmentId}/svm (for single node)POST /azure/ha/working-environments/{workingEnvironmentId}/svm (for HA)These APIs are documented here.
- Using curl command
- Verify that you have free IP's in Azure CVO subnet
- Get a Bearer token using the KB: How to get "Access Token" or "Bearer Token" for NetApp Console quickly from browser
- Once you have the Bearer token, run the below API call to create a new SVM, which will take care of creating the data lif within the SVM as well.
For single node:
curl --location 'http://<Connector-IP>:80/occm/api/azure/vsa/working-environments/<Working--environment-ID>/svm' --header 'Content-Type: application/json' --header 'Authorization: Bearer <token> --data-raw '{"svmName": "<new_svm_name>", "svmPassword": "<svm_mgmt_password", "mgmtLif": "<true/false>", "rootVolumeAggregate": "<aggregate>"}'
For HAcurl --location 'http://<Connector-IP>:80/occm/api/azure/ha/working-environments/<Working--environment-ID>/svm' --header 'Content-Type: application/json' --header 'Authorization: Bearer <token> --data-raw '{"svmName": "<new_svm_name>", "svmPassword": "<svm_mgmt_password", "mgmtLif": "<true/false>", "rootVolumeAggregate": "<aggregate>"}'
Partner Notes
partnerNotes_text
Additional Information
Built-in API utility can be found using:
Internal Notes
internalNotes_text
