Home > Blogs > VMware Cloud Management


vCenter Operations Management Tech Tips: Tip #25 – 1-Click Capacity Planning Custom Dashboard – Part 2

In the first part for this series I covered the compute (CPU and Memory) Super Metrics needed for our 1-Click Capacity Planning custom dashboard. In the second part I will show how to create the “infrastructure” for pulling out the capacity planning data for the cluster shared storage.

Before rushing into things and creating Super Metrics we need to create a shared storage dynamic group for each one of our clusters. I will follow the basic rule that what makes a Datastore “shared” is the fact its connected to more then one ESXi host.

Create the Dynamic Group

In the vSphere UI choose to create new group. Note that you need to do this for each one of your clusters capacity planning candidates. In order to “capture” the clusters shared storage datastores we will use two criteria.

01. Create new group

02. New Group 01

03. New Group 02

04. New Group 03

05. New Group 04

Create the storage related Super Metrics

Now that we have our cluster shared storage dynamic group we can leverage it while creating storage related Super Metrics. As remainder, lets go back to our metrics table.

CPU MEMORY STORAGE DENSITY AND VM DEPLOYMENT
Cluster Total CPU Capacity (GHz) Cluster Physical Memory Capacity (GB) Cluster Shared Storage Total Capacity (GB) Cluster VM to Host Ratio
Cluster Total CPU Demand (GHz) Cluster Total Memory Usage (GB) Cluster Shared Storage Used Space (GB) Cluster vCPU to pCPU Ratio
Cluster Total CPU Demand (%) Cluster Memory Usage (%) Cluster Shared Storage Used Space (%) Cluster vMem to pMem CPU Ratio
Cluster Shared Storage Throughput (KBps) Cluster Deployed VMs
Cluster Total IOPS

Table 1 – Capacity Planning OOTB Metrics and Super Metrics

Because of the shared datastores and their parent cluster 1:1 ratio criteria within the dynamic group, in the Super Metric we will not use the THIS option.

Cluster Shared Storage Total Capacity (GB)

sum(Cluster A Shared Storage:Datastore|Total Capacity|Total Capacity (GB))
Datastore|Total Capacity|Total Capacity (GB) = Resources: THE DYNAMIC GROUP > Attribute Kinds: Datastore > Total Capacity > Total Capacity (GB)

06. Cluster Shared Storage Total Capacity (GB)

Cluster Shared Storage Used Space (GB)

sum(Cluster A Shared Storage:Datastore|Total Capacity|Total Capacity (GB)))-(sum(MISSING:Datastore|Total Capacity|Total Available Space (GB)))
Datastore|Total Capacity|Total Capacity (GB) = Resources: THE DYNAMIC GROUP > Attribute Kinds: Datastore > Total Capacity > Total Capacity (GB)
Datastore|Total Capacity|Total Available Space (GB) = Resources: THE DYNAMIC GROUP > Attribute Kinds: Datastore > Total Capacity > Total Available Space (GB)

07. Cluster Shared Storage Used Space (GB)

Cluster Shared Storage Used Space (%)

sum(Cluster A Shared Storage:Datastore|Total Capacity|Average Workload (%))
Datastore|Total Capacity|Average Workload (%) = Resources: THE DYNAMIC GROUP > Attribute Kinds: Datastore > Total Capacity > Average Workload (%)

08. Cluster Shared Storage Used Space (pct)

Cluster Shared Storage Throughput (KBps)

sum(Cluster A Shared Storage:Datastore|Disk|Total Usage Rate (KBps))
Datastore|Disk|Total Usage Rate (KBps) = Resources: THE DYNAMIC GROUP > Attribute Kinds: Datastore > Disk > Total Usage Rate (KBps)

09. Cluster Shared Storage Throughput (KBps)

In the next part for this series I will map the attribute kinds for the OOTB metrics and will show how to perform manipulations on vC Ops interaction XML files.

Please send me your feedback and comments about this #TechTip below, as well as requests for #TechTips on other topics. And yes, follow us on twitter @vcenterops to get the latest on vCenter Operations and Cloud Operations Management topics. For a full list of all blog posts in the vCenter Operations Management Tech Tips series, search for posts with the tag ‘tech tips‘, or just visit http://blogs.vmware.com/management/tag/tech-tips

2 thoughts on “vCenter Operations Management Tech Tips: Tip #25 – 1-Click Capacity Planning Custom Dashboard – Part 2

  1. Shawn Dorsey

    Lior,
    This is amazing and perfect timing since myself and two other individuals were charged with providing exactly this information to our leadership. I am patiently (well sort :-) ) waiting for the creation of the actual dashboards!
    I do have a question about building the group details…is there any rapid means to duplicate building the groups other than performing a clone operation?
    Also is there any quick way to duplicate the creation of the storage related super metrics?
    The reason I ask is, our environment is very large (68 clusters) and doing this manually will be some what time consuming! And since I am keying in data, prone to error!
    Even if there is no easy way to perform these operations, this series will help us greatly! Thank you for these timely tech tips!

    1. Lior Kamrat

      Thank you Shawn for your comment, you are raising a fair point.
      Currently with 5.x we don’t have the “not contain” option within the dynamic group creation wizard which could have help us excluding the local attached storage so we won’t have to create a group per cluster.
      What you can do in the meantime is to create a group which will include the local attached storage as well and then create a more granular Super Metric.
      Shoot me an email to lkamrat@vmware.com and i’ll send some screenshots.

Comments are closed.