Skip to main content
NetApp Knowledge Base

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 
  1. Verify that you have free IP's in Azure CVO subnet
  2. Get a Bearer token using the KB: How to get "Access Token" or "Bearer Token" for NetApp Console quickly from browser
  3. 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 HA
curl --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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.