Vsphere ICM7 Lab 10
Vsphere ICM7 Lab 10
0:
INSTALL, CONFIGURE, MANAGE
Contents
Introduction ........................................................................................................................ 3
Objectives............................................................................................................................ 3
Lab Topology....................................................................................................................... 4
Lab Settings ......................................................................................................................... 5
1 View and Delete an Existing ESXi Host iSCSI Configuration........................................ 6
2 Add a VMKernal Port Group to a Standard Switch................................................... 15
3 Configure the iSCSI Software Adapter and Connect it to the Storage ..................... 23
Introduction
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 familiarize yourself with the existing VMkernel and iSCSI software
adapter configuration on sa-esxi-01.vclass.local along with deleting the iSCSI software
adapter.
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 [email protected] and in the Password text
field, type vmware123. Click on LOGIN.
6. On the Hosts and Clusters tab in the navigation pane, expand the Datacenter object.
Select sa-esxi-02.vclass.local and click the Configure tab.
8. In the Storage Adapters pane, select the vmhba65 iSCSI software adapter. Verify
that the vmhba65 iSCSI adapter is Online.
9. In the Storage Adapters pane, select the Properties tab. Notice the Adapter Status,
Name, iSCSI Name and Authentication Method.
10. Select the Devices tab and verify Lun0 and Lun1 are showing.
11. Select the Dynamic Discovery tab and note the iSCSI server IP address.
12. Select the Network Port Binding tab and notice the attached VMkernal Adapter.
13. While on the Network Port Binding tab, select the Management Network Port
Group and click Remove.
15. Select the Static Discovery tab and select all 4 iSCSI Servers by the holding the Shift
key and select each item. Click Remove.
17. On the Dynamic Discovery tab, select 172.20.10.10:3260 and click Remove.
21. Notice after rescanning the Storage, the vmhba65 adapter is still Online.
22. In the Storage Adapters main workspace, select the vmhba65 iSCSI Software
Adapter.
25. On the Storage Adapters main workspace window, notice the message shown. To
proceed to the next task, you will need to reboot sa-esxi-02.vclass.local. Once sa-
esxi-02 has rebooted the adapter will be removed and all the storage devices
associated with it will be inaccessible.
26. In the navigation pane, notice that sa-esxi-02.vclass.local says (Reboot Required).
Right-click sa-esxi-02.vclass.local select Power > Reboot.
27. In the Reboot Host window, type Remove iSCSi Software Adapter in the Log a
reason for the reboot operation. Click OK.
28. Once sa-esxi-02.vclass.local has finished rebooting, leave the vSphere Client open
and continue with the next task.
In this task, you will use VMkernel interfaces to provide network connectivity for your
hosts and to handle other types of traffic, such as VMware vSphere vMotion traffic,
storage traffic, and VMware vSphere Fault Tolerance traffic.
2. In the main workspace, in the middle pane, under Networking, select VMkernel
adapters.
4. In the Add Networking window, on the Select connection type step, select VMkernel
Network Adapter and click Next.
5. On the Select target device step, choose New standard switch and click Next.
6. On the Create a Standard Switch step, click the Add adapters (green plus) icon.
7. In the Add Physical Adapters to the Switch window, select vmnic1 and click OK.
8. Back on the Add Networking window, review the information and click Next.
9. On the Port properties step, type IP Storage in the Network Label text box and click
Next.
10. On the IPv4 settings step, select Use static IPv4 settings and use the information
below to configure the settings:
a. IPv4 address: 172.20.11.52
b. Subnet mask: 255.255.255.0
c. Check the checkbox for Override default gateway for this adapter
d. Default gateway: 172.20.11.10
e. Click Next.
11. On the Ready to complete step, review the information and click Finish.
12. Leave vSphere Client open to continue with the next task.
In this task, you will use the built-in software iSCSI adapter on the ESXi host to directly
connect to a remote iSCSI target on the IP network.
1. While in vSphere Client, ensure you are on the Configure tab of sa-esxi-
02.vclass.local. Select Storage Adapters under Storage, in the middle pane.
3. In the Add Software Adapter window, select the radio button for Add software iSCSI
adapter and click OK.
4. In the Storage Adapters list, select the newly created iSCSI software adapter
(vmhba65).
6. Verify that the adapter status is Enabled. Click the Edit button next to the General
header.
7. Ensure that the name shown in the iSCSI Name text box matches iqn.1998-
01.com.vmware:sa-esxi-02-xxxxxxxx (the numbers at the end of the iSCSI name
have x’s to represent characters that might change). Click OK.
8. In the Adapter Details pane, click the Network Port Binding tab.
10. In the Bind vmhba65 with VMkernel Adapter window, select the IP Storage checkbox
and click OK.
12. In the Add Send Target Server window, type 172.20.11.10 in the iSCSI Server text box
and click OK.
13. Monitor the Recent Tasks pane. Once completed, click the Rescan Storage button.
14. In the Rescan Storage window, leave the defaults checked and click OK. Wait for the
task to complete.
16. Verify that one or more LUNs appear. Notice the LUN number, capacity, operational
state, and hardware acceleration information.
17. The lab is now complete; you may end the reservation.