The metrics used in the various VSAN dashboards are collected every minutes using to the QueryVsanStatistics API method of HostVsanInternalSystem. With some json ticks, it is possible to access any metrics from the VSAN cluster. And guess what! We’re already working on other cool SexiPanels for VSAN…
If this dashboard looks familiar this is because it is heavily inspired from VSAN Observer:
But unlike VSAN Observer, SexiGraf makes VSAN Monitor persistent because when you need it you most likely want to know what just happened. Since you have to launch VSAN Observer and wait few minutes, that particular moment is gone. VSAN Monitor let you explore 6 months from now so you can relax.
Nevertheless, VSAN Monitor is NOT a replacement for VSAN Observer since it only offers the primary “tabs” where you’ll be able to check the global activity of your VSAN cluster per nodes. When you need to deep dive, you’ll still need VSAN Observer. Badly.
Since some brillant guys at VMware already explain how to read VSAN metrics, you’ll need to check those papers if you not already did : Monitoring VMware Virtual SAN with Virtual SAN Observer & VMware Virtual SAN Diagnostics and Troubleshooting Reference Manual.
The layer label let you switch beetween VSAN layers described in the VSAN Observer help section:
Client: This view shows VSAN statistics from the view point of the VSAN client running on each host. In other words, this view represents the VSAN performance as seen by VMs running on the hosts for which statistics are shown.
If this view shows any unexpected performance, one needs to drill down further to understand where performance issues may be coming from. It is important to understand that due to the distributed nature of VSAN each host accesses data from all hosts, so any performance issue seen on this view may be caused by any host in the VSAN cluster.
Disks: This view shows VSAN statistics of the physical disk layer of each host. In other words, this view allows to determine if there is any contention on any of the disk groups that make up the overall VSAN cluster. Note that the statistics shown are purely the physical disk layer and do not include any other VSAN overhead (e.g. networking or VSAN RAID). Also remember that due to the distributed nature of VSAN the physical disks of one host are accessed by VMs on all hosts in the VSAN cluster.
If this view shows physical disk contention across a majority of hosts then this likely indicates that the workload run by VMs is collectively higher than the VSAN cluster can handle. In that case, either reduce the storage workload, or check the detailed physical device view to determine if you need more HDDs or SSDs.
If however only a single host’s physical disks are contended, while other hosts are operating fine, then you may have an imbalance, e.g. caused by particularly noisy VMs.
Owner: The DOM owner is a VSAN internal layer. For every VSAN object VSAN elects one host to be the ‘owner’. The owner performance all RAID functionality and ensures correctness, even under concurrent access by multiple clients. All IO flows from the VSAN client to the owner and then to the disk layer. VSAN tries to co-locate the owner and the client to not incur an additional network hop. However, the user can’t influence where the owner for a given object is located, so reading the below graphs and correlating them with the client and disks graphs can be very difficult.
You may have noticed the last column is not Latency stddev but Read Cache Hit Rate since we believe it offers a more syntetic view. We also got thresholds like VSAN Observer but Grafana’s are areas so you know exaclty when the metric hits the roof and for how long. As per VSAN Observer settings, the threshold for latency is 30ms, 20 for congestion and 30 for latency SD.
We also added colors 😉
Since All Flash cluster has no SSD read cache, we added a dedicated AF version of the VSAN monitor dashboard in v0.99c
All-flash clusters have two types of flash: very fast and durable write cache, and more capacious and cost-effective capacity flash. Here cache is 100% allocated for writes, as read performance from capacity flash is more than sufficient.
Some of you also asked us a dashboard to let them monitor multiple VSAN clusters at once. Enjoy the new VMware Multi VSAN Monitor dashboard (from v0.99c):
As per VMware Virtual SAN 6.0 Design and Sizing Guide: “VMware is recommending, if possible, 30% free capacity across the Virtual SAN datastore. The reasoning for this slack space size is that Virtual SAN begins automatic rebalancing when a disk reaches the 80% full threshold, generating rebuild traffic on the cluster”. Moreover, if one disk (or flash capacity) of a disk group is full, the VM with objects on it are stunned until VSAN has finish the rebalance of the objects.
In VSAN Observer, you can check the upper, lower and average disk (or flash capacity) usage per host but not per cluster and most importantly you won’t be able to see the trend so you won’t be able to predict anything.
The VSAN Capacity dashboard shows you the nodes capacity metrics of the entire cluster and allow you to anticipate futur storage needs. For each host, the shadow represents the min/max area of the diskgroups and the dark line represents the average.
VSAN SSD Stats
The VSAN SSD Stats dashboard shows various statistics from the caching devices of the VSAN diskgroups.
The Write Buffer Fill Rate graph is probably the most important as it helps to understand how fast the write buffer fills up and how fast the data are flushed on disk (or flash capacity). As per VSAN Observer settings, the threshold of this metric is 75%.
According to VMware Virtual SAN Diagnostics and Troubleshooting Reference Manual “One would expect that on a reasonably balanced system that a significant amount of write buffer is consumed. This is a good metric to check if you are planning to place more workloads on Virtual SAN. It can tell you whether you have enough flash capacity to cater for the additional workloads.”
The Evictions graph is described in VMware Virtual SAN Diagnostics and Troubleshooting Reference Manual as “how often Virtual SAN has to evict data blocks from the write buffer to make room for new data blocks. […] Excessive evictions could mean that there are workloads running that are not suitable for a caching storage system like Virtual SAN (sustained sequential write operations), or that the flash cache has been undersized for the workload requirements.”
The IOPS and Bandwidth graph are obviously speaking for themselves.
If you need to know where is the SSD your’re looking at, check the Evictions graph legend:
Starting from SexiGraf 0.99b we’ve added 2 new rows: Real Usage that let you monitor the VSAN flash tier filling up and IO Size that speaks for itself.
The Real Usage row may be very usefull to measure read cache warm up duration.
VSAN Top N vmdk
The VSAN Top N vmdk dashboard (added in SexiGraf 0.99a) let you immediately identify the most active VMs on your vsanDatastore “like” the infamously slow Virtual Machine Disk (Top 10) which is not available for VSAN datastores :
You’ll be able to observe flat vmdk as well as snapshots redo logs activity, select only few vm disks to inspect and also chose between Current, Average or Max consolidation over the selected time range:
Instead of endlessly clicking on the refresh button in the “Resyncing Components” tab of the WebClient, we added the VSAN Resync dashboard since SexiGraf 0.99b:
Now you can really see what’s going on when objects are being resynced, rebuilded or rebalanced. We also added a Recovery Rate graph to check how fast your VSAN backend performs.
VSAN NAA Latency
The VSAN NAA Latency dashboard (added in SexiGraf 0.99b) let you check the individual latencies of every single device in the VSAN cluster sorted by Network Addressing Authority identifier.
VSAN DiskGroup Capacity
In SexiGraf 0.99b we added an enhanced version of the initial VSAN Capacity dashboard. The VSAN DiskGroup Capacity let you monitor the space usage of each diskgroup of each cluster node. Now you see what is going on when you manually initiate Proactive Rebalance.
VSAN Space Usage Report
SexiGraf 0.99c ships with VSAN 6.2 SDK enabling new kind of dashboards. VSAN Space Usage Report aims to enhance the VSAN Capacity tab in the vSphere Web Client: