Skip to main content
NetApp Solutions

NetApp All-Flash SAN Array with VMware vSphere 8

Contributors jpowellgit banum-netapp

Author: Josh Powell - NetApp Solutions Engineering

Managing Block Storage with ONTAP Tools for VMware vSphere

The ONTAP Tools for VMware allows administrators to manage NetApp storage directly from within the vSphere Client. ONTAP Tools allows you to deploy and manage datastores, as well as provision vVol datastores.
ONTAP Tools allows mapping of datastores to storage capability profiles which determine a set of storage system attributes. This allows the creation of datastores with specific attributes such as storage performance and QoS.

ONTAP Tools includes the following components:

Virtual Storage Console (VSC): The VSC includes the interface integrated with the vSphere client where you can add storage controllers, provision datastores, monitor performance of datastores, and view and update ESXi host settings.

VASA Provider: The VMware vSphere APIs for Storage Awareness (VASA) Provider for ONTAP send information about storage used by VMware vSphere to the vCenter Server, enabling provisioning of VMware Virtual Volumes (vVols) datastores, creation and use of storage capability profiles, compliance verification, and performance monitoring.

Storage Replication Adapter (SRA): When enabled and used with VMware Site Recovery Manager (SRM), SRA facilitates the recovery of vCenter Server datastores and virtual machines in the event of a failure, allowing configuration of protected sites and recovery sites for disaster recovery.

For more information on NetApp ONTAP tools for VMware see ONTAP tools for VMware vSphere Documentation.

Solution Deployment Overview

In this solution we will demonstrate the use of the ONTAP Tools for VMware vSphere to provision a VMware Virtual Volumes (vVol) datastores and create a virtual machine on a vVol datastore.

In a vVols datastore each virtual disk is a vVol and becomes a native LUN object on the storage system. The integration of the storage system and vSphere takes place through the VMware API’s for Storage Awareness (VASA) provider (installed with ONTAP Tools) and allows the storage system to be aware of the VM data and manage it accordingly. Storage policies, defined in the vCenter Client are used to allocate and manage storage resources.

For detailed information on vVols with ONTAP refer to Virtual Volumes vVols) with ONTAP.

This solution covers the following high level steps:

  1. Add a storage system in ONTAP Tools.

  2. Create a storage capability profile in ONTAP Tools.

  3. Create a vVols datastore in ONTAP Tools.

  4. Create a VM storage policy in the vSphere client.

  5. Create a new virtual machine on the vVol datastore.

Prerequisites

The following components were used in this solution:

  1. NetApp All-Flash SAN Array A400 with ONTAP 9.13.

  2. iSCSI SVM created on the ASA with network connectivity to the ESXi hosts.

  3. ONTAP Tools for VMware vSphere 9.13 (VASA provider enabled by default).

  4. vSphere 8.0 cluster (vCenter appliance, and ESXi hosts).

Solution Deployment

Create a vVols datastore in ONTAP Tools

To create a vVols datastore in ONTAP Tools complete the following steps:

Add a storage system to ONTAP Tools.
  1. Access NetApp ONTAP Tools by selecting it from the main menu in the vSphere client.

    NetApp ONTAP Tools
  2. In ONTAP Tools select Storage Systems from the left hand menu and then press Add.

    Add storage system
  3. Fill out the IP Address, credentials of the storage system and the port number. Click on Add to start the discovery process.

    Add storage system
Create a storage capability profile in ONTAP Tools

Storage capability profiles describe the features provided by a storage array or storage system. They include quality of service definitions and are used to select storage systems that meet the parameters defined in the profile.

To create a storage capability profile in ONTAP Tools complete the following steps:

  1. In ONTAP Tools select Storage capability profile from the left hand menu and then press Create.

    Storage capability profile
  2. In the Create Storage Capability profile wizard provide a name and description of the profile and click on Next.

    Add name for SCP
  3. Select the platform type and to specify the storage system is to be an All-Flash SAN Array set Asymmetric to false.

    Platorm for SCP
  4. Next, select choice of protocol or Any to allow all possible protocols. Click Next to continue.

    Protocol for SCP
  5. The performance page allows setting of quality of service in form of minimum and maximum IOPs allowed.

    QoS for SCP
  6. Complete the storage attributes page selecting storage efficiency, space reservation, encryption and any tiering policy as needed.

    Attributes for SCP
  7. Finally, review the summary and click on Finish to create the profile.

    Summary for SCP
Create a vVols datastore in ONTAP Tools

To create a vVols datastore in ONTAP Tools complete the following steps:

  1. In ONTAP Tools select Overview and from the Getting Started tab click on Provision to start the wizard.

    Provision datastore
  2. On the General page of the New Datastore wizard select the vSphere datacenter or cluster destination. Select vVols as the dastatore type, fill out a name for the datastore, and select the protocol.

    General page
  3. On the Storage system page select the select a storage capability profile, the storage system and SVM. Click on Next to continue.

    Storage system
  4. On the Storage attributes page select to create a new volume for the datastore and fill out the storage attributes of the volume to be created. Click on Add to create the volume and then Next to continue.

    Storage attributes
  5. Finally, review the summary and click on Finish to start the vVol datastore creation process.

    Summary page

Create a VM storage policy in the vSphere client

A VM storage policy is a set of rules and requirements that define how virtual machine (VM) data should be stored and managed. It specifies the desired storage characteristics, such as performance, availability, and data services, for a particular VM.

In this case, the task involves creating a VM storage policy to specify that a virtual machine will be generated on vVol datastores and to establish a one-to-one mapping with the previously generated storage capability profile.

Create a VM storage policy

To create a VM storage policy complete the following steps:

  1. From the vSphere clients main menu select Policies and Profiles.

    Policies and profiles
  2. In the Create VM Storage Policy wizard, first fill out a name and description for the policy and click on Next to continue.

    VM storage policy wizard
  3. On the Policy structure page select to enable rules for NetApp clustered data ontap vVol storage and click on Next.

    Policy structure
  4. On the next page specific to the policy structure chosen, select the storage capability profile that describes the storage system(s) to be used in the VM storage policy. Click on Next to continue.

    Policy structure
  5. On the Storage compatibility page, review the list of vSAN datastores that match this policy and click Next.

  6. Finally, review the policy to be implemented and click on Finish to create the policy.

Create a VM storage policy in the vSphere client

A VM storage policy is a set of rules and requirements that define how virtual machine (VM) data should be stored and managed. It specifies the desired storage characteristics, such as performance, availability, and data services, for a particular VM.

In this case, the task involves creating a VM storage policy to specify that a virtual machine will be generated on vVol datastores and to establish a one-to-one mapping with the previously generated storage capability profile.

Create a virtual machine on a vVol datastore

The final step is to create a virtual machine using the VM storage policies previously created:

  1. From the New Virtual Machine wizard select Create a new virtual machine and select Next to continue.

    New virtual machine
  2. Fill in a name and select a location for the virtual machine and click on Next.

  3. On the Select a compute resource page select a destination and click on Next.

    Compute resource
  4. On the Select storage page select a VM Storage Policy and the vVols datastore that will be the destination for the VM. Click on Next.

    Select storage
  5. On the Select compatibility page choose the vSphere version(s) that the VM will be compatible with.

  6. Select the guest OS family and version for the new VM and click on Next.

  7. Fill out the Customize hardware page. Note that a separate VM storage policy can be selected for each hard disk (VMDK file).

    Select storage
  8. Finally, review the summary page and click on Finish to create the VM.

In summary, NetApp ONTAP Tools automates the process of creating vVol datastores on ONTAP storage systems. Storage capability profiles define not only the storage systems to be used for datastore creation but also dictate QoS policies that can be implemented on an individual VMDK basis. vVols provide a simplified storage management paradigm and tight integration between NetApp and VMware make this a practical solution for streamlined, efficient, and granular control over virtualized environments.