In the last post, we upgraded ESXi using Interactive Installer https://www.wojcieh.net/how-to-upgrade-esxi-6-0-to-esxi-6-5-using-interactive-installer/. In Today post I will guide you through updating ESXi using esxcli.
Prerequisites
Fortunately for us, we just need to download ESXi Offline Bundle from VMware site. Once it is downloaded we can start to upgrade ESXi 6.0 to ESXi 6.5 using esxcli.
- The first step is to upload Offline Bundle to datastore ESXi can access.
- Upload the zipped file to datastore.
- Open your favorite SSH client and login to ESXi. Go to datastore where ESXi Offline Bundle is located.
- To safely proceed with an upgrade I suggest to put ESXi in maintenance mode. To do it use this command
|
|
- To check what packages will be upgraded it is suggested to to test upgrade. In order to do it we can perform “dry run” upgrade.
1
esxcli software vib update --depot=/vmfs/volumes/NFSCompute/ESXi650-201704001.zip --dry-run
- To update ESXi simply remove -dry-run option and wait.
- The last step is to reboot ESXi host. After few minutes we have fully functional upgraded ESXi 6.5
Summary
In this post, I showed how to upgrade ESXi 6.0 to ESXi 6.5 using esxcli.