Skip to main content
NetApp Solutions

VMware Virtual Volumes with ONTAP

Contributors sureshthoppay kevin-hoke

VMware Virtual Volumes (vVols) enables application-specific requirements to drive storage provisioning decisions while
leveraging the rich set of capabilities provided by storage arrays. The vSphere API for Storage Awareness (VASA) make it easy for a VM administrator to use whatever storage capabilities are needed to provision VMs without having to interact with their storage team. Prior to VASA, VM administrators could define VM storage policies, but had to work with their storage administrators to identify appropriate datastores, often by using documentation or naming conventions. With VASA, vCenter administrators with the appropriate permissions can define a range of storage capabilities which vCenter users can then use to provision VMs. The mapping between VM storage policy and datastore storage capability profile allows vCenter to display a list of compatible datastores for selection, as well as enabling other technologies like Aria (formerly known as vRealize) Automation or Tanzu Kubernetes Grid to automatically select storage from an assigned policy. This approach is known as storage policy based management. While storage capability profiles and policies may also be used with traditional datastores, our focus here is on vVols datastores. The VASA provider for ONTAP is included as part of ONTAP tools for VMware vSphere.

The advantages of having VASA Provider out of Storage Array, includes:

  • Single Instance can manage multiple Storage Arrays.

  • Release cycle doesn't have to depend on Storage OS release.

  • Resources on Storage Array is much expensive.

Each vVol datastore is backed by Storage Container which is a logical entry in VASA provider to define the storage capacity. The Storage container with ONTAP tools is constructed with ONTAP volumes. The Storage Container can be expanded by adding ONTAP volumes within same SVM.

The Protocol Endpoint (PE) is mostly managed by ONTAP tools. In case of iSCSI based vVols, one PE is created for every ONTAP volume that is part of that storage container or vVol datastore. The PE for iSCSI is a small sized LUN (4MiB for 9.x and 2GiB for 10.x) that is presented to vSphere host and multipathing policies are applied to the PE.

iSCSI PE architecture

iSCSI PE size from CLI

For NFS, one PE is created for root filesystem export with every NFS data lif on SVM on which the storage container or vVol datastore resides.

NFS PE architecture

NFS PE from vSphere UI

ONTAP tools manages the lifecycle of PE and also for vSphere host communication with vSphere cluster expansion and shrinkage. ONTAP tools API is available to integrate with existing automation tool.

Currently, ONTAP tools for VMware vSphere is available with two releases.

ONTAP tools 9.x

  • When vVol support for NVMe/FC is required

  • US Federal or EU regulatory requirements

  • More use cases integrated with SnapCenter Plug-in for VMware vSphere

ONTAP tools 10.x

  • High Availablity

  • Multi-tenancy

  • Large Scale

  • SnapMirror active sync support for VMFS datastore

  • Upcoming integration for certain use cases with SnapCenter Plug-in for VMware vSphere

Why vVols?

VMware Virtual Volumes (vVols) provides the following benefits:

  • Simplified provisioning (No need to worry about Maximum LUN limits per vSphere host or need to create the NFS exports for each volume)

  • Minimizes the number of iSCSI/FC paths (For block SCSI based vVol)

  • Snapshots, Clones & other Storage operations are typically offloaded to storage array and performs much faster.

  • Simplified data migrations for the VMs (No need to coordinate with other VM owners in same LUN)

  • QoS policies applied at VM disk level rather than volume level.

  • Operational simplicity (Storage vendors provide their differenciated features in VASA provider)

  • Supports large scale of VMs.

  • vVol replication support to migrate between vCenters.

  • Storage Administrators has option to monitor at VM disk level.

Connectivity options

Dual fabric environment is typically recommended for the storage networks to address the high availability, performance and fault tolerance. The vVols are supported with iSCSI, FC, NFSv3 and NVMe/FC.
NOTE: Refer Interoperability Matrix Tool (IMT) for supported ONTAP Tool version

The connectivity option remains consistent with VMFS datastore or NFS datastore options.
A sample reference vSphere network is shown below for iSCSI and NFS.
iSCSI network

NFS network

Provisioning using ONTAP tools for VMware vSphere

The vVol datastore can be provisioned similar to VMFS or NFS datastore using ONTAP tools. If ONTAP tools plug-in is not available on vSphere client UI, refer the How to get started section below.

With ONTAP tools 9.13

  1. Right click on vSphere cluster or host and select Provision Datastore under NetApp ONTAP tools.

  2. Keep the type as vVols, provide name for the datastore and select the desired protocol
    iSCSI vVol datastore with 9.13

    NFS vVol datastore with 9.13

  3. Select the desired storage capability profile, pick the storage system and SVM.
    Storage system and SVM with 9.13

  4. Create new ONTAP volumes or select existing one for the vVol datastore.
    vVol volumes with 9.13

    ONTAP volumes can be viewed or change later from the datastore option.

    vVol expansion with 9.13

  5. Review the summary and click on Finish to create the vVol datastore.
    iSCSI vVol datastore summary with 9.13

  6. Once vVol datastore is created, it can be consumed like any other datastore. Here is an example of assigning datastore based on VM storage policy to a VM that is getting created.
    vVol VM storage policy

  7. vVol details can be retrieved using web based CLI interface. The URL of the portal is same as VASA provider URL without the file name version.xml.
    VASA provider info for 9.13

    The credential should match the info used during provision of ONTAP tools
    VASA client UI

    or use updated password with ONTAP tools maintenance console.
    ONTAP tools console UI
    Select Web based CLI interface.
    ONTAP tools control console
    Type the desired command from the Available command list. To list the vVol details along with underlying storage info, try vvol list -verbose=true
    vVol info with 9.13
    For LUN based, the ONTAP cli or System Manager can also be used.
    vVol LUN info with ONTAP CLI
    vVol LUN info with System Manager
    For NFS based, the System Manager can be used to browse the datastore.
    vVol NFS info with System Manager

With ONTAP tools 10.1

  1. Right click on vSphere cluster or host and select Create Datastore (10.1) under NetApp ONTAP tools.

  2. Select the datastore type as vVols.
    vVol datastore selection with 10.1
    If vVols option is not available, ensure the VASA provider is registered.
    VASA registration with 10.1

  3. Provide the vVol datastore name and select the transport protocol.
    vVol datastore name and transport protocol with 10.1

  4. Select platform and Storage VM.
    vVol datastore SVM selection with 10.1

  5. Create or use existing ONTAP volumes for the vVol datastore.
    vVol datastore volume selection with 10.1
    ONTAP volumes can be viewed or updated later from the datastore configuration.
    vVol datastore expansion with 10.1

  6. After vVol datastore is provisioned, it can be consumed similar to any other datastore.

  7. ONTAP tools provide the VM and Datastore report.
    VM report with 10.1
    Datastore report with 10.1

Data Protection of VMs on vVol datastore

Overview of data protection of VMs on vVol datastore can be found at protecting vVols.

  1. Register the Storage system hosting the vVol datastore and any replication partners.
    Storage system registration with SCV

  2. Create a policy with required attributes.
    Policy creation with SCV

  3. Create a resource group and associate to policy (or Policies.)
    Resource group creation with SCV
    NOTE: For vVol datastore, need to protect with VM, tag or folder. vVol datastore can't be included in the resource group.

  4. Specific VM backup status can be viewed from its configure tab.
    Backup status of a VM with SCV

  5. VM can be restored from its primary or secondary location.

Refer SnapCenter plug-in documentation for additional use cases.

VM migration from traditional datastores to vVol datastore

To migrate VMs from other datastores to a vVol datastore, various options are available based on the scenario. It can vary from a simple storage vMotion operation to migration using HCX. Refer migrate vms to ONTAP datastore for more details.

VM migration between vVol datastores

For bulk migration of VMs between vVol datastores, please check migrate vms to ONTAP datastore.

Sample Reference architecture

ONTAP tools for VMware vSphere and SCV can be installed on same vCenter it is managing or on different vCenter server. It is better to avoid to host on vVol datastore it is managing.

ONTAP tools one per vCenter

As many customers host their vCenter servers on different one rather than it is managing, similar approach is adviced for ONTAP tools & SCV too.

ONTAP tools on management vCenter

With ONTAP tools 10.x, a single instance can manage multiple vCenter environments. The storage systems are registered globally with cluster credentials and SVMs are assigned to each tenant vCenter servers.

Multi vCenter support with ONTAP tools 10.x

Mix of dedicated and shared model is also supported.

Mix of shared and dedicated ONTAP tools

How to get started

If ONTAP tools is not installed on your environment, please download from NetApp Support Site and follow the instructions available at using vVols with ONTAP.