How to upgrade VMware Tools automatically? Tips and Myths

The first thing one wants to do after upgrading the environment to a newer ESX version, is to upgrade VMware tools on all VMs.  If the environment has a large number of machines, this could be a tedious and time-consuming process.  This is where the ability to upgrade a bunch of machines automatically comes in very handy.  It allows you to select a number of machines and kick off VMware tools upgrade for all of them simultaneously.  There is one problem though: VMware tools require a reboot after install and when a number of them are done together, there is no control over install completion and therefore, over reboots.

While in most environments, you won’t be able to get away with rebooting all VMs without notice, manageable chunks can always be identified where rebooting the whole set at a certain time can be agreed with users in advance.  This is still better than logging into each machine to upgrade the tools.

All that said, I would like to share some tips and dispel some myths as automatic upgrade of a bunch of machines, doesn’t always work as expected.  Sometimes it misses machines or doesn’t even start.  Knowing these will hopefully make troubleshooting of such incidents easier.  So, here goes:

  1. Tip: Select as many machines that can be rebooted without notice and see how many get the tools upgraded successfully.  Note down the ones that didn’t upgrade and upgrade them at the end.
  2. Tip: VMs that started life as physical boxes but were imported into the environment, might have an issue in upgrade tools.  Log into that VM and upgrade manually by clicking “Update Tools” in VMware Tools applet.
  3. Myth: An administrative login session must be running on the VM for it to get its tools upgraded – Not True!  If the VM has a supported OS and has VMware Tools installed, it will upgrade without a logged in user.
  4. Myth: All VMs from the set must have the same family of OS for it to have automatic upgrading – Not True!  VMs with a mix of OSes can be selected together to have their tools upgraded.
  5. Tip: Sometimes, a VM can get confused about it’s OS, which affects VMware tools installs.  It happens because the VM is not quite sure of the OS and it generally when a machine has been imported from an older OS, previously running on a physical box.  To fix this, browse to the datastore then to VMImages and select the VMware Tools ISO for the OS you believe it has.  This time, it should work.
  6. Myth: Linux machines can’t participate in automatic upgrades – Not True!  If the VM is running a supported version of Linux then it should be upgradable in the usual fashion.
  7. Tip: You might find that certain Linux machines don’t let their tools upgraded – In most cases, it’s because the kernel had been recompiled and is so far away from the original in terms of configuration.  In such cases, use the manual upgrade method to upgrade tools on the box.

That’s it for now.  Hope these Tips and Myths will make it easier to diagnose issues while upgrading VMware tools automatically!

By | 2010-08-31T22:00:03+00:00 August 31st, 2010|ESX, vCenter, Virtualization, vSphere|8 Comments

About the Author:

8 Comments

  1. hcg weight loss columbia sc October 6, 2014 at 1:51 AM - Reply

    hcg weight loss columbia sc

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  2. interstate moving companies dallas tx

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  3. self Cleaning tappan oven manual October 7, 2014 at 4:41 PM - Reply

    self Cleaning tappan oven manual

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  4. Mouse Click The Following Article October 13, 2014 at 8:47 AM - Reply

    Mouse Click The Following Article

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  5. spray tan system for sale October 13, 2014 at 9:59 PM - Reply

    spray tan system for sale

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  6. marine units in vietnam October 18, 2014 at 6:33 AM - Reply

    marine units in vietnam

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  7. riqueno santiago chile October 18, 2014 at 9:45 PM - Reply

    riqueno santiago chile

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

  8. weight loss with hcg side effects October 30, 2014 at 4:38 AM - Reply

    weight loss with hcg side effects

    Ather Beg’s Useful Thoughts – How to upgrade VMware Tools automatically? Tips and Myths

Leave a comment

%d bloggers like this: