First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide

Lab Guide

Sa m

A step by step approach to successful

virtualization planning, deployment and administration.

G

b

La

Visit www.esxlab.com for more information or to order

ui de

VMware vSphere 5.0 with ESXi and vCenter

Featuring VMware vSphere with

VMware ESXi™ 5.0, VMware vCenter™ 5.0, and related products
January, 2012

pl e
5 Day

First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide

Published by: Larry Karnis, ESXLab.com 15 Claypine Trail Brampton, Ontario Canada L6V 3L8
Phone: Toll Free: Facsimile: E-mail: Web: (905) 451-9488 x100 (888) 451-3131 (905) 451-7823 larry.karnis@esxlab.com http://www.esxlab.com

First edition published for vSphere 4.0 October 2009 Second update for vSphere 4.1 December 2010 Third update for vSphere 5.0. September 2011

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.

b

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.

G

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.

Visit www.esxlab.com for more information or to order

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.

Sa m

pl e

VMware vSphere 5.0 with ESXi and vCenter – Lab Guide Copyright © 2009, 2010, 2011, 2012 by ESXLab.com – All rights reserved.

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 Lab 4 – Network File System Lab 5 – Create a Virtual Machine Lab 7.1 – Multiple Virtual Machines Lab 7.2 – Hot Add Virtual Disks Lab 7.3 – Hot Extend a Virtual Disk Lab 8 – Permissions Lab 10 – VMware File System Lab 11 – Resource Pools Lab 13 – Host Profiles Lab 12 – vCenter Alarms Lab 6 – Install vCenter and Update vCenter Inventory

Lab 7.4 – Grow a Windows System Volume Lab 9 – Configure iSCSI Shared Storage

Lab 14 – VMware vSphere Converter Standalone Lab 15 – VMware Data Recovery

La

Lab 16 – Virtual Machine Cold and Hot Migration, Storage VMotion Lab 17 – Distributed Resource Scheduler Lab 18 – VMware High Availability Clusters Lab 19 – VMware Update Manager Lab 20 – Performance Monitoring End of Class Evaluation
© 2011, 2012 ESXLab.com. All rights reserved.- i January, 2012

b

G

Copying this document in whole or in part is not permitted.

Visit www.esxlab.com for more information or to order

ui de

Sa m

pl e

First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide

La

© 2011, 2012 ESXLab.com. All rights reserved.- ii -

b

G

ui de
Copying this document in whole or in part is not permitted.

Sa m
January, 2012

Visit www.esxlab.com for more information or to order

pl e

VMotion.1 training at your company or training center. upgrades. please call or e-mail it us with your preferred dates and needs: Toll Free: 1 (888) 451-3131 E-mail: sales@esxlab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide vSphere 4..esxlab. and need servers to run through the labs Would like to run through the labs a 2nd time to improve your familiarity and skill with vSphere Would like to offer VMware vSphere 5..com for more information or to order pl e ESXLab. Rent our servers if you: . 36-300GB of disk. management.com Fax: 1 (905) 451-7823 La From 1 to 12 HP DL360 or DL365 enterprise class servers Servers include 1 Dual Core or Quad Core CPU (FaultTolerant compliant). but don't have local hardware on which to run the labs To practice migrations.esxlab.com has over 150 servers available for rent.0 or 4. 6-8GB RAM. iSCSI SAN. 3 GB NICs. before trying them on your own production machines Visit www. HP ILO 2 remote management 2GB Ethernet segments for NFS. Fault Tolerant logging and general VM network use An NFS service with all media images needed to complete our labs An iSCSI SAN service for shared access storage Live support to help run our labs b G ui de Sa m Revised: October 2011 • Purchased our course books from one of our publishing partners.0 Ready Servers Rentals for Class or Individual Use • • • What's Included in my Server Pod Rental • • • • • • Get a Quote To get a kit rental quote.1/5.com Phone: 1 (905) 451-9488 Web: www. etc.

First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide La b G ui de Revised: October 2011 Visit www.com for more information or to order Sa m pl e .esxlab.

20.105.esxlab.168.esxlab.com server pods: Your Dedicated ESXi Server IP Properties Your ESXi Fully Qualified Domain Name ESXi host alias ESXi Management IP address ESXi administrator account ESXi administrator password esxi#.com esx#ilo.20. and your Windows 2003 server's (for the Converter Enterprise lab) IP address is 192.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 1 .50 + # esxlab. if you are using Server 5.com Remote Lab Environment Part 1 – Server Pod Layout ESXLab. All rights reserved.125.168.168.esxlab.Remove Lab Environment 1 Sa m 192.com Visit www. The following information is appropriate for ESXLab.20 + # admin letmein! (let-me-in!) Dedicated Virtual Machines Dedicated Windows 2003 Server fixed IP (for use in the Converter Enterprise lab) G Each student server has two dedicated VMs.ILO Configuration ILO IP Address ILO User Name ILO Password ILO FQDN 192.20.com esxi# user# Dedicated ESXi Server Remote Management Card . your vCenter VM's IP address is 192.168.168.com provides remote server pods that are permanently housed in a Class-A data center. ui de Photocopying this document in whole or in part is not permitted. your instructor may provide you with other information for performing your labs.20.20.120+# La For example. Instructors using our remote server pods are provided with a Kit Access document that gives access details.100+# 192. for vCenter and for the VMware Converter: Dedicated vSphere VM fixed IP 192. Lab 1 .Introduction to ESXLab.com for more information or to order pl e December. b © 2012.20. 2011 .168. Alternatively.

b G Our server pods are pictured to the right.com for more information or to order Sa m pl e . They also have MPLS bonded links to multiple Internet back bone providers.esxlab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide The result is very responsive remote access session regardless of where you are (even for classes running Australia. etc. Our DC has an enterprise uninterruptable power system. Visit www.) and between 10 and 12 HP DL360 or DL365 enterprise class servers for student use. Each pod has one infrastructure server (for remote access VMs.Remove Lab Environment 2 December. Europe or Japan!) La We host our servers in a Class-A datacenter. 2011 Photocopying this document in whole or in part is not permitted. a 500KVA diesel generator and n-way redundant cooling. All rights reserved. ui de Lab 1 . © 2012.

com Remote Access Servers Log on to the Remote Desktop (RDP) Session as follows: • • • • • • La • • Click Connect to launch the RDP client Log in with your credentials from the Kit Access document Lab 1 .esxlab. If your training center runs it's own servers. b G Photocopying this document in whole or in part is not permitted. your instructor will provide you with local access instructions.Accessing your Server Pod ESXLab. Visit www. Please ask your instructor to help resolve issues logging into remote servers. Set the Color Depth to High Color (15-bit or 16-bit). Note if you use 1024x768. For ESXLab. Use the information from the Kit Access document. Don't use anything higher or your remote session's performance may suffer Click the General tab and enter the IP address and port number of your remote access server pod as specified on your Kit Access document: pl e .First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 2 . All rights reserved.Remove Lab Environment 3 December. 2011 © 2012.com remote servers are accessed via Microsoft Terminal Services.com for more information or to order ui de Sa m Launch your RDP client ( Start > Run > mstsc.exe) Click Options>> Click the Display tab Select a high resolution or Fullscreen (slider to the right). or other information as supplied by your instructor. then you may be forced to scroll some windows to interact with your VMs.

2011 . Your local desktop PC running Windows XP Pro.com for more information or to order pl e December. If you run into this problem. All rights reserved. please try the following: G © 2012. Vista (Business or Ultimate) or Windows 7 might cough up a Terminal Services licensing error. Lab 1 .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. • • • This should create a new set of temporary license keys needed for RDP to work.Only if you get Terminal Services Licensing Errors If you did not receive any MS Terminal Services licensing errors. please proceed to Page 5.Remove Lab Environment 4 Sa m Visit www. This can happen when a temporary Terminal Services license has expired. ui de Photocopying this document in whole or in part is not permitted..esxlab. please reset local Terminal Services licensing as follows: • • • Click Start > Run > regedit > OK Expand HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > MSLicensing Remove all sub-keys under MSLicensing key (do not remove the MSLicensing key itself) Try re-connecting via Terminal Services. Optional . La • • Click Start (or the Windows button for Windows 7) Click Programs (All Programs) Click Accessories Right click Remote Desktop Connection Click Run as administrator b If the above doesn't work..

com remote access servers. Click the Momentary Press button to power on your server. All rights reserved. please: • • • • Open Internet Explorer on your remote desktop In the address field of IE.20 + #) You will get a There is a problem with this website's security certificate warning. b G ui de Power on Your Server La © 2012. and then OK to the Message from Website pop up. Log in to ILO with ID: admin. Password: letmein! (or as provided by your instructor) • • Your machine should be powered off (as indicated by the System Status tab).First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 3 – Power on Your Server Using Remote Server Management ESXLab. ILO is capable of performing many server management tasks including: • • Power managing the machine (power on.com for more information or to order pl e Power On Server Other vendors provide similar functionality. 2011 . if you server is already powered on.168. Lab 1 . click the Power Management tab and then the Reset button to reset your server.ILO You will use HP ILO 2 to power on your server and access it's console.: 192. power off.g. power reset) Opening and displaying remote console sessions Access Remote Server Management . To access ILO.20. December. Photocopying this document in whole or in part is not permitted. type in the IP address of your server's remote management console (e.Remove Lab Environment 5 Sa m Visit www. Click Continue to this website (not recommended). Or.esxlab. Dell has DRAC (Dell Remote Access Controller) cards and IBM offers RSA (Remote Server Assistant) controllers. your machine is equipped with an HP Integrated Lights Out 2 (ILO) remote network management card.

you will get another Warning – Security pop up. we need to interact with the physical machine's console.com for more information or to order pl e Click the Remote Console tab Click the Remote Console link.. Click Yes Finally.Remove Lab Environment 6 Sa m December. All rights reserved. Click Yes Next.esxlab. This launches Java You will receive a Warning – Security pop up. and that the server is powered on before continuing to Lab 2. Lab 1 . Let's open ILO's remote console service: • • • • • • 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. b G © 2012. To install ESXi. 2011 Visit www. you may get a Hostname Mismatch error. ui de Photocopying this document in whole or in part is not permitted.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Launch a Remote Console ILO can redirect your servers physical console to a console Window. Click Yes Maximize the ILO Remote Console window ..

your machine is an HP/Compaq DL365 enterprise class server and is fully supported by VMware.20.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 Sa m Photocopying this document in whole or in part is not permitted.0 onto a dedicated server. 2012 ESXLab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 2 – Install ESXi ESXi Server Configuration In this lab.org) ESXi Service Console Host Name (FQDN) Root Password FQDN of NTP time source Lab 2 – Install and Configure ESXi © 2011.20.com for more information or to order pl e December.20. All rights reserved. Your server has a minimum of the following hardware (some may have more) • • • • Objectives: In this lab.168.168.leave blank esxlab.com. 1 La b G ui de Install ESXi 5.255.com 255.255.esxlab. you will install VMware ESXi 5.ntp.pool. 2011 • 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 .168.pool.50 + # esxi#.0 192. you will: • • • • • • • • • ESXi Installation – Needed Information ESXi Service Console IP Address Netmask Gateway DNS 1 DNS 2 Please refer to the information below when installing and configuring your ESXi server: 192.us.com 0.ntp.1 192. If you are using ESXLab.com remote access servers.us. Visit www.2 .org ('zero'.esxlab.

Once you install ESXi onto your local hard disk. it will attempt a PXE network boot. you should get a PXE network boot menu: Note: If you accidentally select some other option.com for more information or to order pl e December.com Remote Access Servers Your server has been set with the following boot device order: • • Local Hard Disk Ethernet (PXE) Because our servers are off site. your server's hard disk array has been wiped. pronounced pixie) network boot services. All rights reserved. which will succeed. Once your machine completes its POST.com. then hit ENTER to network boot from ESXi 5.0 Installable item is highlighted. destroying any MBR and partition table information on the drive. Sa m Visit www.Install ESXi Boot ESXi using ESXLab. In preparation for your class. 2012 ESXLab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 1 . Next. we must install ESXi without using the CD/DVD reader. Switch to your main ILO session > Power Management Tab Click the Reset button and let the machine reboot Watch the machine run its power on self test and wait for the above menu to appear b G ui de Photocopying this document in whole or in part is not permitted.esxlab. 2011 . please: • • • Lab 2 – Install and Configure ESXi © 2011. We will use PXE (Pre-boot eXecution Environment.0 install media. So. 2 La Please ensure that esxi50 ESXi5. when your machine boots it will attempt a Hard Disk boot and fail. your machine will boot from local disk.

Boot ESXi from Other Media If you are using local servers (not ESXLab. Welcome to the VMware ESXi 5. Visit www.com for more information or to order pl e . iSCSI SAN) volumes.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Optional .esxlab. 2012 ESXLab. 2011 Photocopying this document in whole or in part is not permitted. b G ui de You must accept the EULA before continuing the install: Sa m December.0 Installation The ESXi 5. All rights reserved.com remote servers). The machine will initialize and then launch the installer: Please hit ENTER to continue. simply power on the ESXi host and follow the instructions provided by your trainer on how to boot ESXi.0 installer will boot and run. End User License Agreement Hit F11 to accept the EULA and continue Select a Disk Lab 2 – Install and Configure ESXi © 2011. 3 La The installer then presents you with a roster of visible storage volumes.com. organized into Local (SAS RAID) and Remote (Fibre.

2012 ESXLab.com again to confirm your password Look for the message below that says the passwords match Hit Enter to continue Note: Be sure to use the suggested password above.0 can work with international keyboards. 4 La b G ui de Sa m December.esxlab.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.. but we will use the default US keyboard • Please hit Enter to accept the US default keyboard layout. Root Password Next.com. 2011 Photocopying this document in whole or in part is not permitted.com as your root password Arrow down Type esxlab. Visit www.. All rights reserved. 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. If you use something else and you forget your password. you may see the following warning: Lab 2 – Install and Configure ESXi © 2011. Warning: Do not deviate from the suggested password.com for more information or to order pl e Note: Do not change your keyboard even if you are using something else locally . you need to set the root (administrator) password: • • • • • Type esxlab. you will have to re-install ESXi and you will lose all of your work! Hardware Virtualization Warning (May not Be Present on Your Machine) At this point.

or your server's BIOS has these features turned off.esxlab. All rights reserved.com. Progress is displayed as the install proceeds: Lab 2 – Install and Configure ESXi © 2011. Please hit F11 to proceed with the install.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide If you don't see this warning. The installer downloads and installs ESXi onto your server. Confirm Install ESXi will now install on your local server.. Visit www. 5 La It should take no more than 3-5 minutes to install ESXi. just hit Enter to ignore the message and continue . b G ui de Sa m Photocopying this document in whole or in part is not permitted. Quad-core processors (and higher) should just work without producing the above message. 2011 • If you see this message. Dual core processors that incorporate Intel VT or AMD-V virtualization assist technology will function (and produce the warning above). please skip to Confirm Install The installer is advising you that the CPU(s) in your server either lack modern hardware virtualization assist technology.. or if it uses early Intel Xeon EMT/64 processor. 2012 ESXLab. Note: ESXi will not install/run if the CPUs in your server are not 64-bit.com for more information or to order pl e December.

.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Installation Complete When your ESXi installation has finished you will see the following: Please hit Enter and wait for your server to reboot. Sa m December. All rights reserved. 2012 ESXLab. 6 La b G ui de Photocopying this document in whole or in part is not permitted.esxlab. 2011 Visit www.com.com for more information or to order pl e .. Lab 2 – Install and Configure ESXi © 2011.

First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 2 – Configure ESXi Once your server reboots.com. it presents you with an ESXi 5.esxlab. Visit www. 7 La b Please hit Enter to accept the default Login Name (root) Please enter esxlab.0 greeter screen: Your server acquired it's name and IP address from DHCP. Customize ESXi • • Lab 2 – Install and Configure ESXi © 2011. Let's change that now. Please hit F2 to proceed (you may have to hit F2 a 2nd time if you screen has gone black). All rights reserved. 2011 . 2012 ESXLab.com for more information or to order pl e December. You must authenticate with the local administrator (root) ID and password ui de Sa m Photocopying this document in whole or in part is not permitted.com to login as root G Let's customize your server now.

168.esxlab.1 Hit Enter to apply these properties Now.com.2 Verify that the Alternate DNS Server field is blank Arrow down to the Hostname field.168.20. All rights reserved. let's configure DNS..20. enter 192.g. you FQDN would be esxi5. its OK if the last NIC is disconnected). let's set static IP properties for your ESXi server. your server's IP is 192.com (where # is your unique server number.20.0 Arrow down to the Default Gateway field and enter 192. Your server's management IP address for our server pod is set according to the following formula December.255. Your server should look similar to the screen shot below: Sa m Photocopying this document in whole or in part is not permitted. 8 La • • • • • Arrow down to the DNS Configuration option and hit Enter In the Primary DNS Server field.com for more information or to order pl e • Continuing where you left off (above). Please enter esxi#. vmnic1 or vmnic2 on your server are disconnected.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide System Customization – Configure Management Network Next.: If you are assigned server 5. 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.168. Please complete the following: • • • • • • 192... Please ensure that your server uses static IP addressing following the formula and values above. If any of vmnic0. Visit www.esxlab.com) Hit Enter to apply these properties b G ui de Verify your settings. E.: if you were assigned server 11.g..255.61 Arrow down to the Subnet Mask field and enter 255.20.esxlab.(50 + #) (where # is your instructor assigned server #) • • • E. Lab 2 – Install and Configure ESXi © 2011. 2012 ESXLab.168. 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. 2011 .

com for more information or to order pl e December. Visit www. 9 La Arrow down to Test Management Network and hit Enter b G ui de Arrow down to Custom DNS Suffixes and hit Enter Enter esxlab. 2012 ESXLab. All rights reserved. It also performs a DNS look up of the Fully Qualified Domain Name (FQDN) of your ESXi host.com. Lab 2 – Install and Configure ESXi © 2011.esxlab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide You are now placed back at the Configure Management Network menu.e.com). • • • Note: If this were a production environment. Next. let's test our management network settings to ensure they are correct: • The Testing Management Network pop up appears and launches ping tests of both the default gateway and the configured DNS server.esxlab. with DNS Configuration highlighted..com in the Suffixes field. you could enter a space delimited list of domains that you want DNS to search when attempting to resolve a host name. Hit Y to apply changes System Customization > Test Management Network Before we continue. 2011 . let's set/verify DNS search suffixes. It is now time to apply your IP addressing and DNS changes. Hit Enter to accept this value and return to the Configure Management Network menu.: trying to resolve esx5 rather than esx5. Review the DNS Configuration details (right side of the screen). Sa m Photocopying this document in whole or in part is not permitted. These suffixes are a list of domains to try whenever the ESXi host is attempting to resolve a hostname that lacks a domain (i.. You should see something similar to: Please fix any/all errors before continuing. • • Please hit ESC to leave the Configure Management Network menu You should see a Confirm pop up asking you to apply these changes.

Results appear as follows Please fix any issues reported by this test before continuing. • Hit Enter to dismiss this window. Visit www. 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 G ui de ESXi Shell – direct command line access from your machine's console SSH – Secure Shell (ssh) network command line access to your host Sa m Photocopying this document in whole or in part is not permitted. 10 La Please hit ESC to log out of the Direct Console User Interface (DCUI). Remote Troubleshooting Troubleshooting Mode is command line access to your ESXi host. We will turn on both troubleshooting options to facilitate support.com for more information or to order pl e December. 2011 . There are two versions: • • Normally.esxlab.. Lab 2 – Install and Configure ESXi © 2011. you would leave these disabled unless you actually needed them.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Hit Enter to run the tests. Please arrow down to Troubleshooting Options and hit Enter • • • • Close the Internet Explorer Remote Console window Log out of ILO and close the ILO IE window. 2012 ESXLab. All rights reserved.com. b If necessary. Enable Local.

com. We have pre-copied the vCenter 5.com Click Next > Close the VMware vCenter Installer window Close the Windows Explorer window Sa m Please minimize all programs on your remote session desktop. Visit www.0 End User Patents License Agreement Customer Information Destination Folder Ready to install the program Installation Completed • • • Leave at English (United States) Click OK Click Next > • • • • • • • La b Lab 2 – Install and Configure ESXi © 2011.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 3 .Install/Use the vSphere Client The vSphere Client is a VMware supplied GUI tool used to manage both stand alone ESXi hosts and vCenter. Double click autorun.exe When the vCenter Installer application starts. The vSphere Client is included in the vCenter 5.com/download). Locate the vSphere 5.0 install bundle. 2012 ESXLab. All rights reserved. 11 G • The vSphere Client icon should appear on your desktop • • ui de Click Next > Click Install Click Finish • Click Next > Click I agree to the terms of the license agreement Click Next > User Name: admin Organization: esxlab. please complete these steps: • • • • Choose Setup Language Welcome to the Installation Wizard for the vSphere Client 5. click the vSphere Client link > Install Photocopying this document in whole or in part is not permitted.0 install bundle to your remote access desktop. 2011 . To install the vSphere Client. You can also download the vSphere client directly from VMware's download site (www.0 folder and double click it.esxlab.vmware.com for more information or to order pl e Step Directions December.

Hardware and Software.... There are two main views to the Configuration tab. Please use the vSphere Client (using the indicated Tab or Function) to locate the following information: Property CPU Make. • • Double click the VMware vSphere Client on your desktop Enter the following credentials when prompted: IP Address / Name esxi#.esxlab..com... • • • Double click the Inventory icon in the Inventory pane Click the Summary tab for hardware specific information about your server Click the Configuration tab for detailed hardware information. 12 G ui de Summary Tab Summary Tab Configuration > Hardware box > Processors Configuration > Hardware box > Memory Configuration > Hardware box > Memory Sa m Click Login You will see a Security Warning window.. All rights reserved. Model Location Tab / Function Values Configuration > Hardware box > Processors Processor Speed (Ghz) Server Manufacturer Server Model Total RAM b Processor Cores per Socket Configuration > Hardware box > Processors La System (RAM) Lab 2 – Install and Configure ESXi © 2011. 2011 . Visit www.0 Server We will now use the vSphere Client to connect to our ESXi host.esxlab. Click Install this certificate and do not display any security warnings.com (where # is your server number) User name root Password esxlab. click OK Photocopying this document in whole or in part is not permitted.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 4 .com • • • • Review Your Server Let's explore your ESXi host.Connect to and Configure Your ESXi 5.. Click Ignore to log into your ESXi host When the VMware Evaluation Notice window pops up.com for more information or to order pl e December. 2012 ESXLab.

esxlab. All rights reserved. ui de Sa m Let's look at your default network configuration in more detail. click the Network Adapters tab 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 .com for more information or to order pl e December.com servers. 13 La How many days remain in your evaluation? (hint: just above the Configuration tab) What is the maximum number of virtual CPUs available to a VM (Up to __-way virtual SMP)? Is vMotion available? Is vSphere DRS available? b Click the Configuration tab In the Software box. 2011 .PCI ___:___. 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. This eliminates the need to obtain a trial license from VMware. • • • • Click the Configuration tab In the Hardware box. click Networking You will see one virtual switch (vSwitch0). Click the Properties. Let's review the capabilities of your ESXi box while it is running under evaluation mode.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Virtual Machines (RAM) Number of Physical NICs Configuration > Hardware box > Memory Configuration > Hardware box > Network Adapters Local Storage Make/Model Configuration > Hardware box > (see Note below) Storage Adapters > vmhba1 Storage Volume Name(s) Configuration > Hardware box > Storage Note: If you are running on ESXLab.____ Click Close to close the vSwitch0 Properties window. Follow these steps: Photocopying this document in whole or in part is not permitted. 2012 ESXLab. Visit www.com. Host Licensing • • Lab 2 – Install and Configure ESXi © 2011.. click Licensed Features in the Software box G ESXi comes with a 60-day unlimited use evaluation license built in.. link beside vSwitch0 To see the properties of the NIC bound to this vSwitch.

Use these values to complete the Add New User pop up Login ________ UID Leave blank User Name Leave blank Enter Password esxlab. Right click it and select Rename Change the name to esxi#-datastore1 (where # is your server number) pl e . • G • Right-Click the background and select Add.. link (upper right hand corner) to assign a permanent license code to your ESXi host.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Is Storage VMotion available? Are vSphere HA (High Availability) Cluster services available? Is vSphere Distributed Switch available? Note: You would simply click the Edit. Look for your newly added user on the user list.com. 2012 ESXLab. a root (background) menu is available. All rights reserved.. it is a good idea to add local users. Rename Your Datastore By fault.com for more information or to order ui de • Click the Local Users & Groups tab now The default is a Users view. This is done from the Local Users & Groups tab. the local VMFS storage volume created when you install ESXi is called datastore1.esxlab. Since we will (eventually) be adding multiple ESXi hosts to vCenter. December. In this case. it's nice to create unique names for our storage volumes.. 14 La Grant shell access to this user Leave unchecked • Click OK to continue. Let's do that now: • • Add a Local User If your ESXi host will not be managed by vCenter. Visit www. Click the Groups button to review the default groups Click the Users button to go back to the Users view Sa m • Click Configuration tab > Storage Find your datastore1 volume. • • There is hidden functionality throughout the vSphere Client. Let's add a local user now.com Group Leave default (your first name in lower case) Lab 2 – Install and Configure ESXi © 2011.. 2011 b Photocopying this document in whole or in part is not permitted.com Confirm esxlab.

esxlab.com.esxlab.com Please close the vSphere Client and log in again as user root with password esxlab. We have just created a new.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Before we can use the new. button Scroll through the Users & Groups list. Visit www. Please verify that you are operating as <your Name> and not root. we must grant them access to our ESXi host. Let's test the new local user account.com Lab 2 – Install and Configure ESXi © 2011. Please complete this wizard as follows: • • • • In the Users & Groups box. below the menus). The Assign Permissions pop up appears..com) in the inventory pane (upper left. local user and assigned them Read Only permissions. You should see the following: G Navigate through the vSphere client. Find and click the new <yourName> user Click the Add button Click OK and the Select Users & Groups pop up will dismiss Now. Rightclick your ESXi host (esxi#. click the Add... 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. 2012 ESXLab. local user. click the drop down field Select Read-only Leave all other settings at their default value Click OK to dismiss the Assigned Permissions pop up window Photocopying this document in whole or in part is not permitted. 15 La b Your log in user name is displayed at the bottom right of the vSphere client. ui de Sa m In the Assigned Role box. All rights reserved. let's assign the user student a role. Continuing in the Assigned Permissions pop up: • • • • Click the Permissions tab. You should see your user name appear (along with users root. 2011 .com for more information or to order pl e December.. Click Add Permission. 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. You should also see you hold the Read-only role on our ESXi host. vpxuser and dcui) as an authorized user.

let's grant Read-only permission for our AD based user (student#) to access our ESXi host. The Assign Permission pop up appears.COM domain. 2012 ESXLab.com ui de Click the drop down field and click Active Directory The Domain: field activates.com. 16 La Click the Add button b G Sa m Ensure that you are are logged in as the root user. complete the following steps: December. If you get an error message. Please complete this wizard as follows: • Lab 2 – Install and Configure ESXi © 2011. Enter esxlab. close the vSphere client and log in again as root with password esxlab. • Click OK to dismiss the pop up window Now.com. All rights reserved. Visit www.. ESXLab. • • • • • Complete the Directory Services Configuration pop up as follows: • • • • User name: Password: • user#@esxlab. We have created users with user names user1 through user12.com for more information or to order pl e To have your ESXi host join a domain..com) in the inventory pane (upper left. below the menus).First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Connect to Active Directory ESXi can connect to Microsoft's Active Directory. the Directory Services Configuration box should grey out all fields.esxlab. we must join a domain.esxlab. and grant domain users access to our ESXi system...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.COM pop up with the following values: (where # is your server number) (Password found on your Kit Access document) Click the Join Domain button If all goes well. This means that you have successfully joined the ESXLAB. please try again.com Click the Join Domain button Complete the Join Domain ESXLAB. Before your AD users can log in. Photocopying this document in whole or in part is not permitted. Click Add Permission. If not. Right click your ESXi host (esxi#. This means that you can configure ESXi to authenticate AD managed accounts (rather than creating new local user accounts as we just did). link (upper right hand corner). 2011 .com remote access server pods run an AD service with one predefined domain: esxlab.

com. let's assign the user ESXLab\student# user a role.com for more information or to order pl e • In the Assigned Role box. root. Photocopying this document in whole or in part is not permitted. AD based user permission with Read Only rights. Continuing in the Assigned Permissions pop up: • • • We have just created a new. You should see the Users: field populate with ESXLAB\student# Click OK and the Select Users & Groups pop up will dismiss Now. 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. You should also see that user ESXLAB\student# holds the Read-only role on our ESXi host.esxlab. You should see the following: Please close the vSphere Client and log in again as root with password esxlab. All rights reserved. Find and click the student# user Click the Add button. Your log in user name is displayed at the bottom right of the vSphere client. You should see the ESXLAB\student# user appear (along with users <your Name>. 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. 2012 ESXLab. Please verify that you are operating as ESXLAB\user# and not root. Visit www. 2011 . dcui and others) as an authorized user. Please complete these steps: • • • Navigate through the vSphere client.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide • • • • • In the Select Users & Groups box. 17 La b G ui de Close your vSphere Client session Double click on the vSphere Client icon on your remote desktop Log in with ID ESXLAB\student# with the same password as your ESXLAB\user# account Sa m Click the Permissions tab.com. click the drop down field Select Read-only Leave all other settings at their default value Click OK to dismiss the Assigned Permissions pop up window December. Lab 2 – Install and Configure ESXi © 2011. Let's test the access.

. enter 0. Ask your instructor for help if you encounter difficulties. click the Options button The NTP Daemon (ntpd) Options window appears. b G Your changes should be applied immediately.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Configure ESXi's Clock Services ESXi can synchronize all VM clocks to the server's hardware clock – so it is critical that the hardware clock is correct.. and fix the problem. Your NTP server should automatically populate the NTP Servers box Check the Restart NTP service to apply changes box Click OK to dismiss the NTP Daemon (ntpd) Options pop up Click OK to dismiss the Time Configuration window Sa m Click the Configuration tab Click Time Configuration in the Software box Note that the NTP Servers field is empty (contains '–-') Photocopying this document in whole or in part is not permitted. To ensure accurate time.us.org (zero.. Click the Properties. The Time Configuration pop up window appears. All rights reserved. Click NTP Settings (left side) Click the Add.esxlab.com for more information or to order pl e December.ntp. Lab 2 – Install and Configure ESXi © 2011.. click Properties.pool. Complete this pop up as follows: • • • • • • • • • • NTP is running (NTP Client field) The correct NTP time server is configured (NTP Servers field) Note the information at the bottom of your screen. Let's set up NTP now (note. An up to date list of available NTP time servers can be found at http://support.pool. link (upper right hand corner). Please verify that: ui de In the NTP Configuration box. 2011 .com. ESXi uses the Network Time Protocol service to synchronize the local hardware clock to an Internet based.ntp. 2012 ESXLab.org) Click OK to dismiss the Add NTP Server pop up. you can skip this step if your servers are not connected to the Internet or if advised by your instructor): • • • Let's configure NTP. Visit www.us... ultra accurate time source.ntp.. button to add an NTP server In the Add NTP Server pop up window.. 18 La If NTP Client field does not display as Running. 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).org/bin/view/Servers/NTPPoolServers NTP is not automatically configured when ESXi is installed.

com..: slow down unneeded CPU cores when CPU load is light) to reduce power consumption without impacting CPU performance Click OK The screen may not update immediately. Visit www. All rights reserved.com for more information or to order pl e December..esxlab. click the Settings link Note the value of the Power Regulator for ProLiant field. click the Refresh. 2012 ESXLab. 2011 .First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Balanced Power Use Note: This lab section may not work with all ESXLab server pods. ESXi can be configured to balance power consumption vs. this feature is built into ILO. 19 La On the left side... link (below) is not active. performance. You can review your server's power consumption by following these steps: • • • • • • • Lab 2 – Install and Configure ESXi © 2011. Click Balanced. By default. Your server must be in OS Control mode for your ESXi power adjustment to make a difference b G The BIOS of your server must be configured to allow ESXi to take advantage of hardware power management. It is a simple matter to enable power management and thereby saving power while not compromising server performance. This will allow ESXi to use all available hardware power management features (e. link..g. It should be set to OS Control mode. Let's do that now: • • • • • • Modern PC servers let you actually review server power consumption over time.. Other settings are Static Low Power mode (sacrifice performance for power savings) or Static High Power mode (sacrifice power savings for performance). Let's review how our server is configured: ui de Open Internet Explorer on your remote desktop Point IE at your server's management card: esx#ilo. password: letmein! Click the Power Management tab Sa m Click the Configuration tab Click Power Management in the Hardware box Click the Properties. link (upper right) Photocopying this document in whole or in part is not permitted.com's HP servers.esxlab.com (where # is your server number) Accept any browser security warnings (if any) and proceed to the web site Log in with ID: admin. Please skip this step if the Properties. The Edit Power Policy Settings pop up should appear... all power management capabilities of your server are turned off. On ESXLab.

Right click a file and select View with Notepad When you are finished close all log file windows Remove the VMware-vCenter-Support.com. click View > Home Double click the System Logs icon Note that the currently selected log file is /var/log/hostd. In this lab step. folder from your desktop Restore your vSphere Client window Lab 2 – Install and Configure ESXi © 2011. Please scroll down and complete this table: 24hr Average Power 24hr Maximum Power 24hr Minimum Power • • watts watts Watts 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. This launches the Export System Logs wizard On the Select System Logs step. 20 La b G The Downloading System Log Bundles pop up appears. All rights reserved. click Next > On Download Location step. Click the Power Meter link (left side). there should be a new folder called VMware-vCenter-Supportyyyy-mm-dd@hh-mm-ss Double click this folder to open it Double click the smaller of the two . 2012 ESXLab. Click Close when done..log (the standard log file) Click the Show All button to display all log file entries Click the Export System Logs icon (floppy icon). Please wait for this task to finish. review the contents of the various log files.ZIP files If you like. Visit www.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Now let's look at power consumption. • • • • • • • • • • • • • • • • Minimize all tasks On your desktop. browse to your desktop and click Next > On Ready to Complete.com for more information or to order pl e Please click the Log out link (upper right hand corner) to log out of ILO Please close Internet Explorer December. ui de Back at the vSphere Client menu bar. It will take 1-2 minutes to complete. we will review your ESXi host system logs. 2011 .. click Finish Sa m Working With ESXi Log Files Photocopying this document in whole or in part is not permitted.esxlab.

com for more information or to order pl e December. 21 La ESXi relies on CIM (Common Information Model) to acquire server hardware information. All rights reserved.com. fan speed. 2012 ESXLab.0 itself) Power Supplies Monitored software includes all ESXi hardware and component drivers. 2011 . It is useful to browse the component hierarchy to review these values. Hardware includes: • • • • • Processors Temperature sensors Fans Software (ESXi 5. The SMASH (Systems Management Architecture for Server Hardware) profile set is used by VMware to define how to harvest data from hardware sensors. It does this by putting yellow warning or red error triangles on the icon representing the component. these warnings propagate up the device hierarchy so a component alert will be visible as a server alert. DMTF defines many object profiles. By default. Server health monitoring also provides feedback on processor temperatures. Lab 2 – Install and Configure ESXi © 2011. CIM is defined by DMTF (Distributed Management Task Force).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. etc. Click the Configuration tab > Health Status Proc 1 Level-1 Cache (bytes) Processor 2 Temperature 2 (Degrees C) External Environment 1 Temp 1 (Degrees C) Memory Module 1 Fan Block 3 (Percent) Power Supply 2 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. b G ui de Look through the hierarchy (expanding branches and possibly widening columns) to find the values for the following properties: Sa m Server health monitoring can inform you when a component has degraded or failed completely. Photocopying this document in whole or in part is not permitted. power supply redundancy.esxlab. component temperatures. Visit www.

All rights reserved. Please click Continue to this website (not recommended). 2012 ESXLab. all access to the local command line is disabled. reviewing log files or performing tasks not available through the vSphere Client. If you haven't already done so. 2. hit Enter to activate this feature Sa m Photocopying this document in whole or in part is not permitted. Enabling command line access to your ESXi host will allow your instructor (and ESXLab) to access your system to help fix problems.com Arrow down to Troubleshooting Options and hit Enter Arrow to Enable Local Tech Support (this allows root logins on the ESXi console).First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Part 6 – Troubleshooting (Optional) ESXi contains only a minimal command line interface. please click the Launch button.esxlab. By default. 3. 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). That is.com (where # is your server number) IE will warn you that there is a potential problem with the web site's security certificate. Visit www. 2011 . Hit F2 to log on (Note you may have to hit F2 a second time) Log on with Login name root and Password esxlab.esxlab. You are comfortable working on a Linux server as root You have installed a strong (unguessable) password for the root account Your ESXi host is not available from an untrusted network (such as the Internet) Your root password is closely held. This occurs because HP ILO uses self signed digital certificates For Login name. hit Enter to activate this feature Arrow to Enable Remote Tech Support (this allows direct root logins over the network). This launches a console window to your physical server's remote console Accept any warnings by clicking Yes or OK Click your remote console window.com for more information or to order pl e December. If necessary. please enter: admin For Password.com. This can be helpful when diagnosing problems. please enter: letmein! and click Log In to continue On the System Status tab. let's enable command line access now: • • • • • • • • • • • • • Normally. you should only enable Remote Tech Support under the following conditions: 1. you don't give it out to junior Lab 2 – Install and Configure ESXi © 2011. enter esx#ilo. 22 La b Note: Enabling Local Tech Support permits command line access only from the server's physical console. You can enable command line access from either the server console only or from the network. 4. If necessary. Leaving Remote Tech Support enabled is a major security concern! G ui de Please launch Internet Explorer on your remote access desktop In the IE address bar.

You were asked to perform these functions by VMware or your local support partner Restarting Management Agents ESXi uses Management Agents (software) to interact with the vSphere Client and with vCenter.com for more information or to order pl e December. Congratulations. 2011 .esxlab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide administrators who could do damage with it 5. If not. it is a simple matter to restart the Management Agents on your ESXi host. If that happens. Visit www. 2012 ESXLab. Let's restart the Management Agents now: • • • • • • • You should still be logged into your ESXi host console. If this occurs.com. All rights reserved. Note: Restarting Management Agents does not harm running VMs. These agents may occasionally get into an inconsistent state. 23 La b G ui de Sa m Photocopying this document in whole or in part is not permitted. your host becomes unmanageable (using the vSphere client). You have successfully completed Lab 2 Lab 2 – Install and Configure ESXi © 2011. 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 Note: You should only take these steps when you cannot login in to or manage your ESXi host using the vSphere Client. you could reboot your server – but that would make the owners and users of VMs on that host very unhappy. Fortunately.

24 La b G ui de Photocopying this document in whole or in part is not permitted.com for more information or to order pl e . 2011 Visit www.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 2 – Install and Configure ESXi © 2011.com. Sa m December.esxlab. 2012 ESXLab. All rights reserved.

esxlab. Visit www. button Change the name VM Network to Production Click OK to close the VM Network Properties window Click Close to commit your changes b G Rename the VM Network Port Group ui de Sa m Review Your Current Virtual Networking Configuration Photocopying this document in whole or in part is not permitted.com Click the Configuration tab Click Networking in the Hardware box Review your current network configuration.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 3 – Create/Update Virtual Networking Objectives: In this lab. 2012 ESXLab. Complete these steps • • • Open the vSphere client on your vSphere VM desktop and log in with user name root and password esxlab. Both items were created automatically when you installed ESXi. to the right of vSwitch0 In the window. The Management port is for vSphere Client connections and also for vCenter management (later). All rights reserved 1 La Click Properties. First we will delete the default VM Network port group. you will perform the following steps to build out your virtual networking: • • • Add a second vSwitch Create an Internal only vSwitch (no NIC) Create a new Port Group on vSwitch0 Connect to Your Server Kit Please ensure that you are connected to your vCenter management server. click VM Network in the left pane Click the Edit. 2011 . Complete these steps: • • • • • • Lab 3 – Virtual Networking © 2011....com. In this step we will create a new virtual switch (vSwitch1) for later use with virtual machine hot migration.com for more information or to order pl e November. You should have one vSwitch defined (vSwitch0) with a VMkernel port called Management Network port and a Virtual Machine Port Group called VM Network..

Visit www..First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Create a New vSwitch In the upper right hand corner you will find the Add Networking. and complete the Add Network wizard with the following values: Virtual Machine Click Next > Leave selected Uncheck Click Next > Internal Leave blank Click Next > Lab 3 – Virtual Networking © 2011.. Click it.0 Click Next > Click Finish Sa m (we use subnet 21 for VMotion) Photocopying this document in whole or in part is not permitted. All rights reserved 2 vmnic2 Network Label VLAN ID (Optional) La Create a vSphere standard swtich b ui de 255.21.Complete the wizard as follows: Connection Type Create a virtual Switch vmnic# Network Label VLAN ID Use this port group for VMotion Use this port for Fault Tolerance logging Use this port group for management traffic VMkernel IP Connection Settings IP Address Subnet Mask VMkernel Click Next > Leave Selected Check vmnic1 VMotion Leave at default Check Leave blank Leave blank Click Next > 192.com for more information or to order pl e Click Next > (case sensitive) November.com.esxlab.255.168...50+# Create an Internal Only vSwitch Connection Type G Internal only vSwitches are vSwitches that are used for isolated VM to VM networking.. 2011 ..255. Click Add Networking. This starts the Add Network Wizard. link. 2012 ESXLab.

50 + # for the Management port and 192. Please make sure it is correct for your server (the screen shot is correct for server esxi3). 2011 . ui de Sa m Photocopying this document in whole or in part is not permitted. Lab 3 – Virtual Networking © 2011..21.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Click Finish Review You have just added two vSwitches.168..20. Remember 192. G vmnic numbers assigned to each vSwitch Exact name. for the Production port group.esxlab. the VMotion VMkernel port and the Internal port group.com.50 + # for the VMotion port. 2012 ESXLab. Please verify the following match exactly: • • Please correct any differences between your view and the above now. Please do not do anything with the unused physical NIC (vmnic2). All rights reserved 3 La b Note: Your VMkernel port IP address may not match exactly.com for more information or to order pl e November. including case. We'll put it to use in a future lab.168. Visit www. Your virtual network configuration should closely match the following picture. a VMkernel Port and a new Virtual Machine port group to your virtual network infrastructure.

com.esxlab.com for more information or to order pl e .First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 3 – Virtual Networking © 2011. Sa m November. All rights reserved 4 La b G ui de Photocopying this document in whole or in part is not permitted. 2011 Visit www. 2012 ESXLab.

.168.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Lab 4 – NFS Objectives: In this lab.com for more information or to order pl e Add a VMkernel port to vSwitch0 Define and connect to an NFS share Browse the NFS datastore .20.20. Visit www.168.com) Click your ESX host > Configuration tab > Networking Add the VMkernel Port The VMkernel uses VMkernel ports for its networking needs including access to NFS file shares. you will update your configuration to allow your ESX server access to an NFS share.0/24 network.com. link to its right Click Add Select VMkernel Click Next > NFS-iSCSI Leave at default (be sure to match case) VLAN ID (Optional) Lab 4 – Network File System (NFS) © 2011. we'll simply add the VMkernel port to this vSwitch. Let's add one now. All rights reserved.9 NFS Share Directory New NFS Datastore Name NFS-iSCSI /mnt/privateluns/nfs1 • • Please open a vSphere Client session to your ESX host (with ID/PW of root and esxlab.esxlab. Since vSwitch0 is already connected to this LAN segment (see Management Port IP address). 1 Sa m December. Click the Properties.. you will • • • Connect to Your Server Kit Configuration Please ensure that you have connected to your dedicated server as per Lab 1.. 2012 ESXLab. In the Ports Tab La Locate vSwitch0 b G Connection Type Network Label ui de We need a new VMkernel port so that the VMkernel can access the 192. Here is the information you will need to complete this lab NFS Host IP 192. To complete these steps. 2011 Photocopying this document in whole or in part is not permitted..

Review Your Work It is important that your NFS-iSCSI VMkernel port have the correct IP address. G ui de Photocopying this document in whole or in part is not permitted. 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. but not necessarily the same as the image below). If this is not the case with your configuration.168. Lab 4 – Network File System (NFS) © 2011. 2 La b Note: To avoid IP address conflicts with other ESXi hosts. Review the Networking view and ensure everything is correct (your VMkernel port will be similar to. 2012 ESXLab.255.com.esxlab.255.20. All rights reserved. 2011 .80+# (where # = your server #) 255.com for more information or to order pl e December. Sa m Visit www. please fix it now before continuing.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Use this port group for VMotion Use this port for Fault Tolerance logging Use this port for management traffic Use the following IP settings IP Address Subnet Mask Ready to Complete Leave unchecked Leave unchecked Leave unchecked Click Next > Check 192.0 Click Finish Click Next > Click Close on the vSwitch0 Properties window.

3 La Click the NFS-ISOs datastore in the Storage view Right-click on the NFS-ISOs datastore > click Browse Datastore b G ui de Photocopying this document in whole or in part is not permitted. Configure it as follows: Click Next > Server Folder Mount NFS Read Only Datastore Name Ready to Complete The Storage view should refresh like this: 192.9 Check /mnt/privateluns/nfs1 NFS-ISOs Click Next > Click Finish Browse the NFS Datastore Now that we have connected to the NFS datastore. Take some time to review the contents of the this and other sub-directories. You should see something like this: These are ISOs of Windows install media and other tools that we will use in future labs.168..20.. link (upper right hand corner) The Add Storage wizard should appear.com. Sa m Visit www.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Connect to the NFS Share Now. let's browse it to see what it contains. 2012 ESXLab. Lab 4 – Network File System (NFS) © 2011.com for more information or to order pl e (careful. case sensitive) December. • • There is an ISOs folder. All rights reserved. lets add an NFS share to your ESX server.esxlab. Complete these steps: • • Click the Configuration Tab > Storage Click the Add Storage. 2011 Storage Type Check Network File System . Double click it.

com for more information or to order pl e . Sa m December.com. 4 La b G ui de Photocopying this document in whole or in part is not permitted. 2011 Visit www. All rights reserved. 2012 ESXLab.esxlab.First 4 Chapters of VMware vSphere 5 with ESXi and vCenter Lab Guide Please close the Datastore Browser when you are finished. Lab 4 – Network File System (NFS) © 2011.

Sign up to vote on this title
UsefulNot useful