Hello All,

Today i came here with a task from which every administrator bang his head to complete even after knowing that it need to do again after next upgrade of vcenter/Esxi host.

upgrade-300x200

To ease this task vmware introduced and i believe you all know it very better “Vmware update manager”. So i am sharing the step by step procedure to achieve this task easily in no time.

1. Begin by logging in to the vSphere Client to review the vCenter inventory. Note: This demo uses the legacy vSphere Client because the ability to remediate hosts and virtual machines with update manager is currently not available on the 5.5 web client.

1_thumb1

2.From the home page go to [Hosts and Clusters].

2_thumb

3. In this environment we have a single vCenter Server which is running version 5.5. We also see a single data center with a single cluster comprised of two ESXi 5.5 hosts running on them. We click on the virtual machines to inspect the version of VMware Tools that are being used.

3_thumb

4.We see that [vm02] is running an out-of-date version of VMware Tools. In this example the other three VMs are also running an out-of-date version of VMware Tools. We will use vSphere Update Manager (VUM) to upgrade the VMware Tools to the latest version available on our ESXi 5.5 hosts.

4_thumb

5. Click on [Update Manager] found under Solutions and Applications.

5_thumb

6. Start at the [Baselines and Groups] tab and click on [VMs/VAs]. Select the baseline [VMware Tools Upgrade To Match Hosts] and click on [Details…] to get a closer look at the baseline.

6_thumb

7. Notice that this is a pre-defined baseline used to upgrade VMware Tools to the latest version supported by the ESXi hosts. We will use this baseline. Exit the upgrade details window and navigate to the [Configuration] tab.

7_thumb

8. Go to [Virtual Machine Settings]. Here we set the snapshot settings. By default, Update Manager will create a snapshot of each virtual machine prior to the upgrade and will retain these snapshots indefinitely. In this example, we will change this so the snapshots are only kept for 12 hours and click apply. We then return to the “Home” screen.

8_thumb

9. Next we will go into [VMs and Templates].

9_thumb

10. Expand the datacenter to list all the virtual machines, then select the “Update Manager” tab and click the “Attach…” link in order to attach the baseline to our virtual machines.

10_thumb

11. Select the [VMware Tools Upgrade to Match Host] baseline and click on [Attach].

11_thumb

12. Notice in the “Upgrades” column the status for each virtual machine shows as “Non-Compliant”. This is because the version of VMware Tools running inside the virtual machine does not match the latest version available on the ESXi 5.5 hosts. To fix this, we need to upgrade the VMware Tools versions inside our virtual machines. Click on [Remediate].

12_thumb

13. By default, the attached baseline is selected along with all the virtual machines. Click [Next] to continue.

13_thumb

14. Next we have the option to schedule the remediation. By default the remediation is set to happen immediately. You can optionally schedule it to happen at a future point in time. You can also schedule the remediation based on the state of the virtual machine. We will keep the defaults and click [Next].

14_thumb

15.Next we have the option to override the snapshot settings we set earlier. We can also give the snapshots a name to make it easy to identify them should we ever need to use them. We’ll give our snapshots the name “Tools-Upgrade-Snapshot” and click [Next].

15_thumb

16. We are now ready to begin the remediation. Review the settings and click on [Finish].

16_thumb

17. Monitor the progress in the recent tasks column. During the remediation the guest OS is shutdown and the virtual machines are restarted. This usually takes a few minutes. After the upgrade we return to the “Update Manager” tab.

17_thumb

18. Notice that the virtual machines are now compliant with upgrade baseline. Click on a virtual machine to verify the upgrade.

18_thumb

19. Notice that the virtual machine is now running a current version of VMware Tools.

19_thumb

20. To view the snapshot taken, right click on the virtual machine and click on [Snapshot Manager].

20_thumb

21. We can see the snapshot that was created prior to the VMware Tools upgrade. Should we identify a problem with the VMware Tools upgrade we can use this snapshot to revert the virtual machine back to the previous state. If no problems are found, these snapshots will automatically be removed after 12 hours.

21_thumb

This completes the whole step by step upgrade process of vmware tools via vmware update manager. Thanks for reading.


One thought on “VMware Tool Upgrade using vSphere Update Manager

  1. Pingback: My vSphere 6.0 U1b Upgrade Checklist | Notes from MWhite

Leave a Reply