VMware Cloud Community
BWallerM3comva
Contributor
Contributor

Resource Pool Report

I work for a Clouyd MSP, and they accounting/Ops/Sales department want a weekly report that includes the following, and i'm doing my best to figure it out:

1. Resource Pool name

2. Total Amount of RAM configured in the Pool

3. Total Amount of CPU configured in the Pool

     A. This is where it gets tricky. I can't give them a MHz number, we sell it on a "Per vCPU" basis. So I take the number of vCPU the customer buys, and multiply it by the CPU speed to get the amount needed to be configured.

There are several clusters, some of which have different CPU models/speeds. Is this possible to script/automate?

0 Kudos
1 Reply
LucD
Leadership
Leadership

I'm not sure how you want to calculate the amount of CPU and RAM allocated to a resourcepool?

These are dynamic numbers.

You could go the theoretical path, and use the resourcepool shares (Cpu & Mem) to calculate how much of the resources available in the cluster a pool would get.

But when there is no contention, these values do not really reflect what is actually used.


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

0 Kudos