WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Quick Tip - Retrieving vSAN Congestion Health Programmatically

09.05.2024 by William Lam // 1 Comment

While catching up on post-Explore email, I received a question from a customer who has a large number of vSAN deployments spanning their ROBO environment. In one of their environment, they had some physical congestion issue that caused some problems for their vSAN stretched cluster and they were looking for a way to monitor the vSAN congestion health, which is available as part of vSAN Health.


Since this information is available as part of vSAN Health, we can certainly leverage the vSAN Health API to retrieve this information programmatically but we can also look at using the PowerCLI Test-VsanClusterHealth cmdlet to get this information in a quicker manner for administrators.

[Read more...]

Categories // Automation, PowerCLI, VSAN Tags // VSAN

Managing vSAN internet connectivity configuration using the vSAN API

07.12.2024 by William Lam // 5 Comments

I recently received an inquiry from a vSAN customer who was looking to disable the vSAN internet connectivity, which is used pull down the latest vSAN HCL catalog updates and is also used as part of enabling the vSAN File Services.


Rather than using the vSphere UI to disable this configuration, the customer was interested in automating this and was wondering if there was an API that can be used?

While I have explored a large part of the vSAN Management API, this is one area that I had not played with before, which also meant a good learning opportunity!

[Read more...]

Categories // Automation, PowerCLI, VSAN, vSphere 8.0 Tags // PowerCLI, VSAN

Improved vSAN capacity usage reporting APIs in vSphere 8.0 Update 3

07.10.2024 by William Lam // Leave a Comment

As with any new VMware software release, I always love geeking out and taking a look at the new APIs have been added and/or updated that can benefit our users. Having spent some time automating various aspects of vSAN, I came across a couple of new vSAN capacity usage reporting APIs (vSphere API & vSAN Management API) that were introduced in vSphere 8.0 Update 3 that I thought was worth mentioning.

While vSAN already had an existing capacity API by using the querySpaceUsage() method as part of the VsanSpaceReportSystem, it did not provide granular information about the raw storage capacity that was claimed by vSAN, whether that was for vSAN Original Storage Architecture (OSA) or vSAN Express Storage Architecture (ESA).

As part of the VsanVcClusterConfigSystem, there is now a new vSAN API called getClaimedCapacity() that will return the raw capacity in bytes for all claimed disks for vSAN OSA and/or ESA which is also useful for those looking to understand their tebibyte (TiB) usage, as that is also  unit of licensing for vSAN storage with the new VMware vSphere Foundation (VVF) and VMware Cloud Foundation (VCF) offers.

[Read more...]

Categories // Automation, VSAN, vSphere 8.0 Tags // VSAN, vSphere 8.0 Update 3

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 39
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

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 © 2025

 

Loading Comments...