vSAN

Monitoring VMware vSAN with vSAN Observer

Monitoring VMware vSAN with vSAN Observer is an extremely easy way to get very in depth analysis of overall and in depth vSAN performance metrics

VMware vSAN is certainly the market leader in software defined storage solutions.  VMware vSAN, especially in the new VMware vSAN 6.7 release is a powerful platform that allows organizations to have a powerful software defined approach to managing and provisioning storage.  Once organizations deploy VMware vSAN in their environments, the need arises to ensure proper monitoring takes place especially if any problems with performance or otherwise arise.  In case you haven’t had a chance to take a look at VMware vSAN Observer, it provides a very intuitive and helpful look at very detailed performance metrics when it comes to VMware vSAN.  This allows you to have even greater visibility to what is going on under the hood with your vSAN environment.  Let’s take a look at monitoring VMware vSAN with vSAN Observer and see what visibility to performance this tool allows vSAN administrators.

Installing VMware vSAN Observer in VMware vCenter VCSA 6.7

VMware vSAN Observer is powered by the Ruby vSphere Console.  The VMware Fling looks to be deprecated on the official Fling site.  However you will find the Ruby vSphere Console is already a part of VMware vSphere VCSA 6.7.  Note the message received if you attempt to install the Ruby vSphere Console inside of VCSA 6.7 appliance.

  • gem install rvc – this is the documentation from the fling

However, as you see below, you will receive the message “rvc” conflicts with /usr/bin/rvc

Installing-Ruby-vSphere-Console-in-VMware-vSphere-VCSA-6.7
Installing Ruby vSphere Console in VMware vSphere VCSA 6.7

So your VCSA 6.7 appliance already comes with the ruby console installed and ready for using the vSAN Observer monitoring utility.

Now that we have verified that we already have the Ruby vSphere Console, we can login to the Ruby vSphere Console.

  • Login to the Ruby vSphere Console
  • Accept the fingerprint of the connection
  • Issue the cd localhost command
  • Issue the cd <your Datacenter name>
Logging-into-the-Ruby-vSphere-Console
Logging into the Ruby vSphere Console

Now, we can start the vSAN Observer web server and start collecting performance statistics.  To begin the vSAN Observer web server and start collecting the key performance statistics in the environment.  To begin the vSAN Observer web server, you can easily get started by issuing the command:

  • vsan.observer ~/comnputers/<your cluster name> –run-webserver –force
  • If you want to only run it via HTTP, you can use the command vsan.observer ~/comnputers/<your cluster name> –run-webserver –force –no-https
Starting-the-vSAN-Observer-web-server-and-starting-to-collect-vSAN-performance-statistics-with-vSAN-Observer
Starting the vSAN Observer web server and starting to collect vSAN performance statistics with vSAN Observer

Monitoring VMware vSAN with vSAN Observer

Now that we have the web server up and running and vSAN Observer is capturing performance statistics, we can login to the interface and start looking at the information being captured.  The link to login after you start the vSAN Observer web server is:

  • https://<your VCSA appliance FQDN or IP>:8010

Here, you simply login with your VCSA credentials.

Logging-into-the-vSAN-Observer-web-client-on-your-VCSA-6.7-appliance
Logging into the vSAN Observer web client on your VCSA 6.7 appliance
vSAN-Observer-Web-interface
vSAN Observer Web interface

DOM is responsible for the creation of virtual machine storage objects from local components across multiple ESXi hosts in the vSAN cluster by implementing distributed RAID. There are 3 roles within DOM; client, owner, and component manager.

Client – Provides access to an object. There may be multiple clients per object depending on access mode.

Owner – Coordinates access to the object, including locking object configuration and reconfiguration. there is a single DOM owner per object. All objects changes and writes go through the owner. This may typically be the same host, but this is not guaranteed and they may be on different hosts.

Component Manager Interface for LSOM and the physical disks.

DOM-object-client-view-of-an-vSphere-ESXi-6.7-host
DOM object client view of an vSphere ESXi 6.7 host
vSAN-Observer-vSAN-disks-deep-dive
vSAN Observer vSAN disks deep dive

PCPU shows the overall CPU usage and also per component CPU usage statistics of vSAN. It shows CPU usage from the overall host perspective as well as from the view of vSAN worldlet and networking worldlet. A worldlet is a process that does some work on behalf of vSAN.

vSAN-Observer-PCPU-performance-dashboard
vSAN Observer PCPU performance dashboard

As mentioned the DOM owner coordinates the writes and other changes to VMs.

vSAN-Observer-DOM-owner-view
vSAN Observer DOM owner view

A really great view with vSAN Observer is the VMs dashboard view that allows you to drill down onto a specific virtual machine and see the vSAN performance of that specific VM along with the specific VMDK along with latency and IOPs.

vSAN-Observer-VMs-view-to-view-VM-details-on-vSAN
vSAN Observer VMs view to view VM details on vSAN

The networking graph as you would expect shows all the pertinent networking statistics of the vSAN environment that you can look into in detail based on the host.

vSAN-Observer-Network-menu-and-other-options
vSAN Observer Network menu and other options

The vSANSparse dashboard allows you to see the snapshots that are currently in place and various statistics of the sparse disks.

vSANSparse-Snapshot-statistics-in-vSAN-Observer
vSANSparse Snapshot statistics in vSAN Observer

Great VMware vSAN Observer Resources

The following are a few great vSAN Observer resources to get your feet wet with the utility:

Takeaways

Monitoring VMware vSAN with vSAN Observer is a great way to have really in depth analysis of performance in the various key performance indicator areas of VMware vSAN.  The utility is extremely easy to get up and running on with VCSA 6.7.  The Ruby vSphere Console is already available to be used in the VCSA 6.7 appliance.  Simply start the utility web server and start collecting performance analysis of VMware vSAN.  The metrics collected can help to narrow in on any possible performance issues and the underlying reason or area where the bottleneck exists.  Stay tuned for more vSAN Observer tidbits and other vSAN Performance utilities.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

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