Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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 VMware Tools


Once the server has been upgraded to ESXi 5.1, you can now start running virtual machines on the server. But not everything has been migrated to Version 5.1 yet. VMware Tools running inside the virtual machines need to be upgraded as well.

VMware Tools include the following:

  • VMware device drivers for the virtual machine hardware

  • VMware Tools control panel

  • VMware balloon driver (memctl)

VMware Tools are available in specific type of ISOs (guest-operating type) packed with the ESX server. For Linux, they are also available as VMware Operating Specific Packages (OSPs) for download from the following repository URL:

http://packages.vmware.com/tools

In this recipe, we will learn how to upgrade the VMware Tools on the virtual machines.

How to do it...

The VMware Tools upgrade can be either done using vSphere Web Client or the vSphere Client. I will show you how to perform the task using the vSphere Web Client:

Note

The virtual machine requires a reboot for a successful completion of the VMware Tools upgrade. So, plan for a scheduled downtime to perform this task on the production virtual machines.

  1. Connect to the vCenter Server using the Web Client.

  2. Navigate to the VMs and Templates Inventory view.

  3. Locate the VM and make sure it is powered-on and running.

  4. Right-click on the VM and navigate to All vCenter Actions | Guest OS | Install/Upgrade VMware Tools.

  5. Choose the Automatic Upgrade option and then click on Upgrade to initiate the upgrade.

How it works...

The Automatic Upgrade option requires no user interaction. It will:

  • Automatically uninstall the older version of VMware Tools

  • Install the new version from the ISO that gets mounted

  • Reboot the guest operating system (GOS) to finish the tools upgrade

To verify whether the tools upgrade is successfully completed, log on to the guest operating system then right-click on the system tray icon for VMware Tools, and click on About VMware Tools, which should show you the version of the VMware Tools.

On clicking the About VMware Tools menu item, it should bring up a dialog box showing the tools' version.

You can also check the virtual machine's tools version by navigating to vCenter Servers | Clusters | Related Objects | Virtual Machines. This will list all the virtual machines and its VMware Tools version status. The VMware Tools version status column is not enabled by default, you will have to enable it manually.

There's more...

Since we generally upgrade the virtual machine hardware or VMware Tools after a host upgrade, you will have to perform the upgrade on many virtual machines. Following the procedure we learned so far when dealing with hundreds of VM is always a tedious task. Fortunately we have an alternative method:

  1. Once you are at the vSphere Web Client interface for vCenter, select the datacenter/cluster for the VMs and navigate to the Related Objects tab.

  2. On the Related Objects tab, select the Virtual Machines subtab.

  3. Highlight all or the needed VMs from the list and click on the Actions gear icon to navigate to the Compatibility and the Tools upgrade menu item.

  4. Since you have multiple VMs selected, which may be running on different version of ESX server, you will get an option to choose between the compatible versions of the virtual machine hardware and the number of virtual machines to which the changes will be applied.

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