Upgrade ESXi

Upgrade ESXi Method 1.

If you want to upgrade ESXi 6.7 to 7.0 without vCenter, then this may be the method you need. Just download the offline bundle you need from VMware website, and using ESXi web client to upload the ZIP file, then upgrade ESXi 6.7 to 7.0 via CLI. Here’s the step-by-step guide to do it.

Note: To use command line interface on the ESXi host, you need to enable ESXi Shell and SSH in advance.
Approach 1: Enter ESXi direct console -> “System customization” -> “Troubleshooting options” -> click on “Enable ESXi Shell” and “Enable SSH”.
Approach 2: Log in to VMware Host Client web interface with your ESXi root credentials -> “Manage” -> “Services” -> start the “TSM” and “TSM-SSH” services.

Enable SSH/SHELL EXSI Server.

Login to exsi Machine.

Go to Actions -> Services->Enable SSH (Secure Shell) and Services->Enable console Shell)

Once login go the Troubleshooting mode options.

INSIDE Troubleshooting menu.

There will be an option.

Enable SSH

Enable EXSi Shell

Method to enable SSH Exsi server.

How to upgrade VMware ESXi from 6.7 to 7.0 via offline method:

1. Download the full-down ESXi 7.0 offline bundle from the VMware’s official site. Here you can download other ESXi versions as well. For example, you can also perform the ESXi upgrade 6.7 to 7.0 U3 via corresponding bundle.

2. Access VMware ESXi web client, right-click Manage from the left inventory and select Enter maintenance mode.

3. Navigate to Storage > Datastore > Datastore browser to upload the downloaded ZIP file to the ESXi datastore.

4. Run the following command to upgrade VMware ESXi 6.7 to 7.0:

esxcli software profile update -p ESXi profile name -d /vmfs/volumes/datastore/foldername/Full Name of the ZIP file.zip

ESXi profile name: contains the version and build number that is equal to the ESXi version and build number defined in the name of the ZIP file used for the ESXi upgrade.
You can run the command “vmware-v” to check the current version of ESXi running on your server.
Here’s an example:
esxcli software profile update -p ESXi-7.0U2d-18538813-standard -d /vmfs/volumes/datastore1/ESXi7-bundle/VMware-ESXi-7.0U2d-18538813-depot.zip

Reboot the ESXi host to finish the ESXi upgrade 6.7 to 7.0.

Method 2. Upgrade ESXi 6.7 to 7.0 via ISO (Lifecycle Manager)

Here’s another way to upgrade ESXi 6.7 to 7.0 with vCenter – you can use vSphere Lifecycle Manager to upgrade the ESXi hosts in an environment where you have VMware NSX-T Data Center enabled.

The requirements for ESXi upgrade via Lifecycle Manager:
✤The ESXi hosts to upgrade are version 6.5 or later
✤vCenter Server version 6.7 or earlier
✤VMware NSX-T Data Center 3.0
✤The vmknics on the ESXi host are properly configured and the DHCP server works properly

If these requirements are all met, you can refer to the following tutotrial to upgrade ESXi 6.7 to 7.0.

How to upgrade ESXi 6.7 to 7.0 using ISO:

. Launch vSphere web client and log in to the vCenter Server, then navigate to Menu > Lifecycle Manager.

3. Click BROWSE to select the ESXi 7.0 ISO file, click IMPORT to start.

4. Select the imported ISO image and click NEW BASELINE.

5. Provide a Name and optionally a Description in the pop-up window, select Upgrade option as Content, and click Next to continue.

6. Select the ISO image to be used and click Next to continue.

7. Review the Summary and click Finish to create the new baseline.

8. Select a ESXi host or a cluster, navigate to Updates > Baselines >Attached Baselines and click ATTACH to attach the baseline to the host or cluster.

9. Select the ESXi 7.0 Upgrade Baseline we just created in the pop-up window, and click ATTACH.

10. Click CHECK COMPLIANCE, it will show “Non-Compliant” for all hosts in the cluster. Then you can upgrade the ESXi host.

11. To remediate an individual ESXi host, Place the ESXi host into maintenance mode. Select the ESXi 7.0 Upgrade baseline and Click Remediate.

Note: You can also remediate the entire cluster.

12. Select the ESXi host in the pop-up wizard and click REMEDIATE to start VMware ESXi upgrade 6.7 to 7.0.

Once the upgrade is completed, the status of the attached Upgrade Baseline will become Compliant.