VMware Cloud Community
tange1
Contributor
Contributor

Script/automated way to find out Machine version # and state of vmtools?

Hello, we've gone through a lot of upgrades from 2.x to 3 to 3.5 in the last year. I've come across many machines that have out of date machine versions/vmtools. Is there a automated way I can generate a list of machines that will need virtual hardware upgrades (to change the machine version) or vmware tool installs/upgrades? I have several hundred machines across several clusters.

Reply
0 Kudos
6 Replies
vmroyale
Immortal
Immortal

Hello.

RVTools is a great choice.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
VMStreak
Enthusiast
Enthusiast

One way to figure it out is to:

1) Go through the vmware.log files of all VM's

2) Check for "TOOLS installed.version., available.*version" pattern

You can write a shell/perl script to do the above operations.

One

other way is to upgrade the VMwaretools automatically.

You can do this by setting the tools upgrade policy to

"upgradeAtPowerCycle" in the VM settings.

PS: Please award points if any of the above information is useful.

PS: Please award points if any of the above information is useful.
Reply
0 Kudos
tange1
Contributor
Contributor

Does the 'upgrade at powercycle' upgrade when a server/machine is rebooted or only when its powered off then power back on?

Reply
0 Kudos
VMStreak
Enthusiast
Enthusiast

'upgrade at powercycle' works either ways i.e when the VM is rebooted & power off->power on.

PS: Please award points if any of the above information is useful.

PS: Please award points if any of the above information is useful.
Reply
0 Kudos
bulletprooffool
Champion
Champion

This will do it:

http://communities.vmware.com/docs/DOC-7430

One day I will virtualise myself . . .
Reply
0 Kudos
Gerrit_Lehr
Commander
Commander

You could use the VMware Heathcheck script from here:

http://communities.vmware.com/servlet/JiveServlet/download/7430-7-13104/Healthcheck.zip

Kind Regards,

Gerrit Lehr

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

Kind regards, Gerrit Lehr If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Reply
0 Kudos