Professional Documents
Culture Documents
S Am Ple: Vmware Vsphere 5.0 With Esxi and Vcenter
S Am Ple: Vmware Vsphere 5.0 With Esxi and Vcenter
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
Lab Guide
5 Day
ui
de
La
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Published by:
Phone:
Toll Free:
Facsimile:
E-mail:
Web:
Sa
m
pl
e
ui
de
To find out more about our products and services including consulting services, renting access
to our remote lab facilities, running your own VMware class or custom training and content
solutions, please visit our website www.esxlab.com or e-mail sales@esxlab.com.
This document was prepared in its entirety using the open source LibreOffice 3.3.0 office suite.
LibreOffice can be freely downloaded for free from www.LibreOffice.org. Microsoft Visio 2007
was used to create some of the slide graphics. Final PDF assembly was performed with
PDFFactory Pro available at www.FinePrint.com. Screen grabs were captured with Screen
Grab Pro from Traction software. This free tool is available from www.traction-software.co.uk.
This document, the images, screen grabs, etc. are original works. This document is copyright 2009 by ESXLab.com. All
rights reserved. No reproduction by any means including photo-copying or electronic imaging is permitted without
prior written authorization from the copyright holder.
La
This training material is provided 'as is', without any warranty either expressed or implied. ESXLab.com prepared this
material with due care for accuracy and completeness, but does not warrant that the content is either error free or
suitable for any specific use. By using this courseware, customer agrees to accept responsibility for all results
desirable or otherwise. Customer agrees that all lab exercises are for illustration purposes only, and assumes all risk of
data damage or loss resulting from such use.
Microsoft, Microsoft Windows, Windows NT, Windows 2000, Windows 2003 Server, Microsoft Exchange 5.5, Microsoft
Exchange 2000, Microsoft Exchange 2003 and Microsoft Exchange 2007 are registered trademarks of Microsoft
Corporation. Linux is a registered trademark of Linus Torvalds. GroupWise and NetMail are trademarks of Novell Inc.
Lotus Domino is a trademark of IBM Corporation. RedHat and Fedora Core are trademarks of RedHat Inc. VMware,
VMware Workstation, VMware Server, VMware Player, VMware ESX, VMotion, etc. are registered trademarks of VMware
Corporation. All other marks and names mentioned herein may be trademarks of their respective owners.
ESXLab.com is an independent training and content development company that is in no way affiliated with or in any
way related to VMware Inc. In no case is any such relationship either implied or intended.
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Table of Contents
Introduction to ESXLab.com Remote Lab Environment
Lab 2 Install ESX
Lab 3 Virtual Networking
pl
e
Sa
m
ui
de
La
January, 2012
La
ui
de
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
January, 2012
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
ui
de
pl
e
La
Get a Quote
To get a kit rental quote, please call or e-mail it us with your preferred dates and needs:
Toll Free: 1 (888) 451-3131
E-mail: sales@esxlab.com
Web: www.esxlab.com
La
ui
de
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
esxi#
Sa
m
pl
e
ESXLab.com provides remote server pods that are permanently housed in a Class-A data
center. Instructors using our remote server pods are provided with a Kit Access document
that gives access details. Alternatively, your instructor may provide you with other
information for performing your labs. The following information is appropriate for
ESXLab.com server pods:
192.168.20.50 + #
user#
esxlab.com
192.168.20.20 + #
admin
ui
de
letmein!
ILO FQDN
(let-me-in!)
esx#ilo.esxlab.com
Each student server has two dedicated VMs; for vCenter and for the VMware Converter:
Dedicated vSphere VM fixed IP
192.168.20.100+#
192.168.20.120+#
La
For example, if you are using Server 5, your vCenter VM's IP address is 192.168.20.105, and
your Windows 2003 server's (for the Converter Enterprise lab) IP address is 192.168.20.125.
December, 2011
ui
de
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
La
ui
de
Sa
m
pl
e
December, 2011
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Your RDP desktop has be preconfigured with all of the tools you will use in class.
ui
de
Your local desktop PC running Windows XP Pro, Vista (Business or Ultimate) or Windows 7
might cough up a Terminal Services licensing error. This can happen when a temporary
Terminal Services license has expired. If you run into this problem, please reset local
Terminal Services licensing as follows:
La
This should create a new set of temporary license keys needed for RDP to work.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Power managing the machine (power on, power off, power reset)
Opening and displaying remote console sessions
pl
e
Other vendors provide similar functionality. Dell has DRAC (Dell Remote Access Controller)
cards and IBM offers RSA (Remote Server Assistant) controllers.
Your machine should be powered off (as indicated by the System Status tab). Click
the Momentary Press button to power on your server, and then OK to the Message
from Website pop up.
Or, if you server is already powered on, click the Power Management tab and then
the Reset button to reset your server.
ui
de
Sa
m
You will use HP ILO 2 to power on your server and access it's console. To access ILO, please:
La
Power On Server
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
ui
de
Sa
m
An example ILO Remote Console screen grab of an HP DL365 server POSTing is shown below
La
Please verify that you can access your dedicated server, and that the server is powered on
before continuing to Lab 2.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
1 AMD Quad/Dual Core Opteron 64-bit CPU or 1 Intel Dual Core 64-bit CPU
5-8 GB RAM
HP Smart Array Controller with 36-300+GB of local disk
ILO Integrated Lights Out Remote Management Card
3 x 1gb NICs
pl
e
Sa
m
Objectives:
In this lab, you will:
Install ESXi 5.0 onto a physical server using remote console services
Set fixed IP address properties for management
Install the vSphere Client on our remote desktop
Access your ESXi host via the vSphere Client application
Review your servers hardware and default configuration
Create a non-privileged account for local access
Connect to Active Directory and enable an AD account
Configure your server to synchronize its time with an NTP time server
Review and adjust power management policies
ui
de
Please refer to the information below when installing and configuring your ESXi server:
192.168.20.50 + #
esxi#.esxlab.com
Netmask
255.255.255.0
La
Gateway
192.168.20.1
DNS 1
192.168.20.2
DNS 2
- leave blank -
Root Password
esxlab.com
0.us.pool.ntp.org
('zero'.us.pool.ntp.org)
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Because our servers are off site, we must install ESXi without using the CD/DVD reader. We
will use PXE (Pre-boot eXecution Environment, pronounced pixie) network boot services.
Sa
m
Once you install ESXi onto your local hard disk, your machine will boot from local disk. In
preparation for your class, your server's hard disk array has been wiped, destroying any MBR
and partition table information on the drive. So, when your machine boots it will attempt a
Hard Disk boot and fail. Next, it will attempt a PXE network boot, which will succeed.
ui
de
Once your machine completes its POST, you should get a PXE network boot menu:
La
Please ensure that esxi50 ESXi5.0 Installable item is highlighted, then hit ENTER to
network boot from ESXi 5.0 install media.
Note: If you accidentally select some other option, please:
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
pl
e
The ESXi 5.0 installer will boot and run. The machine will initialize and then launch the
installer:
ui
de
Select a Disk
La
The installer then presents you with a roster of visible storage volumes, organized into
Local (SAS RAID) and Remote (Fibre, iSCSI SAN) volumes.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Please hit Enter to give the installer permission to wipe and use the local storage volume.
Note: The ESXi installer uses 100% of the selected disk (and does not give you the chance to
change/edit partitions on the selected volume)
Keyboard Layout
ESXi 5.0 can work with international keyboards... but we will use the default US keyboard
Root Password
Sa
m
pl
e
Note: Do not change your keyboard even if you are using something else locally
ui
de
Warning: Do not deviate from the suggested password. If you use something else and you
forget your password, you will have to re-install ESXi and you will lose all of your work!
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Confirm Install
ui
de
Sa
m
Please hit F11 to proceed with the install. The installer downloads and installs ESXi onto
your server. Progress is displayed as the install proceeds:
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Installation Complete
Sa
m
pl
e
When your ESXi installation has finished you will see the following:
La
ui
de
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
ui
de
Sa
m
pl
e
Once your server reboots, it presents you with an ESXi 5.0 greeter screen:
Your server acquired it's name and IP address from DHCP. Let's change that now.
Customize ESXi
La
Let's customize your server now. Please hit F2 to proceed (you may have to hit F2 a 2nd time
if you screen has gone black). You must authenticate with the local administrator (root) ID
and password
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Continuing where you left off (above), arrow down to Configure Management
Network and hit Enter
Highlight Network Adapters and hit Enter
Verify that all of the NICs in your physical server are connected (note if your server
has 4 NICs, its OK if the last NIC is disconnected). If any of vmnic0, vmnic1 or vmnic2
on your server are disconnected, please inform your instructor!
Hit ESC to leave the Network Adapters screen
Arrow down to IP Configuration and hit Enter
Arrow down to Set static IP address and network configuration and hit the Space
bar
Arrow down to the IP Address field and enter your server's IP address. Your server's
management IP address for our server pod is set according to the following formula
192.168.20.(50 + #)
Sa
m
ui
de
Verify your settings. Please ensure that your server uses static IP addressing following the
formula and values above. Your server should look similar to the screen shot below:
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
pl
e
You are now placed back at the Configure Management Network menu, with DNS
Configuration highlighted. Review the DNS Configuration details (right side of the screen).
You should see something similar to:
Next, let's set/verify DNS search suffixes. These suffixes are a list of domains to try
whenever the ESXi host is attempting to resolve a hostname that lacks a domain (i.e.:
trying to resolve esx5 rather than esx5.esxlab.com).
ui
de
Note: If this were a production environment, you could enter a space delimited list of
domains that you want DNS to search when attempting to resolve a host name.
La
The Testing Management Network pop up appears and launches ping tests of both the
default gateway and the configured DNS server. It also performs a DNS look up of the Fully
Qualified Domain Name (FQDN) of your ESXi host.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
pl
e
Troubleshooting Mode is command line access to your ESXi host. There are two versions:
ESXi Shell direct command line access from your machine's console
SSH Secure Shell (ssh) network command line access to your host
ui
de
Normally, you would leave these disabled unless you actually needed them. We will turn on
both troubleshooting options to facilitate support...
Please arrow down to Troubleshooting Options and hit Enter
If necessary, hit Enter on the Enable ESXi Shell menu option to permit local
command line access
Arrow down
If necessary, hit Enter on the Enable SSH menu option to permit secure shell access
Hit ESC to leave the Troubleshooting Options sub-menu
La
Please hit ESC to log out of the Direct Console User Interface (DCUI).
Close the Internet Explorer Remote Console window
Log out of ILO and close the ILO IE window.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Directions
Sa
m
Step
Welcome to the
Installation
Wizard for the
vSphere Client 5.0
License
Agreement
Customer
Information
Click Install
Click Finish
Ready to install
the program
La
Installation
Completed
Destination Folder
ui
de
Choose Setup
Language
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Click Login
You will see a Security Warning window... Click Install this certificate and do not
display any security warnings...
Click Ignore to log into your ESXi host
When the VMware Evaluation Notice window pops up, click OK
ui
de
Sa
m
pl
e
Password esxlab.com
There are two main views to the Configuration tab... Hardware and Software.
Please use the vSphere Client (using the indicated Tab or Function) to locate the following
information:
Property
Values
La
Server Manufacturer
Summary Tab
Server Model
Summary Tab
Total RAM
System (RAM)
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Note: If you are running on ESXLab.com servers, your storage adapter should be either an
HP Smart Array E200i or a Smart Array P400i. If you are running on other hardware your
instructor will help you identify the local storage adapter.
ui
de
Sa
m
Let's look at your default network configuration in more detail. Follow these steps:
The PCI Hardware Address of this NIC is found in the Adapter Details box to the right of the
Location label: Enter the PCI Hardware Address here - PCI ___:___.____
Click Close to close the vSwitch0 Properties window.
Host Licensing
ESXi comes with a 60-day unlimited use evaluation license built in. This eliminates the need
to obtain a trial license from VMware. Let's review the capabilities of your ESXi box while it
is running under evaluation mode.
Click the Configuration tab
In the Software box, click Licensed Features in the Software box
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Sa
m
If your ESXi host will not be managed by vCenter, it is a good idea to add local users. This is
done from the Local Users & Groups tab. Let's add a local user now.
ui
de
There is hidden functionality throughout the vSphere Client. In this case, a root
(background) menu is available.
Right-Click the background and select Add...
Use these values to complete the Add New User pop up
La
Login ________
Click OK to continue. Look for your newly added user on the user list.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Before we can use the new, local user, we must grant them access to our ESXi host. Rightclick your ESXi host (esxi#.esxlab.com) in the inventory pane (upper left, below the
menus). Click Add Permission...
The Assign Permissions pop up appears. Please complete this wizard as follows:
pl
e
Now, let's assign the user student a role. Continuing in the Assigned Permissions pop up:
Sa
m
Click the Permissions tab. You should see your user name appear (along with users root,
vpxuser and dcui) as an authorized user. You should also see you hold the Read-only role on
our ESXi host.
ui
de
We have just created a new, local user and assigned them Read Only permissions. Let's test
the new local user account. Please complete these steps:
Close your vSphere Client session
Double click on the vSphere Client icon on your remote desktop
Log in with ID <your Name> and Password esxlab.com
Navigate through the vSphere client. Note that many of the links and menu options that
were active for the root account are inactive (greyed out or black) for the <your Name>
user.
La
Your log in user name is displayed at the bottom right of the vSphere client. Please verify
that you are operating as <your Name> and not root. You should see the following:
Please close the vSphere Client and log in again as user root with password esxlab.com
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Ensure that you are are logged in as the root user. If not, close the vSphere client
and log in again as root with password esxlab.com
Click the Configuration tab
Click Authentication Services in the Software box
Note that the Directory Services Type field is set for Local Authentication only
Click the Properties... link (upper right hand corner).
Sa
m
pl
e
To have your ESXi host join a domain, complete the following steps:
ui
de
user#@esxlab.com
Password:
La
If all goes well, the Directory Services Configuration box should grey out all fields. This
means that you have successfully joined the ESXLAB.COM domain. If you get an error
message, please try again.
Now, let's grant Read-only permission for our AD based user (student#) to access our ESXi
host. Right click your ESXi host (esxi#.esxlab.com) in the inventory pane (upper left,
below the menus). Click Add Permission...
The Assign Permission pop up appears. Please complete this wizard as follows:
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
In the Select Users & Groups box, click the Domain: drop down and click the ESXLAB
domain
Click the Name column header to sort users by their name
Scroll through the Users & Groups list. Find and click the student# user
Click the Add button. You should see the Users: field populate with ESXLAB\student#
Click OK and the Select Users & Groups pop up will dismiss
Now, let's assign the user ESXLab\student# user a role. Continuing in the Assigned
Permissions pop up:
pl
e
Sa
m
Click the Permissions tab. You should see the ESXLAB\student# user appear (along with
users <your Name>, root, dcui and others) as an authorized user. You should also see that
user ESXLAB\student# holds the Read-only role on our ESXi host.
We have just created a new, AD based user permission with Read Only rights. Let's test the
access. Please complete these steps:
ui
de
Navigate through the vSphere client. Note that many of the links and menu options that
were active for the root account are inactive (greyed out or black) for the ESXLAB\user#
user.
La
Your log in user name is displayed at the bottom right of the vSphere client. Please verify
that you are operating as ESXLAB\user# and not root. You should see the following:
Please close the vSphere Client and log in again as root with password esxlab.com.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
pl
e
NTP is not automatically configured when ESXi is installed. Let's set up NTP now (note, you
can skip this step if your servers are not connected to the Internet or if advised by your
instructor):
Let's configure NTP. Click the Properties... link (upper right hand corner). The Time
Configuration pop up window appears. Complete this pop up as follows:
ui
de
La
If NTP Client field does not display as Running, click Properties... and fix the problem. Ask
your instructor for help if you encounter difficulties.
Note the information at the bottom of your screen... The vSphere client translates ESXi
time into the correct time for the local machine (our servers are located at a facility in the
Eastern Standard Time so the time displayed may not be correct for your local time zone).
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Sa
m
pl
e
ESXi can be configured to balance power consumption vs. performance. By default, all
power management capabilities of your server are turned off. It is a simple matter to
enable power management and thereby saving power while not compromising server
performance... Let's do that now:
Modern PC servers let you actually review server power consumption over time. On
ESXLab.com's HP servers, this feature is built into ILO. You can review your server's power
consumption by following these steps:
ui
de
The BIOS of your server must be configured to allow ESXi to take advantage of hardware
power management. Let's review how our server is configured:
On the left side, click the Settings link
Note the value of the Power Regulator for ProLiant field. It should be set to OS
Control mode. Other settings are Static Low Power mode (sacrifice performance for
power savings) or Static High Power mode (sacrifice power savings for performance).
Your server must be in OS Control mode for your ESXi power adjustment to make a
difference
La
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Now let's look at power consumption. Click the Power Meter link (left side). Please scroll
down and complete this table:
watts
watts
Watts
Please click the Log out link (upper right hand corner) to log out of ILO
Please close Internet Explorer
pl
e
Sa
m
Note: You may wish to log back in to ILO in a few hours to see if your changes have reduced
the power draw of your server.
In this lab step, we will review your ESXi host system logs.
Back at the vSphere Client menu bar, click View > Home
Double click the System Logs icon
Note that the currently selected log file is /var/log/hostd.log (the standard log file)
Click the Show All button to display all log file entries
Click the Export System Logs icon (floppy icon). This launches the Export System
Logs wizard
On the Select System Logs step, click Next >
On Download Location step, browse to your desktop and click Next >
On Ready to Complete, click Finish
ui
de
La
The Downloading System Log Bundles pop up appears. Please wait for this task to finish. It
will take 1-2 minutes to complete. Click Close when done.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Server Health
ESXi actively monitors the health status of your server. Monitored items include hardware
and ESXi itself. Hardware includes:
pl
e
Processors
Temperature sensors
Fans
Software (ESXi 5.0 itself)
Power Supplies
Sa
m
Server health monitoring can inform you when a component has degraded or failed
completely. It does this by putting yellow warning or red error triangles on the icon
representing the component. By default, these warnings propagate up the device hierarchy
so a component alert will be visible as a server alert.
Server health monitoring also provides feedback on processor temperatures, component
temperatures, fan speed, power supply redundancy, etc. It is useful to browse the
component hierarchy to review these values.
Click the Configuration tab > Health Status
ui
de
Look through the hierarchy (expanding branches and possibly widening columns) to find the
values for the following properties:
Proc 1 Level-1 Cache (bytes)
Power Supply 2
La
ESXi relies on CIM (Common Information Model) to acquire server hardware information.
CIM is defined by DMTF (Distributed Management Task Force). DMTF defines many object
profiles. The SMASH (Systems Management Architecture for Server Hardware) profile set is
used by VMware to define how to harvest data from hardware sensors.
Note: Tier-1 server manufacturers work closely with VMware to ensure their hardware is
correctly recognized and that many hardware properties can be monitored and reported.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Enabling command line access to your ESXi host will allow your instructor (and ESXLab) to
access your system to help fix problems.
If you haven't already done so, let's enable command line access now:
Sa
m
ui
de
Note: Enabling Local Tech Support permits command line access only from the
server's physical console. Enabling Remote Tech Support permits command line
administrator access from any PC on your network (using an SSH client such as the
freely available putty).
La
Normally, you should only enable Remote Tech Support under the following conditions:
1.
2.
3.
4.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
If this occurs, you could reboot your server but that would make the owners and users of
VMs on that host very unhappy. Fortunately, it is a simple matter to restart the Management
Agents on your ESXi host.
Let's restart the Management Agents now:
ui
de
You should still be logged into your ESXi host console. If not, please launch Internet
Explorer on your remote access desktop and repeat the steps at the beginning of Part
6 (previous page)
Arrow down to Troubleshooting Options and hit Enter
Arrow down to Restart Management Agents and hit Enter
Hit F11 to confirm that you want to restart the Management Agents
Watch as the agents are stopped and then restarted
Hit Enter to close this pop up
Hit ESC twice to log out of ESXi
Sa
m
Note: You should only take these steps when you cannot login in to or manage your ESXi
host using the vSphere Client.
La
December, 2011
La
ui
de
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Please ensure that you are connected to your vCenter management server.
Sa
m
In this step we will create a new virtual switch (vSwitch1) for later use with virtual machine
hot migration. Complete these steps
ui
de
Open the vSphere client on your vSphere VM desktop and log in with user name root
and password esxlab.com
Click the Configuration tab
Click Networking in the Hardware box
Review your current network configuration. You should have one vSwitch defined (vSwitch0)
with a VMkernel port called Management Network port and a Virtual Machine Port Group
called VM Network. Both items were created automatically when you installed ESXi. The
Management port is for vSphere Client connections and also for vCenter management
(later).
First we will delete the default VM Network port group. Complete these steps:
La
November, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
VMkernel
Leave Selected
vmnic#
Check vmnic1
Click Next >
VMotion
VLAN ID
Leave at default
Check
Leave blank
Leave blank
(case sensitive)
Sa
m
Network Label
pl
e
192.168.21.50+#
ui
de
IP Address
Subnet Mask
255.255.255.0
Click Next >
Click Finish
Internal only vSwitches are vSwitches that are used for isolated VM to VM networking. Click
Add Networking... and complete the Add Network wizard with the following values:
Virtual Machine
Click Next >
La
Connection Type
Create a vSphere standard swtich
Leave selected
vmnic2
Uncheck
Network Label
Internal
VLAN ID (Optional)
Leave blank
November, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Click Finish
Review
ui
de
Sa
m
pl
e
You have just added two vSwitches, a VMkernel Port and a new Virtual Machine port group
to your virtual network infrastructure. Your virtual network configuration should closely
match the following picture...
La
Note: Your VMkernel port IP address may not match exactly. Please make sure it is correct
for your server (the screen shot is correct for server esxi3). Remember 192.168.20.50 + #
for the Management port and 192.168.21.50 + # for the VMotion port.
Please correct any differences between your view and the above now. Please do not do
anything with the unused physical NIC (vmnic2). We'll put it to use in a future lab.
November, 2011
La
ui
de
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
November, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Lab 4 NFS
Objectives:
In this lab, you will update your configuration to allow your ESX server access to an NFS
share. To complete these steps, you will
pl
e
Sa
m
Please ensure that you have connected to your dedicated server as per Lab 1.
Configuration
/mnt/privateluns/nfs1
NFS-iSCSI
Please open a vSphere Client session to your ESX host (with ID/PW of root and
esxlab.com)
Click your ESX host > Configuration tab > Networking
ui
de
We need a new VMkernel port so that the VMkernel can access the 192.168.20.0/24
network. Since vSwitch0 is already connected to this LAN segment (see Management Port IP
address), we'll simply add the VMkernel port to this vSwitch.
The VMkernel uses VMkernel ports for its networking needs including access to NFS file
shares. Let's add one now...
Click the Properties... link to its right
Click Add
Connection Type
Select VMkernel
La
Locate vSwitch0
Network Label
NFS-iSCSI
VLAN ID (Optional)
Leave at default
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
Leave unchecked
Leave unchecked
Leave unchecked
Click Next >
Check
IP Address
Subnet Mask
255.255.255.0
Click Next >
Ready to Complete
Click Finish
Sa
m
pl
e
ui
de
It is important that your NFS-iSCSI VMkernel port have the correct IP address. Review the
Networking view and ensure everything is correct (your VMkernel port will be similar to, but
not necessarily the same as the image below).
La
Note:
To avoid IP address conflicts with other ESXi hosts, the value of the last octet of the NFSiSCSI VMkernel Port must be exactly 30 higher than the corresponding value for the
Management Network port. If this is not the case with your configuration, please fix it now
before continuing.
December, 2011
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
pl
e
Storage Type
192.168.20.9
Folder
/mnt/privateluns/nfs1
Check
Datastore Name
NFS-ISOs
Sa
m
Server
Click Finish
ui
de
La
Now that we have connected to the NFS datastore, let's browse it to see what it contains.
There is an ISOs folder. Double click it. You should see something like this:
These are ISOs of Windows install media and other tools that we will use in future labs.
Take some time to review the contents of the this and other sub-directories.
December, 2011
Sa
m
pl
e
First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide
La
ui
de
December, 2011