Virtualization Pro

Sep 11 2008   4:00PM GMT

Helpful VKernel SearchMyVM queries for use in VI3 environments

Rick Vanover Rick Vanover Profile: Rick Vanover

In my opinion, VKernel’s SearchMyVM virtual appliance (VA) has to be one of the most useful free virtualization management tools. I have found myself using it quite frequently to get information about my environment. I mentioned its release over on SearchServerVirtualization, and here I want to share some common queries I’ve used that you may want to hold onto for frequent use, and how they can help you:

– Running this query will tell you which VMs have connected virtual optical media, which can inhibit VMotion on the guest.

– All VMs that have VMware tools status of everything but OK.

– Lists all cluster’s HA Failover level. This is an easy way to spot check for consistent settings.

– Shows clusters that have DRS enabled. This one goes hand and hand with the HA settings to ensure that they are enabled across all environments as expected.

– Gives the quick query of a guest’s hostname that is like servername, this is incredibly handy if you need to quickly find what resource pool, cluster, or datacenter a virtual machine is located.
– This query shows VMs located on a datastore that contains the string “storage”. By default, local datastores of ESX are named servername:storage1 for local VMFS volumes. Likewise, if your development or otherwise low-priority storage has the string ‘dev’ in it, you can replace storage with ‘dev’ and see the inventory of VMs that reside on that class of LUN.

– This query shows the VMs that currently do not have a CPU limit, meaning, they can consume the maximum amount of GHz available to the guest.

– This query displays the free space of every LUN available to every datacenter in the VI3 environment.

The SearchMyVM VA enables administrators to quickly pull in information from across their VI3 environment. This beta release is available for free download from the VKernel website.

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: