If you don’t have vCenter and are still running a couple of ESXi hosts, which are not managed by vCenter server appliance (VCSA), you still need to upgrade ESXi to the latest version.

You can also be in a situation where you are running just vSphere Essentials Kit, which does not have the vMotion license, so you cannot use vSphere Lifecycle Manager (previously vSphere Update manager) to update your host where VCSA is running because you cannot put the host into the maintenance mode.

vSphere Lifecycle Manager (vLM) is a preferred tool, but for smaller environments you need alternatives. The alternative is a manual upgrade of ESXi.

In this case, you have to shut down VCSA and all the other VMs running on a particular host, and then do a manual upgrade.

You should also know that if your hardware is server hardware of a particular vendor, there might be a particular ESXi ISO to download because this ISO will contain the vendor’s VIBs and drivers needed by your hardware.

If you use the general ESXi 7.0 ISO, you might have issues with VIBs installed by your previous ESXi version.

You might have your vendor hardware VIBs installed on your host, which are not supported in the ESXi 7.0, so those VIBs might block the upgrade process. In this case, you’d have to remove those VIBs prior to upgrading.

Manual upgrade of ESXi 6.7 to 7.0 can be done several ways

At first, you’ll have to go and download either an upgrade file (also called Offline Bundle) or the full-blown ESXi 7.0 ISO file.

Download ESXi 7.0 ISO image or Offline Bundle

Download ESXi 7.0 ISO image or Offline Bundle

You can burn the ISO onto a CD-ROM drive and do the upgrade via ISO.

The difference is that the ISO you can boot and follow the upgrade instruction on the screen without knowing any CLI commands, while the Offline Bundle you proceed with an upgrade, via CLI.

Let’s walks us through both ways.

Via User interface at the console – after downloading the latest ESXi 7.0 iso, create a USB ESXi installer via some software (check our post here – Create an ESXi 6.5 installation USB under two minutes ). You’ll then plug-in this USB into your server and reboot (you’ll need to specify the USB boot option in the BIOS).

After you boot on the installer (USB or CD-ROM), you’ll simply choose the “Upgrade ESXi, preserve VMFS datastore” option (default) which allows you to keep all files and VMs which you might store and use instead of just wiping everything.

If you’re running into problems with your VIBs (which might be VIBs for your network cards for example) and you must uninstall them before proceeding with the upgrade, the ISO upgrade option might be the way to do so. Otherwise, you won’t be able to connect to the host and do the upgrade.

Upgrade and preserve VMFS datastore

Upgrade and preserve VMFS datastore

Remote upgrade if you don’t have access to the console – There might be situations (rare) that you don’t have access to the server room and the console. This can be an individual host at the remote office for example. In this case, you can connect remotely to this host (via jumpbox) and proceed with an upgrade via CLI.

1. Upload the Zip bundle to a datastore visible by ESXi host

You can do that via the host client or via CLI. Host client is easier…

Upload the Offline Bundle to a datastore visible by ESXi host

Upload the Offline Bundle to a datastore visible by ESXi host

2. Put the host into maintenance mode

Shut down all your VMs running on the host and put the host into maintenance mode.

Via CLI:

Via Host web UI:

Connect to your host via host client > right-click > Enter maintenance mode.

Right click the host and enter Maintenance mode

Right click the host and enter Maintenance mode

3. Use esxcli command line – after connecting via SSH client (don’t forget to enable SSH access), run the esxcli command to view the image profiles within the ZIP bundle.

And the command for this is like this. In our case, we have a datastore named “datastore1”.

And then copy the highlighted text as this is the image we want to use for our upgrade. The other image is used for ESXi versions which are not installed, but PXE is booted so the image is more “lightweight” as it does not contain all the VMware tools packages.

Check the ZIP file for image profiles

Check the ZIP file for image profiles

Next, launch this command and in the end, append the name of the Image name.

Launch the upgrade via CLI

Launch the upgrade via CLI

Then you should wait for the “successful” message. After the ESXi host has upgraded successfully, you see the following message:

The update completed successfully, but the system needs to be rebooted for the changes to be effective.

Message of successful upgrade

Message of successful upgrade

You’re done. Exit the Maintenance mode and Reboot your host.

After reboot, connect via UI and you should have the latest version.

Our host is upgraded to ESXi 7.0

Our host is upgraded to ESXi 7.0

VSAN from StarWind eliminates any need for physical shared storage just by mirroring internal flash and storage resources between hypervisor servers. Furthermore, the solution can be run on the off-the-shelf hardware. Such design allows VSAN from StarWind to not only achieve high performance and efficient hardware utilization but also reduce operational and capital expenses.
Find out more about ➡ VSAN from StarWind

Final Words

This is not the only way to upgrade ESXi hosts, but the easiest, considering that vCenter and vSphere Lifecycle Manager (vLM) weren’t available for the job. VMware always privileges the vLM as it can scale and upgrade many hosts within a cluster, one after another.

It is a fully automated process where host after host, VMs are evacuated to other hosts via vMotion, a host is then put into maintenance mode, upgraded, exit Maintenance mode, vMotion VMs back. Then, next host. All this is automated within VMware cluster.

Imagine upgrading more than 5 hosts one by one manually. This is already a tedious task, and you’ll be looking to automate it.

You might be able to upgrade individual hosts via a script, but in this case, you’d have to have similar setups on the hardware (similar or identical storage, etc) otherwise it’s difficult to pass different variables to match each different ESXi host.

Views All Time
10
Views Today
27
Appreciate how useful this article was to you?
1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5
5 out of 5, based on 1 review
Loading...
Back to blog
The following two tabs change content below.
Vladan Seget
IT and Virtualization consultant, owner of vladan.fr - ESX Virtualization - one of the top independent virtualization blogs. VCAP5-DCA/DCD, VCP4/5