Capacity Management based on Business Policy – Part 4

If you land into this Part 4 directly, I’d recommend that you review Part 1 first.

Compute Tier 2 and 3 (lowest)

To recap, you need to create line charts showing the following:

  1. The maximum CPU contention and average CPU contention for all VMs in the cluster
  2. The Maximum RAM contention and average RAM contention for all VMs
  3. Total number of VM left in the cluster.

The screenshot below shows the super metric formula to get the Maximum CPU Contention of all the VMs in the cluster. To create the Average CPU Contention super metric, you just need to replace the string Max with Avg in the formula.

super metric - CPU

The screenshot below shows the super metric formula to get the Maximum Memory Contention of all the VMs in the cluster. To create the Average RAM Contention super metric, you just need to replace the string Max with Avg in the formula.

super metric - RAM contention

Copy-paste each of the formula below, to create 4 super metrics:

  • Max(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=cpu|capacity_contentionPct, depth=2})
  • Max(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=mem|host_contentionPct, depth=2})
  • Avg(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=cpu|capacity_contentionPct, depth=2})
  • Avg(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=mem|host_contentionPct, depth=2})

That’s all you need to the get the first 2 line charts, out of the 5 that you need.

To get the “Total number of VM left in the cluster”, refer to Part 3, as it is the same formula. You just have a different threshold.

Here is the resultant dashboard looks like:

In the next post, I will cover Network. It applies to all tiers, as you should not have drop packets in any tier, and your network utilisation should in healthy ranges. As network is normally shared, it’s also easier to monitor per physical data center.

One thought on “Capacity Management based on Business Policy – Part 4

  1. Pingback: Capacity Management based on Business Policy

Leave a Reply