VMware Cloud Community
MariusRoma
Expert
Expert

Updating VMware Tools to a given version in a mixed environment

I need to update VMware Tools of guest VMs in a mixed environment based on ESXi 5.5 U2 and ESXi 6.5 hosts.

I plan to update the ESXi hosts to version 6.7 so I need to start upgrading the VMware Tools to version 6.7 by now.

First question: can I install VMware Tools 6.7 on VMs hosted by an ESXi 5.5 U2 host? I thinkk I can, however...

Second question: how can I automate using PowerCli the update of the VMware Tools to version 6.7 in my guest VMs?

Regards

marius

1 Reply
LucD
Leadership
Leadership

1. You don't have the latest VMware Tools present on an ESXi 5.5 node.
You would have to use the download page.
Watch out, VMware Tools 10.3.5 are not supported on ESXi 5.5, VMware Tools 10.3.0 are.

tools.jpg

2. This depends.
If you are using the VMware Tools that are present on an ESXi node, you can just use the Update-Tools cmdlet.

If you are using an external installation file, you will have get it into the VM's guest OS, and then trigger the installation.

Brian did a post on that, see SILENT INSTALL OF VMWARE TOOLS FROM THE COMMAND LINE

Also note that this command will be different depending on the type of guest OS running in the VM.

The easiest way, imho, would be to create an ISO containing the installation file.
Mount that ISO on the VM.
And then with Invoke-VMScript, trigger the upgrade command.

This will NOT work for an installation from scratch, since Invoke-VMScript relies on the VMware Tools running.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference