After you upgrade the vCenter Server, the next task for the vSAN cluster upgrade is upgrading the ESXi hosts to use the current version.
If you have multiple hosts in the vSAN cluster, and you use vSphere Update Manager to upgrade the hosts, the default evacuation mode is Ensure data accessibility. If you use this mode, and while upgrading vSAN you encounter a failure, you risk losing data. For information about working with evacuation modes, see Place a Member of vSAN Cluster in Maintenance Mode
For information about using vSphere Update Manager, see the documentation website at https://www.vmware.com/support/pubs/vum_pubs.html .
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 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 in the vSphere Web Client navigator 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 Update 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. During a failure, your data might be at risk and you might experience downtime, and unexpected data loss.
- 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.
- You must manually restart your ESXi host from the vSphere Web Client.
- Navigate to the ESXi host in the vSphere Web Client 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 Update Manager to upgrade the remaining hosts.
- Exit maintenance mode.
What to do next
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. You can use vSphere Web Client and vCenter Server for applying host licenses. For more information about applying host licenses, see the vCenter Server and Host Management documentation.
Upgrade the virtual machines on the hosts by using the vSphere Web Client or vSphere Update Manager.