Upgrade ESXi version

Upgrade ESXi version

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

Putty for connect to the ESXi

Enter the username and password of root account (or account with admin privilege).

Enter ESXi Credentials

Now you are connected, you need enter on maintenance mode. For execute this operation, execute the following command. vim-cmd /hostsvc/maintenance_mode_enter

Enabled maintenance mode on your ESXi

You can now set the firewall rules for the httpClient, execute on putty Windows : esxcli network firewall ruleset set -e true -r httpClient

Configure Firewall rules on your ESXi

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

List version of ESXi available on VMware Server
List retreived of ESXi version available

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.

Update the version of ESXi

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.

Configure SSH to restart with ESXi

You can now reboot the server, execute command reboot

Reboot ESXi after upgrade

When the server has been restarted, you can disable maintenance mode. Execute the following command : vim-cmd /hostsvc/maintenance_mode_exit

Disabled Maintenance Mode

ESXi version has now been updated. Disable SSH for safety.

Verify the version of your ESXi

Leave a Reply

Your email address will not be published. Required fields are marked *