Provisioning Virtual Volumes (VVOLs) on NetApp Clustered Data ONTAP and vSphere 6.

By | February 4, 2018

Some days ago we discussed the prerequisites for provisioning VVOLs on NetApp Clustered Data ONTAP and vSphere 6. We have installed the NetApp Virtual Storage Console 6.0 and NetApp VASA 6.0. In this post we will see how VVOLs work in practice:

  • create a Storage Capability Profile (SCP)
  • provision a VVOL datastore
  • some tests of VVOLs

Creating a Storage Capability Profile (SCP)

Before provisioning VVOLs on NetApp we need to create a Storage Capability Profiles (SCPs) following the below steps:

  1. From the Web Client home page, click Virtual Storage Console --> VASA Provider for clustered Data ONTAP --> Storage Capability Profiles.
  2. Click the new VM Storage Policy icon shown on the below figure.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP
  3. Enter the VM Storage Policy name then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP2
  4. Select the Availability capability (available: HA Pair, No HA or Any). Then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP3
  5. Select the Disaster Recovery capability (available: Asynchronous, Synchronous, None or Any). Then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP4
  6. Select the Performance capability (such as Disk Types, Max Throughput). Then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP5
  7. Select Protocol (NFS, iSCSI, FCP or Any). Then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP6
  8. Select the Storage Efficiency capability (Deduplication, Compression, Auto Grow or Thin Provisioning). Then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP7
  9. Review settings of a new Storage Capability Profile and then click Finish.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - SCP8

We have just created a new Storage Capability Profile.

 

Provisioning/creating a VVOL datastore

To provision (create) a VVOL datastore please follow the below steps:

  1. From the Web Client home page, right click on ESXi host or cluster and select VASA Provider for clustered Data ONTAP --> Provision VVOL Datastore.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 1
  2. Enter the VVOL datastore name, select a protocol then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 2
  3. Select one or more SCPs then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 3
  4. If you have some NetApp clusters (Storage Systems) and SVMs - please select a correct one,  then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 4
  5. Select the FlexVol, then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 5
  6. Select the Default Storage Capability (used for virtual machines that do not have a profile specifically assigned) then click Next.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 6
  7. Review the settings for the VVol datastore then click Finish.Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 7
  8. Voilà! VVOL datastore created successfully 🙂Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - 8

We have provisioned the first VVOL datastore! Looks normal, as a standard vSphere datastore 😉Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - overview

Testing of VVOLs

Let's do some tests now. As I described in What's new in vSphere 6: Virtual Volumes, VVOLs are created during VM management (for VM config, virtual disk, swap if needed, snapshot). Let's check how it works in practice!

When we go to our provisioned datastore (Related Objects --> Backing Storage), there are no VVOLs:Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - test1

 

Let's create a virtual machine with one virtual disk. If we check again our VVOL datastore, we can notice that there are two VVOLs (config +disk):Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - test2

Let's power on the VM. Now we can see three VVOLs (+swap):Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - test3

Let's add the second virtual disk to the VM. Now four VVOLs (+disk):Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - test4

and the last test, let's create a snapshot of VM. As we could guess, there are six VVOLs now:  🙂Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - test5

There are some other options available for VVOL datastore as follows:Provisioning Virtual Volumes VVOLs on NetApp Clustered Data ONTAP and vSphere 6 - overview options

  • Add Storage to VVOL Datastore (when we create a new volume on NetApp, we can add it to VVOL Datastore)
  • Remove Storage from VVOL Datastore
  • Edit VVOL Datastore
  • Destroy VVOL Datastore
  • Mount VVOL Datastore

Conclusion

VVOLs are really a cool feature! I hope that this post shows exactly how VVOLs work in practice! Maybe do you use VVOLs already? Any feedback is welcome!

Author: Mariusz

Architect (~ 15 years experience based on passion...) with strong background as a System Administrator and Engineer. Focused on Data Center Solutions: Virtualization/Cloud Computing and Storage/Backup Systems. Currently living in Poland.