For a successful upgrade of your ESXi hosts, understand and prepare for the changes that are involved.
For a successful ESXi upgrade, follow these best practices:
- Make sure that you understand the ESXi upgrade process, the effect of that process on your existing deployment, and the preparation required for the upgrade.
-
If your vSphere system includes VMware solutions or plug-ins, make sure they are compatible with the vCenter Server version that you are upgrading to. See the VMware Product Interoperability Matrix at http://www.vmware.com/resources/compatibility/sim/interop_matrix.php.
- Read Overview of the ESXi Host Upgrade Process to understand the upgrade scenarios that are supported, and the options and tools that are available to perform the upgrade.
- Read the VMware vSphere Release Notes for known installation issues.
-
- Prepare the system for the upgrade.
- Make sure that the current ESXi version is supported for the upgrade. See Overview of the ESXi Host Upgrade Process.
- Make sure that the system hardware complies with ESXi requirements. See ESXi Requirements and VMware Compatibility Guide at http://www.vmware.com/resources/compatibility/search.php. Check for system compatibility, I/O compatibility with network and host bus adapter (HBA) cards, storage compatibility, and backup software compatibility.
- Make sure that sufficient disk space is available on the host for the upgrade.
- If a SAN is connected to the host, detach the Fibre Channel system before continuing with the upgrade. Do not deactivate HBA cards in the BIOS.
- Back up the host before performing an upgrade. If the upgrade fails, you can restore the host.
- If you are using Auto Deploy to provision hosts, the user who is running the process must have local administrator privileges on the ESXi host that is being provisioned. By default the installation process has these privileges and certificate provisioning happens as expected. However, if you are using another method than the installer, you must run it as a user who has the local administrator privileges.
- Depending on the upgrade option you choose, you might need to migrate or power off all virtual machines on the host. See the instructions for your upgrade method.
- For an interactive upgrade from CD, DVD, or USB drive: see Upgrade Hosts Interactively.
- For a scripted upgrade: see Installing or Upgrading Hosts by Using a Script.
- For vSphere Auto Deploy: see Using vSphere Auto Deploy to Reprovision Hosts. If the ESXi 6.5x or 6.7.x host was deployed by using vSphere Auto Deploy, you can use vSphere Auto Deploy to reprovision the host with a 7.0 image.
- For the esxcli command method: see Upgrading Hosts by Using ESXCLI Commands.
- Plan for the tasks that must be performed after the ESXi host upgrade:
- Test the system to ensure that the upgrade completed successfully.
- Apply a host's licenses. See Licensing ESXi Hosts After Upgrade.
- Consider setting up a syslog server for remote logging, to ensure sufficient disk storage for log files. Setting up logging on a remote host is especially important for hosts with limited local storage. You can optionally install VMware vCenter Log Insight, which provides log aggregation and analytics. See Required Free Space for System Logging.
- If the upgrade was unsuccessful and you backed up the host, you can restore the host.