After you upgrade the vCenter Server, the next task for the vSAN cluster upgrade is upgrading the ESXi hosts to use the current version.
- vSphere Lifecycle Manager - By using images or baselines, vSphere Lifecycle Manager enables you to upgrade ESXi hosts in the vSAN cluster. The default evacuation mode is Ensure data accessibility. If you use this mode, and while upgrading vSAN you encounter a failure, data can become inaccessible until one of the hosts is back online. For information about working with evacuation and maintenance modes, see Working with Maintenance Mode. For more information about upgrades and updates, see the Managing Host and Cluster Lifecycle documentation.
- Esxcli command - You can use components, base images, and add-ons as new software deliverables to update or patch ESXi 7.0 hosts using the manual upgrade.
When you upgrade a vSAN cluster with configured fault domains, vSphere Lifecycle Manager upgrades a host within a single fault domain and then proceeds to the next host. This ensures that the cluster has the same vSphere versions running on all the hosts. When you upgrade a stretched cluster, vSphere Lifecycle Manager upgrades all the hosts from the preferred site and then proceeds to the host in the secondary site. This ensures that the cluster has the same vSphere versions running on all the hosts. For more information on the upgrading a stretched cluster, see the Managing Host and Cluster Lifecycle documentation.
Before you attempt to upgrade the ESXi hosts, review the best practices discussed in the vSphere Upgrade documentation. VMware provides several ESXi upgrade options. Choose the upgrade option that works best with the type of host that you are upgrading. For more information about various upgrade options, see the vSphere Upgrade documentation.
- Verify that there are no health check failures in the cluster.
- Verify that you have sufficient disk space for upgrading the ESXi hosts. For guidelines about the disk space requirement, see the vSphere Upgrade documentation.
- Verify that you are using the latest version of ESXi. You can download the latest ESXi installer from the VMware product download website at https://my.vmware.com/web/vmware/downloads.
- Verify that you are using the latest version of vCenter Server.
- Verify the compatibility of the network configuration, storage I/O controller, storage device, and backup software.
- Verify that you have backed up the virtual machines.
- Use Distributed Resource Scheduler (DRS) to prevent virtual machine downtime during the upgrade. Verify that the automation level for each virtual machine is set to Fully Automated mode to help DRS migrate virtual machines when hosts are entering maintenance mode. Alternatively, you can also power off all virtual machines or perform manual migration.
- Place the host that you intend to upgrade in maintenance mode.
You must begin your upgrade path with ESXi 5.5 or later hosts in the vSAN cluster.
- Right-click the host and select Maintenance Mode > Enter Maintenance Mode.
- Select the Ensure data accessibility or Evacuate all data evacuation mode, depending on your requirement, and wait for the host to enter maintenance mode.
If you are using vSphere Lifecycle Manager to upgrade the host, or if you are working with a three-host cluster, the default evacuation mode available is Ensure data accessibility. This mode is faster than the Evacuate all data mode. However, the Ensure data accessibility mode does not fully protect your data. Host failure during maintenance mode operations can cause some data to become inaccessible until one of the hosts is back online.
- Upload the software to the datastore of your ESXi host and verify that the file is available in the directory inside the datastore. For example, you can upload the software to /vmfs/volumes/<datastore>/VMware-ESXi-6.0.0-1921158-depot.zip.
- Run the esxcli command install -d /vmfs/volumes/53b536fd-34123144-8531-00505682e44d/depot/VMware-ESXi-6.0.0-1921158-depot.zip --no-sig-check. Use the esxcli software VIB to run this command.
After the ESXi host has installed successfully, you see the following message:
The update completed successfully, but the system needs to be rebooted for the changes to be effective.
- Manually restart your ESXi host.
- Navigate to the ESXi host in the inventory.
- Right-click the host, select Power > Reboot, click Yes to confirm, and then wait for the host to restart.
- Right-click the host, select Connection > Disconnect, and then select Connection > Connect to reconnect to the host.
To upgrade the remaining hosts in the cluster, repeat this procedure for each host.
If you have multiple hosts in your vSAN cluster, you can use vSphere Lifecycle Manager to upgrade the remaining hosts.
- Exit maintenance mode.
What to do next
- (Optional) Upgrade the vSAN disk format. See Upgrade vSAN Disk Format Using RVC.
- Verify the host license. In most cases, you must reapply your host license. For more information about applying host licenses, see the vCenter Server and Host Management documentation.
- (Optional) Upgrade the virtual machines on the hosts by using the vSphere Client or vSphere Lifecycle Manager.