To upgrade from VMware 6.5 to 7 using ESXCLI, you can follow the steps below ¹:
- Verify that your system meets the upgrade requirements. See ESXi Requirements ¹.
- Prepare your environment before upgrading. See Before Upgrading ESXi Hosts ¹.
- Determine where you want to locate and boot the ESXi installer. See Media Options for Booting the ESXi Installer ¹.
- Connect to the ESXi host using SSH.
- Put the host into maintenance mode. See Enter Maintenance Mode for a Host ¹.
- Run the following command to stage the upgrade:
esxcli software profile update -p ESXi-7.0.0-xxxxxxx-standard -d /vmfs/volumes/datastore/ESXi700/ESXi-7.0.0-xxxxxxx-standard.zip¹. - Run the following command to start the upgrade:
esxcli software profile update -d /vmfs/volumes/datastore/ESXi700/ESXi-7.0.0-xxxxxxx-standard.zip -p ESXi-7.0.0-xxxxxxx-standard¹. - After the upgrade is complete, reboot the host. See Reboot the Host After an Upgrade ¹.
Please note that the details and level of support for an upgrade to ESXi 7.0 depend on the host to be upgraded and the upgrade method that you use ¹. Verify that the upgrade path from your current version of ESXi to the version to which you are upgrading is supported ¹. For more information, see the VMware Product Interoperability Matrices at ¹.