Creating Virtual Volumes using EMC vVNX Community Edition

In one or the earlier post I covered the process of deploying and configuring vVNX Community Edition. In this post we will be discussing how we can create VMware Virtual Volumes ( vVOLs) running EMC vVNX as backend storage. Virtual volumes (VVols) are a new storage integration and management framework supported in VMware vSphere 6.0 and later.

Creating virtual volumes involves several steps in Unisphere. This prepares the storage system for the deployment of virtual volumes from the ESXi host.

steps-to-perform-vvols-vvnxIn this post we will be covering the steps to create Virtual Volumes. In case you are looking for more details on Virtual Volumes than you can refer great article of Cormac Hogan post covering details on Virtual Volumes.

Step 1 : Create a Storage Pool

Login to EMC Unisphere and click on Pools under Storage. Click on the highlighted option to create a new storage pool.

ScreenshotGive an appropriate name to the storage pool.Screenshot-1Choose the appropriate storage tier from the drop down menu. In my lab I choosed capacity tier for testing purpose.Screenshot-2Select the available Tier and click on Next.Screenshot-3

Assign a capability profile to the pool. A capability profile is a set of storage capabilities for a VVol datastore. The VVol datastore will show as
compatible storage in vCenter or the vSphere Web Client.

Screenshot-4Assign a tag to the storage pool.Screenshot-5Click on Finish and wait for some time till process gets completed.Screenshot-6

Step 2 : Create a NAS Server

Next we are required to create a NAS Server. To create NAS Server click on File under Storage and then NAS Server. 

Click on ” + ” sign to create a new NAS Server.

Screenshot-21

Give the Server Name. Select the Storage Pool this NAS Server will be presenting to the clients.

Screenshot-22

Assign the IP Address to the NAS server.

Screenshot-23

Select the sharing protocol.

Screenshot-24

Enable Unix Directory Service, if you are using any Directory services. As in LAB I am not using any directory services I kept it default. Click Next to proceed further.

Screenshot-25

Enabled DNS if you want to configure any.

Screenshot-26

Click on Finish if all looks good in summary page.

Screenshot-27

Click Close once all task are completed.

Screenshot-28

Step 3 : Connect vCenter / ESXi host

Next step is to Add vCenter / ESX host. Click the highlighted ” + ” sign to add new vCenter / ESX Server.

Screenshot-8

Provide the vCenter details. Click Next.

Screenshot-9

Click on Finish.

Screenshot-10

Screenshot-11

Screenshot-12

Screenshot-13

Step 4 : Create a Protocol End Point

NAS Protocol Endpoints are access points for ESX/ESXi host communication to the storage system. These endpoints establish a data path on-demand for virtual machines and their respective VVol datastores. I/O from VMs is communicated through the PE to the VVol datastore on the storage system. When a virtual volume is created in vSphere and assigned to a VVol datastore, it is automatically bound to the associated protocol endpoint.

Screenshot-29

Give the name for the Protocol End point. Click Next.

Screenshot-30

Select the ESX Host.

Screenshot-31

Click Finish.

Screenshot-32

Step 5 : Create a Virtual Volume Datastore

VVols also known as storage containers resides in VVol datastores , which are comprised of storage allocations from one or more capability profiles. You can create VVol datastores based on one or more capability profiles and then allocate a specific amount of space from the capability profile to the VVol datastore. When you create a virtual volume in vSphere, it is assigned to a storage policy profile. Only VVol datastores with capability profiles that support the storage policy profile defined for that VVol will be exposed from the storage system to vSphere as an available VVol datastore for that virtual volume.

To create VVOL Datastore under Storage, select VMware > Datastores.  Click Add.

Screenshot-14

Choose VVOL and click Next.

Screenshot-15

Give the name to new datastore.

Screenshot-16

Choose the Capability profile from the list.

Screenshot-17

Click Finish to create the VVOL Datastore.

Screenshot-18

Step 6 : Add a storage provider in vSphere

Storage Provider acts as a storage Awareness Service for vSphere and establish communication between vCenter and a storage system.To add storage provider, Select vCenter –> Manage –> Storage Providers. Click on ” + ” to add a new storage provider.

Screenshot-34

Provide the URL of the storage provider. It will be https://ip_address_storage_provider:443/vasa/version.xml

Screenshot-35

Accept the certificate.

Screenshot-36

You will see storage provider as active once process completes.

Screenshot-37

Step 7 : Create a VVOL in vSphere

Virtual Volumes are stored in storage system connected through block or file protocols. Select New Datastore on the host to create a new VVOL on the host.

Screenshot-38

Select the VVOL Datastore create on the storage from the list.

Screenshot-39

Click Finish to create VVOL.

Screenshot-40

Screenshot-41Now you can create a new policy based on the capability profiles created in storage and assign them to existing existing or new virtual machine. I hope this is informative for you. Thanks for reading !!!. Be social and share it in social media, if you feel worth sharing it.