VMware VSphere ICM 6.7 Lab Manual
VMware VSphere ICM 6.7 Lab Manual
VMware vSphere:
Install, Configure, Manage
Lab Manual
ESXi 6.7 and vCenter Server 6.7
||||||||||||||||||||
||||||||||||||||||||
VMware vSphere:
Install, Configure, Manage
Lab Manual
ESXi 6.7 and vCenter Server 6.7
Part Number EDU-EN-VSICM67-LAB (5/2018)
PRT
Prerelease
Copyright © 2018 VMware, Inc, All rights reserved. This manual and its accompanying materials
are protected by U.S. and international copyright and intellectual property laws. VMware products
are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a
registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions.
All other marks and names mentioned herein may be trademarks of their respective companies.
The training material is provided “as is,” and all express or implied conditions, representations,
and warranties, including any implied warranty of merchantability, fitness for a particular purpose
or noninfringement, are disclaimed, even if VMware, Inc., has been advised of the possibility of
such claims. This training material is designed to support an instructor-led training course and is
intended to be used for reference purposes in conjunction with the instructor-led training course.
The training material is not a standalone training tool. Use of the training material for self-study
without class attendance is not recommended.
These materials and the computer programs to which it relates are the property of, and embody
trade secrets and confidential information proprietary to, VMware, Inc., and may not be
reproduced, copied, disclosed, transferred, adapted or modified without the express written
approval of VMware, Inc.
www.vmware.com/education
||||||||||||||||||||
||||||||||||||||||||
CONTENTS
Lab 1 Deploying and Configuring Virtual Machines . . . . . . . . . . . . . . . . . 1
Task 1: Access Your Student Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Task 2: Create a Virtual Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Task 3: Install VMware Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Task 4: Copy Files to the Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
iii
||||||||||||||||||||
||||||||||||||||||||
iv Contents
||||||||||||||||||||
||||||||||||||||||||
Contents v
||||||||||||||||||||
||||||||||||||||||||
vi Contents
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
7. On the Select storage page, select the Class-Datastore datastore and click Next.
8. On the Customize settings page, configure settings.
a. From the CPU drop-down menu, select 1.
b. Enter 1024 MB in the Memory text box and enter 12 GB in the Hard Disk 1 text box.
c. Find CD/DVD Drive 1 and select Datastore ISO file from the drop-down menu.
d. In the Datastore browser window, select Class-Datastore for the sa-esxi-01.vclass.local
ESXi host.
e. From the Class-Datastore, navigate to the Windows 10 operating system ISO image:
en_windows_10_enterprise_version_1607_9714415.iso
f. Click Select.
g. Click the arrow next to CD/DVD Drive 1.
h. Verify that the Connect at power on check box is selected and click Next.
9. On the Ready to Complete page, review the information and click Finish.
10. In the Navigator pane, verify that the virtual machine number count is 4.
11. In the Navigator pane, select Virtual Machines and verify that your newly created virtual
machine appears in the right pane.
12. Click on the Win10-Empty virtual machine name in the right pane.
NOTE
Be sure to click the name of the VM, not just the row. The center pane will update to display
information about the selected virtual machine.
13. Examine the General Information pane, Hardware Configuration pane, and Resource
Consumption pane to review the current settings.
14. In the Hardware Configuration pane, expand Hard disk 1 and record the information.
• Backing __________
• Capacity __________
• Thin provisioned __________
NOTE
In a production environment, the next step is to install an operating system to the new virtual
machine. In order to conserve class and lab time, task 3 uses a prebuilt virtual machine with a Guest
operations system already installed.
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
10. Copy the CPUBUSY VBScript Script file (not CPUBUSY PL File) and the IOMETER application
file from the DVD drive (D:) to the virtual machine’s desktop for use in later labs.
a. Press the Ctrl key to select the files and drag CPUBUSY VB Script File and IOMETER
application to the Win10-01 desktop.
b. Close the DVD Drive (D:) CDROM screen.
c. Close the Win10-01 - Console tab.
11. Return to VMware Host Client and disconnect the virtual machine from Classfiles-
vSphere.iso on the CD/DVD drive.
a. In VMware Host Client, right-click the Win10-01 virtual machine and select Edit Settings.
b. In Virtual Hardware, locate CD/DVD Drive 1.
c. From the drop-down menu, select Host device.
d. Deselect the Connect check box next to CD/DVD Drive 1.
e. Click Save.
12. Log out of Host Client (SA-ESXi-01) and close the Firefox Web Browser.
13. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
13. Select the sa-vcsa-01.vclass.local check box and click Assign License.
14. In Assign License, select the updated vCenter Server license and click OK.
At the bottom of the Assign License page, the Some features will become unavailable
message appears.
15. Close the There are vCenter Server systems with expired or expiring licenses in your
inventory warning.
NOTE
Setting the password to never expire is not recommended for production environments. This
setting is used for lab purposes only.
5. Click the Menu icon and select Shortcuts.
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
10. In the Recent Tasks pane, monitor the progress of the task.
11. Repeat steps 1 through 10 to add sa-esxi-02.vclass.local to the Navigator pane.
12. In the Navigator pane, expand SA-Datacenter.
13. In the Navigator pane, select sa-esxi-01.vclass.local.
The Summary tab opens in the right pane. This tab displays information for the ESXi host,
such as CPU, memory, storage, NICs, and virtual machines.
14. Click the arrow next to the Hardware pane to view the hardware details of the ESXi host.
||||||||||||||||||||
||||||||||||||||||||
11. On the Summary tab of your second host, suppress the ESXi Shell enabled and SSH enabled
warnings. These warnings are present to alert you of the current host configuration.
In the current lab configuration, no datastores have been configured. Datastores are added in a
later lab.
||||||||||||||||||||
||||||||||||||||||||
Q1. What is the difference between the menu commands in the drop-down menus of the
Lab VMs folder and the Lab Servers folder?
1. The Lab Servers folder has menu commands related to host actions whereas the Lab VMs
folder has menu commands related to virtual machines.
||||||||||||||||||||
||||||||||||||||||||
8. On the Summary tab, review the datastore details in the Details pane.
9. In vSphere Client, Click the Menu icon and select Home.
10. Logout of vSphere Client and close the Firefox Web browser.
11. In the next lab, you use vSphere Web Client to perform the tasks.
12. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
15
||||||||||||||||||||
||||||||||||||||||||
Domain vclass.local
Password VMware1!
9. Click OK.
You will not receive an acknowledgment message after clicking OK. Move to the next step.
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
9. On the Configure Identity Source Type page, verify that VCLASS.LOCAL is entered in the
Domain name field.
10. Click Next.
11. On the Ready to Complete page, review your entries and click Finish.
12. On the Identity Sources tab, validate that vclass.local has been added as an identity source.
Q1. What is the Type listed for the vclass.local identity source?
1. vclass.local is listed as Active Directory (Integrated Windows Authentication).
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
4. In the Global Permissions Root - Add Permissions wizard, select Content library
administrator (sample) and assign a role.
a. Under Users and Groups, click Add.
b. On the Select Users/Groups page, select vclass.local from the Domain drop-down menu.
c. Under Users and Groups, click Administrator.
d. Click Add.
e. Verify that vclass.local\Administrator is listed in the Users text field.
f. Click Check names.
g. In Correct usernames, click OK.
h. In Select User/Groups, click OK.
i. Under Assigned Role, select Content library administrator (sample) from the Assigned
Role drop-down menu.
j. In sa-vcsa-01.vclass.local - Add Permission, click OK.
k. Verify that VCLASS.LOCAL\Administrator is included in the User/Group list as
Administrator.
5. Log out of vSphere Web Client.
||||||||||||||||||||
||||||||||||||||||||
19. In the Navigation pane, right-click Photon-01, then click Delete from Disk.
20. Click Yes to verify the deletion.
21. Log out of vSphere Web Client and close the Firefox Web browser.
22. In the next lab, you use vSphere Client to perform the tasks.
23. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
23
||||||||||||||||||||
||||||||||||||||||||
6. In the Virtual switches pane, select the displayed virtual switch and review the information
about the virtual switch.
Q2. Which physical adapter is the default standard switch connected to?
2. The default switch is connected to the physical adapter vmnic0.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Task 3: Attach Your Virtual Machines to the New Virtual Machine Port
Group
You attach the virtual machine to the virtual machine port group so that the virtual machine can
communicate with other networked devices.
1. In vSphere Client, click the Menu icon and select VMs and Templates.
2. In the Navigator pane, click the arrows to expand the view of your Datacenter and folders.
3. In the Navigator pane, select the Win10-01 virtual machine.
When repeating this task, select the Win10-02 virtual machine.
4. Ensure that Win10-01 is powered on.
5. Right-click the virtual machine and select Edit Settings.
6. In Edit Settings, find Network adapter 1.
7. Click the downward arrow next to VM Network, and click Browse.
8. In Select Network, select Production and click OK.
9. Expand Network adapter 1 and verify that the Connect At Power On and Connected check
boxes are selected.
10. Click OK to close the Edit Settings window.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
NOTE
An IP address and port numbers exist for each vNIC available on the iSCSI server.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
5. On the Add Send Target Server page, enter 172.20.10.10 for the iSCSI server name in the
iSCSI Server text box and click OK.
6. Monitor the Recent Tasks pane and wait for the task to complete.
7. Click the Rescan Storage Adapters icon.
8. When the rescan storage message appears, click OK and wait for the task to complete.
9. In the Storage Adapter pane, click the Devices tab.
10. Verify that five LUNs appear and record the values.
• LUN number__________
• Capacity __________
• Operational state__________
• Hardware Acceleration__________
The LUNs are hosted by an iSCSI provider and are used to create datastores in later labs.
11. Compare the results for both the hosts.
12. Leave vSphere Client open for the next lab.
13. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
7. From the Select a host to view its accessible disks/LUNs drop-down menu, select your first
host sa-esxi-01.vclass.local.
A LUN list appears.
8. In the LUN list, select LUN 2 and click Next.
9. On the VMFS version page, accept VMFS 6 and click Next.
10. On the Partition configuration page, reduce the LUN size.
a. Move the Datastore Size slider to reduce the LUN size by 3 GB.
b. Click Next.
11. On the Ready to complete page, review the information and click Finish.
12. Right-click SA-Datacenter in the inventory and select Storage > New Datastore.
13. On the Type page, verify that VMFS is selected and click Next.
14. On the Name and device selection page, enter VMFS-3 in the Datastore name text box.
15. From the Select a host to view its accessible disks/LUNs drop-down menu, select sa-esxi-
02.vclass.local.
A LUN list appears.
16. From the LUN list, select LUN 3 and click Next.
17. On the VMFS version page, accept VMFS 6 and click Next.
18. On the Partition configuration page, accept the default (full capacity) and click Next.
19. On the Ready to complete page, review the information and click Finish.
20. Monitor the progress in the Recent Tasks pane until the task is completed.
21. In the Navigator pane, click the Storage icon.
22. Expand SA-Datacenter, verify that the VMFS-2 and VMFS-3 datastores are listed in the
datastore inventory.
Technet24
||||||||||||||||||||
||||||||||||||||||||
3. Click Next.
4. On the Specify Configuration page, accept Use “Free Space 3.00 GB” to expand the
datastore from the Partition configuration drop-down menu and click Next.
5. On the Ready to Complete page, review the information and click Finish.
6. When the task is completed, select the VMFS-2 datastore in the Navigator pane.
7. On the Summary tab, verify that the datastore size is increased to the maximum capacity,
minus the space required for system overhead.
The new capacity for the VMFS-2 datastore should be 9.75 GB.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
7. When the task completes, refresh the page and select Device Backing in the middle pane.
8. Verify that two extent device names appear in the Extent Name pane.
The Extent Name pane should show both of your assigned devices.
You might need to adjust the size of the Extent Name pane to view all the extent names.
The screenshot shows the two extents listed in the Extent Name pane and the slider to adjust the
size of the pane.
||||||||||||||||||||
||||||||||||||||||||
4. On the Name and device selection page, in the Datastore name text box enter iSCSI-
Datastore.
5. From the Select a host to view its accessible disks/LUNs drop-down menu, select sa-esxi-
01.vclass.local.
A LUN list appears.
6. From the newly displayed LUN list, select LUN 5 named MSFT iSCSI Disk (Capacity 139.85
GB) and click Next.
7. On the VMFS version page, accept VMFS 6 and click Next.
8. On the Partition configuration page, accept Use all available partitions and click Next.
9. On the Ready to complete page, review the information and click Finish.
10. Click the Storage icon in the navigator pane.
11. Verify that iSCSI-Datastore is listed in the Storage view.
12. On the Configure tab, select Connectivity and Multipathing to verify that both hosts can see
the datastore.
Technet24
||||||||||||||||||||
||||||||||||||||||||
39
||||||||||||||||||||
||||||||||||||||||||
12. On the Configure Kerberos authentication page, accept the default, and click Next.
13. On the Host accessibility page, select both the ESXi hosts and click Next.
14. On the Ready to complete page, verify the NFS settings and click Finish.
15. Verify that your NFS datastore is listed in the Navigator pane.
Technet24
||||||||||||||||||||
||||||||||||||||||||
NOTE
If your Shut Down Guest OS option is dimmed, refresh vSphere Client and try again.
5. Click Yes to verify shut down and wait for the virtual machine to power off completely.
6. Right-click the Win10-01 virtual machine and select Template > Convert to Template.
7. Click Yes to verify the conversion.
41
||||||||||||||||||||
||||||||||||||||||||
8. Right-click the Win10-01 virtual machine template and select Move To Folder.
9. Select Templates in the Move to Folder pane and click OK.
10. Expand the Templates folder.
11. Right-click the Win10-01 virtual machine template and select Rename.
12. Enter Win10-Template and click OK.
Technet24
||||||||||||||||||||
||||||||||||||||||||
14. On the Time Zone page, select (GMT-08:00) Pacific Time (US & Canada) from the Time
Zone drop-down menu and click Next.
15. On the Commands to Run Once page, click Next.
16. On the Network page, verify that Use standard network settings for the guest operating
system, including enabling DHCP on all network interfaces is selected and click Next.
17. On the Workgroup or Domain page, verify that Workgroup is clicked and that the text box
shows WORKGROUP.
18. Click Next.
19. On the Ready to complete page, review the information and click Finish.
20. In the Customization Specification Manager pane, verify that Win10-CustomSpec is listed.
||||||||||||||||||||
||||||||||||||||||||
12. On the Customize guest OS page, select Win10-CustomSpec and click Next.
13. On the Ready to complete page, review the information and click Finish.
14. Repeat steps 2 through 13 to create another virtual machine on your second host named Win10-04.
NOTE
If the Compatibility alarm – No guest heartbeats are being received message
appears, ignore it. This message does not affect a successful migration.
15. In the Recent Tasks pane, monitor the progress of the two template deployment tasks and wait
for their completion.
16. Open a console for each of the newly created virtual machines.
a. In the Navigator pane of vSphere Client, right-click the Win10-03 virtual machine and
select Open Remote Console.
An alternative to using Remote Console is the Web Console launched from the virtual
machine Summary tab.
b. In the Invalid Security Certificate screen, select the Always trust this host with this
certificate check box.
c. Click Connect Anyway.
When the virtual machine console opens, you might see the Windows setup process
continuing. It automatically reboots a few times to complete the process.
17. You are logged in as vclass\administrator with the password VMware1!.
18. Verify that both IOMETER and CPUBUSY are on the desktop.
Technet24
||||||||||||||||||||
||||||||||||||||||||
19. Verify that VMware Tools is installed by navigating to the Windows system tray at the lower-
right corner to show hidden icons and double-click the VMware Tools icon.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
47
||||||||||||||||||||
||||||||||||||||||||
7. Click OK and wait for the task to finish before you go to the next task.
This process takes about 10 minutes.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
11. From the Select virtual disk format drop-down menu, select Thin Provision and click Next.
12. On the Select Networks page, select Production from the Destination Network drop-down
menu and click Next.
13. On the Ready to complete page, review the information and click Finish.
14. In the Recent Tasks pane, monitor the progress of the template deployment task and wait for
completion.
15. In vSphere Client, click the Menu icon and select VMs and Templates.
16. In the navigator pane, select Photon-FromLib.
17. Right-click Photon-FromLib and select Power > Power On.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
7. On the Select a name and folder page, enter Win10-Clone in the Virtual machine text box.
8. Expand SA-Datacenter and select Lab VMs from the Select a location for the virtual machine
pane and click Next.
9. On the select a compute resource page, expand Lab Servers and select sa-esxi-02.vclass.local
from the Select a compute resource pane and click Next.
10. On the Select storage page, select iSCSI-Datastore.
11. Select Thin Provision from the Select virtual disk format drop-down menu and click Next.
12. On the Select clone options page, select the Customize the operating system and the Power
on virtual machine after creation check boxes.
13. Click Next.
14. On the Customize guest OS page, select Win10-CustomSpec and click Next.
15. On the Ready to complete page, review the information and click Finish.
16. Monitor the progress of the task in the Recent Tasks pane.
This task takes 10 minutes to complete.
17. Open a console for the Win10-Clone virtual machine.
a. In the Navigator pane of vSphere Client, right-click the Win10-Clone virtual machine and
select Open Remote Console.
When the virtual machine console opens, you might see the Windows setup process
continuing. It automatically reboots a few times to complete the process.
b. You are logged in as vclass\administrator with the password VMware1!.
c. Verify that VMware Tools is installed by navigating to the Windows system tray at the
lower-right corner to show hidden icons and double-click the VMware Tools icon.
Technet24
||||||||||||||||||||
||||||||||||||||||||
If the 2.00 GB of unallocated space has not been discovered, click the Action menu, and
select Rescan Disks.
c. Right-click the C: drive and select Extend Volume.
The Extend Volume wizard starts.
d. Click Next.
e. On the Select Disks page, verify that Disk 0 is selected in the Selected pane and click Next.
f. On the Completing the Extend Volume Wizard page, review the information and click Finish.
6. In the Disk Management window, verify that the local C: drive (Disk 0) is extended.
7. Record the value for the total size of the C: drive. __________
8. Compare the value with the value that you recorded in step 2.
9. Close the Disk Management window.
10. Close the virtual machine console.
||||||||||||||||||||
||||||||||||||||||||
NOTE
If your Shut Down Guest OS option is dimmed, refresh the vSphere Client page and try again.
2. Click Yes to verify the shut down.
3. On the Win10-Clone Summary tab expand the view of the VM Hardware pane and record the
amount (GB) of active memory. __________
4. Right-click the Win10-Clone virtual machine in the Navigator pane, and select Edit Settings.
5. Enter 2500 in the Memory text box and verify that MB is selected from the drop-down menu.
6. Click OK.
7. Verify that the memory is increased on the virtual machine’s Summary tab.
Technet24
||||||||||||||||||||
||||||||||||||||||||
NOTE
When you change the name of a virtual machine, you change the name used to identify the
virtual machine in the vSphere Client inventory, not the name of the virtual machine’s folder or
files on the datastore.
||||||||||||||||||||
||||||||||||||||||||
4. In the Select Target LUN dialog box, select LUN 4 and click OK.
5. Click the arrow next to New Hard disk to expand the view.
6. In the Location drop-down menu, verify that Store with the virtual machine is selected.
7. Select Virtual from the Compatibility Mode drop-down menu, and click OK.
8. Verify that the guest operating system can see the new disk.
a. In the Navigator pane, right-click the Win10-05 virtual machine and select Power > Power
On.
b. Right-click the Win10-05 virtual machine and select Open Remote Console.
c. You are logged in as vclass\administrator with the password VMware1!.
d. Right-click Start, then click on Disk Management.
e. When the Initialize Disk wizard starts, click Cancel.
Technet24
||||||||||||||||||||
||||||||||||||||||||
NOTE
The Initialize Disk wizard is used to format unallocated disks. In this lab, you do not format the
newly added RDM, Disk 1.
f. Verify that Disk 1 is listed.
f. Select the Delete files from datastore check box and click OK.
11. Leave vSphere Client open for the next lab.
12. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Task 2: Create a Virtual Switch and a VMkernel Port Group for vSphere
vMotion Migration
You create a VMkernel port group virtual switch to move virtual machines from one host to another
while maintaining continuous service availability.
1. Click the Menu icon and select Hosts and Clusters.
2. In the Navigator pane, expand SA-Datacenter > Lab Servers and select the host sa-esxi-
01.vclass.local.
3. Click the Configure tab.
4. In the middle pane, navigate to Networking and select Virtual switches.
5. Click the Add Networking icon to open the Add Networking wizard.
6. Accept VMkernel Network Adapter in the Select connection type page and click Next.
7. Select New standard switch in the Select target device page and click Next.
8. Click the green + sign in the Create a Standard Switch page to add a physical adapter to the
switch.
9. Select vmnic2 as the vmnic for the vSphere vMotion network and click OK.
10. Review the information shown and click Next.
11. On the Port properties page for connection settings, enter vMotion in the Network label text
box.
Technet24
||||||||||||||||||||
||||||||||||||||||||
16. Repeat steps 2-15 for sa-esxi-02.vclass.local, using 172.20.12.52 for the vMotion VMkernel
port IPv4 address in step 13 b. All other steps remain same.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
12. Click the Search Windows icon in Windows Task bar and enter cmd to open a Command
Prompt window.
13. When the Command Prompt window opens, enter the ipconfig command and record the
virtual machine’s default gateway IP address. __________
14. Enter ping -t default_gateway IP address on the command line to start a
continuous ping.
||||||||||||||||||||
||||||||||||||||||||
e. On the Select networks page, ensure that Production is selected from the Destination
Network drop-down menu and click Next.
f. Leave Schedule vMotion with high priority (recommended) selected on the Select
vMotion priority page and click Next.
g. On the Ready to complete page, review the information and click Finish.
3. Return to the Win10-03 virtual machine console and monitor that no pings are dropped during
the migration.
Monitor the console for 1 to 2 minutes. If the Win10-03 virtual machine console is
disconnected, reopen the console.
4. Press Ctrl+C to stop the ping.
5. Close the Command Prompt window.
6. Close the Win10-03 virtual machine console.
7. Verify that the Win10-04 virtual machine is powered on.
8. In the Navigator pane, select Win10-04.
9. On the Summary tab, verify that Win10-04 is on the sa-esxi-02.vclass.local host.
10. Migrate the Win10-04 virtual machine from host sa-esxi-02.vclass.local to host sa-esxi-
01.vclass.local.
a. In the Navigator pane, drag the Win10-04 virtual machine from sa-esxi-02.vclass.local to
sa-esxi-01.vclass.local.
The Migrate wizard opens.
b. On the Select a migration type page, select Change compute resource only and click
Next.
Technet24
||||||||||||||||||||
||||||||||||||||||||
c. On the Select a compute resource page, select sa-esxi-01.vclass.local and click Next.
d. On the Select networks page, verify that Production is selected from the Destination
Network drop-down menu and click Next.
e. On the Select vMotion priority page, leave Schedule vMotion with high priority
(recommended) selected and click Next.
f. On the Ready to complete page, review the information and click Finish.
11. When the migration tasks are completed, view the Navigator pane to verify that Win10-04 is
under sa-esxi-01.vclass.local and Win10-03 is under sa-esxi-02.vclass.local.
||||||||||||||||||||
||||||||||||||||||||
NOTE
If the Compatibility alarm – No guest heartbeats are being received message
appears, ignore it. This message does not affect a successful migration.
4. Click Next.
5. On the Select storage page, select iSCSI-Datastore and click Next.
6. On the Select network page, verify that Production is selected from the Destination Network
drop-down menu and click Next.
7. On the Select vMotion priority page, leave Schedule vMotion with high priority
(recommended) selected and click Next.
8. On the Ready to complete page, review the information and click Finish.
9. In the Recent Tasks pane, monitor the progress of the virtual machine migration.
10. When the migration task is completed, view the Navigator pane to verify that the Photon-
FromLib virtual machine is listed under your sa-esxi-01.vclass.local ESXi host.
11. Right-click Photon-FromLib and select Power > Shut Down Guest OS.
NOTE
If your Shut Down Guest OS option is dimmed, refresh the vSphere Client page and try again.
12. Click Yes to verify the shut down.
13. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
5. Record the VMFS datastore name where the Win10-05 virtual machine resides. __________
6. Verify that the Win10-05 virtual machine is powered off.
7. Right-click Win10-05 and select Remove from Inventory.
CAUTION
Do not select Delete from Disk. This operation is not recoverable in your lab environment.
8. Click Yes to verify the removal.
9. Verify that the Win10-05 virtual machine no longer appears in the Navigator.
10. If needed, click the Refresh icon for vSphere Client.
11. In the Navigator pane, click the Storage icon and expand the view.
12. Click the datastore name that you recorded in step 5.
13. In the right pane, verify that the Files tab is open.
14. View the folders in the middle pane.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
Option Action
Name Enter Without iometer.
Quiesce guest file system (Needs VMware Leave the check box deselected.
Tools installed)
10. Click OK and monitor the task in the Recent Tasks pane.
11. Click the VMware Remote Console icon to return to the virtual machine desktop.
12. On the virtual machine desktop, drag the CPUBUSY file to the Recycle Bin.
13. Right-click the Recycle Bin icon and select Empty Recycle Bin to delete the CPUBUSY file
permanently.
14. Click Yes to verify the file deletion and leave the virtual machine console open.
15. Return to vSphere Client.
16. Right-click the Win10-03 virtual machine and select Snapshots > Take Snapshot to take
another snapshot.
17. Configure the snapshot.
Option Action
Name Enter Without iometer or cpubusy.
Quiesce guest file system (Needs VMware Leave the check box deselected.
Tools installed)
18. Click OK and monitor the task in the Recent Tasks pane.
||||||||||||||||||||
||||||||||||||||||||
Option Action
Name Enter With cpubusy.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Option Action
Snapshot the virtual machine’s memory Leave the check box selected.
Quiesce guest file system (needs VMware Tools Leave the check box deselected.
installed)
||||||||||||||||||||
||||||||||||||||||||
4. In the Navigator pane, right-click the Win10-03 virtual machine and select Power > Power On.
5. In the Navigator pane, right-click Win10-03 and select Open Remote Console.
Wait for the boot process to complete.
6. You are logged in as vclass\administrator with the password VMware1!.
9. Select the With cpubusy snapshot on the Manage Snapshots tab and click Revert to.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Q3. Did the virtual machine power off, and what is the reason?
3. No. The virtual machine did not power off because the memory state was preserved.
||||||||||||||||||||
||||||||||||||||||||
3. Select the Without iometer or cpubusy snapshot and click the DELETE button.
Q2. In the virtual machine console, is the CPUBUSY file on the desktop?
2. Yes. The CPUBUSY file is still on the desktop because deleting the snapshot does not change
the virtual machine's current state. Deleting the snapshot removes the ability to return to that
snapshot's point in time.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Q1. Were all the remaining snapshots deleted from the Manage Snapshots dialog box?
1. Yes.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
81
||||||||||||||||||||
||||||||||||||||||||
5. Verify that the Win10-02 and Win10-04 virtual machines are powered on and running on sa-
esxi-01.vclass.local.
Technet24
||||||||||||||||||||
||||||||||||||||||||
CAUTION
CPU affinity is used mainly to create CPU contention for training purposes. The use of this
feature in a production environment is strongly discouraged.
12. Repeat steps 8 through 11 for the Win10-04 virtual machine.
13. Allow the CPUBUSY script to run for 1 or 2 minutes.
||||||||||||||||||||
||||||||||||||||||||
Option Action
Name Enter rp-Test.
3. Click OK.
4. In the Navigator pane, right-click sa-esxi-01.vclass.local and select New Resource Pool.
5. Assign properties to the resource pool.
Option Action
Name Enter rp-Production.
6. Click OK.
3. Select rp-Production in the Navigator pane and click the Summary tab.
4. View the Resource Settings pane.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Q3. What is the difference in performance between the two virtual machines?
3. The rp-Test resource pool, and the virtual machine in it, have only one-fourth of the CPU
shares that the rp-Production resource pool has. So the virtual machine in the rp-Test resource
pool receives only one-fourth of the CPU cycles of the logical CPU to which the virtual machines
are pinned.
8. In vSphere Web Client, change the CPU shares of the rp-Test resource pool from Low to
Normal.
a. Right-click the rp-Test resource pool in the Navigator pane and click Settings.
b. Verify that CPU Resources is selected and click Edit.
c. Select Normal from the Shares drop-down menu and click OK.
9. In each virtual machine console, allow the script to run for a few minutes and compare the
performance of the CPUBUSY script on each virtual machine.
As contention diminishes on the Win10-04 virtual machine, you see a difference in
performance.
10. Repeat step 8 to change CPU shares for the rp-Production resource pool from High to
Normal.
As contention diminishes, you see performance balance between the two virtual machines.
11. Press Ctrl+C in the Command Prompt window to stop the CPUBUSY script in each virtual
machine console.
12. Close the Win10-02 and Win10-04 consoles.
13. Click the Home icon and select Home.
14. Leave vSphere Web Client open for the next lab.
15. Inform your instructor that you have completed this lab. If prompted, continue to the next lab.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
87
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
8. In the Select counters for this chart pane, click None to deselect all counters.
||||||||||||||||||||
||||||||||||||||||||
9. In the Select counters for this chart pane, select the Ready and Used check boxes and click OK.
The CPU/Real-time chart for the Win10-02 virtual machine opens.
10. Open a new tab in your Firefox web browser and click the vSphere Web Client shortcut.
11. Click the Home icon and select VMs and Templates and expand the view.
12. In the Navigator pane, select the Win10-04 virtual machine.
13. Repeat steps 3 through 9 to configure the CPU Performance graph for the Win10-04 virtual
machine.
14. In the web browser window for each virtual machine, point to the end of the line graph to view
the current CPU ready value.
15. Record the current CPU ready value for each virtual machine and leave the Performance Chart
windows open.
• Win10-02 __________
• Win10-04 __________
Technet24
||||||||||||||||||||
||||||||||||||||||||
16. In each virtual machine console, press Ctrl+C in the Command Prompt window to stop the
CPUBUSY script.
CAUTION
This script must be stopped in each virtual machine. If the script is left running, the next lab is
affected.
17. In the vSphere Web Client browser window for each virtual machine, point to the end of the
line graph to view the current CPU ready value.
18. Wait for the chart to be updated and compare the CPU ready value with what you recorded in
step 15.
Performance charts update every 20 seconds.
Q1. Did the CPU ready value change? If it did, what is the reason for the change?
1. Yes. After the scripts stop, the CPU Ready value decreases significantly because CPU
contention does not occur.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
93
||||||||||||||||||||
||||||||||||||||||||
4. In the Navigator pane, right-click the Win10-02 virtual machine and select Alarms > New
Alarm Definition to open the New Alarm Definition wizard.
NOTE
Because you are creating an alarm for the Win10-02 virtual machine, this alarm monitors only
that virtual machine. If you set the alarm on an object higher in the vCenter Server inventory,
the alarm applies to multiple virtual machines. For example, if you create an alarm on the
vCenter Server Appliance object, the alarm applies to all the virtual machines.
5. Enter VM CPU Usage - Win10-02 in the General page Alarm name text box and click Next.
6. On the Triggers page, click Add (the green plus sign) to add the trigger conditions.
Option Action
Trigger Select VM CPU Usage.
Condition Length Double-click the current value and select for 30 sec from the drop-
down menu.
Critical Condition Double-click the current value and manually enter 75 (percent).
7. Click Next.
Technet24
||||||||||||||||||||
||||||||||||||||||||
8. In the Actions page, click Add (the green plus sign) to configure the action settings.
Option Action
Action Select Suspend VM from the drop-down menu.
Yellow to Red Change the setting from Once to no value in the drop-down menu.
9. Click Finish.
10. In the Navigator pane, select the Win10-02 virtual machine and click the Monitor tab.
11. On the Issues tab and select Alarm Definitions.
12. Verify that the VM CPU Usage - Win10-02 alarm appears in the alarm list for the Win10-02
virtual machine.
||||||||||||||||||||
||||||||||||||||||||
Option Action
Alarm name Enter VM Suspended - Win10-02.
Monitor for Select specific event occurring on this object, for example VM
Power On.
5. Click Next
6. On the Triggers page, click Add (the green plus sign) in the pane named Trigger if ANY of the
following events occur.
7. Select VM suspended from the Event drop-down menu.
8. Click Add (the green plus sign) to specify the conditions for the alarm trigger to fire.
Option Action
Argument Select VM name from the Argument drop-down menu.
Technet24
||||||||||||||||||||
||||||||||||||||||||
9. Click Next.
10. Leave the default settings in the Actions page and click Finish.
11. Verify that the VM Suspended - Win10-02 alarm appears in the alarm list for the data center.
||||||||||||||||||||
||||||||||||||||||||
8. Return to vSphere Web Client, refresh the Triggered Alarms pane and verify that the VM
Suspended - Win10-02 alarm is triggered.
An entry for this alarm should appear in the Triggered Alarms list.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
101
||||||||||||||||||||
||||||||||||||||||||
Option Action
Name Enter SA-Compute-01.
6. Leave the default settings for the other options and click OK.
7. In the Recent Tasks pane, monitor the progress as the cluster is created.
Q1. Does the number of protected virtual machines match the number of powered-on
virtual machines in the cluster?
1. Yes. If both the hosts are added to the cluster and there are no errors on the cluster, the number
of protected VMs equal the number of powered-on VMs.
Technet24
||||||||||||||||||||
||||||||||||||||||||
8. In the middle pane, select Configuration Issues and review the errors that are displayed.
At this point, each ESXi host has a single management network port. vSphere HA still works if
an ESXi host is configured with one management network port, but a second management
network port is necessary for management network port redundancy.
9. Select sa-esxi-01.vclass.local in the Navigator pane and click the Configure tab.
10. In the middle pane, navigate to Networking and select VMkernel adapters.
11. Select the vMotion VMkernel adapter.
12. Click the Edit Settings icon.
13. On the Port properties page, ensure that the vMotion check box is selected and select the
Management check box.
14. Click OK.
15. In the Navigator pane, right-click sa-esxi-01.vclass.local and select Reconfigure for
vSphere HA.
NOTE
You might need to refresh vSphere Web Client to eliminate any obsolete alarm icons.
16. Repeat step 9 through 15 for sa-esxi-02.vclass.local.
17. In the Navigator pane, select SA-Compute-01 and click the Monitor tab.
18. Click Issues and select All Issues from the middle pane.
||||||||||||||||||||
||||||||||||||||||||
IMPORTANT
Ensure that you reboot the system. Do not shut down the system.
a. Right-click the master ESXi host and select Power > Reboot.
A warning message appears stating that you chose to reboot the host, which is not in
maintenance mode.
b. Enter Testing vSphere HA as the reason for rebooting and click OK.
9. On the Monitor tab, click Tasks & Events and select Events in the middle pane.
The cluster entries are sorted by time. Note the entries that appear when the host failure was
detected.
The initial messages from the hosts might show failures. These messages indicate that the
virtual machines on the downed host have failed. The virtual machines take 1 to 2 minutes to
successfully restart on the new host.
10. Wait for an additional 1 to 2 minutes for the ESXi host that you rebooted in step 5 to enter an
error state.
11. In the Navigator pane, select the ESXi host that is in an error state, indicated with a red
error icon.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Q1. Do you see the virtual machines that were running on the original master ESXi host,
which you recorded earlier?
1. No. The virtual machines previously running on the original master ESXi host are running on
the remaining host in the cluster.
16. Monitor the original master ESXi host in the Navigator pane until it is fully running again.
It might take 5 minutes for the original master host to become fully running.
||||||||||||||||||||
||||||||||||||||||||
4. In the middle pane, select Memory and record the information for the cluster.
• Total Reservation Capacity (GB) __________
• Used Reservation (GB) __________
• Available Reservation (GB) __________
5. In the bottom pane, verify that the memory reservation is not set on the virtual machines.
The Reservation column shows 0 (MB).
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
d. In the Define host failover capacity by pane, click Fixed slot size.
e. In the CPU slot size text box, enter 300 (MHz) to change the CPU slot size.
f. Click Calculate next to VMs requiring multiple slots, then click the View link.
The VMs Requiring Multiple Slots window appears.
Technet24
||||||||||||||||||||
||||||||||||||||||||
g. Record the Required Slots value for the Win10-04 virtual machine. __________
Because the CPU slot size has a fixed value of 300 MHz, the Win10-04 virtual machine
with the 512 MHz CPU reservation uses two slots to power on.
h. Click Close and click OK to exit the Edit Cluster Settings window.
16. View the slot information for the SA-Compute-01 cluster.
a. Return to the Advanced Runtime Info pane, record the information shown in the Slot size
text box and compare with the values recorded earlier.
Slot size: CPU __________ (MHz), Memory __________ (MB)
17. Remove the vSphere HA fixed slot size setting.
a. In the Navigator pane, right-click SA-Compute-01 and select Settings.
b. In the middle pane, select vSphere Availability and click Edit.
The Edit Cluster Settings wizard opens.
c. In the left pane, select Admission Control.
d. In the Define host failover capacity by pane, select Cover all powered-on virtual
machines for the slot size policy.
e. Click OK.
18. Remove the CPU reservation on the Win10-04 virtual machine.
a. In the Navigator pane, right-click the Win10-04 virtual machine and select Edit Settings.
b. Click the arrow next to CPU to expand the view.
c. Enter 0 (MHz) in the Reservation text box and click OK.
||||||||||||||||||||
||||||||||||||||||||
3. In the Navigator pane, select SA-Compute-01 and click the Summary tab.
4. Record the memory information for this cluster.
• Capacity (total) __________
• Used __________
• Free __________
Your view should be similar to the screenshot.
Q1. Why is the free memory value for the cluster less than the total memory capacity
value?
1. Less memory is available because of the overhead needed to run VMkernel. VMkernel is
holding back memory for its own use.
5. Click the Monitor tab, click Resource Reservation, and select Memory in the middle pane.
6. Assign a 2000 MB memory reservation to the Win10-02 virtual machine.
a. In the lower pane, right-click the Win10-02 virtual machine and select Edit Resource
Settings.
b. In the Memory memory pane, enter 2000 (MB) in the Reservation text box and click OK.
c. Repeat steps a through c to set the memory reservation on the Win10-03 and Win10-04
virtual machines.
7. On the Monitor tab, and click vSphere HA.
8. Select Summary in the middle pane.
9. In the Advanced Runtime Info pane, record the value shown in the Total slots in cluster text
box. __________
Q2. Why does vSphere Web Client report N/A as the value?
2. vSphere Web Client reports N/A for the total number of slots because no virtual machines are
powered on yet. The slot size calculation considers only virtual machines that are powered on.
Technet24
||||||||||||||||||||
||||||||||||||||||||
10. In the Navigator pane, right-click the Win10-02 virtual machine and select Power > Power On.
11. Return to the Advanced Runtime Info pane of SA-Compute-01 and click Refresh in the lower-
right corner of the pane.
12. Record the slot size values that appear.
• CPU (MHz) __________, Memory (MB) __________
13. View the effect that powering on this virtual machine has on your cluster.
Q3. How many total slots in the cluster, used slots, available slots, and failover slots do
you see?
3. You should see 4 total slots in the cluster: one used slot, one available slots, and 2 failover
slots. If you do not see 4 slots, refresh vSphere Web Client after 2 minutes and the numbers
should get updated.
NOTE
The Advanced Runtime Info pane might display a smaller number of available slots in the
cluster than you expect.
Slot size is calculated using the largest reservations plus the memory overhead of any powered
on virtual machines in the cluster. However, vSphere HA admission control considers only the
resources on a host that are available for virtual machines. This amount is less than the total
amount of physical resources on the host, because some overhead exists.
14. In the Navigator pane, right-click the Win10-04 virtual machine and select Power > Power On.
15. Return to the Advanced Runtime Info pane of SA-Compute-01 and click Refresh.
16. View the slot information.
Q5. How many slots are available and what is the reason?
5. Zero slots are available. Only two slots were available, the rest were marked as failover slots.
Because two virtual machines were powered on, each using one of the available slots, no more
slots are available.
||||||||||||||||||||
||||||||||||||||||||
17. In the Navigator pane, right-click the Win10-03 virtual machine and select Power > Power On.
18. Monitor the Recent tasks pane.
Q6. Is your virtual machine allowed to power on, and what is the reason?
6. The Win10-03 virtual machine is not allowed to power on. If a cluster does not have sufficient
resources to provide failover protection, the virtual machine does not power on resulting in an
error.
Technet24
||||||||||||||||||||
||||||||||||||||||||
113
||||||||||||||||||||
||||||||||||||||||||
5. On the VMs tab, if virtual machines are present on sa-esxi-01.vclass.local, migrate the virtual
machines to sa-esxi-02.vclass.local.
IMPORTANT
Change compute resource only when migrating VMs.
6. In the Navigator pane, select sa-esxi-02.vclass.local.
7. On the VMs tab, click Virtual Machines.
Compare the list of VMs shown in the list to the VMs shown in the Navigator pane.
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
3. Click the Summary tab and click the arrow next to vSphere DRS to expand the pane.
The screenshot shows the expanded view of the vSphere DRS pane.
4. Click the Monitor tab, on vSphere DRS, and select CPU Utilization.
5. In the Sum of Virtual Machine CPU Utilization - Per Host pane, view the CPU consumption on
each ESXi host and click each of the colored boxes to view the CPU consumption of each
virtual machine.
The screenshot shows the CPU utilization information of the ESXi host and the virtual machine.
Technet24
||||||||||||||||||||
||||||||||||||||||||
6. In the middle pane, select Recommendations and view the vSphere DRS recommendations.
The screenshot shows a sample recommendation made by vSphere DRS to migrate a virtual
machine from one host to another host.
If vSphere DRS recommendations do not appear, refresh vSphere Web Client.
||||||||||||||||||||
||||||||||||||||||||
12. Click vSphere DRS and click Run DRS Now to force vSphere DRS to evaluate the cluster
status.
13. Click the Summary tab and view the vSphere DRS pane.
14. Click the Monitor tab and click the vSphere DRS tab.
15. Select CPU Utilization.
The virtual machines should spread across the two ESXi hosts. You can refresh the screen to see
the result.
16. In each virtual machine console, press Ctrl+C to stop the CPUBUSY script.
17. Close the virtual machine consoles.
Technet24
||||||||||||||||||||
||||||||||||||||||||
4. Based on the information in the Name and Host columns, verify that all the virtual machines are
not running on a single ESXi host.
Having virtual machines reside on two different ESXi hosts is necessary to test the validity of
the VM/Host rule that you create in the later steps. If you have one virtual machine on each
ESXi host in the cluster, no action is necessary.
5. In the Navigator pane, right-click SA-Compute-01 and select Settings.
6. Select VM/Host Rules in the middle pane.
7. In the VM/Host Rules pane, click Add.
The Create VM/Host Rule dialog box appears.
8. Configure the options for the VM/Host rule.
a. In the Name text box, enter Colocate-Win10-VMs.
b. Leave the Enable rule check box selected.
c. From the Type drop-down menu, select Keep Virtual Machines Together.
d. Click Add to add members.
e. Select the check boxes for the Win10-02 and Win10-03 virtual machines and click OK.
||||||||||||||||||||
||||||||||||||||||||
The first recommendation moves Win10-03 off of the sa-esxi-01.vclass.local to maintain cluster
balance.
The second migration is based on the vSphere DRS affinity rule that you created. The migrate
Win10-04 recommendation is assigned priority 1 because it is attempting to fix a broken
affinity rule. Therefore, even if vSphere DRS was configured to Conservative, this
recommendation would appear.
12. Click Apply Recommendations and wait for the virtual machine migrations to complete.
The virtual machines associated with your affinity rule should be migrated to one of the two
hosts in the vSphere DRS cluster.
13. Click the Monitor tab and click Tasks & Events to view the progress of the virtual machine
migration and wait for its completion.
14. Click the VMs tab.
Technet24
||||||||||||||||||||
||||||||||||||||||||
15. Click the Host column heading to sort the virtual machines by the ESXi host on which they reside.
The Win10-02 and Win10-03 virtual machines should be running on the same ESXi
host.
16. Click the Configure tab, and select VM/Host Rules in the middle pane.
17. In the VM/Host Rules pane, select your affinity rule and click Edit above the rule.
18. Deselect the Enable rule check box and click OK.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
10. Select Recommendations in the middle pane and click Run DRS Now.
Technet24
||||||||||||||||||||
||||||||||||||||||||
17. On the Select a compute resource page, click Clusters and click SA-Compute-01.
In the Compatibility pane, you might notice the Virtual machine 'Win10-03' on host
'sa-esxi-01.vclass.local' would violate a virtual machine - host
affinity rule message.
This issue is due to a conflict of the rules that you created and your migration attempt.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
127
||||||||||||||||||||
||||||||||||||||||||
5. On the vSphere DRS page, select Fully Automated from the DRS Automation drop-down menu.
This operation enables vSphere DRS to migrate virtual machines as necessary without asking
permission from an administrator.
6. In the left pane of the Edit Cluster Settings window, select Admission Control.
7. Verify that Disabled is selected from the Define Host Failover capacity By drop-down menu.
8. Click OK.
9. Click the Monitor tab for SA-Compute-01, then click the Resource Reservation tab.
10. Select CPU and review the Reservation (MHz) column to verify that no CPU reservations are
assigned to virtual machines.
11. Select Memory and review the Reservation (MB) column to verify that no memory
reservations are assigned to virtual machines.
CAUTION
Removing CPU and memory reservations is necessary in this lab environment for training
purposes. In a production environment, you might not need to remove them.
Technet24
||||||||||||||||||||
||||||||||||||||||||
7. Wait until the patch bundle has been uploaded and the Patch file upload is
successful message is displayed.
8. Click Next.
9. If a security warning appears, select the Install this certificate and do not display any
security warnings check box and click Ignore.
10. When the import operation is complete, click Finish.
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
8. For Remediation Time, enter a time that is 3 minutes from the current time and leave the other
settings at their default values.
9. Click Next.
10. On the Host Remediation Options page, select the Disable any removeable media devices
connected to the virtual machines on the host check box and leave the other settings at their
default values.
11. Click Next.
12. On the Cluster Remediation Options page, deselect the Disable Distributed Power
Management (DPM) if it is enabled for any of the selected clusters check box and click Next.
13. On the Ready to Complete page, review the information and click Finish.
14. Monitor the Recent Tasks pane.
If the expected results are not seen, refresh vSphere Web Client.
Technet24
||||||||||||||||||||
||||||||||||||||||||
Answer Key
133
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
||||||||||||||||||||
Technet24
||||||||||||||||||||