VMware Hands-on Labs - HOL-SDC-1429


Lab Overview - HOL-SDC-1429 - Virtual Volumes

Lab Guidance


In this lab we will introduce VMware Virtual Volumes and some of the most important features associated with it. We will be using VMware sample Vendor Provider (VP) and go through the steps to set up VVOLs datastores.

The lab is divided into two modules (Module 1-2) and has to be taken in sequence. Each module is in turn divided into multiple lessons as follows:

Module 1 - Virtual Volumes (VVOLs) Setup and Enablement

Module 2 - Storage Policy Based Management

Important Note: Please wait for the Lab Status to be in Ready state before starting the lab.

Each module will take approximately 20 -30 minutes to complete based on experience level.

Lab Captains: John Browne and Mousumi Mullick


Additional Partner Virtual Volumes Labs


If you are interested in taking other Virtual Volumes Labs, here are the lab details

This lab will focus on highlighting the latest innovations for storage provisioning and management, and will bring our VASA Provider for clustered Data ONTAP into the lab to demonstrate how pre-defined policies make provisioning and compliance even easier than before.

In this lab, you will learn more about Virtual Volumes and how they integrate with Dell EqualLogic Storage.  You will get to see how day to day tasks, like snapshots and cloning are accelerated by the Virtual Volume integration with Dell EqualLogic and how the work flows involved remain similar.

 


Module 1 - Virtual Volumes (VVOLs ) Setup and Enablement (30 Min)

Virtual Volumes (VVOL) Overview



 

Virtual Volumes (VVOL) Overview

Virtual Volumes (VVol) is about making the storage system VM-centric, in other words making the VMDK a first class citizen in the storage world. Right now, everything is pretty much LUN-centric or volume-centric, especially when it comes to snapshots, clones and replication.

With VVol most of the data operations can be offloaded to the storage arrays. In this new approach we have now made storage arrays aware of VMDK. How are the data operations, data capacity and communication mechanism managed between vSphere and the VVol.

In order to provide management capabilities to operations listed above we introduced the following concepts:

 

 

 

Virtual Volumes Terminologies

Vendor Provider (VP)

Is a plug-in that is built by the storage vendors. This plug-in uses a set of out-of-band management APIs, VASA. The VP is able to export storage array capabilities and present them to vSphere through the VASA APIs.

Storage Containers (SC)

Storage containers are equivalent to datastores in a sense, but they are focused around the allocation of chunks of physical storage. SC is based on the grouping of VMDKs onto which application specific SLAs are translated to capabilities through the VASA APIs.

Protocol Endpoint (PE)

Protocol endpoints are the access points from the hosts to the storage systems, which are created by storage administrators. All path and policies are administered by protocol endpoints. Protocol Endpoints are compliant with both, iSCSI and NFS. They are intended to replace the concept of LUNs and mount points.

 

 

Add Virtual Volumes (VVOLs) Vendor Provider


In this lab you will have the opportunity configure a non-vendor specific implementation of Virtual Volumes (VVol) by going through the configuration process of most of the components and concepts described above.  Create both iSCSI and NFS virtual volumes and more.


 

Login to the vCenter Server

 

1. Launch the Firefox browser from the desktop

2. Select the "Use Windows session authentication" or you can chose to enter Administrator@corp.local and VMware1! in User name and Password text box respectively.

3. Click "Login"

 

 

 

Add Vendor Provider to vCenter Server - Hosts & Clusters

 

Once you have logged into the vSphere Web Client, select the Hosts and Clustersfrom the Home menu

 

 

Add Vendor Provider to vCenter Server - Select vCenter

 

Vendor providers (VP) are plug-ins that are built by the storage vendors.

This plug-in utilizes a set of out-of-band management APIs, VASA.

The VP is able to export storage array capabilities and present them to vSphere through the VASA APIs.

1. Select vCenter Server called vcsa-01b.corp.local

2. Select Manage tab

3. Select Storage Providers

This will bring you to the Storage Providers screen.

 

 

Add Vendor Provider to vCenter Server - VMware VVOLs Provider

 

 

1. Click the green +to add a Storage Provider

2. In the New Storage Provider dialog, enter the following details

Name: VMware VVOLs Storage Provider

URL:  http://vvol-sample-001.corp.local:8080/vasa/version.xml

User name : username

Password : password

Click OK

 

 

Storage Provider details

 

The Storage Provider will be registered and will appear in the list of Storage Providers.

Perform a rescan of the storage provider if the NAS_SCST_ARRAY, IT_Dept_Array_3 and iSCSI_SCST_ARRAY are not automatically displayed.

To perform a rescan click on the third button from the left side of the screen below the Storage Providers menu.

The VVOL appliance is both a NAS Storage Array and an iSCSI Storage Array.

 

 

 

 

Display Protocol Endpoints

 

Lets recap on what Protocol Endpoints are. - Protocol endpoints are the access points from the hosts to the storage systems, which are created by storage administrators. All path and policies are administered by protocol endpoints. Protocol Endpoints are compliant with both, iSCSI and NFS. They are intended to replace the concept of LUNs and mount points.

In the last step we said that this VVOL Storage appliance is both a NAS Storage Array and an iSCSI Storage Array.

To be able to add iSCSI datastores, we need to have an iSCSI Adapter on our ESXi Host.

In this environment, we have already added the iSCSI adapter to two of the ESXi Hosts (esx-02a.corp.local and esx-03a.corp.local), but lets have a look at the adapter details.

1. Select ESXi host - esx-02a.corp.local

2. Select Manage

3. Select Storage

4. Select Storage Adapters

5. Scroll down the Storage Adapter list until you see vmhba33 which is our iSCSI Software Adapter

 

 

Display Protocol Endpoints - iSCSI Devices

 

1. Select the Devices tab.

2. Two Protocol Endpoint devices should be available as illustrated.

 

Create VVOL Storage Containers


VVol Storage Containers (SC) are logical management construct design for grouping virtual machines or VMDKs from which application specific service requirements are translated to storage and service capabilities through the VASA APIs. Storage containers are similar to the concept of datastores in a sense, but focus around the allocation of chucks of physical storage.


 

Create an iSCSI Adapter on the ESXi host

 

Select the host called esx-01a.corp.local

Select Manage

Select Storage

Select Storage Adapters

Select the green + icon to Add a new storage adapter

Select Software iSCSI adapter

 

 

Create an iSCSI Adapter on the ESXi host - Confirm new adapter

 

A new software iSCSI adapter will be added to the list.

Click OK

 

 

Create an iSCSI Adapter on the ESXi host - Add Target

 

In the Storage Adapters, scroll down to find the iSCSI Adapter that you just added.

The iSCSI Adapter will be called vmhba33

Select the Targets Tab

Select DynamicDiscovery

Click Add button to enter the FQDN or IP Address of the iSCSI send target server

 

 

Create an iSCSI Adapter on the ESXi host - iSCSI Server

 

The iSCSI Send Target for this environment is vvol-sample-001.corp.local

Enter vvol-sample-001.corp.local for the iSCSI Server, leave the iSCSI Port as 3260

Click OK

 

 

Create an iSCSI Adapter on the ESXi host - Rescan Adapter

 

After the iSCSI Target has been successfully added, select the iSCSI Software Adapter from the Storage Adapters window and perform a rescan storage operation in order to identify and display the storage containers from the VMware Storage Provider

 

 

Create an iSCSI Adapter on the ESXi host - Display Devices

 

Once the rescan storage operation has completed, from the Adapters Details section, select the Devices Tab. The two Protocol Endpoint devices should be available a illustrated below.

 

 

Create an iSCSI VVOL Storage Container - New Datastore

 

1. Select the Cluster called Cluster Site A

2. Right click the Cluster and select Storage ->New Datastore

 

 

Create an iSCSI VVOL Storage Container - Accept Location

 

Click Next on the Location screen

 

 

Create an iSCSI VVOL Storage Container - Choose VVOL

 

In the New Datastore - Type, select VVOL

Click Next

 

 

Create an iSCSI VVOL Storage Container - ISCSI VVOL

 

In the Name and container selection, for the Backing Storage Container, select ISCSI-VVOL

Change Datastore name from the default name of "Datastore" to "ISCSI-VVOL"

Click Next

 

 

Create an iSCSI VVOL Storage Container - Select all hosts

 

In the Select Hosts accessibility screen, select the check box to select all three ESXi hosts.

We will give all three ESXi hosts access to this datastore.

Click Next

 

 

Create an iSCSI VVOL Storage Container - Finish

 

You can review your changes.

On the ready to complete screen, click Finish

 

 

Create an iSCSI VVOL Storage Container - Validate Creation

 

The Create VVOL datastore task will complete

1. Select the Cluster named Cluster Site A

2. Select Related Objects

3. Select Datastores

4. Here you will see the ISCSI-VVOL datastore that you just created.

 

 

 

 

Create an NFS VVOL Storage Container - New Datastore

 

1. Select the Cluster called Cluster Site A

2. Right click the Cluster and select Storage ->New Datastore

 

 

Create an NFS VVOL Storage Container - Accept Location

 

Click Next on the Location screen

 

 

Create an NFS VVOL Storage Container - Choose VVOL

 

In the New Datastore - Type, select VVOL

Click Next

 

 

Create an NFS VVOL Storage Container - NFS-VVOL

 

In the Name and container selection, for the Backing Storage Container, select NFS-VVOL

Enter NFS-VVOL as the Datastore name

Click Next

 

 

Create an NFS VVOL Storage Container - Select all hosts

 

In the Select Hosts accessibility screen, select all three ESXi hosts.

We will give all three ESXi hosts access to this datastore.

Click Next

 

 

Create an NFS VVOL Storage Container - Finish

 

You can review your changes.

On the ready to complete screen, click Finish

 

 

Create an NFS VVOL Storage Container - Validate

 

The Create VVOL datastore task will complete

1. Select the Cluster named Cluster Site A

2. Select Related Objects

3. Select Datastores

4. Here you will see the NFS-VVOL datastore that you just created.

 

Module 2 - Storage Based Policy Management (30 Min)

Enabling Virtual Machine Storage Policies


Note: It is important to remain within the guidelines of this exercise and follow the provided instructions during the creation of the VM Storage Policies.

Failing to do so, will impact other procedures in the lab environment.

Please only create the VM Storage Policies indicated below.


 

Enabling Virtual Machine Storage Policies - Icon

 

To enable VM Storage Policies on the cluster. Navigate to the Home page > click on the VM Storage Policies icon.

 

 

Enabling Virtual Machine Storage Policies - Check if enabled

 

In the VM Storage Policies screen, click the icon illustrated in the red square above.

 

 

Enabling Virtual Machine Storage Policies - enable cluster

 

If the VM Storage Policy is not enabled on the Cluster, perform the following task

Select the vCenter > vcsa-01a.corp.local > Cluster Site A > click Enable > click Close

 

 

Creating VM Storage Policies (Gold) - add policy

 

To create a VM Storage policy, Click on the icon illustrated in the red square.

 

 

Creating VM Storage Policies (Gold)

 

Select the vCenter Server : vc-01a.corp.local

Name the policy “Gold” and add profile description Gold Profile IOPS

Click Next

 

 

Creating VM Storage Policies (Gold) - Rule-Sets

 

Click Next

 

 

Creating VM Storage Policies (Gold) - vendor-specific capabilities

 

Following the wizard and click Next on the Rule-Sets page

Select > VVOL from the Rules based on vendor-specific capabilities drop down.

Add the following capabilities and apply settings

Click Next

 

 

 

Creating VM Storage Policies (Gold) - Storage compatibility

 

Identify the VVol storage containers compatible with the VM Storage Policy.

By selecting the Compatible option, the Compatible storage, in this case VVols, are shown in the lower half of the screen:

Click Next

 

 

Creating VM Storage Policies (Gold) - Finish

 

Confirm that the information above is correct and click Finish to create the VM Storage Policy

 

 

Creating VM Storage Policies (Gold) - validate creation

 

The Gold VM Storage Policy will appear in the list of VM Storage Policies

 

 

Creating VM Storage Policies (Silver) - create new policy

 

To create a VM Storage policy, Click on the icon illustrated in the red square.

 

 

Creating VM Storage Policies (Silver) - Name and description

 

  1. Type Silver in the Name field
  2. Type Medium IOPS with snapshot in the Description field

Click Next

 

 

Creating VM Storage Policies (Silver) - Rule-Sets

 

Click Next

 

 

Creating VM Storage Policies (Silver) - vendor-specific capabilities

 

Follow the steps utilized in the exercise above and create two more VM Storage Policies.

  1. Select "Rules based on vendor-specific capabilities" VVOL and add the following capabilities & settings.
    • Read OPS (min - max) : 10 - 45
    • Write OPS (min - max) : 25 - 55
    • Snapshot: Yes

Click Next

 

 

Creating VM Storage Policies (Silver) - Storage compatibility

 

Identify the VVol storage containers compatible with the VM Storage Policy.

By selecting the Compatible option, the Compatible storage, in this case VVols, are shown in the lower half of the screen:

Click Next

 

 

Creating VM Storage Policies (Silver) - Finish

 

Confirm that the information below is correct and click Finish to create the VM Storage Policy

 

 

Creating VM Storage Policies (Silver) - validate creation

 

The Silver VM Storage Policy will appear in the list of VM Storage Policies

 

 

Creating VM Storage Policies (Bronze) - Create new policy

 

To create a VM Storage policy, Click on the icon illustrated in the red square.

 

 

Creating VM Storage Policies (Bronze)

 

  1. Type Bronze in the Name field
  2. Type Low IOPS with de-duplication and encryption in the Description field

Click Next

 

 

Creating VM Storage Policies (Bronze) - Rule-Sets

 

Click Next

 

 

Creating VM Storage Policies (Bronze) - vendor-specific capabilities

 

Follow the steps utilized in the exercise above and create two more VM Storage Policies.

  1. Select "Rules based on vendor-specific capabilities" VVOL and add the following capabilities & settings.

Click Next

 

 

Creating VM Storage Policies (Bronze) - Storage compatibility

 

Identify the VVol storage containers compatible with the VM Storage Policy.

By selecting the Compatible option, the Compatible storage, in this case VVols, are shown in the lower half of the screen:

Click Next

 

 

Creating VM Storage Policies (Bronze) - Finish

 

Confirm that the information below is correct and click Finish to create the VM Storage Policy

 

 

Creating VM Storage Policies Summary

 

You should now have the following VM Storage Policies created.

 

Utilizing VVOL Datastores


This step will show how administrators can migrate VMs between traditional datastores and VVols containers.

We will show how administrators can migrate VMs between VVols containers, even when the VMs have snapshots.


 

Power On Virtual Machines

 

From the Home menu, select Hosts and Clusters

 

 

Power On Virtual Machine - base-sles-01a

 

Navigate to the Cluster Site A > Related Objects > Virtual Machine

Power On the following Virtual Machine

 

 

 

Power On VM (Continued)

 

 

 

Storage vMotion a VM to NFS VVOL Datastore - Migrate

 

 

 

Storage vMotion a VM to NFS VVOL Datastore - Storage only

 

 

 

Storage vMotion a VM to NFS VVOL Datastore - Gold Policy

 

 

 

Storage vMotion a VM to NFS VVOL Datastore - Finish

 

 

 

Storage vMotion a VM to NFS VVOL Datastore

 

 

 

Check VM Storage Policy Compliance - Summary

 

 

 

 

Check VM Storage Policy Compliance - Check Compliance

 

This will ensure that the VM Storage Policy shows as Compliant.

We can go back to the VM Summary page and check for the compliance status as show in the previous screen.

 

 

Create Snapshot of a VM in a VVOL Container - Hosts and Clusters

 

Click Hosts and Clusters to return to the vSphere hierarchy in the Navigator pane

 

 

Create Snapshot of a VM in a VVOL Container - Take Snapshot

 

When the VM has completed migration to the NFS VVol, go to the VMs list

 

 

 

Create Snapshot of a VM in a VVOL Container - Snapshot Name

 

 

 

 

Create Snapshot of a VM in a VVOL Container - manage snapshots

 

Once the operation completes

Right Click the VM again and select Snapshots > Manage snapshots…

A new window opens, showing the Snapshots for the VM

Click Close

     

 

 

Storage vMotion VM with Snapshot to the iSCSI VVOL Storage Container - Migrate

 

To migrate a VM go to the list of VMs

 

 

 

Storage vMotion VM with Snapshot to the iSCSI VVOL Storage Container

 

Select  Change storage only

Click Next:

 

 

 

Storage vMotion VM with Snapshot to the iSCSI VVOL Storage Container - Choose Silver

 

Click Next

 

 

Storage vMotion VM with Snapshot to the iSCSI VVOL Storage Container - Finish

 

 

 

VM Location And VM Storage Policy Compliance

 

 

Additional Partner Virtual Volumes Labs


If you are interested in taking other Virtual Volumes Labs, here are the lab details

This lab will focus on highlighting the latest innovations for storage provisioning and management, and will bring our VASA Provider for clustered Data ONTAP into the lab to demonstrate how pre-defined policies make provisioning and compliance even easier than before.

In this lab, you will learn more about Virtual Volumes and how they integrate with Dell EqualLogic Storage.  You will get to see how day to day tasks, like snapshots and cloning are accelerated by the Virtual Volume integration with Dell EqualLogic and how the work flows involved remain similar.

 


Conclusion

Thank you for participating in the VMware Hands-on Labs. Be sure to visit http://hol.vmware.com/ to continue your lab experience online.

Lab SKU: HOL-SDC-1429

Version: 20150227-062522