Vsphere ICM7 Lab 02
Vsphere ICM7 Lab 02
Vsphere ICM7 Lab 02
0:
INSTALL, CONFIGURE, MANAGE
Contents
Introduction ........................................................................................................................ 3
Objectives............................................................................................................................ 3
Lab Topology....................................................................................................................... 4
Lab Settings ......................................................................................................................... 5
1 Installing ESXi .............................................................................................................. 6
2 Configure an ESXi host .............................................................................................. 16
3 Enable ESXi Shell and SSH ......................................................................................... 21
4 Add an ESXi Host to Active Directory........................................................................ 23
5 Log In to an ESXi host as an Active Directory User ................................................... 26
Introduction
In this lab, you will install and configure the VMware ESXi operating system using your
student workstation.
Objectives
Install ESXi
Configure ESXi
Enable ESXi Shell and SSH
Add an ESXi host to Active Directory
Log in to the ESXi host as an Active Directory User
Lab Topology
Lab Settings
The information in the table below will be needed to complete the lab. The task
sections below provide details on the use of this information.
1 Installing ESXi
In this task, you will access and manage the lab environment from the student
workstation. This system will serve as an end-user terminal with direct access for the
VMware infrastructure. You will install VMware ESXi on a virtual machine. This “nested”
ESXi host operates in the same way as a physical host but uses different user interfaces
for the installation. You will use the vSphere Client to configure and manage the nested
ESXi host.
1. Launch the sa-student virtual machine to access the graphical login screen.
To launch the console window for a virtual machine, you may access by
either clicking on the machine’s graphic image from the topology page
or by clicking on the machine’s respective tab from the navigation bar.
3. Launch the Mozilla Firefox web browser by either clicking on the icon shortcut
found on the bottom toolbar or by navigating to Start Menu > Internet > Firefox
Web Browser.
4. Notice the homepage is automatically configured to load the URL address of the
VMware vCenter Server Appliance (sa-vcsa virtual machine). Click on the LAUNCH
VSPHERE CLIENT (HTML5) button to launch the vSphere Client.
5. In the Username text field, type sysadmin@vclass.local and in the Password text
field, type vmware123. Click on LOGIN.
6. While logged in to the vSphere Client, in the navigator pane, select the VMs &
Templates tab.
7. Expand the Datacenter object in the navigator pane and right-click sa-esxi-04-vm,
followed by selecting Edit Settings.
8. In the Edit Settings window, locate the CD/DVD drive 1 entry and click the
dropdown button next to Host Device. From the dropdown menu, select Datastore
ISO File.
9. In the Select File window, select iSCSI-LUN0 underneath the Datastores pane,
followed by clicking the Class Files folder in the Contents pane.
10. Once the Class Files folder is selected, notice the files available. Select the VMware-
VMvisor-Installer-7.0.0-15843807.x86_64.iso file. Click OK.
11. Back in the Edit Settings window, select CD/DVD drive 1. Ensure that Connect…
(Connect At Power On) is checked. Click OK to save the configurations.
12. Right-click on sa-esxi-04-vm from the navigator pane and select Power > Power On.
13. Right-click on sa-esxi-04-vm once more and select Open Remote Console.
14. Notice a VMware Remote Console window appears, which provides direct console
access to the machine. Once the ESXi installer initializes, notice the Welcome to the
VMware ESXi 7.0.0 Installation message appears. To proceed with the installation,
press the Enter key.
Due to VMware Tools not being installed for the machine, press
CTRL+ALT to release the mouse pointer from the console when
desired.
15. On the Accept the End-User License Agreement (EULA) step, press F11 to accept and
continue.
16. On the Select a Disk to Install or Upgrade step, ensure that the local VMware virtual
disk is selected and press the Enter key to continue.
17. On the Please select a keyboard layout step, select US Default and press the Enter
key.
18. On the Enter a root password step, type Train1ng$ in the Root password and
Confirm password fields. Press the Enter key to continue.
19. If an error appears regarding hardware virtualization, press the Enter key to
continue.
20. On the Confirm Install step, press F11 to confirm the installation.
21. When the Installation Complete message appears, disconnect the media by clicking
on Virtual Machine > Virtual Machine Settings or by pressing CTRL+D.
22. In the Virtual Machine Settings window, click on CD/DVD drive 1 under the
Hardware tab and disconnect the media by unchecking the Connected and Connect
at power on checkboxes. Click Save.
23. Back on the Installation Complete message, press the Enter key to reboot the system
24. Monitor the reboot process until the Direct Console User Interface (DCUI) reappears.
You have now successfully installed the VMware ESXi operating system. Leave the
VMware Remote Console open and continue to the next task.
In this task, you will connect to the host Direct Console User Interface (DCUI) to view and
modify the nested ESXi host configuration.
1. In the VMware Remote Console window, press F2 to customize the system or view
the logs.
Due to VMware Tools not being installed for the machine, press
CTRL+ALT to release the pointer from the console when desired.
2. Notice the Authentication Required dialog box appears; enter root as the Login
Name and Train1ng$ as the Password. Press Enter.
3. On the System Customization screen, ensure that the Configure Password option is
selected, and press Enter to change the nested host password.
4. In the Configure Password dialog box, enter Train1ng$ as the old password and type
vmware123! into both the New Password and Confirm Password text fields. Press
Enter.
6. On the Configure Management Network screen, press the down arrow to select IPv4
Configuration. Press Enter.
7. In the IPv4 Configuration dialog box, go to Set static IPv4 address and network
configuration and press the space bar to select it.
8. Press the down arrow to IPv4 Address and type in 172.20.10.54 followed by typing
255.255.255.0 as the Subnet Mask, and 172.20.10.10 as the Default Gateway. Press
Enter to save the configurations.
9. On the Configure Management Network screen, use the down arrow to navigate to
DNS Configuration and press Enter.
10. In the DNS Configuration dialog box, go to Use the following DNS server addresses
and hostname and press the space bar to select it. Verify that 172.20.10.10 has
been populated in the Primary DNS Server field; remove 172.20.10.11 in the
Alternate DNS Server window. Type sa-esxi-04 into the Hostname field. Press Enter.
11. Back on the Configure Management Network screen, press Esc to exit.
12. When prompted by the Configure Management Network: Confirm message, press Y
to accept the changes.
13. Leave the ESXi DCUI opened to continue with the next task.
In this task, you will configure the VMware ESXi host to enable ESXi Shell and SSH. With
this enabled, you can run commands or scripts on your ESXi host in a secure fashion. By
default, the ESXi Shell and SSH service are disabled. You will enable ESXi Shell to
troubleshoot issues that may arise locally. An open SSH port may pose a potential
security risk. You should enable it only as needed and disable it after the required task is
completed.
2. On the Troubleshooting Options screen, use the down arrow to select Enable ESXi
Shell and press Enter to enable the ESXi Shell.
Notice the selection option changes from Enable ESXi Shell to Disable
ESXi Shell. In the right pane, you should see ESXi Shell is Enabled.
3. On the Troubleshooting Options screen, use the down arrow to select Enable SSH
and press Enter to enable SSH.
Notice the option changes from Enable SSH to Disable SSH. In the right
pane, you should see SSH is Enabled.
4. Press Esc to return to the main options screen. You may close the sa-esxi-04-vm
VMware Remote Console window and continue with the next task.
In this task, you will add an ESXi Host to Active Directory by accessing the ESXi Web
Client.
1. Change focus to the Firefox Web Browser. Open a new tab, then type in
https://172.20.10.54 into the address field and press Enter.
2. On the Warning: Potential Security Risk Ahead page, click Advanced, and Accept the
Risk and Continue.
3. On the VMware ESXi Web Client page, type root as the Username and vmware123! as
the Password. Click Log in.
You may ignore the “Help us improve the VMware Host Client”
message presented on the VMware ESXi Sign-On page by clicking OK
and continue moving forward with the lab.
5. In the Join Domain window, type netlab.local for the Domain name, type
administrator for the Username, type Train1ng$ for the Password, and lastly, click
Join Domain.
For this lab, the user administrator has already been added to Active
Directory and is a member of the ESX Admins domain group. This
group has full administrative rights to join ESXi hosts to domains.
6. On the sa-esxi-04.netlab.local web client window, you will notice that Active
Directory enabled has a status of Yes. This means that you have successfully enabled
The Directory on the sa-esxi-04 host. Domain membership status shows OK and
Active
means that the domain controller has verified the sa-esxi-04 status as joined. Joined
domain shows you have joined the NETLAB.LOCAL domain. Leave the ESXi Web
Client open and continue to the next task.
7. Leave the VMware ESXi Client open and continue to the next task.
In this task, you will log in to sa-esxi-04 as the Active Directory user to verify the user
sysadmin@netlab.local is a member of the ESXi administrator’s domain group. This
group is what allows Active Directory users to log in to an ESXi host that has been joined
to a domain.
1. On the sa-esxi-04 Web Client page, log out of the root user by clicking on
root@172.20.10.54 and select Log out.
For this lab, the user sysadmin@netlab.local has already been added
to Active Directory and is a member of the ESX Admins domain group.
This group has full administrative rights to join ESXi hosts to domains.
3. In the navigator pane, click the Manage tab. Select Security & users and click
Authentication. Verify once again that sa-esxi-04 is connected to the netlab.local
domain. Notice the login was successful with the Active Directory user of
netlab.local\sysadmin@172.20.10.54.