WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple

Using vSphere Lifecycle Manager (vLCM) API to patch group of ESXi hosts

10.11.2022 by William Lam // 2 Comments

An interesting vSphere Lifecycle Manager (vLCM) question that has already come up a few times in the past two weeks is whether vLCM can remediate (patch/upgrade) a specific group of ESXi host(s)?

Today, there are two ways in which vLCM can remediate ESXi hosts within a vSphere Cluster. The first is to simply remediate all ESXi hosts within a vSphere Cluster using the Remediate All option.


If a user wishes to exclude specific ESXi host(s) from being remediated, then the only other option is to manually remediate each individual host. To do so, select an ESXi host from the list and then use the Remediate option in the Actions menu as shown in the screenshot below.


For a small environment, manual remediation might be okay for those willing to click through the vSphere UI but it is certainly less than ideal and you are also not taking advantage of the automation and orchestration that vLCM provides in the first place.

Luckily, there is a third option which is to use the vLCM REST API to specify the desired list of ESXi host(s) that want to patch/upgrade and best of all, this is fully automated!

[Read more...]

Categories // Automation, PowerCLI, vSphere 7.0, vSphere 8.0 Tags // PowerCLI, 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

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • How to enable passthrough for USB Network Adapters claimed by ESXi CDCE Driver? 03/30/2023
  • Self-Contained & Automated VMware Cloud Foundation (VCF) deployment using new VLC Holodeck Toolkit 03/29/2023
  • ESXi configstorecli enhancement in vSphere 8.0 Update 1 03/28/2023
  • ESXi on Intel NUC 13 Pro (Arena Canyon) 03/27/2023
  • Quick Tip - Enabling ESXi Coredumps to be stored on USB 03/26/2023

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

 

Loading Comments...