VMware Cloud Community
jfierberg
Contributor
Contributor
Jump to solution

Finding Unused VMs

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

Reply
0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal
Jump to solution

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

Reply
0 Kudos
10 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

You may want to look at something like VKernel Optimization Pack

AndreTheGiant
Immortal
Immortal
Jump to solution

RVTools could also help.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
jfierberg
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
jfierberg
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

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

Reply
0 Kudos
jfierberg
Contributor
Contributor
Jump to solution

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.

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

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.

Reply
0 Kudos
jfierberg
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
Rockape
Contributor
Contributor
Jump to solution

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!!!

Reply
0 Kudos
AureusStone
Expert
Expert
Jump to solution

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

Reply
0 Kudos