Link to home
Create AccountLog in
Avatar of Lumious
LumiousFlag for United States of America

asked on

VMware - Upgrading VMware Tools Automatically

Hi,

First Issue:

Here's my situation about my VMware Environment.  Lets just take 5 VM's for right now.  All these VM's have VMware Tools installed on them but the VMware Tools is 1 version behind.  So I'm trying to upgrade all these VM's with the latest version of VMware Tools.

I need to do this automatically instead of going to each VM and doing it manually.  These 5 VM's were installed with Standard Configuration Option instead of Complete.  

We actually need an extra option that the Complete version would have installed that the Standard version did not which was the vShield Component.  So if I had to do this manually, I would select Interactive Install and then Check off the vShield Component to be installed while upgrading to the latest version.

Second Issue:

After resolving the first issue I now come to my second issue.  There are snapshots on these VM's.  So after upgrading the VMware Tools to the latest with that extra vShield Compenent added, how will I make it so that if they revert the Snapshot back, that the VMware Tools still gets updated to the latest version with that extra vShield Component added back on to it as well?  When they revert the snapshot, I believe I will have the issue of VMware tools being back at the previous version without the vShield Component installed on it correct?

Please let me know all solutions possible and we can work on them step-by-step.

Thanks
Avatar of Rsilva98
Rsilva98
Flag of Portugal image

follow this link to upgrade VM tools automaticly

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc%2FGUID-CFE6D7E4-AB24-4511-B8ED-F72F4F9DC48F.html

After all VMs updated i recomend create new snapshots
Avatar of Lumious

ASKER

Hi,

To: Rsilva98

- The way you specified will make it so that when the VM is rebooted, it will always check the ESXi server if it has the updated VMtools and if it doesn't, then it will automatically start to install the latest version.

This is fine which solves one issue, but what about the extra component that I need installed from VMware Tools (vShield Component).  When it detects that it isn't updated to the latest version, will it automatically add this extra component that I need when it automatically updates it?  I don't believe it will correct me if I'm wrong.

Anyone know if scripting this would be easier?

Any suggestions please let me know in regards to all the questions I asked above.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Rsilva98
Rsilva98
Flag of Portugal image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Lumious

ASKER

Hi,

To: Rsilva98

- So by using the following command in the Advanced Options section it will upgrade VMware Tools with the vShield option added?

/S /v "/qn ADDLOCAL=ALL"

Also how does the following command compare to what you suggested?

setup.exe /s /v "/qn REBOOT=R ADDLOCAL=ALL

Please let me know which command to paste into the Advanced Options section.

Thanks
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account