VSphere ICM67 Lab 05
VSphere ICM67 Lab 05
7:
INSTALL, CONFIGURE, MANAGE
NETLAB Academy Edition, NETLAB Professional Edition, and NETLAB+ are registered trademarks of Network Development Group, Inc.
Contents
Introduction ........................................................................................................................ 3
Objectives............................................................................................................................ 3
Lab Topology ....................................................................................................................... 4
Lab Settings ......................................................................................................................... 5
1 Deploy vCenter Server Appliance ............................................................................... 6
2 Complete the vCenter Server Appliance Deployment.............................................. 21
3 Access and Configure vCenter Server Appliance ...................................................... 27
4 Add Your ESXi Host to the vCenter Server Inventory ............................................... 36
5 Configure the ESXi Host as an NTP Client ................................................................. 42
6 Back Up vCenter Server Appliance ........................................................................... 44
Introduction
In this lab, you will install and use vCenter Server Appliance.
Objectives
Lab Topology
Lab Settings
The information in the table below will be needed in order to complete the lab. The
task sections below provide details on the use of this information.
In this task, you will go through the process of deploying a VMware vCenter Server
Appliance on your first 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 User name text field, type [email protected] and in the Password text
field, type vmware123. Click on Login.
7. Expand the Datacenter object in the navigator pane, right-click on NFS-1 and select
Browse Files.
8. In the main workspace, access the Class Files folder, select the VMware-VCSA-all-
6.7.0-10244745.iso file and then click on Download.
10. Before we start the vCenter Server Appliance deployment, we need to increase disk
space for the minimum required storage space of 25GB. Navigate back to the
vSphere Client, right-click on iSCSI-LUN0 and select Increase Datastore Capacity.
11. In the Increase Datastore Capacity window, on the Select Device step, select the IET
iSCSI Disk LUN 0 option and click Next.
12. On the Specify Configuration step, choose Use “Free space 15.5 GB” to expand the
datastore in the Partition Configuration drop-down menu and click Next.
13. On the Ready to Complete step, review the information and click Finish.
14. Once the datastore is expanded, access the downloaded file by first clicking on the
File Manager PCManFM icon in the bottom toolbar or by navigating to Start Menu >
Accessories > File Manager PCManFM.
16. In the Downloads directory, notice that the downloaded ISO is present. Using the file
manager, click _DEVICEIMAGE_0 from the left pane to navigate to the
/media/sysadmin/_DEVICEIMAGE_0 directory. There is a file here that needs to be
copied to the Downloads directory.
18. Click the back arrow on the top pane to navigate back to the
/home/sysadmin/Downloads directory. Once in the Downloads directory, right-click
anywhere in the white space and select Paste.
21. Change to the superuser by entering the command below, followed by pressing the
Enter key. When prompted for a password, type vmware123 and press Enter.
sysadmin@sa-student-01:~$ sudo su
23. Verify that the ISO contents have been successfully mounted to the path.
root@sa-student-01:/home/sysadmin# ls /mnt/cdrom
root@sa-student-01:/home/sysadmin# /mnt/cdrom/vcsa-ui-
installer/lin64/installer
25. Notice the vCenter Server Appliance Installer window appears. Click Install.
27. On the End user license agreement page, select the I accept the terms of the license
agreement checkbox and click Next.
28. On the Select deployment type page, ensure that vCenter Server with an Embedded
Platform Services Controller is selected and click Next.
29. On the Appliance deployment target page, enter the following information into their
appropriate text fields:
a. ESXi host or vCenter Server name: sa-esxi-01.vclass.local
b. HTTPS port: 443
c. User name: root
d. Password: Train1ng$
e. Click Next.
30. Notice the Certificate Warning dialog box, review and click Yes to continue.
31. On the Set up appliance VM page, enter 172.20.10.95 in the VM name field and
enter Train1ng$ for both Root password and for Confirm root password text fields.
Click Next.
32. On the Select deployment size page, accept the default Tiny and click Next.
33. On the Select datastore page, select iSCSI-LUN0 as the deployment datastore and
check Enable Thin Disk Mode. Click Next.
35. On the Ready to complete stage 1 page, review the details and click Cancel. Close
the vCenter Server Appliance Installer window.
1. Change focus to the vSphere Client and click on the Hosts and Clusters tab in the
navigator pane.
2. Expand the Datacenter object in the navigator pane, followed by expanding sa-esxi-
01. Right-click on the sa-vcsa-02.vclass.local from the navigator pane and select
Power > Power On.
4. Notice the boot-up process in the VMware Remote Console window. Once finished,
notice the URL printed on the screen to access the vCSA (vCenter Server Appliance).
Open a new tab in the Firefox web browser.
5. On the new tab, type in https://sa-vcsa-02.vclass.local:5480 into the address
field and press Enter.
7. When prompted for login credentials, enter Train1ng$ into the Password field and
click Log in.
8. Notice the Install - Stage 2 wizard appears. On the Introduction page, click Next to
proceed.
10. On the SSO configuration page, select the radio button for Create a new SSO
domain and enter the following:
a. Single Sign-On domain name: vclass.local
b. Single Sign-On password: Train1ng$
c. Confirm password: Train1ng$
d. Click Next.
11. On the Configure CEIP page, deselect the Join the VMware’s Customer Experience
Improvement Program. Click Next.
12. On the Ready to complete page, review the configurations and click Cancel.
13. Close the second tab opened for the vCSA stage 2 configuration in Firefox.
In this task, you will license both vCenter Server and an ESXi host, edit the SSO
configuration, create a data center object, and add your ESXi host to the inventory.
2. In the Manage Snapshots window, select POST_STAGE2 and click on the Revert To
button.
4. Back on the Manage Snapshots window, notice where the, “You are here,” tick is
located. You may have to wait for a couple of seconds for it to change. Click Done.
6. Once the VMware Getting Started page appears, click on the Launch vSphere Client
(HTML5) button.
8. In the vSphere Client, click the Menu icon and select Administration.
11. Maximize the file manager window. If closed, open a new file manager window.
12. In the Downloads directory, double-click _deviceImage-0.txt to open the file.
13. Copy the license keys for both VMware vCenter Server and VMware ESXi.
14. Change focus to the vSphere Client.
15. In the New Licenses window, on the Enter license keys step, paste (CTRL+V) in the
text field and make sure both keys are pasted in separate new lines. Click Next.
16. On the Edit license names step, enter vCSA and ESXi as the license names for their
respective keys and click Next.
17. On the Ready to complete step, review the information and click Finish.
18. In the main workspace, click on the Assets tab.
19. Check the checkbox for sa-vcsa-02.vclass.local and click on Assign License.
20. In the Assign License window, select the vCSA radio button and click OK.
22. On the Policies tab, ensure that Password Policy is selected and on the Edit button.
23. In the Edit Password Policies window, enter 60 for the Maximum lifetime text box.
Click OK to save.
26. In the Datacenter name text box, accept the default name Datacenter and click OK.
27. Leave vSphere Client open to continue with the next task.
In this task, you will add an ESXi host to the vCenter Server inventory.
2. In the Manage Snapshots window, select POST_STAGE and click on the Revert to
button.
7. Monitor the progress of the ESXi boot-up. Once finished, navigate to the vSphere
Client tab that is connected to va-vcsa-02.vclass.local.
8. In the navigator pane, right-click on Datacenter and select Add Host.
9. In the Add Host window, on the Name and location step, enter 172.20.10.53 and
click Next.
10. On the Connection settings step, enter root as the user name and vmware123 as the
password. Click Next.
11. When prompted with a security alert stating that the certification store of vCenter
Server cannot verify the certificate, click Yes to proceed.
12. Once validated, on the Host summary step, review the information and click Next.
13. On the Assign license step, ensure that the radio button for ESXi is selected and click
Next.
14. On the Lockdown mode step, accept the default Disabled and click Next.
16. On the Ready to complete step, review the information and click Finish.
17. Notice the progression in the Recent Tasks pane. Once completed, the ESXi host will
appear underneath the Datacenter object in the navigator pane. Expand the
Datacenter object and select 172.20.10.53, followed by clicking on the Summary tab
in the main workspace.
18. Notice the ESXi host information such as CPU, memory, storage, NIC, and virtual
machines. Click the arrow next to the Hardware pane to view the hardware details
of the ESXi host.
19. Leave the vSphere Client tab connected to sa-vcsa-02.vclass.local open to continue
with the next task.
In this task, you will configure the ESXi host to use Network Time Protocol (NTP) to
maintain accurate time and date.
1. Make sure to have 172.20.10.53 selected in the navigator pane and click on the
Configure tab in the main workspace.
2. Under System in the middle pane (scroll down), select Time Configuration and view
the current settings.
4. In the Edit Time Configuration window, select to Use Network Time Protocol
(Enable NTP client).
5. From the NTP Service Startup Policy drop-down menu, select Start and stop with
host.
6. In the NTP Servers text box, enter 172.20.10.10, followed by checking the checkbox
for Start NTP Service. Click OK.
7. In the Time Configuration pane, verify that the NTP client appears as Enabled and
that the NTP service status appears as Running.
In this task, you will back up your vCenter Server Appliance by connecting the appliance
to a web browser using management port 5480.
1. Change focus to the first tab in Firefox that has an active connection with sa-vcsa-
01.vclass.local.
2. Right-click on sa-vcsa-02.vclass.local in the navigator pane and select Open Remote
Console.
3. Click anywhere inside the console viewer to change focus and press ALT+F1 to
switch lines.
4. Login as root with the password of Train1ng$.
6. Enter the command below to start the service for the analytics.
7. Enter the command below to start the service for the pschealth.
8. Enter the command below to start the service for the content-library.
To release the focus of the mouse from the viewer, press the
CTRL+ALT keys.
10. Log in with root as the user name and Train1ng$ as the password. Click Login.
11. Click on Backup located near the bottom-left corner of the screen.
13. In the Backup Now window, use the following information to configure:
a. Backup location: ftp://172.20.10.10/
b. User name: admin
c. Password: vmware123
d. Click Start.
14. Back on the Backup page, notice the progress of the manual backup.
15. The lab is now complete; you may end the reservation.