Upgrade ESXi with vSphere Lifecycle Manager Images for VMware Cloud Foundation 5.2

Prior to
VMware Cloud Foundation
5.2.1, workload domains can use either vSphere Lifecycle Manager baselines or vSphere Lifecycle Manager images for ESXi host upgrade. The following procedure describes upgrading ESXi hosts in workload domains that use vSphere Lifecycle Manager images when your target version is
VMware Cloud Foundation
5.2.
  • Validate that the ESXi passwords are valid.
  • Ensure that the domain for which you want to perform cluster-level upgrade does not have any hosts or clusters in an error state. Resolve the error state or remove the hosts and clusters with errors before proceeding.
  • You must upgrade
    NSX
    and
    vCenter Server
    before you can upgrade ESXi hosts with a vSphere Lifecycle Manager image.
  • If you want to add firmware to the vSphere Lifecycle Manager image, you must install the Hardware Support Manager from your vendor. See Firmware Updates.
For information about upgrading ESXi in workload domains that use vSphere Lifecycle Manager baselines when your target version is
VMware Cloud Foundation
5.2, see Upgrade ESXi with vSphere Lifecycle Manager Baselines for VMware Cloud Foundation.
VMware Cloud Foundation
5.2.1 and later support workload domains that include vSphere Lifecycle Manager baseline clusters and vSphere Lifecycle Manager image clusters. If you are upgrading to
VMware Cloud Foundation
5.2.1, see Upgrade ESXi for VMware Cloud Foundation 5.2.1.
You create a vSphere Lifecycle Manager image for upgrading ESXi hosts using the
vSphere Client
. During the creation of the image, you define the ESXi version and can optionally add vendor add-ons, components, and firmware. After you extract the vSphere Lifecycle Manager image into
SDDC Manager
, the ESXi update will be available for the relevant VI workload domains.
  1. Log in to the management domain
    vCenter Server
    using the
    vSphere Client
    .
  2. Create a vSphere Lifecycle Manager image.
    1. Right-click the management domain data center and select
      New Cluster
      .
    2. Enter a name for the cluster (for example,
      ESXi upgrade image
      ) and click
      Next
      .
      Keep the default settings for everything except the cluster name.
      New cluster settings with cluster name and default settings
    3. Define the vSphere Lifecycle manager image and click
      Next
      .
      Image Element
      Description
      ESXi Version
      From the
      ESXi Version
      drop-down menu, select the ESXi version specified in the
      VMware Cloud Foundation
      BOM.
      If the ESXi version does not appear in the drop-down menu, see Working With the vSphere Lifecycle Manager Depot.
      Vendor Add-On (optional)
      To add a vendor add-on to the image, click
      Select
      and select a vendor add-on.
      You can customize the image components, firmware, and drivers later.
    4. Click
      Finish
      .
    5. After the cluster is created successfully, click the
      Updates
      tab for the new cluster to further customize it, if needed.
    6. Click
      Hosts
      Image
      and then click
      Edit
      .
      vSphere Client view of the new cluster image settings.
    7. Edit the vSphere Lifecycle manager image properties and click
      Save
      .
      You already specified the ESXi version and optional vendor add-on, but you can modify those settings as required.
      Image Element
      Description
      ESXi Version
      From the
      ESXi Version
      drop-down menu, select the ESXi version specified in the
      VMware Cloud Foundation
      BOM.
      If the ESXi version does not appear in the drop-down menu, see Synchronize the vSphere Lifecycle Manager Depot and Import Updates to the vSphere Lifecycle Manager Depot.
      Vendor Add-On (optional)
      To add a vendor add-on to the image, click
      Select
      and select a vendor add-on.
      Firmware and Drivers Add-On (optional)
      To add a firmware add-on to the image, click
      Select
      . In the
      Select Firmware and Drivers Addon
      dialog box, specify a hardware support manager and select a firmware add-on to add to the image.
      Selecting a firmware add-on for a family of vendor servers is possible only if the respective vendor-provided hardware support manager is registered as an extension to the vCenter Server where vSphere Lifecycle Manager runs.
      Components
      To add components to the image:
      • Click
        Show details
        .
      • Click
        Add Components
        .
      • Select the components and their corresponding versions to add to the image.
    vSphere saves the cluster image.
  3. Extract the vSphere Lifecycle Manager image into
    SDDC Manager
    .
    1. In the
      SDDC Manager UI
      , click
      Lifecycle Management
      Image Management
      .
    2. Click
      Import Image
      .
    3. In the Option 1 section, select the management domain from the drop-down menu.
    4. In the Cluster drop-down, select the cluster from which you want to extract the vSphere Lifecycle manager image. For example,
      ESXi upgrade image
      .
      Option 1 section for importing a cluster image with workload domain and cluster selected
    5. Enter a name for the cluster image and click
      Extract Cluster Image
      .
    You can view status in the
    Tasks
    panel.
  4. Upgrade ESXi hosts with the vSphere Lifecycle Manager image.
    1. Navigate to the
      Updates
      tab of the VI workload domain.
    2. In the Available Updates section, click
      Configure Update
      .
    3. Click
      Next
      .
    4. Select the clusters to upgrade and click
      Next
      .
      The default setting is to upgrade all clusters. To upgrade specific clusters, click
      Enable cluster-level selection
      and select the clusters to upgrade.
    5. Select the cluster and the cluster image, and click
      Apply Image
      .
    6. Click
      Next
      .
    7. Select the upgrade options and click
      Next
      .
      An images showing the upgrade options.
      By default, the selected clusters are upgraded in parallel. If you selected more than five clusters to be upgraded, the first five are upgraded in parallel and the remaining clusters are upgraded sequentially. To upgrade all selected clusters sequentially, select
      Enable sequential cluster upgrade
      .
      Select
      Enable Quick Boot
      to reduce the upgrade time by skipping the physical reboot of the host.
      Select
      Enforce Live Patch
      when the cluster image includes a Live Patch. With the Enforce Live Patch option, vSphere Lifecycle Manager does not place the hosts in the cluster into maintenance mode, hosts are not rebooted, and there is no need to migrate the virtual machines running on the hosts in the cluster.
      Select
      Migrate Powered Off and Suspended VMs
      to migrate the suspended and powered off virtual machines from the hosts that must enter maintenance mode to other hosts in the cluster.
    8. Review the settings, and click
      Finish
      .
      VMware Cloud Foundation
      runs a cluster image hardware compatibility and compliance check. Resolve any reported issues before proceeding.
    9. Click
      Schedule Update
      and click
      Next
      .
    10. Select
      Upgrade Now
      or
      Schedule Update
      and click
      Finish
      .
    11. Monitor the upgrade progress. See Monitor VMware Cloud Foundation Updates.
Upgrade the vSAN Disk Format for vSAN clusters. The disk format upgrade is optional. Your vSAN cluster continues to run smoothly if you use a previous disk format version. For best results, upgrade the objects to use the latest on-disk format. The latest on-disk format provides the complete feature set of vSAN. See Upgrade vSAN on-disk format versions.