WilliamLam.com

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

Capturing Kasa Smart Plug Power Metrics using VCF Operations Management Pack Builder

11.07.2025 by William Lam // 1 Comment

VCF Operations has long supported the ingestion of custom metrics and data through custom management packs, typically created by 3rd party vendors. While users can build their own custom management packs, it was a non-starter for many due to the development background required.

The newly integrated VCF Operations Management Pack Builder provides a no-code solution that can connect to any REST-based API endpoint, making it trivial to bring in custom metrics and associating that with existing or new objects within VCF Operations.


My recent purchase of a Kasa Smart Plug for energy monitoring gave me the perfect opportunity to use the VCF Operations Management Pack Builder!

Long story short, Kasa does not provide any public APIs to access their smart devices, but the open-source community has reversed engineer their protocol and built a python library called python-kasa allowing users to interact with their Kasa smart devices.

[Read more...]

Categories // VCF Operations, VMware Cloud Foundation Tags // VCF 9.0

Retrieving the vSAN Cluster Shutdown VMs running Pre-Check Results using PowerCLI

11.05.2025 by William Lam // Leave a Comment

The vSAN Cluster Shutdown capability has been around since vSAN 7 Update 3 and has been enhanced over the years, most recently with the introduction of a vSAN Cluster Shutdown Wizard as part of the VMware Cloud Foundation (VCF) 9.0 release.


For those looking to automate the shutdown of their vSAN Cluster, we have a number of PowerCLI cmdlets: Get-VsanClusterPowerState, Start-VsanCluster and Stop-VsanCluster that simplifies this process in addition to the new UI interface, all leveraging the vSAN Management APIs.

Before the vSAN Cluster can initiate the shutdown workflow, it needs to make sure all VMs (excluding the vCenter Server VM that is managing the vSAN Cluster) has been powered off. For large environments, it can take some time to power off all VMs, which means you might need to poll or wait before running the Stop-VsanCluster cmdlet.

Instead of having to write additional code to wait for all your VMs to shutdown, you can leverage one of the vSAN Health Check Perspectives that will conveniently let you know when the vSAN Cluster is ready to be shutdown.

[Read more...]

Categories // PowerCLI, VMware Cloud Foundation, VSAN Tags // VCF 9.0

JFrog Artifactory as VCF Software Depot for VCF Installer & SDDC Manager

11.03.2025 by William Lam // Leave a Comment

JFog Artifactory is widely used by enterprises as a centralized software repository for managing packages, dependencies, and build artifacts. Recently, we have had several customers asking whether Artifactory can be used as a VMware Cloud Foundation (VCF) Software Depot for both the VCF Installer and SDDC Manager?

Any software repository solution should work as long as the VCF software binaries and metadata can be accessed by either the VCF Installer or SDDC Manager over HTTP(S) with basic authentication. While I have been a consumer of Artifactory before, I have actually never set it up before and this was a good learning opportunity!

[Read more...]

Categories // VMware Cloud Foundation Tags // VCF 9.0

  • 1
  • 2
  • 3
  • …
  • 588
  • 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

  • Capturing Kasa Smart Plug Power Metrics using VCF Operations Management Pack Builder 11/07/2025
  • Retrieving the vSAN Cluster Shutdown VMs running Pre-Check Results using PowerCLI 11/05/2025
  • JFrog Artifactory as VCF Software Depot for VCF Installer & SDDC Manager 11/03/2025
  • Identifying VMware Cloud Foundation (VCF) managed service accounts in vCenter Server 10/30/2025
  • Configuring VCF Automation (VCFA) Organization Portal OIDC IdP using Terraform Provider for VCFA 10/28/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...