Updating VMware Tools on vSphere ESXi host Clusters or on Virtual Machines using vSphere Lifecycle manager
book
Article ID: 392913
calendar_today
Updated On:
Products
VMware vSphere ESXiVMware vSphere ESX 8.xVMware vSphere ESX 7.xVMware vCenter Server 8.0VMware vCenter Server
Issue/Introduction
VMware Tools is a product that runs on ESXi hosts and Virtual Machine's within a vSphere environment. Normally, VMware Tools is updated per Virtual Machine.
Alternatively, you can update VMware Tools on all hosts in a cluster. This will cascade the updates from hosts to Virtual Machine 's running on the hosts.
Create a new lifecycle managed cluster and specify the VMware Tools component. To learn more about image based or baseline based management, refer to Managing Host and Cluster Lifecycle. If your cluster is already set up, follow the steps below corresponding to your management type (Baseline or Image)
Image based Cluster :
While using Image Based Clusters this is the modern way to manage clusters using a single declarative image update the host Image.
Navigate to your Cluster > Updates tab.
Select Image and click Edit.
Next to Components, click Show Details.
Click Add Components and search for VMware Tools Async Release.
Select the version you want and click Select.
Click Validate to check for hardware compatibility, then click Save.
Click Remediate All. This updates the Tools "locker" on the ESXi hosts.
Note: Host remediation for VMware Tools typically does not require a reboot, but the host may still need to enter Maintenance Mode depending on your settings.
Update the virtual machines once the hosts have the new version of VMware tools, the virtual machines will show a newer version available status:
In the same Updates tab, select VMware Tools.
Click Check Status to refresh the list of virtual machines.
Select the virtual machines you wish to update and click Upgrade to Match Host.
Baseline based Cluster :
Before you can update the hosts, you need a baseline that contains the VMware Tools async release.
Navigate to Lifecycle Manager from the Main Menu.
Go to the Baselines tab.
Click New > Baseline.
Name it (e.g., "VMware Tools Async Update") and select Extension or Patch as the content type.
In the Select Patches section, uncheck "Filter by vendor" and search for the specific VMware Tools version you downloaded/imported.
Complete the wizard to create the baseline.
Attach and Remediate the Cluster.
Navigate to your Cluster > Updates tab.
Ensure you are in the Baselines view.
Scroll down to the Attached Baselines pane and click Attach > Attach Baseline or Baseline Group.
Select the baseline you created in Step 1 and click Attach.
Click Check Compliance. The hosts should now show as "Non-Compliant."
Select the baseline and click Remediate.
Review the impact (Maintenance Mode requirements) and click Remediate again to start the process.
Update the virtual machines, the process for virtual machines remains largely the same as the image based method, as the goal is to align the guest with the host's new locker.
Stay in the Updates tab of the Cluster.
Select VMware Tools under the "VMs" section (or navigate to a specific VM's Updates tab).
Click Check Status to see which VMs are now out of date relative to the host.
Select the target VMs and click Upgrade to Match Host.