ScreenShots
Who's Online
We have 142 guests onlineMost Popular howTo's
Latest Posts
HowTo
Newest Downloads
| How to check the status of VMware Tools per virtual Machine the easy way. |
| Virtualization - VMware | ||||||||||||||||||||||||||||||||
| Written by Allen Sanabria | ||||||||||||||||||||||||||||||||
| Wednesday, 01 April 2009 09:33 | ||||||||||||||||||||||||||||||||
|
The other day I was told to check and see if VMware Tools was installed on every Virtual Machine in our Cluster. I figured this was the perfect time for me to write another script to do this. Here are a list of things that I want to have in the script...
Well I was able to do all of the above in a nice Perl Script that I created. It can be downloaded here vmToolsStatus.pl
perl vmToolsStatus.pl help : Hiding the command line arguments [--help] --toolsOld : This will print out all the Virtual Machines with an Old version of vmTools and you need to upgrade --toolsNotInstalled : This will print out all the Virtual Machines with vmTools Not Installed --toolsNotRunning : This will print out all the Virtual Machines with vmTools Not Running --toolsOk : This will print out all Virtual Machines with vmTools running --all : This will print out all Virtual Machines with vmTools installed or not installed example : Hiding the command line arguments --toolsOld example : Hiding the command line arguments --toolsOk example : Hiding the command line arguments --toolsNotInstalled example : Hiding the command line arguments --toolsRunning example : Hiding the command line arguments --all --vm_name "vm_name" example : Hiding the command line arguments --all Remember!!! That in order to use this script you will need the Perl VI SDK installed on your linux box as well as $home/.visdkrc setup correctly
Here is an example .visdkrc... VI_SERVER = Virtual Console Server
So if you want to list all of the Virtual Machines that are running an incompatible version of vmtools, you will run the script like so.. perl vmToolsStatus.pl --toolsOld Or if you want to list all Virtual Machines that do not have vmtools installed... perl vmToolsStatus.pl --toolsNotInstalled Or you can do it on a per Virtual Machine basis... perl vmToolsStatus.pl --toolsOk --vm_name "Mail"
Only registered users can write comments!
Powered by !JoomlaComment 3.22
3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
||||||||||||||||||||||||||||||||
| Last Updated on Wednesday, 02 September 2009 07:39 |



Download vmTools Status Perl Script
( Votes)








