Reply to Message

View discussion in a popup

Replying to:
UberGeek1
Enthusiast
Enthusiast

This is a bit older of a thread but I figured I would throw my 2 cents in.

What I ended up doing is creating a new VIProperty on the Cluster object that did all of this and presented it as part of the Cluster object, so I could do a Get-Cluster and have the capacity info there, updated in real-time, whenever I wanted it.  This is handy to check capacity before deploying a new VM.  Now this does add a couple of seconds to large clusters, but my 61 host cluster takes about 2 seconds to gather all the information required.

The other reason I do this is because we use a custom algorithm to calculate capacity, and having it built in this way and always available helps to have the data available whenever we need it.

Sincerely, Jody L. Whitlock
Reply
0 Kudos