How to upgrade ESXi 6.5 to ESXi 6.7

VMware released ESXi 6.7 a little while ago, but it’s only been here recently have I started deploying it in my home and work lab environments. Below are two ways to easily upgrade your ESXi 6.5 hosts to ESXi 6.7 using the command line or by using the VMware ESXi offline bundle.

How to update ESXi 6.5 to 6.7 via command line

  1. Place the host you are about to upgrade into Maintenance Mode.
  2. Now SSH into the host using PuTTY (or any other SSH client/terminal).
  3. Type the following command to open the firewall for outgoing HTTP requests:
    esxcli network firewall ruleset set -e true -r httpClient
  4. Type the following command to upgrade to the latest ESXi 6.7 Build 9484548 (latest as of writing)
    esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20180804001-standard
  5. After the update has finished disable the HTTP firewall rule by typing:
    esxcli network firewall ruleset set -e false -r httpClient
  6. And finally, reboot the ESXi host to complete the upgrade.
    reboot

Once the host comes back online, remove it from Maintenance mode and you’re good to go. It also wouldn’t hurt to also disable SSH when you’re done, for security purposes.

Tip: To view a list of all available ESXi profiles type the following in your SSH session:

esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

How to upgrade VMware ESXi 6.5 to ESXi 6.7 using an Offline Bundle

Using the offline bundle works similar in the way of the command line but saves you from having to re-download the upgrade file for each VMware ESXi host. This is nice when you have more than just a couple hosts or limited bandwidth.

  1. First download the ESXi 6.7 offline bundle zip file.
    VMware ESXi 6.7 offline bundle
  2. Upload the VMware-ESXi-6.7.0-8169922-depot.zip file to a datastore that is accessible by all your host(s).
    VMware ESXi 6.7 datastore
  3. Next place the host you plan on upgrading into Maintenance Mode.
  4. SSH into your host using PuTTY (or other client/terminal).
  5. Type the following command, replace “DATASTORE” with the name of your datastore you uploaded the VMware-ESXi-6.7.0-8169922-depot.zip file to.
    esxcli software vib update -d /vmfs/volumes/DATASTORE/VMware-ESXi-6.7.0-8169922-depot.zip
  6. Once the above completes reboot your host by typing:
    reboot

Once the host has rebooted, take it out of Maintenance Mode and move on to your next host. That’s it!

Similar Posts