WilliamLam.com

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

Automating certificate-manager CLI operations in vCenter Server (VCSA)

02.07.2024 by William Lam // 3 Comments

I recently had a customer inquiry where they were interested in automating the certificate replacement for vCenter Solution Users when using the /usr/lib/vmware-vmca/bin/certificate-manager CLI, which is found within the vCenter Server Appliance (VCSA).


Note: One important thing to understand is that with vSphere 7.0, the vCenter Solution User certificates have been deprecated and the ability to replace the internal certificates will be removed in a future release as mentioned in the referenced vSphere blog post.

VMware does not recommend replacing the internal vCenter Solution User certificates, but for users who may have an organization requirement to do so, the operation is performed interactively using the certificate-manager CLI as mentioned earlier.

By design, the certificate-manager is meant to be consumed interactively and any non-interactive or automated use cases is not possible ...

[Read more...]

Categories // Automation, VCSA Tags // vCenter Server, VCSA, VMCA, VMware Certificate Authority

How to check if your vCenter Server is using vSphere+ / vSAN+ Subscription?

02.14.2023 by William Lam // Leave a Comment

Once a vCenter Server has been converted to a vSphere+ and/or vSAN+ subscription, entitlements and usage for both vCenter Server and their respective ESXi hosts is all managed through the use of VMware Cloud Console as shared in this recent blog post.

If you are logged into your vCenter Server, how do you check whether it is using a vSphere+ / vSAN+ subscription or not?


Using the vSphere UI, you will see a new Subscription entry on the left hand side when selecting the vCenter Server inventory under Configure->Settings->Subscription which will indicate that this vCenter Server is using vSphere+ / vSAN+ subscription. You will also find a similiar UI entry for each ESXi host that is managed by that vCenter Server, but this is actually irrelevant because all ESXi hosts are automatically subscribed once you have converted your vCenter Server to subscription.

How about checking whether a vCenter Server is using a subscription via Automation?

[Read more...]

Categories // Automation, VMware Cloud, VSAN, vSphere Tags // subscription, vCenter Server, VMware Cloud, VSAN, vSphere

How to automate checking for new vCenter Server updates in vSphere Lifecycle Manager (vLCM)?

11.27.2022 by William Lam // 2 Comments

A question that I had received during VMware Explore Barcelona, was how to automate the checking for new updates that are available for their vCenter Server? In the vSphere UI, when a new update is available and applicable, you will see a new blue label called Update Available under the Summary view when your vCenter Serve inventory object is selected.


When you click on the label, it will take you the vCenter Server Update Planner, a feature that was introduced back in vSphere 7, which is part of the overall vSphere Lifecycle Manager (vLCM) solution.


Here you will be shown a list of all applicable vCenter Server update(s) and/or upgrade(s) for your specific version of vCenter Server, including useful information like severity and even direct links to the release notes, which is extremely useful to quickly get a glance at a particular release.

As you might expect, all of the information displayed within the vSphere UI is available programmatically using the vCenter Server vLCM REST API, enabling users to periodically check when an update is available and create and run interoperability reports using the vCenter Server Update Planner feature.

[Read more...]

Categories // Automation, PowerCLI, vSphere 7.0, vSphere 8.0 Tags // vCenter Server, vSphere 7.0, vSphere 8.0, vSphere Lifecycle Manager

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 19
  • 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...