posted

1 Comment

By: Chris Colotti

A few months ago customers of vCloud Hybrid Service noticed a new tab on the Virtual machine view that said “Monitoring”.

Monitoring_Tab

At that time people also noticed it stated that the feature was not yet available.  The reason for this is that the vCloud Hybrid Service portal code is updated separately from the vCloud Suite components under the covers.  The monitoring feature required some updates to vCloud Director to be rolled to all the tenants.  I’m happy to report that as part of the ongoing upgrade process most if not all tenants at this point should see this feature as active.

vCloud Hybrid Service Virtual Machine Monitoring Data

Now that the feature is active you can see VMware vCenter Server based metrics about your virtual machines.  This is the same data you would see if you had direct access to the underlying VMware vCenter Server.  The metrics you get are:

  • CPU Usage
  • Memory Usage
  • Disk Reads
  • Disk Writes

You also get the historical data for:

  • Past 24 Hours
  • Past 7 Days
  • Past 14 Days

I have had a couple servers running with real workloads for some time to allow the data to build up so below is some examples of the data from the last 7 days you will get from this new feature.

Monitoring_CPU

Monitoring_Memory

Monitoring_DiskRead

Monitoring_DiskWrite

How you can use this data

Since this is currently the same data as VMware vCenter you can now use this data to determine how your virtual machines are utilizing resources in your vCloud Hybrid Service environment.  Let’s examine the actual virtual machine configuration that these statistics were pulled from:

Monitoring_VMConfig

 

You can see from the above image that this machine is configured with 2 vCPU and 2GB of memory.  What I can also tell you is this machine also has a 1GB memory reservation set manually by me the machine owner.  By looking at the monitoring data we can make some decisions.

For example you can see I am under utilizing the CPU resources, which currently is configured for 2 vCPU, but you I could decide to dial this back to 1 vCPU.  The CPU is showing very little percent utilization in 7 days and the MHz used at the highest was only about 100MHz, well below a single 2.2 GHz Core presented to the machine.

For memory the story is similar.  There is under 1GB of memory used so I could in theory dial this back to a 1GB machine to provide resources to other applications in the Virtual Data Center.

Lastly there is no issue with Disk Reads or Disk Writes on the 100GB virtual disk.  This means the SSD-Accelerated storage is performing well on this application. What we can see is this application is much more write intensive than read intensive so if we did want to focus anywhere it would end up being on the writes.

Summary

The new insertion of the Virtual Machine Monitoring feature is another great source of information you can use to better utilize and provision your VMware Hybrid Cloud Service resources.  Now you have real time data you can leverage to make better decisions as you are starting up new applications or moving existing applications to the platform.

If you are moving applications I would suggest taking a similar snapshot of the VMware vCenter data before you move it over, so you can compare the results pre and post migration and see how they compare from on premises to vCloud Hybrid Service.

Below is an overview of virtual machine monitoring in vCloud Hybrid Service:

VM monitoring API documentation is public in both, the vCloud API Programming Guide and in the vCloud API Schema Reference.

Chris is a Principal Technical Marketing Architect with the vCloud Hybrid Services team with over 10 years of experience working with IT hardware and software solutions. He holds a Bachelor of Science Degree in Information Systems from the Daniel Webster College. Prior to VMware he served a Fortune 1000 company in southern NH as a Systems Architect/Administrator, architecting VMware solutions to support new application deployments. At VMware, in the roles of Consulting Architect, Chris has guided partners as well as customers in establishing a VMware practice and consulted on multiple customer projects ranging from datacenter migrations to long-term residency architecture support. Currently, Chris is working on the newest VMware vCloud Hybrid Service solutions and architectures for vSphere customers wishing to migrate to the VMware Hybrid Cloud Service. Chris is also a VMware Certified Design Expert, (VCDX #37).