WilliamLam.com

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

How to configure VMware Compatibility Guide (VCG) database for vSphere Lifecycle Manager (vLCM) in an air-gapped environment?

12.01.2022 by William Lam // 3 Comments

I was setting up another vSphere 8 environment in my homelab using my handy Automated vSphere & vSAN 8 Lab Deployment Script and I was reminded of another vSphere Lifecycle Manager (vLCM) question that I had received during VMware Explore Barcelona 2022.

The question was about configuring vCenter Server that would include full vLCM functionality in an air-gapped environment, where internet connectivity would not be available directly or in-directly through the use of a network proxy. Today, the VMware Compatibility Guide (VCG) database that is integrated with vLCM can only be synchronized when when your vCenter Server is connected to VMware's online repository when VMware's Customer Experience Improvement Program (CEIP) is enabled.


To synchronize the VCG database using the vSphere UI, navigate to the vLCM administrator page and under Actions, select the Sync HCL operation, which will download the latest VCG database from VMware's online repo. You can also automate this using the vLCM REST API with the Update Compatibility Data Task API.

Here is a quick PowerCLI snippet performing the same operation but using the API instead:

Connect-CiSServer -Server vcsa.primp-industries.local -user administrator[at]vsphere[dot]local -Password VMware1!
$hclCompatDataService = Get-CisService -Name com.vmware.esx.hcl.compatibility_data
$hclLastUpdateOnline = $hclCompatDataService.get().updated_at

$hclCompatDataService.'update$task'()

However, for environments that can not connect to VMware's online repo, this poses a big operational challenge, especially for those looking to transition from vSphere Update Manager (VUM) to vLCM. For the vSAN HCL, we already provide a solution for air-gapped environments by providing an offline copy of the vSAN HCL database which detailed in VMware KB 2145116.

If a connected vCenter Server can download the VCG that vLCM uses, I figure it should also be possible to replicate that behavior for an air-gapped environment? 🤔

[Read more...]

Categories // Automation, ESXi, vSphere 7.0, vSphere 8.0 Tags // hcl, vcg, vSphere 7.0, vSphere 8.0, vSphere Lifecycle Manager

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

Quick Tip - Downloading ESXi Image (ISO or ZIP) from vSphere Lifecycle Manager (vLCM)

09.27.2022 by William Lam // 4 Comments

Prior to vSphere Lifecycle Manager (vLCM), the creation of an ESXi Image Profile was done separately using the vSphere Image Builder service. If you needed to download a specific ESXi Image Profile (ISO or ZIP) for importing into another environment or to simply create a bootable installer, it was intuitive to download the image within the vSphere UI.

With vLCM, both the ESXi Image and Configuration has been combined and it is now managed at the vSphere Cluster level. A couple of weeks ago, I needed to download a specific ESXi ISO from vLCM and it actually took me a bit of time to figure out where to perform this operation.

I recently came across a VMTN post where the user had the same challenge and realized I was not the only one who could not find the functionality in the vSphere UI.

[Read more...]

Categories // vSphere 7.0, vSphere 8.0 Tags // vLCM, vSphere 7.0, vSphere 8.0, vSphere Lifecycle Manager

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