Enabling agentless Guest (VM) RAM monitoring with vRealize Operations 6.3+

Share this:

Agentless monitoring of the Guest RAM metrics is one of the new feature introduced with vRealize Operations 6.3 with vSphere 6.0 U1. I was really happy to finally see this functionality, as memory metrics which are provided by default are not accurate and I would say almost useless when trying to right sizing your VMs.

Active memory metric (old one) is telling you about memory which was accessed by VM during some interval, but it says nothing about real usage. Especially if you want to prevent swapping (which you should in the virtualized environments with shared storage) of the idle pages. Swapping is what will happen most of the time, if you downsize your VM based on the active memory metric only and completely ignore construct of the memory usage inside the VM.

This is where the new Guest metrics come into play, where you can see real memory usage inside VM and metrics like free memory, active file system cache, swap and so on…

However I had big troubles to get this functionality working, it was working for some hosts only in one vCenter and not at all in another.  I engaged VMware support and it tooks them “only” 4months to figure it out, but luckily they did.

  1. you need to have vCenter 6.0 U1, ESXi 6.0 U1, VMware tools from 6.0U1 (this part was easy)
  2. verify if you have enabled collection of the new metrics (easy part as well)
  3. Tricky one: As those metrics are internal, its collection by vCenter is not enabled by default. In this case you need to have special permission configured for an account which you are using for connection to your vCenter:
    Performance>Modify Intervals
    according to the support this is needed only once, when you are registering vCenter Adapter. If you have your vCenter Adapter already registered you need to restart it.

I recommend you to check out http://virtual-red-dot.info, which is great blog about vRealize Operations.

To read more about new metrics, check out this blogpost. And to see how you can right size your VMs using them this one.

The following two tabs change content below.
With over 12 years of experience in the Virtualization field, currently working as a Senior Consultant for Evoila, contracted to VMware PSO, helping customers with Telco Cloud Platform bundle. Previous roles include VMware Architect for Public Cloud services at Etisalat and Senior Architect for the VMware platform at the largest retail bank in Slovakia. Background in closely related technologies includes server operating systems, networking, and storage. A former member of the VMware Center of Excellence at IBM and co-author of several Redpapers. The main scope of work involves designing and optimizing the performance of business-critical virtualized solutions on vSphere, including, but not limited to, Oracle WebLogic, MSSQL, and others. Holding several industry-leading IT certifications such as VCAP-DCD, VCAP-DCA, VCAP-NV, and MCITP. Honored with #vExpert2015-2019 awards by VMware for contributions to the community. Opinions are my own!

About Dusan Tekeljak

With over 12 years of experience in the Virtualization field, currently working as a Senior Consultant for Evoila, contracted to VMware PSO, helping customers with Telco Cloud Platform bundle. Previous roles include VMware Architect for Public Cloud services at Etisalat and Senior Architect for the VMware platform at the largest retail bank in Slovakia. Background in closely related technologies includes server operating systems, networking, and storage. A former member of the VMware Center of Excellence at IBM and co-author of several Redpapers. The main scope of work involves designing and optimizing the performance of business-critical virtualized solutions on vSphere, including, but not limited to, Oracle WebLogic, MSSQL, and others. Holding several industry-leading IT certifications such as VCAP-DCD, VCAP-DCA, VCAP-NV, and MCITP. Honored with #vExpert2015-2019 awards by VMware for contributions to the community. Opinions are my own!
Bookmark the permalink.

2 Comments

  1. Thanks for posting, I assume the “Guest” metrics are populated by VMware Tools back to vCenter ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.