Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in...

64
Table of Contents Lab Overview - HOL-SDC-1429 - Virtual Volumes .............................................................. 2 Lab Guidance .......................................................................................................... 3 Additional Partner Virtual Volumes Labs.................................................................. 4 Module 1 - Virtual Volumes (VVOLs ) Setup and Enablement (30 Min) .............................. 5 Virtual Volumes (VVOL) Overview ........................................................................... 6 Add Virtual Volumes (VVOLs) Vendor Provider ........................................................ 7 Create VVOL Storage Containers .......................................................................... 15 Module 2 - Storage Based Policy Management (30 Min) ................................................. 31 Enabling Virtual Machine Storage Policies ............................................................. 32 Utilizing VVOL Datastores ..................................................................................... 47 Additional Partner Virtual Volumes Labs................................................................ 63 HOL-SDC-1429 Page 1 HOL-SDC-1429

Transcript of Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in...

Page 1: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Table of ContentsLab Overview - HOL-SDC-1429 - Virtual Volumes.............................................................. 2

Lab Guidance .......................................................................................................... 3Additional Partner Virtual Volumes Labs.................................................................. 4

Module 1 - Virtual Volumes (VVOLs ) Setup and Enablement (30 Min)..............................5Virtual Volumes (VVOL) Overview ........................................................................... 6Add Virtual Volumes (VVOLs) Vendor Provider ........................................................ 7Create VVOL Storage Containers .......................................................................... 15

Module 2 - Storage Based Policy Management (30 Min) ................................................. 31Enabling Virtual Machine Storage Policies............................................................. 32Utilizing VVOL Datastores ..................................................................................... 47Additional Partner Virtual Volumes Labs................................................................ 63

HOL-SDC-1429

Page 1HOL-SDC-1429

Page 2: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Lab Overview - HOL-SDC-1429 - Virtual

Volumes

HOL-SDC-1429

Page 2HOL-SDC-1429

Page 3: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Lab GuidanceIn this lab we will introduce VMware Virtual Volumes and some of the most importantfeatures associated with it. We will be using VMware sample Vendor Provider (VP) andgo 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. Eachmodule is in turn divided into multiple lessons as follows:

Module 1 - Virtual Volumes (VVOLs) Setup and Enablement

• Virtual Volumes Overview• Add Virtual Volumes (VVOLs) Vendor Provider• Create VVOL Storage Containers

Module 2 - Storage Policy Based Management

• Enabling Virtual Machine Storage Policies• Utilizing VVOL Datastore

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

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

Lab Captains: John Browne and Mousumi Mullick

HOL-SDC-1429

Page 3HOL-SDC-1429

Page 4: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Additional Partner Virtual VolumesLabsIf you are interested in taking other Virtual Volumes Labs, here are the lab details

• HOL-PRT-1471 - NetApp VSC and VASA for Clustered Data ONTAP –Policy-Based Mgmt & VVOLs

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

• HOL-PRT-1467 - Virtual Volume with Dell EqualLogic

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

HOL-SDC-1429

Page 4HOL-SDC-1429

Page 5: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Module 1 - VirtualVolumes (VVOLs ) Setupand Enablement (30 Min)

HOL-SDC-1429

Page 5HOL-SDC-1429

Page 6: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Virtual Volumes (VVOL) OverviewVirtual Volumes (VVOL) Overview

Virtual Volumes (VVol) is about making the storage system VM-centric, in other wordsmaking the VMDK a first class citizen in the storage world. Right now, everything ispretty 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 thisnew approach we have now made storage arrays aware of VMDK. How are the dataoperations, data capacity and communication mechanism managed between vSphereand the VVol.

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

• Vendor Provider (VP) management of data operations• Storage Containers (SC) management of data capacity• Protocol Endpoints (PE) management of access control and communications

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-bandmanagement APIs, VASA. The VP is able to export storage array capabilities and presentthem to vSphere through the VASA APIs.

Storage Containers (SC)

Storage containers are equivalent to datastores in a sense, but they are focused aroundthe allocation of chunks of physical storage. SC is based on the grouping of VMDKs ontowhich 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, whichare created by storage administrators. All path and policies are administered by protocolendpoints. Protocol Endpoints are compliant with both, iSCSI and NFS. They are intendedto replace the concept of LUNs and mount points.

HOL-SDC-1429

Page 6HOL-SDC-1429

Page 7: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Add Virtual Volumes (VVOLs) VendorProviderIn this lab you will have the opportunity configure a non-vendor specific implementationof Virtual Volumes (VVol) by going through the configuration process of most of thecomponents and concepts described above. Create both iSCSI and NFS virtual volumesand 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 [email protected] and VMware1! in User name and Password text boxrespectively.

3. Click "Login"

HOL-SDC-1429

Page 7HOL-SDC-1429

Page 8: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Add Vendor Provider to vCenter Server - Hosts & Clusters

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

HOL-SDC-1429

Page 8HOL-SDC-1429

Page 9: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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 throughthe 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 VVOLsProvider

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

HOL-SDC-1429

Page 9HOL-SDC-1429

Page 10: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Password : password

Click OK

HOL-SDC-1429

Page 10HOL-SDC-1429

Page 11: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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_3and iSCSI_SCST_ARRAY are not automatically displayed.

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

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

HOL-SDC-1429

Page 11HOL-SDC-1429

Page 12: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Display Protocol Endpoints

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

In the last step we said that this VVOL Storage appliance is both a NAS Storage Arrayand 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 iSCSISoftware Adapter

HOL-SDC-1429

Page 12HOL-SDC-1429

Page 13: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

HOL-SDC-1429

Page 13HOL-SDC-1429

Page 14: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Display Protocol Endpoints - iSCSI Devices

1. Select the Devices tab.

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

HOL-SDC-1429

Page 14HOL-SDC-1429

Page 15: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create VVOL Storage ContainersVVol Storage Containers (SC) are logical management construct design for groupingvirtual machines or VMDKs from which application specific service requirements aretranslated to storage and service capabilities through the VASA APIs. Storage containersare similar to the concept of datastores in a sense, but focus around the allocation ofchucks 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 newadapter

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

HOL-SDC-1429

Page 15HOL-SDC-1429

Page 16: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Click OK

HOL-SDC-1429

Page 16HOL-SDC-1429

Page 17: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 17HOL-SDC-1429

Page 18: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Click OK

Create an iSCSI Adapter on the ESXi host - Rescan Adapter

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

HOL-SDC-1429

Page 18HOL-SDC-1429

Page 19: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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 aillustrated below.

HOL-SDC-1429

Page 19HOL-SDC-1429

Page 20: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 20HOL-SDC-1429

Page 21: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an iSCSI VVOL Storage Container - Choose VVOL

In the New Datastore - Type, select VVOL

Click Next

HOL-SDC-1429

Page 21HOL-SDC-1429

Page 22: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an iSCSI VVOL Storage Container - ISCSI VVOL

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

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

Click Next

HOL-SDC-1429

Page 22HOL-SDC-1429

Page 23: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an iSCSI VVOL Storage Container - Select all hosts

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

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

Click Next

HOL-SDC-1429

Page 23HOL-SDC-1429

Page 24: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an iSCSI VVOL Storage Container - Finish

You can review your changes.

On the ready to complete screen, click Finish

HOL-SDC-1429

Page 24HOL-SDC-1429

Page 25: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an iSCSI VVOL Storage Container - ValidateCreation

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.

HOL-SDC-1429

Page 25HOL-SDC-1429

Page 26: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 26HOL-SDC-1429

Page 27: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create an NFS VVOL Storage Container - Choose VVOL

In the New Datastore - Type, select VVOL

Click Next

HOL-SDC-1429

Page 27HOL-SDC-1429

Page 28: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 28HOL-SDC-1429

Page 29: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 29HOL-SDC-1429

Page 30: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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.

HOL-SDC-1429

Page 30HOL-SDC-1429

Page 31: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Module 2 - Storage BasedPolicy Management (30

Min)

HOL-SDC-1429

Page 31HOL-SDC-1429

Page 32: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Enabling Virtual Machine StoragePoliciesNote: It is important to remain within the guidelines of this exercise and follow theprovided 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 theVM Storage Policies icon.

HOL-SDC-1429

Page 32HOL-SDC-1429

Page 33: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Enabling Virtual Machine Storage Policies - Check ifenabled

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 > clickClose

HOL-SDC-1429

Page 33HOL-SDC-1429

Page 34: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

HOL-SDC-1429

Page 34HOL-SDC-1429

Page 35: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Gold) - Rule-Sets

Click Next

HOL-SDC-1429

Page 35HOL-SDC-1429

Page 36: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Gold) - vendor-specificcapabilities

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

• Read OPS (min - max) : 50-100• Write OPS (min - max) : 50-99

Click Next

HOL-SDC-1429

Page 36HOL-SDC-1429

Page 37: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Gold) - Storagecompatibility

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

By selecting the Compatible option, the Compatible storage, in this case VVols, areshown 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 StoragePolicy

HOL-SDC-1429

Page 37HOL-SDC-1429

Page 38: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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.

HOL-SDC-1429

Page 38HOL-SDC-1429

Page 39: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Silver) - Name anddescription

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

Click Next

Creating VM Storage Policies (Silver) - Rule-Sets

Click Next

HOL-SDC-1429

Page 39HOL-SDC-1429

Page 40: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Silver) - vendor-specificcapabilities

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 followingcapabilities & settings.

◦ Read OPS (min - max) : 10 - 45◦ Write OPS (min - max) : 25 - 55◦ Snapshot: Yes

Click Next

HOL-SDC-1429

Page 40HOL-SDC-1429

Page 41: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Silver) - Storagecompatibility

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

By selecting the Compatible option, the Compatible storage, in this case VVols, areshown 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 StoragePolicy

HOL-SDC-1429

Page 41HOL-SDC-1429

Page 42: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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.

HOL-SDC-1429

Page 42HOL-SDC-1429

Page 43: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Bronze)

1. Type Bronze in the Name field2. 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-specificcapabilities

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

HOL-SDC-1429

Page 43HOL-SDC-1429

Page 44: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

• Read OPS (min - max) : 25 - 35• Write OPS (min - max) : 20 - 45• Encryption : Yes• De-duplication : Yes

Click Next

HOL-SDC-1429

Page 44HOL-SDC-1429

Page 45: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies (Bronze) - Storagecompatibility

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

By selecting the Compatible option, the Compatible storage, in this case VVols, areshown 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 StoragePolicy

HOL-SDC-1429

Page 45HOL-SDC-1429

Page 46: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Creating VM Storage Policies Summary

You should now have the following VM Storage Policies created.

HOL-SDC-1429

Page 46HOL-SDC-1429

Page 47: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Utilizing VVOL DatastoresThis step will show how administrators can migrate VMs between traditional datastoresand VVols containers.

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

Power On Virtual Machines

From the Home menu, select Hosts and Clusters

HOL-SDC-1429

Page 47HOL-SDC-1429

Page 48: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Power On Virtual Machine - base-sles-01a

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

Power On the following Virtual Machine

• base-sles-01a

Power On VM (Continued)

• Wait for 2 to 3 minutes for Virtual Machine to finish powering

HOL-SDC-1429

Page 48HOL-SDC-1429

Page 49: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Storage vMotion a VM to NFS VVOL Datastore - Migrate

• Right click on base-sles-01a Virtual Machine• Select Migrate

Storage vMotion a VM to NFS VVOL Datastore - Storageonly

• In the migration wizard select > Change storage only• Click Next

HOL-SDC-1429

Page 49HOL-SDC-1429

Page 50: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Storage vMotion a VM to NFS VVOL Datastore - Gold Policy

• Choose a VM Storage Policy> Gold• Select the NFS-VVOL from the list of Compatible VVols• Click Next

Storage vMotion a VM to NFS VVOL Datastore - Finish

• Click Finish

HOL-SDC-1429

Page 50HOL-SDC-1429

Page 51: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Storage vMotion a VM to NFS VVOL Datastore

• Monitor the storage vMotion progress in the Recent Tasks window on the righthand side

• Keep refreshing from time to time to see the progress in the task window• Wait for the migration to complete before proceeding

HOL-SDC-1429

Page 51HOL-SDC-1429

Page 52: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Check VM Storage Policy Compliance - Summary

• Click on the VM base-sles-01a which we just Storage vMotioned.• Click on the Summary tab• If the VM Storage Policy Compliance is Not Applicable, we have to run a

Check Compliance which will refresh the compliance state of this VM• Click on Gold

HOL-SDC-1429

Page 52HOL-SDC-1429

Page 53: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Check VM Storage Policy Compliance - Check Compliance

• Click on Summary tab• Click on 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 showin the previous screen.

HOL-SDC-1429

Page 53HOL-SDC-1429

Page 54: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create Snapshot of a VM in a VVOL Container - Hosts andClusters

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

HOL-SDC-1429

Page 54HOL-SDC-1429

Page 55: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create Snapshot of a VM in a VVOL Container - TakeSnapshot

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

• Select base-sles-01a• Right click and select Take Snapshot from the menu

HOL-SDC-1429

Page 55HOL-SDC-1429

Page 56: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create Snapshot of a VM in a VVOL Container - SnapshotName

• Populate the required details for snapshot name > VVOL VM Snapshot• Description : VVol Snapshot for VMWorld/PEX• Deselect the option to Snapshot the virtual machine's memory• Click OK

HOL-SDC-1429

Page 56HOL-SDC-1429

Page 57: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Create Snapshot of a VM in a VVOL Container - managesnapshots

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

HOL-SDC-1429

Page 57HOL-SDC-1429

Page 58: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

To migrate a VM go to the list of VMs

• Select base-sles-01a• Right Click and select Migrate

HOL-SDC-1429

Page 58HOL-SDC-1429

Page 59: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Storage vMotion VM with Snapshot to the iSCSI VVOLStorage Container

Select Change storage only

Click Next:

HOL-SDC-1429

Page 59HOL-SDC-1429

Page 60: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

• Select Silver from the VM Storage Policy drop down menu• Select Thin Provision from the Select virtual disk format drop down menu• Choose ISCSI-VVOL data-store• We should see the data-store is Compatible with the Silver policy

Click Next

HOL-SDC-1429

Page 60HOL-SDC-1429

Page 61: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

• Click Finish• It will take 2 to 3 minutes to complete the storage vMotion, keep refreshing the

Refresh Icon at the right hand corner of vSphere web client page as shown in oneof the previous steps

HOL-SDC-1429

Page 61HOL-SDC-1429

Page 62: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

VM Location And VM Storage Policy Compliance

• Once the storage vMotion completes, take a note of the Location and Storage• If the VM Storage Policy Compliance shows Noncompliant, click on Silver

and run Check Compliance as shown in one of the previous steps

HOL-SDC-1429

Page 62HOL-SDC-1429

Page 63: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

Additional Partner Virtual VolumesLabsIf you are interested in taking other Virtual Volumes Labs, here are the lab details

• HOL-PRT-1471 - NetApp VSC and VASA for Clustered Data ONTAP –Policy-Based Mgmt & VVOLs

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

• HOL-PRT-1467 - Virtual Volume with Dell EqualLogic

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

HOL-SDC-1429

Page 63HOL-SDC-1429

Page 64: Table of Contents - VMwaredocs.hol.vmware.com/HOL-2014/hol-sdc-1429_pdf_en.pdf · This plug-in utilizes a set of out-of-band management APIs, VASA. The VP is able to export storage

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

Lab SKU: HOL-SDC-1429

Version: 20150227-062755

HOL-SDC-1429

Page 64HOL-SDC-1429