jfierberg
Contributor
Contributor

Finding Unused VMs

Jump to solution

Does anyone have suggestions on how to discover unused vms? I need to report to my manager on the status of our current virtual machines and included is an indication of how many vms are not being used. The vms are are all powered on still so that cannot be mentioned.

I am using the following service console command to show vmdks that have not been modified in over 30 days but wanted to know if there was something else I could be doing.

find /vmfs/volumes -name "*vmdk" -type f -mtime +30

0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal

possible zombie's are .vmdk files that are in datastore inventory, but not registered to ESX(i)/vCenter inventory. Meaning they are not being used

View solution in original post

0 Kudos
10 Replies
Troy_Clavell
Immortal
Immortal

You may want to look at something like VKernel Optimization Pack

AndreTheGiant
Immortal
Immortal

RVTools could also help.

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
jfierberg
Contributor
Contributor

Thanks. Anyone know what a "possible zombie vmdk\file" is?

0 Kudos
jfierberg
Contributor
Contributor

Thanks. Anyone know what a "possible zombie vmdk\file" is?

0 Kudos
Troy_Clavell
Immortal
Immortal

possible zombie's are .vmdk files that are in datastore inventory, but not registered to ESX(i)/vCenter inventory. Meaning they are not being used

View solution in original post

0 Kudos
jfierberg
Contributor
Contributor

Perfect, thanks for the answer. RVtools is pretty cool, however it does not seem capable of telling me which vms are unused. I will poke around.

0 Kudos
Troy_Clavell
Immortal
Immortal

Perfect, thanks for the answer. RVtools is pretty cool, however it does not seem capable of telling me which vms are unused. I will poke around.

That's why I pointed out the Optimization Pack. Wastefinder, which is part of that pack, will give you exactly what you are looking for. However, it's not free.

0 Kudos
jfierberg
Contributor
Contributor

I appreciate the tip. I will see if they have a 30-day demo and try it out. Thank you again.

0 Kudos
Rockape
Contributor
Contributor

If you now use RVTools v3.1 and select the vHealth Tab you will get a list of possible Zombie vmdk files.

Hope that helps!!!

0 Kudos
AureusStone
Expert
Expert

If you are using Windows you can use EventComb to search for VMs that have not been logged on to over a period of time.

May not be useful for web servers and infrastructure, but good for finding developer VMs that are not in use.

http://support.microsoft.com/kb/824209

And of course it is free. Smiley Happy

0 Kudos