WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

Quick Tip - Retrieving vSAN File Share Network Permissions using vSAN API & PowerCLI

10.16.2024 by William Lam // Leave a Comment

When creating a new vSAN File Share, which is powered by vSAN File Services,  additional network access controls (no access, allow access from any IP or custom) can be configured.


To view the configured network permissions, users must expand each file share to get the relevant information. For those interesting in automating the retrieval of this information for reporting and/or compliance purposes, you can use the vSAN Management API and specifically the vSAN queryFileShares() API.

The vSAN File Share API can also be consumed through PowerCLI using the Get-VsanFileShare cmdlet, but the network permission configuration is not part of the default output which might lead users to believe this information is not available.

[Read more...]

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

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

  • « 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

  • Automating the vSAN Data Migration Pre-check using vSAN API 06/04/2025
  • VCF 9.0 Hardware Considerations 05/30/2025
  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/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...