WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / VSAN / VSAN vCheck Plugins

VSAN vCheck Plugins

04.07.2014 by William Lam // 5 Comments

After creating my VSAN Configuration Maximum query script I thought it would also be useful to create an equivalent set of VSAN vCheck Plugins. For those of you who have not heard of or used vCheck (pretty rare unless you do not use PowerShell/PowerCLI in your environment), it is a PowerShell reporting HTML framework created by Alan Renouf. vCheck allows you to schedule a series of PowerCLI scripts/checks against your vSphere environment and produces a daily report on the things you care most about such as datastore capacity being under a certain threshold or potential snapshots growing out of control in your environment.

Given this is the primary use case for vCheck, I figure it would make sense to implement these same set of VSAN configuration maximum checks in vCheck as well. This would also give me the opportunity to learn more about vCheck as I have never used it before. If you are new to vCheck, I highly recommend you check out Jonathan Medd's article on how to get started with vCheck here.

Here is a sample report of a real VSAN environment to get an idea of what the report could look like: VSAN-vCheck-Report.html

Below are the VSAN vCheck Plugins that I have created which also includes a bonus plugin which reports on the capacity of a VSAN Datastore. You can pick and choose the VSAN plugins that you want to use in your environment and then customize the threshold parameter for each report based on your requirements.

  1. 990 VSAN Capacity Report.ps1
  2. 991 VSAN Configuration Maximum Disk Group Per Host Report.ps1
  3. 992 VSAN Configuration Maximum Magnetic Disks Per Disk Group Report.ps1
  4. 993 VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Report.ps1
  5. 994 VSAN Configuration Maximum Component Per Host Report.ps1
  6. 995 VSAN Configuration Maximum Hosts Per Cluster Report.ps1
  7. 996 VSAN Configuration Maximum VMs Per Host Report.ps1
  8. 997 VSAN Configuration Maximum VMs Per Cluster Report.ps1

For those of you who are looking to evaluate VSAN in their environment, hopefully these VSAN vCheck reports will come in handy. If there are others that you feel that might be useful, feel free to leave a comment or contribute back to the vCheck project on Github.

More from my site

  • Retrieving detailed per-VM space utilization on VSAN
  • How to move vSAN Datastore into a Folder?
  • How to tell if an ESXi host is a VSAN Witness Virtual Appliance programmatically?
  • VSAN Flash/MD capacity reporting
  • VSAN Configuration Maximum Query Script

Categories // VSAN, vSphere 5.5 Tags // configuration maximum, PowerCLI, vCheck, VSAN, vsanDatastore, vSphere API

Comments

  1. Jonathan Medd says

    02/05/2015 at 3:44 pm

    Thanks for posting this, a handy reminder right now for me that they existed. For info it looks like the location of the ps1 files moved recently to folders, so the above links are currently broken. They are now in the Datastore folder https://github.com/alanrenouf/vCheck-vSphere/tree/master/Plugins/40%20Datastore

    Reply
    • William Lam says

      02/05/2015 at 4:02 pm

      Thanks for the note, I've fixed the links.

      Do I have you or Alan to thank for that 😉

      Reply
  2. Jonathan Medd says

    02/05/2015 at 4:07 pm

    Not me this time. I can't keep up with all of the updates on there these days 😉

    Reply
  3. jaidheep s says

    03/28/2018 at 12:44 am

    Hi
    i need to produce the Deduplication & Compression Ratio from our vSAN estate on a daily basis which i am doing manually.
    Please help me if this can be automate through vcheck report

    Reply
  4. Fred says

    10/12/2022 at 7:00 am

    Hi
    in 993 VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Report.ps1,
    I ran the script of vCheck, and If the host has 2 disk groups, It only display the MD numbers of 1 disk group for every host. I check the script, and seems that in line 34, should be "TotalMDCount" = $totalMDs, not "TotalMDCount" = $mds.
    Could you have a check.

    Reply

Thanks for the comment! Cancel reply

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

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • Automated ESXi Installation with a USB Network Adapter using Kickstart 02/01/2023
  • How to bootstrap ESXi compute only node and connect to vSAN HCI Mesh? 01/31/2023
  • Quick Tip - Easily move or copy VMs between two Free ESXi hosts? 01/30/2023
  • vSphere with Tanzu using Intel Arc GPU 01/26/2023
  • Quick Tip - Automating allowed and not allowed Datastores for use with vSphere Cluster Services (vCLS) 01/25/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023