Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vSphere 5.1 Cookbook

You're reading from   VMware vSphere 5.1 Cookbook If you prefer practice to theory then this is the ideal book for learning how to install and configure VMware vSphere components. Packed with recipes, it's a hands-on tutorial and reference guide for this unbeatable virtualization product.

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849684026
Length 466 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Abhilash G B Abhilash G B
Author Profile Icon Abhilash G B
Abhilash G B
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Upgrading to vSphere 5.1 FREE CHAPTER 2. Performing a Fresh Installation of vSphere 5.1 3. vSphere Auto Deploy 4. ESXi Image Builder 5. Creating and Managing VMFS Datastores 6. Managing iSCSI and NFS Storage 7. Profile-driven Storage and Storage I/O Control 8. Configuring the vSphere Network 9. Creating and Managing Virtual Machines 10. Configuring vSphere HA 11. Configuring vSphere DRS, DPM, and VMware EVC 12. Upgrading and Patching using vSphere Update Manager 13. Using vSphere Management Assistant (vMA 5.1) Index

Upgrading to ESXi 5.1


After vCenter Server is upgraded to 5.1, the next step is to upgrade the ESX servers to Version 5.1. There are five different methods to upgrade the ESX server:

  • Use VMware Update Manager

  • Use the ESXi installation CD/DVD

  • Scripted upgrade

  • Use the vSphere Auto Deploy server

  • Use the esxcli commands

Note

Note that the esxupdate and vihostupdate utilities are not supported for ESXi 5.1 upgrades.

Although there are different methods, I will be discussing the method using the ESXi Installer ISO or disk in this chapter. For information on how to perform a host upgrade using the Update Manager read Chapter 12, Upgrading and Patching using VMware Update Manager.

And for information on using the vSphere Auto Deploy server read Chapter 3, vSphere Auto Deploy, and Chapter 4, ESXi Image Builder.

Before you decide to upgrade the ESX server to Version 5.1, it is recommended that you verify whether the host hardware is compatible with ESX 5.1. Use the VMware Compatibility Guide web page to verify (www.vmware.com/go/hcl).

Similar to the vCenter upgrade, the ESX upgrade also requires a few pre-checks:

  • The server hardware should support 64-bit and Intel VT (Virtualization Technology) should be enabled in the BIOS.

  • The upgrade requires 50 MB of free space on the local VMFS volume.

  • It is recommended to disconnect the SAN LUNs hosting VMFS volumes prior to the upgrade. This is to prevent the possibility of you unintentionally selecting one of the SAN LUNs for ESX installation. This recommendation, however, made more sense with the older versions of ESX server. With the newer versions, the installer will categorize the storage devices detected as local or remote. So the chance that you might choose a remote SAN volume is reduced.

  • Make sure that the server's hardware clock in the BIOS is set to UTC.

How to do it...

  1. Boot the ESX server with the ESXi 5.1 CD/DVD, choose the ESXi standard installer, and press Enter.

  2. This will load the ESXi 5.1 installer and take you to the installer's welcome screen prompting for a confirmation. Press Enter to continue.

  3. The next screen will prompt you to accept the EULA. Press F11 to accept and continue. It will then scan for devices and prompt for a storage device selection:

  4. Select Local or Remote (if booted from SAN) disk and press F1 to verify the details of the selected disk.

  5. Hit on OK and then press Enter to continue. Because the machine already has an older version of ESX running, the installer will detect the same and will by default suggest an upgrade.

  6. Since we are doing an upgrade, select the first option to upgrade ESXi and preserve the VMFS datastore.

  7. The installer then will prompt you to confirm the upgrade. Press F11 to confirm and initiate the upgrade.

  8. The installer now will begin the upgrade and proceed to completion.

  9. Once the upgrade is complete, press Enter to reboot the server.

This upgrades the ESX server to ESXi 5.1.

How it works...

During the installation, the installer will detect the presence of an existing installation and provide the following options:

  • Upgrade ESX, preserve VMFS datastore

  • Install ESXi, preserve VMFS datastore

  • Install ESXi, overwrite VMFS datastore

If you were upgrading an ESX/ESXi 4.x server instead of 5.x, and if it had custom VIBs that are not included in the installer ISO, then the Upgrade ESX, preserve VMFS datastore option will be replaced by Force Migrate ESX, preserve VMFS datastore.

Unless you choose to overwrite the VMFS datastore, you are not forming a VMFS 5 volume. The Install ESXi, preserve VMFS datastore option will also retain the VMFS 3 filesystem structure.

You will also receive a warning message listing the custom VIBs.

This is not the case when you migrate from ESXi 5.0, because the custom VIB will also be migrated.

Install ESXi, preserve VMFS datastore will do a fresh install of the ESXi 5.1 server but will retain the data in the VMFS datastore.

Install ESXi, overwrite VMFS datastore will do a fresh install of ESXi 5.1 and will also overwrite the contents of the VMFS volume.

The following is a list of configuration files that will be migrated:

  • /etc/sfcb/sfcb.cfg

  • /var/lib/sfcb/registration/repository/root/interop/*

  • /etc/ntp.conf

  • /etc/ntp.drift

  • /etc/ntp.keys

  • /etc/syslog.conf (This is migrated only for ESXi)

  • /etc/security/access.conf

  • /etc/sysconfig/network (vswifs are converted to vmknics)

  • /etc/sysconfig/static-routes

  • /etc/sysconfig/static-routes-ipv6

  • /etc/sysconfig/network-scripts/route-$device

  • /etc/nsswitch.conf

  • /etc/krb.conf

  • /etc/krb.realms

  • /etc/krb5.conf

  • /etc/krb5.acl

  • /etc/krb5.keytab

  • /etc/krb5.log

  • /etc/krb5.mkey

  • /etc/pam.d/* (Partially migrated)

  • /etc/snmp/snmpd.conf (Migrated to /etc/vmware/snmp.xml)

  • /etc/motd (Migrated, appends a note mentioning that it was upgraded to ESX 5.1)

  • /etc/vmware/vmiscsid/*

  • /etc/vmware/esx.conf

  • /etc/vmware/hostd/*

  • /etc/vmware/vmauth/authentication.conf

  • /etc/hosts

  • /etc/resolv.conf

  • /etc/fstab (Only NFS entries will be migrated)

  • /etc/passwd (Only root password will be saved)

  • /etc/shadow

You have been reading a chapter from
VMware vSphere 5.1 Cookbook
Published in: Jul 2013
Publisher: Packt
ISBN-13: 9781849684026
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image