0% found this document useful (0 votes)
285 views

Vmware Vsphere: Troubleshooting Workshop: Lab Manual Esxi 5.5 and Vcenter Server 5.5

The document provides instructions for a lab on configuring and using the vSphere Management Assistant. The lab consists of 6 tasks: 1) Accessing the desktop system, 2) Verifying the vCenter service, 3) Verifying vSphere licenses, 4) Logging into the vSphere Management Assistant, 5) Adding it to an Active Directory domain, and 6) Removing it from the domain.

Uploaded by

Steven
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
285 views

Vmware Vsphere: Troubleshooting Workshop: Lab Manual Esxi 5.5 and Vcenter Server 5.5

The document provides instructions for a lab on configuring and using the vSphere Management Assistant. The lab consists of 6 tasks: 1) Accessing the desktop system, 2) Verifying the vCenter service, 3) Verifying vSphere licenses, 4) Logging into the vSphere Management Assistant, 5) Adding it to an Active Directory domain, and 6) Removing it from the domain.

Uploaded by

Steven
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 161

VMware vSphere:

Troubleshooting Workshop
Lab Manual
ESXi 5.5 and vCenter Server 5.5

VMware® Education Services

1
Lab 1
Adding the VMware vSphere
Management Assistant to Active
Directory

Objective: Configure vSphere Management


Assistant to use AD
1. Access the desktop system
2. Verify that the vCenter Server service is started

3. Verify that the vSphere licenses are valid

4. Log in to vSphere Management Assistant

5. Add the vSphere Management Assistant instance to an AD domain

6. Remove the vSphere Management Assistant instance from the AD domain

2
Preparing for the lab
Refer to your worksheet for information:
vSphere Management Assistant system name

vSphere Management Assistant user name

vSphere Management Assistant user’s password

vCenter Server system name

vCenter Server user name

vCenter Server user’s password

ESXi host name

ESXi host root password

Virtual Machine Name

Domain Name

Domain User Name

Domain User Password

3
Task 1: Access the desktop system
In this task, you will log in to the student desktop system.
1. Ask the instructor how to access your student desktop system. For example, the instructor
might
have you use Remote Desktop Connection to connect to this system. Depending on the
lab environment, the student desktop system and
VMware® vCenter Server™ might be the same system.
2. Log in to the student desktop system. The instructor will give you your account information.

Task 2: Verify that the vCenter Server service is started


In this task, you will verify that the VirtualCenter Server service is started..
1. Depending on the lab environment, the instructor might give you a different method
for logging in to the vCenter Server system.
2. On the vCenter Server system, use the Windows Services program to verify
that the VirtualCenter Server service is started.

4
Task 3: Verify that the vSphere licenses are valid
In this task, you will log in to the vCenter Server system and determine
whether the VMware vSphere® licenses are valid. If the licenses have expired,
then you will add valid, temporary licenses to your vCenter Server.
Start VMware vSphere® Client™ and use it to log in to the vCenter Server system.
You recorded the vCenter Server system name, user name, and password in “Preparing for the
lab.”
1. Select Home > administration > Licensing. The Licensing pane is
displayed.
2. On the Management tab, expand the products in the list and determine
whether the vCenter Server license and the VMware vSphere® Enterprise
Plus Edition™ license have expired.
3. If the licenses have expired, add licenses to vCenter Server. If the licenses
have not expired, proceed to task 4.
a. Click the Manage vSphere Licenses link in the upper-right corner.

b. When prompted by the Manage vSphere Licenses wizard, perform the following actions.

Wizard Page Action


Add License Keys In the Enter new vSphere license keys (one per line) field,
type the vCenter Server license key and the
vSphere Enterprise Plus license key. You
recorded these license keys in “Preparing for the
lab.”
Include the hyphens: XXXXX-XXXXX-XXXXX-
XXXXX-XXXXX. (The text box forces you to
type a hyphen every five characters.)
In the Enter optional label for new license keys field, type
VMware Training Licenses and click Add

License Keys. Click Next.

5
Assign Licenses Click the Show all radio button. If a security
warning appears, click Ignore.
In the ESX tab, the ESXi host appears in the
left pane. In the right pane, select the valid
license.
Click the vCenter Server tab.
In the vCenter Server tab, the vCenter Server
system appears in the left pane. In the right
pane, select the valid license.
Click Next.

Remove License Keys Do not select anything and click Next.

Wizard Page Action


Confirm Changes Click Finish.

c. In the Management tab, expand the products and verify that the licenses have
been successfully added.
d. Select Home > Inventory > Hosts and Clusters.

e. If the ESXi host has the disconnected status, right-click the ESXi host and select
Connect.
f. Click Yes to confirm reconnecting the host and verify that the ESXi host is reconnected.

6
Task 4: Log in to vSphere Management Assistant
In this task, you will log in to VMware vSphere® Management Assistant.
1. On your desktop system, start a PuTTY session by double-clicking the PuTTY icon.

2. In the Host Name (or IP address) field, type the vSphere Management Assistant
system name that you recorded in “Preparing for the lab.”
3. Click Open. If a PuTTY Security Alert window is displayed, click Yes.
4. At the login prompt, type the vSphere Management Assistant user name and
vSphere Management Assistant user’s password that you recorded in “Preparing for
the lab.”
When you are logged in, the vSphere Management Assistant Command Prompt
window is displayed.

7
Task 5: Add the vSphere Management Assistant instance to
an AD domain
In this task, you will join your vSphere Management Assistant instance to the
class Active Directory domain. Student A and student B must work together to perform this
task.

NOTE
All commands are case-sensitive. Type all commands in a single line unless otherwise
instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Join the vSphere Management Assistant instance to the class Active Directory
domain by running the following command:
sudo domainjoin-cli join domain-name domain-username
Replace domain-name with the Active Directory Domain name that you
recorded in “Preparing for the lab.” Replace domain-username with the
domain user name that you recorded in “Preparing for the lab.”
2. When prompted for the vSphere Management Assistant user’s password,
type the vSphere Management Assistant user’s password that you
recorded in “Preparing for the lab.”
3. When prompted for the domain administrator password, type the password that
you recorded in “Preparing for the lab.”
For help with the sudo command, type sudo -h.
4. Verify that the command successfully completes. If a warning is displayed
recommending that you reboot the system, do not reboot the system.
5. Verify that the vSphere Management Assistant instance is part of an Active Directory domain.
sudo domainjoin-cli query
6. If prompted for the vSphere Management Assistant user’s password,
type the vSphere Management Assistant user’s password that you
recorded in “Preparing for the lab.”

8
Task 6: Remove the vSphere Management Assistant
instance from
the AD domain
In this task, you will remove the vSphere Management Assistant instance from the
Active Directory vSphere Management Assistant. Student A and student B must
work together to perform this task.
1. Remove the vSphere Management Assistant instance from the Active Directory domain.
sudo domainjoin-cli leave

2. Verify that the vSphere Management Assistant instance is no longer part of an


Active Directory domain.
sudo domainjoin-cli query

3. When prompted for the vSphere Management Assistant user’s password,


type the vSphere Management Assistant user’s password that you
recorded in “Preparing for the lab.”
4. Leave the vSphere Management Assistant window open for other labs.
5. Note : You may need to disable and remove the vMA domain information manually

9
Lab 2
Using the Command Line to
Review Configuration

Objective: Use the command line to review the


vSphere configuration
1. Configure the target server
2. Experiment with the more and less commands

3. Use the esxcli command to determine the host hardware

4. Use the esxcli command to display storage information

5. Use the esxcli and vicfg-* commands to determine virtual switch information

6. Use the vmware-cmd command to determine virtual machine information

7. Access the ESXi host’s DCUI remotely

8. (For vClass users only) Access the ESXi host’s DCUI locally

10
Preparing for the lab
Refer to your worksheet for information
Record the following information.

vSphere Management Assistant system name

vSphere Management Assistant user name

vSphere Management Assistant user’s password

vCenter Server system name

vCenter Server user name

vCenter Server user’s password

ESXi host name

ESXi host root password

Virtual Machine Name

*You will use the lab environment worksheet to verify important information about
your lab configuration.

11
Task 1: Configure the target server
In this task, you will log in to the VMware vSphere® Management Assistant
system and you will configure the target server. Students do the steps in this task individually.

NOTE
All commands are case-sensitive. Type all commands in a single line unless otherwise
instructed. (For readability, commands might be displayed on two lines instead of one.)
1. If you are not logged in to the vSphere Management Assistant system, perform the
following steps:
a. On your VMware® vCenter Server™ desktop, start a PuTTY session by double-
clicking the PuTTy icon.
b. In the Host Name (or IP address) text box, type the vSphere Management
Assistant system name that you recorded in “Preparing for the lab.”
c. Click Open. If a PuTTY Security Alert window is displayed, click Yes.
d. At the login prompt, type the vSphere Management Assistant user name and
user’s password that you recorded in “Preparing for the lab.”

2. Add your vCenter Server system as a target server.


a. Run the following command:
vifp addserver server --authpolicy fpauth --username user
server and user are the vCenter Server system name and user name that
you recorded in “Preparing for the lab.”
b. Type the vCenter Server user’s password that you recorded in “Preparing for the lab.”

c. Type yes.

3. Repeat step 2 but replace server with the VMware® ESXi™ host name that
you recorded in “Preparing for the lab.” Also replace user with root.
a. When prompted for the password, type the ESXi host root password that
you recorded in “Preparing for the lab.”
4. Verify that the target servers were added properly:
vifp listservers
5. Verify that your vCenter Server system and your ESXi host are in the list.

12
6. Set the target server for commands:

vifptarget -s server
server is the ESXi host name that you recorded in “Preparing for the lab.”

7. After running the command, verify that the name of the ESXi host is
displayed as part of the command prompt.
8. For help with vSphere Management Assistant commands, use the --help option.
a. esxci --help
b. vifp --help
c. vifptarget --help

13
Task 2: Experiment with the more and less commands
In this task, you will use the more and less commands. You can use these commands at the
command line to page through a command’s output.
NOTE
All commands are case-sensitive. Type all commands in a single line unless otherwise
instructed. (For readability, commands might be displayed on two lines instead of one.)
1. Display help information for the esxcli command.
esxcli --help
Notice that the command does not pause after each screen of information.
2. Display help information for the esxcli command with the more command.
esxcli --help | more
a. Use the more command to scroll
down. The more command scrolls
down only.
b. Press the space bar to scroll one screen at a time.

c. Press Enter to advance one line at a time.

3. Display help information for the esxcli command with the less command.
esxcli --help | less
a. Use the less command to scroll up and down in the input.
b. Press Ctrl+F to go forward in the output.
c. Press Ctrl+B to go backward in the output.

d. Use the up and down arrow keys to navigate backward and forward one line at a time.

e. Press q to quit the less command and return to the command line.

4. Display help information for the vifp command.


vifp --help
5. Display help information for the vifptarget command.
vifptarget --help

14
Task 3: Use the esxcli command to determine the host hardware
In this task, you will use the command line interface to answer questions about the
hardware configuration of the VMware vSphere® environment. Answers are at the
end of the lab. Students do the steps in this task individually.
1. Which command lines do you use to answer the following questions?

a. What is the time and date on the host?

b. How many CPUs are on the host?

c. How much memory does the host have?

d. What is the PCI address of vmnic5?

Task 4: Use the esxcli command to display storage information


In this task, you will use the command line to answer questions about the storage
configuration of the vSphere environment. Answers are at the end of the lab.
Students do the steps in this task individually.
1. Which command lines do you use to answer the following questions?
a. How many VMware vSphere® VMFS extents are available to the host?

b. List the SCSI host bus adapters.

c. List SCSI path statistics.


d. List datastores available to the host.

In the lab environment worksheet provided by your instructor, record


the names of the datastores on the host.
e. List information about the NFS datastores available to the host.

15
Task 5: Use the esxcli and vicfg-* commands to determine virtual
switch information
In this task, you will use the command line to answer questions about the virtual switch
configuration of your vSphere environment. Answers are at the end of the lab. Students do the
steps in this task individually.
1. Which command lines do you use to answer the following questions?
a. What is the IP address of the DNS server?

b. List the physical NICs on the host.

c. Is a distributed switch available to the host?

d. List the available standard switch port groups.


In the lab environment worksheet, record the virtual switch name (vSwitch#)
associated with each port group.
e. How many standard virtual switches are available?

In the lab environment worksheet, record the uplink name (vmnic#) associated with
each port group.
f. List the VMkernel interfaces on the host.

In the lab environment worksheet, record the VMkernel port name (vmk#) associated
with each port group.
g. List the IP address and subnet mask of the VMkernel interfaces on the host.

In the lab environment worksheet, record the IP address and subnet mask associated
with each VMkernel interface.
h. List the default gateway address for the VMkernel interfaces on the host.

In the lab environment worksheet, record the default gateway associated with each
VMkernel interface.

16
Task 6: Use the vmware-cmd command to determine
virtual machine information
In this task, you will use the command line to answer questions concerning the
virtual machines in the vSphere environment. Answers are at the end of the lab.
Students do the steps in this task individually.
1. Which command lines do you use to answer the following questions?
a. How many virtual machines are on the host?

b. Does the virtual machine that you recorded in “Preparing for the lab” have a snapshot?

c. How can I get state information about the virtual machine?

d. What is the uptime for the virtual machine whose name you recorded in
“Preparing for the lab?”

2. Verify that the lab environment worksheet is filled in completely. If the


worksheet has missing values, use VMware vSphere® Client™ or the
VMware vSphere® Web Client to find the missing information.

17
Task 7: Access the ESXi host’s DCUI remotely
In this task, you will access your ESXi host’s DCUI from a PuTTY session. Being
able to access the DCUI remotely is a useful skill to have when troubleshooting
vSphere problems. Students do the steps in this task individually.
1. On your desktop system, start a PuTTY session by double-clicking the PuTTy icon.
2. In the Host Name (or IP address) text box, type the ESXi host name that
you recorded in “Preparing for the lab.”
3. Click Open. If a PuTTY Security Alert window is displayed, click Yes.

4. At the login prompt, type root for the user name and type the ESXi host
root password that you recorded in “Preparing for the lab.”
5. At the command prompt, type dcui.
6. Press F2 to display the login screen, and log in as user root, using the ESXi
host password that you recorded in “Preparing for the lab.”
7. View the default gateway for your ESXi host.

a. Using the down arrow key, select Configure Management Network and press Enter.

b. Select IP Configuration and view the IP configuration in the right pane.

c. Press Escape twice to return to the main menu.

8. Using the up and down arrow keys, view the other menu selections. Do not change
anything. Familiarize yourself with the interface.
9. Press the Escape key until you are logged out of the DCUI.
10. Press Ctrl+C to exit the DCUI window.

18
Task 8: (For vCloud vClass users only) Access the ESXi host’s DCUI
locally
In this task, you will directly access the ESXi host’s DCUI. Being able to access the DCUI
directly is useful when troubleshooting vSphere problems. Students do the steps in this task
individually.
CAUTION
The steps in this task are specific to the vClass lab environment. If you are using a vClass lab
environment, perform this task. If you are not using a vClass environment, skip this task. Ask
the instructor how to access the ESXi host’s DCUI in your lab environment.
1. Open the Internet Explorer Web browser and type the vCloud Director URL that you
recorded in “Preparing for the lab.”
2. Log in to VMware® vCloud Director® by using the vCloud Director user name and
password that you recorded in “Preparing for the lab.”
3. In the vCloud Director UI, find your classroom vApp and click the Open link.

4. Verify that you see only a single vApp.

5. In the center pane, click the Virtual Machines tab.

6. Click the console thumbnail image for your ESXi host.

7. Press F2 to log in to the ESXi host as user root and type root’s password, which you
recorded in “Preparing for the lab.”
8. Using the up and down arrow keys, view the menu selections to become familiar with
the interface, but do not make any changes.
9. Press the Escape key until you are logged out of the DCUI.

10. Press the Ctrl+Alt key to release the insertion point from the ESXi console window.

19
Answer Key for Tasks 3 Through 6
Use the answer key to compare to the command lines that you ran in tasks 3 through 6.
1. What is the time and date on the host?
esxcli hardware clock get
2. How many CPUs are on the host?
esxcli hardware cpu list
3. How much memory does the host have?
esxcli hardware memory get
4. What is the PCI address of vmnic5?
esxcli hardware pci list
5. How many VMFS extents are available to the host?
esxcli storage vmfs extent list
6. List the SCSI host bus adapters.
esxcli storage core adapter list
7. List SCSI path statistics.
esxcli storage core path stats get
8. List datastores available to the host.
esxcli storage filesystem list
9. List information about the NFS datastores available to the host.
esxcli storage nfs list
10. What is the IP address of the DNS server?
esxcli network ip dns server list
11. List the physical NICs on the host.
esxcli network nic list
12. Is a distributed switch available to the host?
esxcli network vswitch dvs vmware list
13. List the standard virtual switch port groups.
esxcli network vswitch standard portgroup list

20
14. How many standard virtual switches are available?
esxcli network vswitch standard list
To display a screen of output at a time, type the following command:esxcli network
vswitch standard list | less
15. List the VMkernel interfaces on the host.
esxcli network ip interface list
To display a screen of output at a time, type the following command:
esxcli network ip interface list | less
16. List the IP address and subnet mask of the VMkernel interfaces on the host.
vicfg-vmknic -l
or
esxcli network ip interface ipv4 get
17. List the default gateway address for the VMkernel interfaces on the host.
vicfg-route -l
or
esxcli network ip route ipv4 list

21
18. How many virtual machines are on the host?
vmware-cmd -l
19. Does the recorded virtual machine have a snapshot?
vmware-cmd path to the .vmx file hassnapshot
For example, if the virtual machine name is RH001 and is located on the datastore named
iSCSI001-DS, then the command line is the following:
vmware-cmd /vmfs/volumes/iscsi001-DS/RH001/RH001.vmx hassnapshot
If the command returns with hassnapshot () = 0, the virtual machine has no
snapshots. If the command returns with hassnapshot () = 1, the virtual machine has
at least one snapshot.
20. How can I get state information about a virtual machine?
vmware-cmd path to the .vmx file getstate
For example, if the virtual machine name is RH001 and is located on the datastore named
iSCSI001-DS, then the command line is the following:
vmware-cmd /vmfs/volumes/iscsi001-DS/RH001/RH001.vmx getstate
21. What is the uptime for the virtual machine whose name you recorded in “Preparing for the
lab?”

vmware-cmd path to the .vmx file getuptime


For example, if the virtual machine name is RH001 and is located on the datastore named
iSCSI001-DS, then the command line is the following: vmware-cmd
/vmfs/volumes/iscsi001-DS/RH001/RH001.vmx getuptime

22
Lab 3
Searching Log Files
Objective: Search log files for events
1. Make changes to the vSphere environment
2. Extract log files from vCenter Server

3. Search log files for event information

4. Clean up for the next lab

Preparing for the lab


Record the following information:
Refer to your worksheet for information

vSphere Management Assistant system name

vSphere Management Assistant user name

vSphere Management Assistant user’s password

vCenter Server system name

vCenter Server user name

vCenter Server user’s password

ESXi host name

ESXi host root password

Virtual Machine Name

23
Task 1: Make changes to the vSphere environment
In this task, you will log in to the VMware vSphere® Web Client and make changes to the
VMware vSphere® environment. Students do the steps in this task individually.
1. Open the Web browser and navigate to the vSphere Web Client home page at
https://vCenter Server system name:9443.
2. Log in to your VMware® vCenter Server™ system. You recorded the vCenter Server
system name, user name, and password in “Preparing for the lab.”
3. Select vCenter > vCenter Servers.

4. Select the vCenter Server system that you recorded and select Manage.

5. Verify that Settings is selected and click Edit.

6. Click Logging settings in the Edit vCenter Server Settings dialog box.

7. In the Logging options drop-down box, change the logging level to verbose.

8. Click OK to close the Edit vCenter Server Settings dialog box.

9. Right-click the ESXi host name that you recorded in “Preparing for the lab” and select
All vCenter Actions > Add Networking.
10. When prompted by the Add Networking wizard, perform the following actions.

Wizard Page Action


Select Connection Type Select Virtual Machine Port Group for a Standard Switch
and click Next.

Select Target Device Select New standard switch and click Next.

Create a Click Next.


Standard
If you get a warning that no physical network adapters for
Switch
the switch exist, click OK.

24
Connection Settings In the Network label field, type your name_Switch.

Click Next.

Ready to Complete Verify that the settings are correct and click Finish.

11. Click the Related Objects tab, then click Networks.

12. Verify that the network you created appears in the list.

13. Right-click the VMware® ESXi™ host and select New Datastore.

14. When prompted by the New Datastore wizard, perform the following actions.

Wizard Page Action


Location Click Next.

Type Select VMFS and click Next.

Name and In the Datastore Name field, type your name_Datastore.


device
Select the LUN that you recorded in “Preparing
selection
for the lab” and click Next.

VMFS Version Select VMFS 5 and click Next.

Partition From the Partition Configuration drop-down


Configurati menu, select Use all available partitions.
on
Click Next.

25
Ready to Complete Verify that all settings are correct and click Finish.

15. In the left pane, double-click the ESXi host.

16. Click the Related Objects tab, then click Datastores.


17. Verify that the datastore you created appears in the list.

Task 2: Extract log files from vCenter Server


In this task, you will collect log files from your ESXi host and vCenter Server system
and save them to your desktop by using the vSphere Web Client. Students do the
steps in this task individually.
1. Click the Home icon at the top of the window.
2. Select vCenter and vCenter Servers.

3. Select your vCenter Server system and click the Monitor tab.

4. Click System Logs.

5. Click Export System Logs.

26
6. When prompted by the Export Logs wizard, perform the following actions.

Wizard Page Action


Source Select the ESXi host.
Select the Include vCenter Server and vSphere Web
Client logs check box.
Click Next.

Ready to Complete Click Generate Log Bundle. Generating the log bundle will
take a few minutes to complete. When log bundle
generation completes, click Download Log Bundle.
Record the name of the log bundle (a ZIP file):
.
Save the log bundle to your desktop. Wait several
minutes for this process to complete.
When the download is complete, click Finish.

27
Task 3: Search log files for event information
In this task, you will search the log files for the time that you performed the system changes in
task
1. Students do the steps in this task individually.
1. On your desktop, double-click the ZIP file that you downloaded in task 2, step 6.

2. Double-click the file named vCenter Server name-vcsupport-date/time


stamp.zip, where vCenter Server name is the name of your vCenter Server system.
3. Double-click the directory named vcsupport-date/time stamp.

4. Double-click the directory named Logs, then double-click the directory named vpxd.

5. Double-click the log file named vpxd-##.log, where ## correlates to the current
version of the vpxd.log file.
By default, the current log file is in .log format. Older log files are compressed and have a
.gz
extension.
6. In the Notepad window, press Ctrl+F.
7. Use the Find function to answer the following questions:

a. Are there any errors noted in the file? If the answer is yes, when
was the last error noted?
b. When did the your name Switch creation process complete?

c. Did the your name Switch process report any errors?

d. When did the your name Datastore process complete?_

e. Did the your name Datastore process report any errors?_


8. Close Notepad and return to the vSphere Web Client.

28
Task 4: Clean up for the next lab
In this task, you will delete the datastore that you created in task 1. Students do the
steps in this task individually.
1. Click the Home icon at the top of the window.
2. Select vCenter, then select Hosts.

3. Select the ESXi host and click the Related Objects tab.

4. Click Datastores.

5. Right-click your name Datastore and select All vCenter Actions > Delete Datastore.

6. Click Yes to confirm the datastore deletion.

7. Click the Home icon at the top of the window

8. Select > Inventory > Hosts and Clusters

9. Select the ESXi System

10. Select Configuration > Networking

11. Remove vSwitch that was created earlier

12. Repeat for all ESXi Host

29
Lab 4
Configuring SSL Certificates
Objective: Configure SSL certificates for vSphere
1. Generate certificate requests for vCenter components
2. Generate certificates

3. Create the PEM chain files

4. Configure parameters in ssl-environment.bat

5. Plan the execution for updating certificates

6. Update the vCenter Single Sign-On certificate

7. Update the Inventory Service certificate

8. Update the vCenter Server certificate

9. Update the vSphere Web Client certificate

10. Verify that the vCenter SSL certificates work properly

11. Generate a certificate request for the ESXi host

12. Generate a certificate for the ESXi host

13. Install the certificate on the ESXi host

14. Verify that the ESXi certificate is working properly

30
Preparing for the lab
Record the following information:

OpenSSL system name


OpenSSL system username

OpenSSL system user’s password

Certificate directory name

Desktop system name


Certificate automation tool directory
SSO administrator user name

SSO administrator password

vCenter Server system name

vCenter Server user name

vCenter Server password


vCenter Server database password

ESXi host name

ESXi host root password


ESXi host certificate directory name

31
Task 1: Generate certificate requests for vCenter components
In this task, you will open a Windows command prompt and generate certificate requests for the
different VMware® vCenter™ components. The sso.cfg, inventoryservice.cfg,
vcenter.cfg, and webclient.cfg configuration files have been preconfigured for you. If the
files does not exist, Please refer to Instructor to run PowerCLI script to generate them.
1. Ask the instructor how to connect to the OpenSSL system. For example, the instructor
might have you use Remote Desktop Connection to connect to the OpenSSL system. You
recorded the OpenSSL system name, user name, and password in “Preparing for the lab.”
2. On the OpenSSL desktop, select Start > Command Prompt.

3. At the command line, run the following command:


cd C:\OpenSSL\bin
4. Generate certificate requests for VMware® vCenter™ Single Sign-On™
by running the following commands:
a. openssl req -new -nodes -out Your cert dir\sso\rui.csr
-keyout Your cert dir\sso\rui-orig.key -config Your
cert dir\sso\sso.cfg
b. openssl rsa -in Your cert dir\sso\rui-orig.key -
out Your cert dir\sso\rui.key
5. Generate certificate requests for the Inventory Service by running the following commands:
a. openssl req -new -nodes
-out Your cert dir\InventoryService\rui.csr
-keyout Your cert dir\InventoryService\rui-orig.key
-config Your cert dir\InventoryService\inventoryservice.cfg
b. openssl rsa -in Your cert dir\InventoryService\rui-orig.key -out
Your cert dir\InventoryService\rui.key
6. Generate certificate requests for VMware® vCenter Server™ by
running the following commands:
a. openssl req -new -nodes -out Your cert dir\vCenter\rui.csr
-keyout Your cert dir\vCenter\rui-orig.key
-config Your cert dir\vCenter\vcenter.cfg
b. openssl rsa -in Your cert dir\vCenter\rui-orig.key
-out Your cert dir\vCenter\rui.key

32
7. Generate certificate requests for the VMware vSphere® Web Client by
running the following commands:
a. openssl req -new -nodes -out Your cert dir\WebClient\rui.csr
-keyout Your cert dir\WebClient\rui-orig.key-config Your cert
dir\WebClient\webclient.cfg
b. openssl rsa -in Your cert dir\WebClient\rui-orig.key
-out Your cert dir\WebClient\rui.key

33
Task 2: Generate certificates
In this task, you will generate SSL certificates from the certificate requests. Students
do the steps in this task individually.
1. On the OpenSSL desktop, open the Internet Explorer Web browser
and type
http://windc01.vclass.local/CertSrv to go to the Microsoft
CA certificate authority Web Interface. (username : Administrator )
2. Click the Request a certificate link, then click advanced certificate request.
3. Click the Submit a certificate request by using a base-64-encoded CMC or
PKCS #10 file, or submit a renewal request by using a base-64--encoded
PKCS #7 file link.

4. Open a Windows Explorer window and navigate to the Your cert dir\sso directory.
5. Right-click the rui.csr file and open the file with Notepad.
6. Copy and paste the contents of the file to the Saved Request box of the Web

page. To select all the contents in the file in Notepad, click Edit > Select All.

CAUTION
Do not use Wordpad to modify files. Use Notepad only. Wordpad uses formatting that
might cause errors in subsequent steps.
7. From the Certificate Template drop-down menu, select the Web Server VMW template
and click the Submit button.
The Web Server VMW is a copy of the Web Server Template that has Allow Encryption of
User Data selected.
8. Select the Base 64 encoded option, then click the Download Certificate link.

9. Select Save.

34
10. In Save as type, select All Files, save the certificate as Your cert dir\sso\rui.crt,
and click the Close button.
11. Click the Home link, located in the upper-right corner.

12. Perform steps 2 through 11 for the Inventory Service, the vCenter Server Service, and
the vSphere Web Client service. Save the .crt file to the appropriate directories:
Your cert dir\InventoryService\rui.crt
Your cert dir\vCenter\rui.crt
Your cert dir\WebClient\rui.crt
13. Click the Home link, located in the upper-right corner.
14. Click Download a CA certificate, certificate chain or CRL.

15. Select the Base 64 option, then click the Download CA Certificate chain link.

16. Click Save and save the file as Your cert dir\cachain.p7b and click Close.

17. In a Windows Explorer window, double-click the cachain.p7b file you just created.
18. In the certificate manager window, expand the folder hierarchy and select the Certificates
folder.
19. Right-click the certificate listed and select All Tasks > Export.

20. Click Next.

21. Select Base-64 encoded X.509 (.CER) and click Next.


22. Save the export file as Your cert dir\root64.cer and click Next.
23. When the export finishes, select Finish.
24. Click OK when the pop-up window displays a successful export
message, then close the certificate manager window.
25. Close the Web browser.

26. Close Notepad.

35
Task 3: Create the PEM chain files
In this task, you will create a PEM certificate chain for vCenter Single Sign-On,
Inventory Service, vCenter Server, and the vSphere Web Client. Students do the
steps in this task individually.
1. Verify that you are logged in to the vCenter Server system.

2. From the vCenter Server desktop, create a file named chain.pem for each service.
a. Using Windows Explorer, go to the Your cert dir\SSO directory.

b. Make a copy of the rui.crt file.


c. Rename the copy to chain.pem.

d. Open the chain.pem file with Notepad.

e. In a second Notepad instance, open Your cert dir\Root64.cer.

f. Copy and paste the contents of the Root64.cer file into chain.pem
after the certificate section.
g. Verify that no whitespace is between the certificates in the file. After
the changes are complete, the file resembles the following
screenshot.

36
h. Save the chain.pem file and exit Notepad.
i. Repeat steps a through h to create a chain.pem file for the Inventory Service, the
vCenter Server service, and the vSphere Web Client service. The rui.crt file for
each service is located in the following directories:
Your cert dir\InventoryService
Your cert dir\vCenter
Your cert dir\WebClient
j. Exit Notepad.

37
Task 4: Configure parameters in ssl-environment.bat
In this task, you will set the values of parameters in the ssl-environment.bat file. Students
do the steps in this task individually.
1. Using the Windows Explorer window, navigate to the certificate automation tool
directory, whose name you recorded in “Preparing for the lab.”
2. Open the ssl-environment.bat file with Notepad. Modify the following entries as
follows:
set sso_cert_chain=Your cert dir\SSO\chain.pem

Replace Your cert dir with the certificate directory name that you recorded in
“Preparing for the lab.”
set sso_private_key=Your cert dir\SSO\rui.key

set sso_node_type=Single
set is_cert_chain=Your cert dir\InventoryService\chain.pem
set is_private_key_new=Your cert dir\InventoryService\rui.key
set vc_cert_chain=Your cert dir\vCenter\chain.pem
set vc_private_key=Your cert dir\vCenter\rui.key
set ngc_cert_chain=Your cert dir\WebClient\chain.pem
set ngc_private_key=Your cert dir\WebClient\rui.key

set sso_admin_user=SSO administrator user.

You recorded the SSO administrator user name in “Preparing

for the lab.”a

set vc_username=vCenter Server user. You recorded the vCenter


Server user name in “Preparing for the lab.”
3. Save and exit the file.

38
Task 5: Plan the execution for updating certificates
In this task, you will use the Certificate Update Automation Tool to create a plan
of execution for updating the certificates for vCenter Single Sign-On, Inventory
Service, vCenter Server, and vSphere Web Client. Students do the steps in this
task individually.
1. On the vCenter Server desktop, select Start > Command Prompt.
2. At the command prompt, type the following command line:

cd path name of SSL certificate updater tool


You recorded the certificate automation tool directory in “Preparing for the lab.”
3. Start the SSL updater by typing the following command:
ssl-updater
4. At the main menu, type 1 to plan the steps to update SSL certificates.

5. Type 1,2,3,5 to update the certificates for vCenter Single Sign-On,


Inventory Service, vCenter Server, and vSphere Web Client.
6. Scroll up to view the plan that the tool created for you.

7. Type 9 to return to the main menu.


8. Leave the tool open for another task.

39
Task 6: Update the vCenter Single Sign-On certificate
In this task, you will use the Certificate Update Automation Tool to update the vCenter Single
Sign- On certificate. You will perform all actions on the vCenter Server system, where the
vCenter Single Sign-On service is installed. Students do the steps in this task individually.
1. In the main menu, type 3 to update vCenter Single Sign-On.

2. Type 1 to update the vCenter Single Sign-On SSL certificate. Answer the prompts as follows:
a. Press Enter to accept the default location to the new Single Sign-On SSL chain.

ssl-updater reads the default values from the ssl-environment.bat file.

b. Press Enter to accept the default location to the new Single Sign-On SSL private key.

c. Type the Single Sign-On administrator password. You recorded the SSO
administrator password in “Preparing for the lab.”
d. Type no when asked if you have a load balancer installed.
e. Verify that the task completes successfully.

3. Type 3 to return to the main menu.


4. In the main menu, type 4 to update the Inventory Service.

5. Type 1 to update the Inventory Service Trust to Single Sign-On.


6. Verify that the task completes successfully.

40
Task 7: Update the Inventory Service certificate
In this task, you will use the Certificate Update Automation Tool to update the Inventory
Service certificate. You will perform all actions on the vCenter Server system, where the
Inventory Service is installed. Students do the steps in this task individually.
1. In the Update Inventory Service menu, type 3 to update the Inventory Service SSL certificate.
2. Answer the prompts as follows:
a. Press Enter to accept the default location to the new Inventory Service SSL chain file.

b. Press Enter to accept the default location to the new Inventory Service private key.

c. Press Enter to accept the default Single Sign-On administrator user.

d. Type the Single Sign-On administrator password.

You recorded the SSO administrator password in “Preparing for the lab.”
e. Verify that the task completes successfully.

3. Type 5 to return to the main menu.

41
Task 8: Update the vCenter Server certificate
In this task, you will use the Certificate Update Automation Tool to update the vCenter
Server Trust to vCenter Sign-On. You will also update the vCenter Server certificate.
You will perform all actions on the vCenter Server system. Students do the steps in
this task individually.
1. In the main menu, type 5 to update vCenter Server.

2. Type 1 to update the vCenter Server Trust to Single Sign-On.


a. Press Enter to accept the default location to the new vCenter Single Sign-On SSL chain.
b. Verify that the task completes successfully.

3. In the main menu, type 2 to update the vCenter Server SSL certificate. Answer
the prompts as follows:
a. Press Enter to accept the default location to the new vCenter Server SSL chain.

b. Press Enter to accept the default location to the new vCenter Server private key.

c. Press Enter to accept the default vCenter Server administrator user.

d. Type the vCenter Server administrator password that you recorded in


“Preparing for the lab.”
e. Type the vCenter Server database password that you recorded in “Preparing for the lab.”
f. Press Enter to accept the default Single Sign-On administrator user.

g. Type the Single Sign-On administrator password that you recorded in


“Preparing for the lab.”
h. Verify that the task completes successfully.

42
4. Type 3 to update the vCenter Server Trust to Inventory Service.
5. Verify that the task completes successfully.

6. Type 5 to return to the main menu.


7. In the main menu, type 4 to update the Inventory Service.

8. Type 2 to update the Inventory Service Trust to vCenter Server.


9. Verify that the task completes successfully.

10. Type 5 to return to the main menu.

43
Task 9: Update the vSphere Web Client certificate
In this task, you will use the Certificate Update Automation Tool to update the vSphere Web
Client Trust to vCenter Single Sign-On. You will also update the vSphere Web Client certificate.
You will perform all actions on the vCenter Server system, where the vSphere Web Client is
installed.
Students do the steps in this task individually.
1. In the main menu, type 7 to update the vSphere Web Client.

2. Type 1 to update the vSphere Web Client Trust to Single Sign-On.


a. Press Enter to accept the default Single Sign-On administrator user.
b. Type the Single Sign-On administrator password that you recorded in “Preparing for
the lab.”
c. Verify that the task completes successfully.

3. Type 2 to update the vSphere Web Client Trust to Inventory Service.


4. Verify that the task completes successfully.

5. Type 3 to update the vSphere Web Client Trust to vCenter Server.


6. Verify that the task completes successfully.

7. Type 4 to update the vSphere Web Client SSL certificate.


8. Answer the prompts as follows:

a. Press Enter to accept the default location to the new Web Client SSL chain.

b. Press Enter to accept the default location to the new Web Client private key.

c. Press Enter to accept the default Single Sign-On administrator user.

d. Type the Single Sign-On administrator password that you recorded in “Preparing for
the lab.”
e. Verify that the task completes successfully.

9. Type 9 to return to the main menu.

10. Type 9 to exit the tool.

44
Task 10: Verify that the vCenter SSL certificates work properly
In this task, you will verify that the SSL certificates for the vCenter components
work properly. If the SSL certificates for the vCenter components do not work
properly, you will roll back the SSL certificates in task 11. Students do the steps in
this task individually.
1. If you are logged in to the vSphere Web Client, log out now.
2. Log back in to the vSphere Web Client. Use the vCenter Server user name
and password that you recorded in “Preparing for the lab.”
3. Verify that you can access the vCenter Server inventory and go to task 12.

4. If you receive certificate errors or authentication errors, recheck your work.

5. If after verifying your work, the SSL certificates still do not work properly, go to task 11.

Task 11: (Optional) Roll back the system to use the original certificates
Perform the following steps only if the SSL certificates do not work properly. If the
SSL certificates work properly, go to task 12.
1. In the command prompt window, restart the SSL updater:
ssl-updater
2. Type 7 to update the vSphere Web Client.
3. Type 7 to roll back to the previous vSphere Web Client SSL certificate.
4. Press Enter to accept the default Single Sign-On administrator user.
5. Type the Single Sign-On administrator password that you recorded in “Preparing for the lab.”

6. Verify that the rollback of the vSphere Web Client certificate is successful.

7. Type 9 to return to the main menu.

8. Type 5 to update vCenter Server.

9. Type 4 to roll back to the previous vCenter Server SSL certificate.


10. Press Enter to accept the default vCenter Server administrator user.
11. Type the vCenter Server administrator password that you recorded in “Preparing for the lab.”

12. Type the vCenter Server database password that you recorded in “Preparing for the lab.”

45
13. Press Enter to accept the default Single Sign-On administrator user.

14. Type the Single Sign-On administrator password that you recorded in “Preparing for the lab.”

15. Verify that the rollback of the vCenter Server certificate is successful.

16. Type 5 to return to the main menu.

17. Type 4 to update the Inventory Service.

18. Type 4 to roll back to the previous Inventory Service SSL certificate.
19. Press Enter to accept the default Single Sign-On administrator user.
20. Type the Single Sign-On administrator password that you recorded in “Preparing for the lab.”

21. Verify that the rollback of the Inventory Service certificate is successful.

22. Type 5 to return to the main menu.

23. Type 3 to update the Single Sign-On.

24. Type 2 to roll back to the previous Single Sign-On SSL certificate.
25. Verify that the rollback is successful.

26. Type 3 to return to the main menu.


27. Type 9 to exit the tool.

46
Task 12: Generate a certificate request for the ESXi(1,2) host
In this task, you will generate a certificate request for the VMware® ESXi™ host. Students
have to repeat for each ESXi host in the vcenter individually.
1. On the OpenSSL system’s desktop, select Start > Command Prompt.
2. Navigate to the OpenSSL directory:
cd C:\OpenSSL\bin
3. Generate certificate requests for the ESXi host by running the following commands:

a. openssl req -new -nodes -out ESXi cert dir\rui.csr


-keyout ESXi cert dir\rui-orig.key
-config ESXi cert dir\esxi0X.cfg
ESXi cert dir is the ESXi host certificate directory name that you recorded in
“Preparing for the lab.”
b. openssl rsa -in ESXi cert dir\rui-orig.key
-out ESXi cert dir\rui.key
4. Verify that the rui.csr and rui.key files are created in the ESXi cert dir directory.

47
Task 13: Generate a certificate for the ESXi host
In this task, you will generate a certificate for the ESXi host. Students do the
steps in this task individually.
1. On the OpenSSL system, to open a Web browser and access the
Microsoft CA certificate authority Web interface, go to
http://localhost/CertSrv.
2. Select Request a certificate and click advanced certificate request.

3. Click the Submit a certificate request by using a base-64-encoded CMC or


PKCS #10 file, or submit a renewal request by using a base-64-encoded
PKCS #7 file link.
4. In a Windows Explorer window, navigate to ESXi cert dir.
5. Open the rui.csr file with Notepad.

6. Copy the contents of the file starting with the line -----BEGIN CERTIFICATE REQUEST--
--
- and ending with the line -----END CERTIFICATE REQUEST-----.
7. Paste the contents to the Saved Request box in the Web browser.

8. From the Certificate Template drop-down menu, click the Web Server VMW link and
select
Submit.
9. Select the Base 64 encoded option and click the Download certificate link.

10. Click the Save button.

11. In the Save as type text box, select All Files and save the certificate
as ESXi cert dir\rui.crt.
12. Exit the Web browser.
13. Exit Notepad.

48
Task 14: Install the certificate on the ESXi host
In this task, you will install the certificate on the ESXi host. Students do the steps
in this task individually.
1. On your student desktop system, use the VMware vSphere® Client™ to log
in to the vCenter Server system.
You recorded your vCenter Server system name, user name, and password in
“Preparing for the lab.”
2. Select Home > Inventory > Hosts and Clusters. Expand the inventory until
you see the ESXi host and its virtual machines.
You recorded the ESXi host name in “Preparing for the lab.”

3. Verify that the virtual machines are powered off.

4. Right-click the ESXi host and select Enter Maintenance Mode.

5. Click Yes to confirm entering maintenance mode.

When the process completes, the ESXi host icon displays a yellow and black stripe.
6. Minimize the vSphere Client window.

7. Log in to the ESXi host command line:

a. On the OpenSSL system’s desktop, to start a PuTTY session, double-click the PuTTy
icon.
b. In the Host Name (or IP address) text box, type the ESXi host name and click Open.

c. If a PuTTY Security Alert window is displayed, click Yes.

d. At the login prompt, type root for the user name and the ESXi host root password that
you recorded in “Preparing for the lab.”
When you are logged in, you are placed at the ESXi host command prompt.
8. Back up the existing SSL certificate files.

a. At the ESXi command line, to create a backup directory for the current ssl files, type
the following command:
mkdir /backupcerts
b. To move the current certificate files to the backup directory, type the following

49
command:
mv /etc/vmware/ssl/* /backupcerts
c. To verify that the current certificate files were moved to the backup directory, type
the following command:
ls /backupcerts
d. Minimize the PuTTY session window. You will use this window in another step.

9. Copy the ESXi host’s certificate files from the OpenSSL system to the ESXi host.

a. On the OpenSSL system’s desktop, double-click the WinSCP icon.

b. To log in to the ESXi host, use WinSCP. Type the ESXi host name, root for the user
name, and the root password that you recorded in “Preparing for the lab.”
c. On the left pane of the WinSCP window, navigate to the ESXi host certificate
directory, whose name you recorded in “Preparing for the lab.”
d. On the right pane of the WinSCP window, navigate to the /etc/vmware/ssl directory.
e. To copy the rui.crt and rui.key files from the ESXi certificate
directory on the OpenSSL system to the SSL directory on the ESXi
host, drag the two files from ESXi cert dir to the
/etc/vmware/ssl directory on the ESXi host.
f. Close the WinSCP window.
10. Restart the management agents on the ESXi host.

a. Maximize the PuTTY session window.

If you logged out of PuTTY, perform task 14, step 7 to log back in to the
ESXi host with PuTTY.
b. At the root command prompt, type dcui to access the ESXi host’s DCUI.
c. Press F2 to display the login screen, and log in as user root, using the
ESXi host password that you recorded in “Preparing for the lab.”
d. Using the up and down arrow keys, select Troubleshooting Options and press Enter.

e. Select Restart Management Agents and press Enter.

f. When prompted, to restart the agents, press F11.

g. Wait for the agents to restart.

50
h. To log out of the DCUI, press and hold the Escape key.

11. Take the ESXi host out of maintenance mode.

a. Maximize the vSphere Client window.

b. Right-click the ESXi host and select Exit Maintenance Mode.

c. Verify that you can access the ESXi host successfully.

Task 15: Verify that the ESXi certificate is working properly


In this task, you will verify that the ESXi certificate was installed correctly. Students
do the steps in this task individually.
1. Using the vSphere Client, remove the ESXi host from the vCenter Server inventory.

2. Add the ESXi host to the vCenter Server inventory.

3. Type connection values in the Add Host wizard.


4. Verify that you do not see a security alert that resembles the following:

If you do not see this security alert, you have properly installed the ESXi SSL certificate.

NOTE :
^Once you have done Lab 4, Please Revert all the VM in Workstation to LAB5 Snapshot
^Please refer Instructor for more information.

51
Lab 5
Virtual Network Scenario (1)
Objective: Identify, diagnose, and resolve a
virtual networking problem
1. Run the break-5-1.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:
Refer to your worksheet for information
Desktop user name
Desktop password

vSphere Web Client address


vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name

Virtual machine password


Virtual machine gateway address

52
Task 1: Run the break-5-1.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-1 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on the desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc\
3. Type .\break-5-1.ps1. If you get a security warning, type R then press
Enter. Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

53
Task 2: Verify that the system is not functioning properly
In this task, a user has reported to you that a virtual machine cannot access resources on the
network. Immediately after discussing the issue with the user, you receive another call from
another user reporting similar issues. The network team reports that the network has no issues
and that they can ping the default gateway from the physical switch. In addition to fixing the
issue for the users, verify that the virtual environment is sound. If you can ping the default
gateway of the virtual machine, ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > VMs and Templates.

5. Expand the inventory. Right-click the virtual machine name that you recorded in
“Preparing for the lab” and select Power On.

If you are powering on a virtual machine for the first time, you might get the following error:
This virtual machine might have been moved or copied. In order to
configure certain management and networking features, VMware ESX
needs to know if this virtual machine was moved or copied. If you don’t
know, answer “I copied it.” If this is the case, go to the virtual machine’s
Summary tab and select I copied it. The virtual machine then powers on.
6. Right-click the virtual machine name that you recorded and select Open Console.
7. Log in to the virtual machine with the user name and password that you
recorded in “Preparing for the lab.”
8. Open a command prompt window in the virtual machine.

9. Ping the virtual machine’s default gateway that you recorded in

“Preparing for the lab.” The ping command is unsuccessful.


10. If the ping command is successful, ask the instructor for help.

54
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the network.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles, available at http://kb.vmware.com
• The Internet

55
Lab 6
Virtual Network Scenario (2)
Objective: Identify, diagnose, and resolve a
virtual networking problem
1. Run the break-5-2.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information: Refer to your worksheet for information

vSphere Web Client address


vCenter Server system name
vCenter Server user name

vCenter Server password

Virtual machine name

Virtual machine user name

Virtual machine password

56
Task 1: Run the break-5-2.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-2 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on the desktop system to
start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-2.ps1. If you see a security warning, type R and press
Enter.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the
instructions displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, virtual machine administrators are reporting that they cannot
open a SAN Datastore in both Esxi Host. You will verify that the problem exists.
If you can open the SAN Datasore, ask the instructor for help.

1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > Storage.

5. Verify that your iSCSI storage inaccessible .”

6. If the host does not display this status, refresh the window or wait for 60 seconds.

57
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles, available at http://kb.vmware.com
• The Internet

58
Lab 7
Virtual Network Scenario (3)
Objective: Identify, diagnose, and resolve a
virtual networking problem
1. Run the break-5-3.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

vSphere Web Client address


vCenter Server system name
vCenter Server user name vCenter
Server password ESXi host name

59
Task 1: Run the break-5-3.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on the desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-3.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, an administrator who supports vCenter Server is reporting that the vCenter
Server system lost contact with a VMware® ESXi™ host. You will verify that the problem
exists. If you see the ESXi host connected in vCenter Server, ask the instructor for help.
7. In the desktop system, double-click the Web browser.

8. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

9. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the vSphere Web Client.
10. Select vCenter > Hosts and Clusters.

11. Verify that your ESXi host has a status of “Not Responding.”

12. If the host does not display this status, refresh the window or wait for 60 seconds.

13. If the ESXi host remains connected, ask the instructor for help.

60
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the network.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and ESXi host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

61
Lab 8
Creating a Distributed Switch
Objective: Create a distributed switch
1. Create a distributed switch
2. Verify that the distributed switch was created properly

Preparing for the lab


Record the following information:

vSphere Web Client address

vCenter Server system name

vCenter Server user name

vCenter Server password

62
Task 1: Create a distributed switch
In this task, you will run a script that creates a distribute switch. Students do the steps in this
task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
VMware vSphere® PowerCLI™ session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-4-vDS.ps1.
4. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the distributed switch was created properly


In this task, you will verify that the distributed switch is listed in the networking inventory.
Students do the steps in this task individually.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter.

5. In the left pane, select Distributed Switches.

6. Verify that the distributed switch is listed in the inventory.

7. Exit the vSphere Web Client.

63
Lab 9
Virtual Network Scenario (4)
Objective: Identify, diagnose, and resolve a
virtual networking problem
1. Run the break-5-4.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the virtual network is repaired

Preparing for the lab


Record the following information:

vSphere Web Client address

vCenter Server system name

vCenter Server user name

vCenter Server password

First virtual machine name

Second virtual machine name

Virtual machine user name

Virtual machine password

64
Task 1: Run the break-5-4.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-4 script.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-4.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a virtual machine administrator reports that two virtual machines cannot
communicate in the network. You will verify that the problem exists. If you find that the virtual
machines can communicate with each other, ask the instructor for help.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the vSphere Web Client.
4. Click vCenter > VMs and Templates.
5. Right-click the first virtual machine name that you recorded in “Preparing for the lab”
and select Open Console.
6. Log in to the first virtual machine with the virtual machine user name and password that
you recorded in “Preparing for the lab.”
7. Open a command prompt window and ping the second virtual machine’s IP address.
You are unable to ping the virtual machine.

65
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the network.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

66
Lab 10
Virtual Network Scenario (5)
Objective: Identify, diagnose, and resolve a
virtual networking problem
1. Run the break-5-5.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the virtual network is repaired

Preparing for the lab


Record the following information:

vSphere Web Client address


vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

67
Task 1: Run the break-5-5.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-5 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-5.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

68
Task 2: Verify that the system is not functioning properly
In this task, a VMware® vCenter Server™ administrator reports that the vCenter Server system
lost contact with a VMware® ESXi™ host. You will verify that the problem exists. If you see
the ESXi host connected in the vCenter Server system, ask the instructor for help.

In the desktop system, double-click the Web browser.


1. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
2. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
3. Click vCenter > Hosts and Cluster.
4. Both host are down.

Task 3: Troubleshoot and repair the problem


In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the network.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

69
Lab 11
Virtual Network Scenario (6)
Objective: Identify, diagnose, and
resolve a virtual networking problem
1. Run the break-5-6.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

vSphere Web Client address

vCenter Server systemname

vCenter Server user name

vCenter Server password

vSphere Web Client address

Virtual machine name

Virtual machine user name

Virtual machine password

70
Task 1: Run the break-5-6.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-5-6 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to
start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-5-6.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

71
Task 2: Verify that the system is not functioning properly
In this task, a virtual machine administrator reports that two virtual machines
cannot communicate in the network. You will verify that the problem exists
. If you find that the virtual machines can communicate with each other, ask the instructor for
help.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in
“Preparing for the lab.”
3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the vSphere Web Client.
4. Click vCenter > VMs and Templates.
5. Expand the inventory and locate the second virtual machine,
whose name you recorded in “Preparing for the lab.”
Record its IP address here:
6. Right-click the first virtual machine name that you recorded in “Preparing for the lab”
and select Open Console.
7. Log in to the first virtual machine with the virtual machine user name and
password that you recorded in “Preparing for the lab.”
8. Open a command prompt window and ping the second virtual machine’s
IP address that you recorded in step 5.
You are unable to ping the virtual machine.

72
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the network.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

73
11
Lab 12
Creating a Standard Switch
Objective: Create a Standard switch
1. Create a Standard switch
2. Verify that the Standard switch was created properly

Preparing for the lab


Record the following information:

vSphere Web Client address


vCenter Server system name
vCenter Server user name
vCenter Server password

74
Task 1: Create a Standard switch
In this task, you will run a script that creates a distribute switch. Students do the steps in this
task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
5. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
VMware vSphere® PowerCLI™ session.
6. In the vSphere PowerCLI window, type cd \sc.
7. Type .\break-5-7.ps1.
8. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the Standard switch was created properly


In this task, you will verify that the Standard switch is listed in the networking inventory.
Students do the steps in this task individually.
8. In the desktop system, double-click the Web browser.
9. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
10. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
11. Select vCenter.

12. In the left pane, select Standard Network.

13. Verify that the standard switch is listed in the inventory.

14. Exit the vSphere Web Client.

75
Lab 13
Storage Scenario (1)
Objective: Identify, diagnose, and resolve a
storage problem
1. Run the break-6-1.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

76
Task 1: Run the break-6-1.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-6-1 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-6-1.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, ESXi system lost connection to iSCSI datastore. You will verify that the problem
exists..
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > Hosts and Clusters > Host > Storage > Storage Adapter > iSCSI
Software Adapter > Paths .

5. Under Paths , its should report Dead

77
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the NFS datastore.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
• This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
• See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

78
Lab 14
Storage Scenario (2)
Objective: Identify, diagnose, and resolve a
storage problem
1. Run the break-6-2.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

79
Task 1: Run the break-6-2.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-6-2 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-6-2.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot Power On a Virtual Machine in NFS Datastore, you investigate
and confirmed the problem.
1. In the desktop system, double-click the Web browser.

2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > VMs and Templates.

5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On.
Power On will Fail.
6. If the system can power on, ask the instructor for help.

80
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the iSCSI LUNs.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

81
Lab 15
Storage Scenario (3)
Objective: Identify, diagnose, and resolve a
storage problem
1. Run the break-6-3.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

82
Task 1: Run the break-6-3.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-6-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-6-3.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

83
Task 2: Verify that the system is not functioning properly
In this task, a user notices that storage performance is slow.
After investigating the problem, the user determines that the affected datastore has only one
path.
If you find that the affected datastore has more than one path, ask the instructor for help.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in
“Preparing for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in
“Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > Datastores.

5. Select the affected datastore whose name you recorded in “Preparing for the lab.”

6. Click the Manage tab.

7. Click the Settings tab and select Connectivity and Multipathing.

8. Select your VMware® ESXi™ host.


9. Expand the view for paths by clicking the arrow to the left of Paths.

Only half of the total number of expected paths is displayed. For example, if
you expect to see two paths, then only one path is displayed.
10. If all expected paths are displayed, ask the instructor for help.

84
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the iSCSI LUNs.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
• This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
• See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

85
Lab 16
Storage Scenario (4)
Objective: Identify, diagnose, and resolve a
storage problem
1. Run the break-6-4.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

86
Task 1: Run the break-6-4.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-6-4 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-6-4.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot access virtual machines that are located on iSCSI datastores. You
will verify that the problem exists. If you can access the virtual machines that are located on
iSCSI datastores, ask the instructor for help.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in “Preparing
for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in “Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > VMs and Templates.

5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Open Console.
The console opens but you cannot access the virtual machine with its console.
6. If you can access the virtual machine with its console, ask the instructor for help.

87
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the iSCSI LUNs.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

88
Lab 17
Storage Scenario (5)
Objective: Identify, diagnose, and resolve a
storage problem
1. Run the break-6-5.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

89
Task 1: Run the break-6-5.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-6-5 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to
start a vSphere PowerCLI session.
2. In the PowerCLI window, type cd \sc.
3. Type .\break-6-5.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

90
Task 2: Verify that the system is not functioning properly
In this task, a user notices that storage performance is slow.
After investigating the problem, the user determines that the affected datastore has only one
path.
If you find that the affected datastore has more than one path, ask the instructor for help.
1. In the desktop system, double-click the Web browser.
2. Type the address of the VMware vSphere® Web Client that you recorded in
“Preparing for the lab.”
3. Using the VMware® vCenter Server™ user name and password that you
recorded in
“Preparing for the lab,” log in to the vSphere Web Client.
4. Select vCenter > Datastores.

5. Select the affected datastore whose name you recorded in “Preparing for the lab.”

6. Click the Manage tab.

7. Click the Settings tab and select Connectivity and Multipathing.

8. Select your VMware® ESXi™ host.


9. Expand the view for paths by clicking the arrow to the left of Paths.

Only half of the total number of expected paths is displayed. For example, if
you expect to see two paths, then only one path is displayed.
10. If all expected paths are displayed, ask the instructor for help.

91
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the iSCSI LUNs.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

92
Lab 18
Creating a vSphere Cluster
Objective: Create a vSphere cluster
1. Create a vSphere HA and vSphere DRS cluster
2. Verify that the vSphere cluster was created

Preparing for the lab


Record the following information:

ESXi host name

ESXi host root password

Team vCenter Server system name

Team vCenter Server user name

Team vCenter Server password

93
Task 1: Create a vSphere HA and vSphere DRS cluster
In this task, you will run a script that creates a cluster configured for
VMware vSphere® High Availability and
VMware vSphere® Distributed Resource Scheduler™ (DRS).
.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a VMware vSphere® PowerCLI™ session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-1-cluster.ps1.
4. Leave the vSphere PowerCLI window open for the next lab.

Task 2: Verify that the vSphere cluster was created


In this task, you will view the VMware vSphere® cluster and you will verify that the cluster
was created properly.
1. Use VMware vSphere® Client™ to log in to your team vCenter Server system.

You recorded the team vCenter Server system name, user name, and password in
“Preparing for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Verify that you have a cluster named Lab Cluster, which has the following configuration:

• Two ESXi hosts (ESXi01 & ESXi02)


• A resource pool named rProduction that contains two virtual machines
• A resource pool named rDevelopment t that contains two virtual machines
4. Leave the vSphere Client window open for the next lab.

94
Lab 19
Cluster Scenario (1)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-1.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machines name

Virtual machine user name


Virtual machine password

95
Task 1: Run the break-7-1.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-1 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-1.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot power on a virtual machine in the rProduction resource pools. You will
verify that the problem exists. If you can power the virtual machine in the resource pools, ask the
instructor for help.
1. Use the VMware vSphere® Client™ to log in to your team vCenter Server system.
You recorded the team VMware® vCenter Server™ system name, user name, and
password in “Preparing for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power on.
You cannot power on the virtual machine.
You must work only with the virtual machines located in the rProduction resource pools.
4. If the virtual machine powers on, ask the instructor for help.

96
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, once the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

97
Lab 20
Cluster Scenario (2)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-2.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

98
Task 1: Run the break-7-2.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-2 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-2.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot migrate a virtual machine. You will verify that the problem exists. If
you can migrate a virtual machine, ask the instructor for help. Each student in the team can do
this task individually.
1. Use the VMware vSphere® Client™ to log in to vCenter Server system. You
recorded the VMware® vCenter Server™ system name, user name, and password in
“Preparing for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Find the virtual machine name that you recorded in “Preparing for the lab.” Verify that
this virtual machine is powered on.
4. Right-click the virtual machine and select Migrate. Migrate the virtual machine to the
other ESXi host in the cluster.
You cannot migrate the virtual machine to the other VMware® ESXi™ host.
5. If you can migrate the virtual machine, ask the instructor for help.

99
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, after the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, vCenter Server, and ESXi host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

100
Lab 21
Cluster Scenario (3)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-3.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

101
Task 1: Run the break-7-3.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-3 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-3.ps1.
Verify that you see the [May the Force be with you].
4. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
5. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, you will respond to VMware vSphere® High Availability issues that are reported by
the system. You will verify that the problem exists. If you do not notice any vSphere HA issues,
ask the instructor for help. Each student in the team can do this task individually.
1. Use the VMware vSphere® Client™ to log in to your team vCenter Server system.
You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Select your lab cluster in the inventory and click the Summary tab.

4. Click the Configuration Issues link.

One or more configuration issues are displayed. Resolve only the vSphere HA issues.
5. If no vSphere HA issues are listed, ask the instructor for help.

102
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, once the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

103
Lab 22
Cluster Scenario (4)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-4.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

104
Task 1: Run the break-7-4.ps1 script
In this task, you will use the VMware vSphere® PowerCLI™ to run the break-7-4 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-4.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

105
Task 2: Verify that the system is not functioning properly
In this task, you receive complaints about the performance of some virtual machines that reside
in a VMware vSphere® cluster. You will verify that the problem exists. If you do not notice
performance problems with the virtual machines in the cluster, ask the instructor for help. Each
student in the team can do this task individually.
1. Use VMware vSphere® Client™ to log in to your team vCenter Server system.
You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Select your lab cluster in the inventory, then click the Summary tab.

4. In the vSphere DRS pane1, click the View Resource Distribution Chart link. CPU
utilization is displayed. Determine whether the CPU resources of the hosts are utilized
evenly.
5. Click Memory.

Determine whether the memory resources of the hosts are utilized evenly.
6. Close the DRS Resource Distribution window.
7. If the hosts are not utilized evenly, click the DRS tab. In the Recommendations pane, click
the
Run DRS link.
You do not see any recommendations. Determine why host utilization is not balanced.
8. If VMware vSphere® Distributed Resource Scheduler™ successfully balances
host utilization, ask the instructor for help.

106
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, once the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

107
Lab 23
Cluster Scenario (5)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-5.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password

28
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machine names

Virtual machine user name


Virtual machine password

108
Task 1: Run the break-7-5.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-5 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-5.ps1.
4. Verify that you see the [May the Force be with you]

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user reports that a virtual machine will not start in either the rDevelopment or
rProduction resource pools. You will verify that the problem exists. If can start the virtual
machine, ask the instructor for help. Each student in the team can do this task individually.
1. Use the VMware vSphere® Client™ to log in to your team vCenter Server system.

You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Right-click the virtual machines names that you recorded in “Preparing for the lab” and select
Power on.
You cannot power on the virtual machines.
You must work with only the virtual machines located in the rDevelopment and rProduction
resource pools.
4. If the virtual machines power on, ask the instructor for help.

109
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, after the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

110
Lab 24
Cluster Scenario (6)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-6.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machines name

Virtual machine user name


Virtual machine password

111
Task 1: Run the break-7-6.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-6 script.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc

3. Type .\break-7-6.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a ESXi host went maintenance and came back and not in Cluster, attempt to add
into cluster fails the vSphere HA. You verify by performing the attempt.
1. Use the VMware vSphere® Client™ to log in to vCenter Server system.

You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.

3. Find the ESXi host that you recorded in “Preparing for the lab.”

4. Verify that this ESXi host is not in the cluster

5. Right-click the ESXi Host and exit maintenance and attempt to join back to Cluster

After Adding, check the status, it reports vSphere HA State Uninitialized


6. If you can add without problem, ask the instructor for help.

112
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, after the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and ESXi host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

113
Lab 25
Cluster Scenario (7)
Objective: Identify, diagnose, and resolve a
cluster problem
1. Run the break-7-7.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machines name

Virtual machine user name


Virtual machine password

114
Task 1: Run the break-7-7.ps1 script
In this task, you will use the VMware vSphere® PowerCLI™ to run the break-7-7 script. Only
student A performs the steps in this task.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI (32-Bit) icon on your desktop system to
start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc
3. Type .\break-7-7.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, you receive complaints about the performance of some virtual machines that reside
in a vSphere cluster. You will verify that the problem exists. If you do not notice performance
problems with the virtual machines in the cluster, ask the instructor for help. Each student in
the team can do this task individually.
1. Use the VMware vSphere Client to log in to your team vCenter Server system.
You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.
3. Select your lab cluster in the inventory, then click the Summary tab.

4. In the vSphere DRS pane1 view the vSphere DRS chart.

Determine whether the memory resources of the hosts are utilized evenly.
5. If the hosts are not utilized evenly, click the Monitor tab.

115
6. Click the vSphere DRS tab.

7. In the Recommendations pane, click the Run DRS link.

You do not see any recommendations. Determine why host utilization is not balanced.
8. If VMware vSphere® Distributed Resource Scheduler™ successfully balances
host utilization, ask the instructor for help.

116
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the cluster.

NOTE
Students in a team can troubleshoot the problem individually. However, once the
problem is identified, students in a team must work together to fix the problem.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network, storage,
and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

117
31
Lab 26
Cluster (8)
Objective: Remove vSphere cluster
1. Run the break-7-8.ps1 script

2. Verify that the system is not functioning properly

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
Team vCenter Server system name
Team vCenter Server user name
Team vCenter Server password
Virtual machines name

Virtual machine user name


Virtual machine password

118
Task 1: Run the break-7-8.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-7-8 script.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc

3. Type .\break-7-8.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system functioning properly


In this task, You will remove all cluster and set the Esxi host to be in Datacenter.
1. Use the VMware vSphere® Client™ to log in to your team vCenter Server system.

You recorded the team vCenter Server system name, user name, and password in “Preparing
for the lab.”
2. Select Home > Inventory > Hosts and Clusters.
3. Verify that you do not have any Cluster.

119
Lab 27
ESXi/vCenter Scenario (1)
Objective: Identify, diagnose, and resolve an
ESXi host or vCenter Server problem
1. Verify that your ESXi host is in the Training data center
2. Run the break-8-1.ps1 script

3. Verify that the system is not functioning properly

4. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

vCenter Server system name


vCenter Server user name
vCenter Server password
ESXi host name

ESXi host root password


vSphere Web Client address

120
Task 1: Verify that your ESXi host is in the vClassDC data center
In this task, you will verify that your ESXi host is in the vClassDC
data center and not in the lab cluster.

1. Using VMware vSphere® Client™, log in to your VMware® vCenter Server™ system.

You recorded your vCenter Server system name, user name, and password in
“Preparing for the lab.”
2. Verify that your ESXi host is located directly in your vCenterDC data center and
not in the lab cluster.
3. Exit vSphere Client.

Task 2: Run the break-8-1.ps1 script


In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-1 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-8-1.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

121
Task 3: Verify that the system is not functioning properly
In this task, a user cannot log in to the VMware® vCenter Server™ system.
You will verify that the problem exists. If you can log in to the vCenter Server system,
ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the VMware vSphere® Web Client that you recorded in
“Preparing for the lab.”
3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the vSphere Web Client.

4. Verify that you cannot access your vCenter Server system from within the vSphere Web
Client.
5. If you can access your vCenter Server system from within the vSphere
Web Client, ask the instructor for help.

Task 4: Troubleshoot and repair the problem


In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the vCenter Server system.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,

34
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and ESXi host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

122
Lab 28
ESXi/vCenter Scenario (2)
Objective: Identify, diagnose, and resolve an
ESXi host or vCenter Server problem

35
1. Run the break-8-2.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password

123
Task 1: Run the break-8-2.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the PowerCLI window, type cd \sc.
3. Type .\break-8-2.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot log in to the VMware® vCenter Server™ system.
You will verify that the problem exists. If you can log in to the vCenter Server system,
ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Verify that you cannot use the vSphere Web Client to log in to your vCenter Server system.

5. If you can use the vSphere Web Client, ask the instructor for help.

124
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the vCenter Server system.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

125
Lab 29
ESXi/vCenter Scenario (3)
Objective: Identify, diagnose, and resolve an
ESXi host or vCenter Server problem
1. Run the break-8-3.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password

126
Task 1: Run the break-8-3.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-3 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop
system to start a vSphere PowerCLI session.
2. In the PowerCLI window, type cd \sc.
3. Type .\break-8-3.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot log in to the VMware® vCenter Server™ system.
You will verify that the problem exists. If you can log in to the vCenter Server system,
ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in
“Preparing for the lab.”
3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Verify that you cannot use the vSphere Web Client to log in to your
vCenter Server system.
5. If you can use the vSphere Web Client, ask the instructor for help.

127
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the
lecture to troubleshoot and repair the problem with the vCenter Server system.
1. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course


• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

128
Lab 30
ESXi/vCenter Scenario (4)
Objective: Identify, diagnose, and resolve an
ESXi host or vCenter Server problem
1. Run the break-8-4.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server passwor

129
Task 1: Run the break-8-4.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
7. Double-click the VMware vSphere PowerCLI icon on your desktop system to
start a vSphere PowerCLI session.
8. In the PowerCLI window, type cd \sc.

9. Type .\break-8-4.ps1.
10. Verify that you see the [May the Force be with you].
11. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
12. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot log in to the VMware® vCenter Server™ system.
You will verify that the problem exists. If you can log in to the vCenter Server system,
ask the instructor for help.
6. In the desktop system, double-click the Web browser.

7. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

8. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
9. Verify that you cannot use the vSphere Web Client to log in to your vCenter Server system.
10. If you can use the vSphere Web Client, ask the instructor for help.

130
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture
to troubleshoot and repair the problem with the vCenter Server system.
2. Use the available techniques and tools to troubleshoot and repair the problem.

• Lecture manual for this course

• The lab environment worksheet


This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

131
Lab 31
ESXi/vCenter Scenario (5)

Objective: Identify, diagnose, and resolve an


ESXi host or vCenter Server problem
1. Run the break-8-5.ps1 script

2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password

38

132
Task 1: Run the break-8-5.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-5 script.
.
NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to
start a vSphere PowerCLI session.
2. In the PowerCLI window, type cd \sc.

3. Type .\break-8-5.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, the database administrator reports that the size of the
VMware® vCenter Server™ database has increased dramatically and
has exceeded the projected storage allocation space.
In addition, you notice that the performance of the vCenter Server system
is starting to degrade and fails to connect the Database
1. Determine the reason for the dramatic increase in size of your
vCenter Server database as well as the degradation in performance
of your vCenter Server system.
For this lab, assume that the vCenter Server database is functioning properly.

133
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the
lecture to troubleshoot and repair the problem with the vCenter Server database.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, vCenter Server, and VMware® ESXi™ host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

38

134
Lab 32
ESXi/vCenter Scenario (6)
Objective: Identify, diagnose, and resolve an
ESXi host or vCenter Server problem

35
1. Run the break-8-6.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password

135
Task 1: Run the break-8-6.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-8-6 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.
3. Type .\break-8-6.ps1.
4. Verify that you see the [May the Force be with you].

5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user cannot log in to the VMware® ESXi™ host.
You will verify that the problem exists.
If you can log in to the ESXi host, ask the instructor for help.
1. Use VMware vSphere® Client™ to log in to your ESXi host as user root.

You recorded your ESXi host name and root password in “Preparing for the lab.”
2. Verify that you cannot log in to your ESXi host with vSphere Client.

3. If you can successfully log in to your ESXi host, ask the instructor for help.

136
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture
to troubleshoot and repair the problem with the ESXi host.
1. Use the available techniques and tools to troubleshoot and repair the problem.
 Lecture manual for this course
 The lab environment worksheet
 This worksheet contains important information about the network,
storage, and virtual machine configuration.
 Virtual machine, VMware® vCenter Server™, and ESXi host log files
 See module 3, lesson 2, in the lecture manual for information about log files.
 VMware® knowledge base articles at http://kb.vmware.com
 The Internet

137
Lab 33
Virtual Machine Scenario (1)
Objective: Identify, diagnose, and resolve a
virtual machine problem
1. Run the break-9-1.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

138
Task 1: Run the break-9-1.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-1 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-1.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user is reporting that a virtual machine with snapshot cannot be turned on.
You will verify that the problem exists. If the virtual machine can be on, ask the instructor for
help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter >VMs and Templates. Expand the Training data
center to view the child objects.
5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On..
You cannot power on the guest VM.
6. If you can power on , ask the instructor for help.

139
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.

43
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

140
Lab 34
Virtual Machine Scenario (2)
Objective: Identify, diagnose, and resolve a
virtual machine problem
1. Run the break-9-2.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

141
Task 1: Run the break-9-2.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-2 script.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-2.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user is reporting that a virtual machine with snapshot cannot be turned on.
You will verify that the problem exists. If the virtual machine can be on, ask the instructor for
help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter >VMs and Templates. Expand the Training data center to
view the child objects.
5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On..
You cannot power on the VM
6. If you can power on , ask the instructor for help.

142
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,

44
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and ESXi host log files
See module 3, lesson 2, in the lecture manual for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet
• The vi editor on the ESXi host
If you are unfamiliar with using the vi editor, search the Internet for vi
cheat sheets or basic tutorials.

143
Lab 35
Virtual Machine Scenario (3)
Objective: Identify, diagnose, and resolve a
virtual machine problem

45
1. Run the break-9-3.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

144
Task 1: Run the break-9-3.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-3.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user is reporting that a virtual machine in the
vCenter Server inventory is missing/Orphaned. You will verify that the problem exists.
If the virtual machine is present in the vCenter Server inventory, ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter > VMs and Templates. Expand the Training data center to
view the child objects.

5. View the vCenter Server inventory and locate the virtual machine whose name
you recorded in “Preparing for the lab.”
Something wrong with VM status.

145
6. If the virtual machine is listed in the inventory, ask the instructor for help.

Task 3: Troubleshoot and repair the problem


In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

146
Lab 36
Virtual Machine Scenario (4)
Objective: Identify, diagnose, and resolve a
virtual machine problem
1. Register the virtual machine to use for this lab
2. Run the break-9-4.ps1 script

3. Verify that the system is not functioning properly

4. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

vCenter Server system name


vCenter Server user name
vCenter Server password

Virtual machine datastore name

Virtual machine name

Virtual machine user name


Virtual machine password

147
Task 1: Run the break-9-4.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-3 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed.
(For readability, commands might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system
to start a vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-4.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab ,
follow the instructions displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user is reporting that a virtual machine in the
vCenter Server inventory required Consolidate. You will verify that the problem exists.
.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in
“Preparing for the lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter > VMs and Templates. Expand the data center to
view the child objects.
5. View the vCenter Server inventory and locate the virtual machine whose name
you recorded in “Preparing for the lab.”
Status reports , Consolidation is required.
6. If the virtual machine is listed in the inventory has no status, ask the instructor for help.

148
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®

45
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

149
Lab 37
Virtual Machine Scenario (5)
Objective: Identify, diagnose, and resolve a
virtual machine problem
1. Run the break-9-5.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name
Virtual machine user name
Virtual machine password

150
Task 1: Run the break-9-5.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-5 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-5.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user reports that a virtual machine does not power on. You will verify that the
problem exists. If you can power on the virtual machine, ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter > VMs and Templates. Expand the vClassDC data center to view the
child objects.
5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On.
You cannot power on the virtual machine.
6. If the virtual machine powers on, ask the instructor for help.

151
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

152
Lab 38
Virtual Machine Scenario (6)
Objective: Identify, diagnose, and resolve a
virtual machine problem
1. Run the break-9-6.ps1 script
2. Verify that the system is not functioning properly

3. Troubleshoot and repair the problem

4. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

153
Task 1: Run the break-9-6.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-6 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
1. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
2. In the vSphere PowerCLI window, type cd \sc.

3. Type .\break-9-6.ps1.
4. Verify that you see the [May the Force be with you].
5. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
6. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user reports that a virtual machine does not power on. You will verify that the
problem exists. If you can power on the virtual machine, ask the instructor for help.
1. In the desktop system, double-click the Web browser.

2. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

3. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the VMware vSphere® Web Client.
4. Select vCenter > VMs and Templates. Expand the vClassDC data center to view the
child objects.
5. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On.
You cannot power on the virtual machine.
6. If the virtual machine powers on, ask the instructor for help.

154
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
1. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

155
Lab 39
Virtual Machine Scenario (7)
Objective: Identify, diagnose, and resolve a
virtual machine problem
5. Run the break-9-7.ps1 script
6. Verify that the system is not functioning properly

7. Troubleshoot and repair the problem

8. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

156
Task 1: Run the break-9-7.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-6 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
7. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
8. In the vSphere PowerCLI window, type cd \sc.

9. Type .\break-9-7.ps1.
10. Verify that you see the [May the Force be with you].
11. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
12. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user reports that virtual machine does not power on. You will verify that the
problem exists. If you can power on the virtual machine, ask the instructor for help.
7. In the desktop system, double-click the Web browser.

8. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

9. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the VMware vSphere® Web Client.
10. Select vCenter > VMs and Templates. Expand the vClassDC data center to view the
child objects.
11. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On.
You cannot power on the virtual machine.
12. If the virtual machine powers on, ask the instructor for help.

157
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
2. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

158
Lab 40
Virtual Machine Scenario (8)
Objective: Identify, diagnose, and resolve a
virtual machine problem
9. Run the break-9-8.ps1 script
10. Verify that the system is not functioning properly

11. Troubleshoot and repair the problem

12. Verify that the system is repaired

Preparing for the lab


Record the following information:

ESXi host name


ESXi host root password
vSphere Web Client address
vCenter Server system name
vCenter Server user name
vCenter Server password
Virtual machine name

Virtual machine user name


Virtual machine password

159
Task 1: Run the break-9-8.ps1 script
In this task, you will use VMware vSphere® PowerCLI™ to run the break-9-6 script.
Students do the steps in this task individually.

NOTE
Type all commands in a single line unless otherwise instructed. (For readability, commands
might be displayed on two lines instead of one.)
13. Double-click the VMware vSphere PowerCLI icon on your desktop system to start a
vSphere PowerCLI session.
14. In the vSphere PowerCLI window, type cd \sc.

15. Type .\break-9-8.ps1.


16. Verify that you see the [May the Force be with you].
17. If you see any action is required Before You Start the Lab , follow the instructions
displayed in the vSphere PowerCLI window.
18. Leave the vSphere PowerCLI window open for another task.

Task 2: Verify that the system is not functioning properly


In this task, a user reports that virtual machine does not power on and become invalid. You will
verify that the problem exists. If you can power on the virtual machine, ask the instructor for
help.
13. In the desktop system, double-click the Web browser.

14. Type the address of the vSphere Web Client that you recorded in “Preparing for the lab.”

15. Using the vCenter Server user name and password that you recorded in “Preparing for the
lab,” log in to the VMware vSphere® Web Client.
16. Select vCenter > VMs and Templates. Expand the vClassDC data center to view the
child objects.
17. Right-click the virtual machine name that you recorded in “Preparing for the lab” and select
Power On.
You cannot power on the virtual machine.
18. If the virtual machine powers on, ask the instructor for help.

160
Task 3: Troubleshoot and repair the problem
In this task, you will use the techniques and tools explained in the lecture to
troubleshoot and repair the problem with the virtual machine.
3. Use the available techniques and tools to troubleshoot and repair the problem.
• Lecture manual for this course
• The lab environment worksheet
This worksheet contains important information about the network,
storage, and virtual machine configuration.
• Virtual machine, VMware® vCenter Server™, and VMware®
ESXi™ host log files See module 3, lesson 2, in the lecture manual
for information about log files.
• VMware® knowledge base articles at http://kb.vmware.com
• The Internet

161

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy