Upgrade ESWi Version
After the installation of your ESXi and after many years of use, it is important and necessary to upgrade the version. This upgrade allows the use of new features but also the correction of possible bugs.
These operations are performed through the command line. First download putty, use this URL for download tools :
Link for Putty
Install and execute putty, enter host name or Ip Address.Before you connect, you need activate SSH on your ESXi
Enter the username and password of root account (or account with admin privilege).
Now you are connected, you need enter on maintenance mode. For execute this operation, execute the following command.
You can now set the firewall rules for the httpClient, execute on putty Windows :
esxcli network firewall ruleset set -e true -r httpClient
You need to list the ESXi 6.7 update available. This following command permit to execute this operation. The list is retrieved from VMware servers
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.7
After identifying the desired version, you can upgrade the version of your ESXi with the following command :
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20180604001-standard ESXi-6.7.0-8169922-standard
It is very important that you run esxcli software profile update here. Running esxcli software profile install may overwrite drivers that your ESXi host needs.
Now the new version has been installed on your ESXi. Before restart ESXi, it is important to check that the service is properly configured to restart at the same time as the ESXi.
You can now reboot the server, execute command reboot
When the server has been restarted, you can disable maintenance mode. Execute the following command :
ESXi version has now been updated. Disable SSH for safety.