Upgrade to ESXi 7 with vSphere Lifecycle Manager

After getting your vCenter Server VCSA appliance upgraded to vSphere 7, you will now be in a position to upgrade your ESXi hosts to ESXi 7. One of the big new changes that is introduced with the VCSA 7 appliance is vSphere Lifecycle Manager. Lifecycle Manager is the replacement for the vSphere Update Manager (VUM) that we all know and generally have loved for the past several releases. In this post, we will take a closer look at vSphere Lifecycle Manager in vSphere 7, what it is and see how to upgrade to ESXi 7 with vSphere Lifecycle Manager.

What is vSphere Lifecycle Manager?

The new vSphere Lifecycle Manager is the new way to control lifecycle operations in vSphere 7. It is a direct replacement to the vSphere Update Manager (VUM) and provides great new features and capabilities that extend beyond what VUM was able to do.
The great thing about the new vSphere Lifecycle Manager is that it provides a desired state methodology for lifecycle management in the vSphere environment. This is a much more forward thinking way to take care of lifecycle operations such as updates, upgrades, patches and other operations.
You define how the host or vCenter Server needs to look and the vSphere Lifecycle Manager makes it happen.
If you notices now under the Menu drop down in the vSphere client, you will see the Lifecycle Manager listed.
New-vSphere-Lifecycle-Manager-in-vSphere-7-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
New vSphere Lifecycle Manager in vSphere 7
One of the nice things about the vSphere Lifecycle Manager is that it will be very familiar if not easy to adjust to from the vSphere Update Manager. This is because the look and feel is very similar. However, you will notice some new things under the Lifecycle Manager page. One of those is the Image Depot.
New-capabilities-in-the-vSphere-Lifecycle-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
New capabilities in the vSphere Lifecycle Manager
The new Image option enables you to have all hosts in a cluster inherit the same image which helps to standardize the image installed on all the hosts in a cluster. This helps to eliminate any skew between hosts. A single image will help to ensure faster upgrades, improved reliability and easier overall maintenance.
This is part of what VMware has worked on for very large environments that may have thousands of hosts to manage. Lifecycle operations can become very difficult. With the new image management, these types of operations will be eased as the desired state-driven methodology helps to simplify things.
One thing to note is the new image management feature can only be used on hosts that are ESXi 7 and higher.
New-Image-management-in-the-vSphere-Lifecycle-Manager Upgrade to ESXi 7 with vSphere Lifecycle Manager
New Image management in the vSphere Lifecycle Manager
Under the Image Depot out of the box, with vSphere 7 VCSA appliance, you will see the ESXi 7.0 GA – 15843807 build available under the Enhancement category.
Image-Depot-contains-ESXi-7.0-out-of-the-box-with-VCSA-7-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Image Depot contains ESXi 7.0 out of the box with VCSA 7

Upgrade to ESXi 7 with vSphere Lifecycle Manager

If you are like me in the lab environment, I am getting hosts up to ESXi 7. This means you still need to use the tried and true way of importing the ESXi 7 ISO, creating a baseline, and then applying the baseline to your current ESXi 6.X server.
To import the ISO for ESXi 7, navigate to the Imported ISOs tab and then Import ISO. It will then ask you which ISO you want to import.
Importing-the-ESXi-7.0-ISO-to-vSphere-Update-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Importing the ESXi 7.0 ISO to vSphere Update Manager
After pointing it to the ESXi 7 ISO, it begins uploading.
ISO-image-uploading-to-vSphere-Lifecycle-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
ISO image uploading to vSphere Lifecycle Manager
Next, create a baseline. Click Baselines > New > Baseline.
Creating-a-new-baseline-for-the-ESXi-7-upgrade-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Creating a new baseline for the ESXi 7 upgrade
This starts the Create Baseline wizard. First you name your baseline.
Name-the-new-baseline-in-vSphere-Lifecycle-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Name the new baseline in vSphere Lifecycle Manager
Next, select the ISO that you uploaded.
Select-the-ISO-image-to-use-for-ESXi-7-upgrade-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Select the ISO image to use for ESXi 7 upgrade
Finally, in the Summary screen, verify your configuration and click Finish.
Finalizing-the-new-ESXi-7-upgrade-baseline-in-vSphere-Lifecycle-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Finalizing the new ESXi 7 upgrade baseline in vSphere Lifecycle Manager

Attach ESXi 7 to Hosts or Cluster and Remediate

Now that you have your baseline, you simply need to attach the baseline to your host/cluster.
Attach-the-baseline-or-baseline-group-to-your-ESXi-hosts-or-vSphere-cluster-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Attach the baseline or baseline group to your ESXi hosts or vSphere cluster
Select the newly created baseline for using to remediate your host/cluster.
Select-the-baseline-to-attach-picking-the-ESXi-7-upgrade-baseline-created-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Select the baseline to attach picking the ESXi 7 upgrade baseline created
This is found under Updates > <your baseline> > Remediate
Select-the-new-ESXi-7-baseline-and-choose-remediate-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Select the new ESXi 7 baseline and choose remediate
Accept the EULA for the ESXi 7 installation.
Accept-the-EULA-for-ESXi-7-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Accept the EULA for ESXi 7
In the Remediation Pre-check, take note of anything listed here as potential issues with the remediation operation.
Take-note-of-any-problems-noted-in-the-remediation-check-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Take note of any problems noted in the remediation check
Select Remediate.
Begin-the-remediation-of-your-vSphere-ESXi-hosts-or-cluster-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Begin the remediation of your vSphere ESXi hosts or cluster
The remediate task will begin in your vSphere Client.
Remediate-task-begins-in-vCenter-Server-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Remediate task begins in vCenter Server
I am using William Lam’s nested ESXi 6.7 build and noticed that it errored on the partition size allocated. So, looks like the partitions configured are not quite large enough for ESXi 7 upgrade by default.
Boot-disk-issue-encountered-with-nested-ESXi-hosts-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Boot disk issue encountered with nested ESXi hosts
I added a standalone ESXi 7 host with a larger partition to the environment, used the same options (baseline, etc), and went forward with the remediation using the vSphere Lifecycle Manager.
Remediating-a-single-ESXi-6.7-U3-host-to-ESXi-7-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
Remediating a single ESXi 6.7 U3 host to ESXi 7
Using the standalone host with a larger partition for the boot disk. It worked without issue as you can see below. The host is successfully upgraded to ESXi 7 build 15843807.
ESXi-7-upgrade-completes-successfully-using-the-vSphere-Lifecycle-Manager-1 Upgrade to ESXi 7 with vSphere Lifecycle Manager
ESXi 7 upgrade completes successfully using the vSphere Lifecycle Manager

Wrapping Up

The Upgrade to ESXi 7 with vSphere Lifecycle Manager is a simple process that has the same look and feel as the vSphere Update Manager. As you can see with this look at a few of the screens of the vSphere Lifecycle Manager, there is a lot of functionality that is built into the interface. The Image Depot is a very interesting option that I look forward to playing around with and testing various functionality with. The vSphere Lifecycle Manager takes VI admins forward with the DevOps approach that is declarative and allows working off a desired state approach. Next, we will look at other methods for the update.

Post a Comment

0 Comments