VMware Cloud Community
ARamsey
Contributor
Contributor

Is there a way to Globally change VMwareTools Advanced Option to check and upgrade Tools before each power-on?

Just an fyi, I am great in a Windows environment but limited in Linux.

Tags (1)
0 Kudos
8 Replies
stumpr
Virtuoso
Virtuoso

I don't think there is a global setting (but would like to know if there is). I've solved this in the past with a VI Perl script to change the configuration. If you're interested I could probably retool my script to post here, it was written on the fly and I believe I only used it a once or twice so will probably need a little clean up. Worked great though.

R.

Reuben Stump | http://www.virtuin.com | @ReubenStump
ARamsey
Contributor
Contributor

R,

That would be nice. One additional question would be, does it force a reboot of the changed VMs at the time the script runs?

Note: running the script would be seldom, just like you. After I create all future VMs, I will physically make the change as part of the VM build procedure.

t

0 Kudos
stumpr
Virtuoso
Virtuoso

No, my script didn't force a reboot. I ran this in a production environment and reboots were scheduled at later dates. You could produce another script to force all VMs to reboot. From what I recall, an OS restart was not sufficient, it had to be a Virtual Machine power reset (power off, power on).

I attached my script. Not a lot of error checking, but if you hit any bugs just drop me a note I'll be happy to help you. It only pushes that one configuration change, so don't worry about anything disastrous :). Worst case a guest may not get the new policy setting.

You'll need a workstation with the VI Perl toolkit installed, when you run the script it'll prompt for your virtual center url, username and password. URL is https:///sdk.

Of course you'll have to re-run this when new VMs are added if you don't consciously build into templates or your new VM process the policy setting.

R

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
ARamsey
Contributor
Contributor

You are correct that they need to be power cycled for this to happen. I appreciate your helping me out.

I hope your week goes smooth and your weekend is sweet!

t

0 Kudos
MHAV
Hot Shot
Hot Shot

Hi,

no there isnt a global option somewhere to set this paramter for each VM wich doesnt make any sence to me to set this parameter as global.

regards

michael

Regards Michael Haverbeck Check out my blog www.the-virtualizer.com
0 Kudos
ARamsey
Contributor
Contributor

Michael,

You are right, I will put in for this feature in a furture release with VMware.

t

0 Kudos
azn2kew
Champion
Champion

Have you look at RVTools, this is very good tools to upgrade your VMware Tools to your guest machines by scanning and report which one is not compliant and you can select one by one and install them easily. I'm sure Michael tools works fine too but can you post your tools so we can all see how it works?

RVTools

Title

RVTools

Company

RVTools

License

Freeware

Author

Rob de Veij

Website

_[RVTools

http://www.invirtus.com/][RVTools

http://www.veeam.com/][RVTools

http://www.veeam.com/][RVTools

http://www.run-virtual.com/?page_id=201]

_[RVTools

http://www.invirtus.com/][RVTools

http://www.veeam.com/]_

__[http://rvtools.deveij.com/][http://rvtools.deveij.com/

http://l4ka.org/tools/vmwaregateway.php][http://rvtools.deveij.com/

http://www.netwrix.com/][http://rvtools.deveij.com/

http://www.mightycare.de/][http://rvtools.deveij.com/

http://www.lostcreations.com/code/wiki/vmware]_[http://rvtools.deveij.com/

http://www.esxguide.com/]

RVTools is a small .NET 2.0 application which uses the VI SDK to display the version of the installed VMware tools. It also shows if the tools are upgradeable. The button "Upgrade VMware Tools" starts an UpgradeTools_Task for every selected VM. If you think this is useful information please download the application, try it and let me know by mail what you think about it.

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
0 Kudos
ARamsey
Contributor
Contributor

Stefan,

I will look at the tool and get back with you. Thank you, in advance, for the tip.

0 Kudos