VMware Cloud Community
esxi1979
Expert
Expert

Idle VMs

Hi,

I glanced over community did not find any good script on this topic..

in VROPS we have idle vm report .. Is it possible to get same logic from powercli

if we do not know that logic then i would use below real life case.. some ask for a vm & then that person leaves the company & the vms stays & no one really know... now we need to find such vms

How to find them with powercli ?

I can think of below

1. VM cpu usage & RAM usage will be a good hind

2. VM IOPS

3. VM network traffic

thresholds on these .. well .. all i can say is minumum LucD​ i am sure can know them just like that Smiley Happy and yes others  experts too

I found a good one

PowerCLI: Discover Idle VMs – Deans Blog

Anyone think we can modify it or there is anything better

Please suggest (  i will continue to find in mean time in google )

Tags (1)
Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

The strength (and usefulness) of such a script (and that goes for an overcommit script as well), lies in the definition of the thresholds.
If you want the same report as vROps produces, you will need to use the same thresholds.

From the Mastering vRealize Operations Manager book, the Idle VMs section for example gives some values for these thresholds.

They are somewhat different (and better imho) than the ones in the blog post you referred to.
An important difference is also that vROps seems to use this "90% of the time" rule, which avoids temporary usage peaks due to for example backups, patching, snapshots...


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos