Manage data-serving storage VMs for Cloud Volumes ONTAP in Azure
A storage VM is a virtual machine running within ONTAP that provides storage and data services to your clients. You might know this as an SVM or a vserver. Cloud Volumes ONTAP is configured with one storage VM by default, but you can create additional storage VMs when running Cloud Volumes ONTAP in Azure.
To create and manage additional data-serving storage VMs in Azure, you should use the BlueXP APIs. This is because the APIs automate the process of creating the storage VMs and configuring the required network interfaces. When creating the storage VMs, BlueXP configures the required LIF services, as well as an iSCSI LIF that's required for outbound SMB/CIFS communications from the storage VM.
Supported number of storage VMs
Beginning with Cloud Volumes ONTAP 9.9.0, based on your license, multiple storage VMs are supported with specific configurations. Refer to the Cloud Volumes ONTAP Release Notes to verify the supported number of storage VMs for your version of Cloud Volumes ONTAP.
All versions of Cloud Volumes ONTAP prior to 9.9.0 support one data-serving storage VM and one destination storage VM used for disaster recovery. You can activate the destination storage VM for data access if there's an outage on the source storage VM.
Create a storage VM
Based on your configuration and license type, you can create multiple storage VMs on a single node system or in a high-availability (HA) configuration by using the BlueXP APIs.
When you create storage VMs using the APIs, along with configuring the required network interfaces, BlueXP also modifies the default-data-files
policies on the data storage VMs by removing the following services from the NAS data LIF and adding them to the iSCSI data LIF that's used for outbound management connections:
-
data-fpolicy-client
-
management-ad-client
-
management-dns-client
-
management-ldap-client
-
management-nis-client
The Connector requires specific permissions to create storage VMs for Cloud Volumes ONTAP. The required permissions are included in the policies provided by NetApp.
Single node system
Use the following API call to create a storage VM on a single node system.
POST /azure/vsa/working-environments/{workingEnvironmentId}/svm
Include the following parameters in the request body:
HA pair
Use the following API call to create a storage VM on an HA pair:
POST /azure/ha/working-environments/{workingEnvironmentId}/svm
Include the following parameters in the request body:
Manage storage VMs on single node systems and HA pairs
Using the BlueXP APIs, you can rename and delete storage VMs in both single node and HA configurations.
The Connector requires specific permissions to manage storage VMs for Cloud Volumes ONTAP. The required permissions are included in the policies provided by NetApp.
Rename a storage VM
To rename a storage VM, you should provide the names of the existing storage VM and new storage VM as parameters.
-
Use the following API call to rename a storage VM on a single node system:
PUT /azure/vsa/working-environments/{workingEnvironmentId}/svm
Include the following parameters in the request body:
-
Use the following API call to rename a storage VM on an HA pair:
PUT /azure/ha/working-environments/{workingEnvironmentId}/svm
Include the following parameters in the request body:
Delete a storage VM
In a single node or HA configuration, you can remove a storage VM if it doesn't have any active volumes.
-
Use the following API call to delete a storage VM on a single node system:
DELETE /azure/vsa/working-environments/{workingEnvironmentId}/svm/{svmName}
-
Use the following API call to delete a storage VM on an HA pair:
DELETE /azure/ha/working-environments/{workingEnvironmentId}/svm/{svmName}