Professional Documents
Culture Documents
Vmware Vsphere 6.7: Optimize and Scale: Document Version
Vmware Vsphere 6.7: Optimize and Scale: Document Version
NETLAB Academy Edition, NETLAB Professional Edition, and NETLAB+ are registered trademarks of Network Development Group, Inc.
Contents
Introduction ........................................................................................................................ 3
Objectives............................................................................................................................ 3
Lab Topology....................................................................................................................... 4
Lab Settings ......................................................................................................................... 5
1 Create a vSAN Datastore............................................................................................. 6
2 Examine the Default Storage Policy.......................................................................... 33
3 Create a Custom Policy with No Failure Tolerance................................................... 36
4 Assign the policy to a Virtual Machine ..................................................................... 38
5 Make the Virtual Machine Compliant....................................................................... 43
6 Create an Invalid Storage Policy ............................................................................... 46
Introduction
In this lab, you will create a vSAN datastore, examine the default vSAN storage policy,
create a custom policy with no failure tolerance, assign the custom policy to a virtual
machine, make the virtual machine compliant, and create an invalid storage policy.
Objectives
Lab Topology
Lab Settings
The information in the table below will be needed in order to complete the lab. The
task sections below provide details on the use of this information.
1. Launch the sa-student virtual machine to access the graphical login screen.
2. Log in as sysadmin using the password vmware123.
3. Launch the Mozilla Firefox web browser by either clicking on the icon shortcut
found on the bottom toolbar or by navigating to Start Menu > Internet > Firefox
Web Browser.
4. Notice the homepage is automatically configured to load the URL address of the
VMware vCenter Server Appliance (sa-vcsa virtual machine). Click on the Launch
vSphere Client (HTML5) button to launch the HTML5-based vSphere client.
5. In the User name text field, type sysadmin@vclass.local and in the Password text
field, type vmware123. Click on Login.
d. On the Connection settings step, type root in the User name field, and
Train1ng$ in the Password field and click Next.
f. On the Assign license step, select the available license and click Next.
h. On the Lockdown mode step, make sure Disabled is selected and click Next.
b. Expand the Datacenter inventory object, also expand the dvs-Lab distributed
virtual switch.
c. Right-click on dvs-Lab and select Distributed Port Group > New Distributed Port
Group.
f. On the Security step, select Accept in the Promiscuous mode, MAC address
changes, and Forged transmits, then click Next.
g. On the Traffic shaping step, leave the defaults and click Next.
h. On the Teaming and failover step, leave the defaults and click Next.
b. On the Add and Manage Hosts window, make sure Add hosts is selected and
click Next.
d. On the Select New Hosts window, select sa-esxi-03.vclass.local and click OK.
f. On the Manage physical adapters step, select vmnic1 and click Assign uplink.
c. On the Select Member Hosts window, select all three hosts and click OK.
e. On the Configure VMkernel adapter step, select vSAN and click Next. You will
need to scroll down on the windows with your mouse wheel or use the down
arrow key to see the Next button.
f. On the IPv4 settings step, click use static IPv4 settings. Use 172.20.11.51,
172.20.11.52, and 172.20.11.53 for sa-esxi-01.vclass.local, sa-esxi-
02.vclass.local, and sa-esxi-03.vclass.local, respectively, and use 255.255.255.0
for the subnet of each host and click Next.
10. In the left pane, click on the Hosts and Clusters object.
15. Click on the Lab Cluster, then click on the Configure tab.
16. In the middle pane of the Configure tab, scroll down and click on vSAN > Services.
18. In the Configure vSAN window, select Single site cluster and click Next.
19. In the Services step, leave the defaults and click Next.
20. In the Claim disks step, select VMware Virtual disk, 6 x 3… and click Disk Drive Type
and select Mark as Flash Disks.
If your drive types are already showing up as Flash, then you can skip
this step.
21. Use the inside scroll bar to scroll down and claim one disk for cache and one disk for
capacity on each host, click Next.
22. In the Create fault domains step, leave the defaults and click Next.
24. Wait on all the Update and Reconfigure vSAN configuration tasks to complete, and
the Reconfigure vSAN cluster tasks to complete. This process can take 5 to 8 minutes
to complete.
25. Also, make sure that the Create disk group on vSAN and Add disks to the vSAN
cluster tasks complete before moving to the next step.
27. Log back into the vSphere Client with the username vsan-admin@vclass.local and
the password vmware123.
30. In the Assign License window, select the vSAN license and click OK.
32. Log back into the vSphere Client as sysadmin@vclass.local with the password
vmware123.
33. Leave vSphere Client open to continue with the next task.
In this task, you will examine the VMware vSAN default storage policy.
1. In the vSphere Client, select Policies and Profiles from the Menu drop-down menu.
3. In the right pane, select vSAN Default Storage Policy and click Edit Settings.
5. On the vSAN page, examine the rules under Availability and Advanced Policy Rules.
In this task, you will create a custom vSAN storage policy that does not provide failure
tolerance.
2. On the Name and description page, type Custom vSAN Storage Policy in the Name
field, then click Next.
3. On the Policy structure page, check Enable rules for “vSAN” storage and click Next.
4. On the vSAN page, beside Failures to tolerate, select No data redundancy from the
drop-down and click Next.
5. On the Storage compatibility page, make sure the vsanDatastore is listed and click
Next.
In this task, you will create a new virtual machine and assign the custom policy.
2. In the left pane, expand the Datacenter and Lab Cluster objects.
3. Clone Photon-01.
a. Right-click Photon-01 and select Clone > Clone to Virtual Machine.
Pay
b. In the Clone Existing Virtual Machine window, type Payload-02 in the Virtual
machine name field and click Next.
c. On the Select a compute resource page, expand Lab Cluster, select sa-esxi-
02.vclass.local, and click Next.
e. On the Select clone options page, select Power on virtual machine after creation
and click Next.
b. On the Edit VM Storage Policies window, select Custom vSAN Storage Policy
from the drop-down and click OK.
5. In the left pane, select Payload-02; in the Summary tab, scroll down to view VM
Storage Policies.
6. Leave the vSphere Client open and continue to the next task.
In this task, you will migrate the Payload-02 virtual machine to make it compliant.
1. Migrate the Payload-02 virtual machine to the vSAN datastore to bring it into
compliance.
a. In the left pane, right-click Payload-02 and select Migrate.
b. On the Select a migration type page, click Change storage only and click Next.
c. Leave Keep existing VM storage policies selected in the VM Storage Policy drop-
down menu; in the datastore list, select vsanDatastore, then click Next.
e. Monitor the Recent Tasks pane until the task completes successfully.
2. In the right pane, view the VM Storage Policies panel and click the Check
Compliance link.
4. Leave the vSphere Client open and continue to the next task.
In this task, you create a policy that is invalid for the vSAN datastore and apply it to a
virtual machine.
3. Use RAID 5/6 erasure coding to create a storage policy that tolerates one failure.
a. In the right pane, click Create VM Storage Policy.
b. On the Name and description page, enter RAID5 in the Name text box and click
Next.
c. On the Policy structure page, select the Enable rules for “vSAN” storage
checkbox and click Next.
d. On the Availability tab, select 1 failure - RAID-5 (Erasure Coding) from the
Failures to tolerate drop-down menu, then click Next.
b. In the left pane, right-click Payload-02 and select VM Policies > Edit VM Storage
Policies.