Working with Virtual Volumes
Objective: Configure NFS-backed and iSCSI-backed
virtual volumes
In this lab, you will perform the following tasks:
1. Validate the Storage Endpoint
2. Create a vSphere Virtual Volumes Datastore Using NAS
3. Create a vSphere Virtual Volumes Datastore Using iSCSI
4. Migrate a Virtual Machine to a Virtual Volume
Task 1: Validate the Storage Endpoint
You verify that a storage provider is available and determine the storage resources that are provided. Students should perform this task individually.
Use the following information from the class configuration handout: • Your assigned vCenter Server Appliance name
1. In the Firefox window, click the vSphere Web Client tab.
2. Point to the Home icon and select Home.
3. In the center pane, click vCenter Inventory Lists.
5. Select your assigned VMware vCenter Server™ Appliance™ name.
6. In the center pane, click the Manage tab.
7. On the Manage tab, click Storage Providers.
Q1. In the Storage Provider text box, what is the storage provider URL?
1. http://172.20.10.97:8080/vasa/version.xml
Q2. What version of VMware vSphere API for Storage Awareness is used?
2. Version 2.0
Q3. Which types of storage systems are listed?
3. Both NAS and iSCSI
8. Click the Home icon and select Home.
Task 2: Create a vSphere Virtual Volumes Datastore Using NAS
You verify that a storage provider is available and determine the storage resources that are provided. You also mount a VMware vSphere® Virtual Volumes™ datastore by using an NFS protocol endpoint.
Students should perform this task individually.
Use the following information from the class configuration handout: • Student designation
1. In the center pane, click Hosts and Clusters.
2. In the left pane, right-click your assigned ESXi host name and select Storage > New
Datastore.
3. In the New Datastore window, click the VVOL button and click Next.
4. In the Datastore name text box, enter NAS-vVol-student_designation.
student_designation represents your student designation.
5. From the Backing Storage Container list, select NFSvVol and click Next.
6. On the Ready to complete page, click Finish.
8
9. In the left pane, select the datastore that you created in step 6.10. In the center pane, click the Manage tab and click Files.
11. In the center pane, click the Create a new folder icon.
12. In the Create a new folder window, enter NAS-Files-student_designation and click
Create.
student_designation represents your student designation. The creation of the folder validates
that the datastore is available.
Task 3: Create a vSphere Virtual Volumes Datastore Using iSCSI
You use the vSphere Web Client to create a vSphere Virtual Volumes datastore that is backed by an iSCSI storage container.
Students should perform this task individually.
Use the following information from the class configuration handout: • Storage provider IP address
• Student designation
1. In the left pane, right-click the Training data center and select Storage > New Datastore.
2. Create a virtual volume datastore by using the assigned iSCSI container.
a. In the New Datastore window, click Next on the Location page.
b. On the Type page, click VVOL and click Next.
c. On the Name and container selection page, enter iSCSI-vVol-
student_designation in the Datastore name text box. student_designation represents your student designation.
d. From the Backing Storage Container list, select the assigned iSCSI container and click
Next.
e. On the Select hosts accessibility page, select your assigned ESXi host name and click Next.
f. On the Ready to complete page, click Finish.
3. At the bottom of the vSphere Web Client, click the Recent Tasks button and monitor the Create Virtual Volume datastore task.
The datastore is inactive until the storage provider is added as a target to the iSCSI storage adapter of the host.
4. Add the storage provider as a target to the hosts iSCSI storage adapter.
a. In the inventory pane, click the Hosts and Clusters icon.
b. Select your assigned ESXi host.
c. In the center pane, click the Manage tab and click the Storage tab.
d. Scroll through the Storage Adapters list until the iSCSI software adapter is visible and select vmhba33.
e. In the Adapter Details panel, click the Targets tab.
f. On the Targets tab, click the Add button.
g. In the Add Send Target Server window, enter the storage provider IP address in the iSCSI
Server text box and click OK.
h. In the center pane, click the Rescan all storage adapters icon.
i. In the Rescan Storage window, click OK.
5. At the bottom of the vSphere Web Client, click Recent Tasks and monitor the rescan tasks.
6. After the Rescan all HBAs and Rescan VMFS tasks complete, click Recent Tasks to minimize the pane.
7. In the Adapter Details panel, click the Paths tab.
A new path with the LUN value of 260 appears in the list.
8. In the left pane, select the Storage icon.
9. If the iSCSI datastore that you created still appear as inactive, click the vSphere Web Client
Refresh icon.
10. Verify that the datastore is available.
a. In the left pane, select your iSCSI datastore.
b. In the center pane, click the Create a new folder icon on the Files page.
c. In the Create a new folder window, enter iSCSI-Files-student_designation in the New Folder name text box and click Create.
student_designation represents your student designation. 11. In the vSphere Web Client, point to the Home icon and select Home.
8
Task 4: Migrate a Virtual Machine to a Virtual Volume
You migrate a virtual machine onto the newly created iSCSI datastore. Use the following information from the class configuration handout:
• ESXi local datastore name
Students should perform this task individually.
1. In the left pane, click the VMs and Templates icon.
2. Move a virtual machine to the iSCSI datastore.
a. Right-click the Linux02 virtual machine and select Migrate.
b. Under Select the migration type, select Change storage only and click Next.
c. Under Select storage, select the iSCSI datastore that you created in task 3 and click Next.
d. On the Ready to complete page, click Finish.
3. In the middle pane, view the Related Objects pane to verify that Linux02 is on the iSCSI datastore.
4. Move a virtual machine to its original datastore.
a. Right-click the Linux02 virtual machine and select Migrate.
b. Under Select the migration type, select Change storage only and click Next.
c. Under Select storage, select your ESXi local datastore and click Next.
5. On the Ready to complete page, click Finish.
6. In the middle pane, view the Related Objects pane to verify that Linux02 is on its original datastore.