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

  • HTML5 Embedded Host Client, this looks promising

    It’s no secret many people have really disliked the vSphere web client, it’s very sluggish, clunky, and based on flash (flash comes with it’s own security issues). It was rumored and highly hoped that vSphere 6 might be re-written in HTML5, but sadly this didn’t and hasn’t happened yet. While vSphere 6 did improve a bit on the web client the issues many people have had with it in the past still remain today.

    Enter the VMware HTML5 Embedded Host Client fling. I’ve been using and following this fling for a while now and have really enjoyed it and with each release it keeps getting better and better.

    The Embedded Host Client fling is based on HTML5 which allows it works great across all kinds of platforms, it’s fast, responsive, and doesn’t require any plug-ins – YES the VM console works great. If this happens to be a look of what’s to come in a new VMware vSphere web client, then a client is looking very promising!

    If you haven’t tried it yet, you should. It’s extremely easy to install and doesn’t even require a reboot just follow these simple instructions.

    Read More “HTML5 Embedded Host Client, this looks promising”

  • vSphere 5.5 Update 1 has been released, includes VSAN.

    VMware vSphere 5.5 update 1

    VMware has officially released vSphere 5.5 U1 which includes a number of improvements, fixes, and most excitedly the production ready version of VSAN!

    What’s new

    • vCloud Hybrid Service vSphere Client Plug-in, is now available in vSphere Web Client.
    • vCenter Server is now supported on Windows Server 2012 R2.
    • A number of resolved issues

    Read More “vSphere 5.5 Update 1 has been released, includes VSAN.”

  • VMware View client now availabe for Android!

    VMware has announced that they have released a View Client for Android tablets available on the Android Market now. Here are just a few of the features found on the new client.

    • A new look and feel – The View Client for Android features the NEW blue look and feel of the VMware View clients!
    • Multiple broker support – If you have more than one VMware View broker in your organization, you can can easily access your desktop from all of them via the Android client
    • Desktop Shortcuts – Quickly connect with as many as four recent desktop via shortcuts
    • Virtual trackpad – Control your desktop on a granular level just like you would control the mouse on a laptop
    • Custom keyboard toolbar – Super easy access to all of the special keys not found on the Android default keynboard
    • Honeycomb 3.x support – Made from the ground up for the new generation of Android tablets
    • Custom gestures – Invoke keyboard, scrolling, etc are as easy as ever and simple to use
    • VMware View Security Server support (best experience) – No need to have VPN when you use VMware View Security Server
    • Background tasking – Switch between apps on your tablet and come right back
  • How to easily add an ESXi SSH login message banner

    ESXi issues message

    Preparing for some upcoming audits, I noticed one of the checkpoints was to ensure each ESXi host was configured with a warning banner stating the machine is being monitored and audited when someone logs into the ESXi host via SSH. This type of message is something you see on most any company or government computer before you login.

    There are two message types that can be used to achieve this, the first being login banner (/etc/issue) and MOTD (/etc/motd). The difference between the two are where they are shown. The login banner is shown between the username and password inputs during login, while the MOTD is displayed after a user has successfully logged into SSH.

    Read More “How to easily add an ESXi SSH login message banner”

  • How to install VisualEsxtop

    If you haven’t already heard, VisualEsxtop is a Fling developed by a few VMware Engineers that provides a java based GUI to the every useful ESXTOP. As an added bonus provides a description of each counter, multiple windows, the ability to sort metrics, and even provide basic graphs. Oh and it’s FREE!

    Setup and install on Windows 7 is pretty easy as well:

    Visual ESXtop

    Read More “How to install VisualEsxtop”

Leave a Reply to Paul Silva Cancel reply

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

10 Comments

  1. Hello,
    I have esxi running remotely on commodity hardware. Unfortunately, the esxi web interface does not even show me the board type.
    Will the upgrade procedure check hardware support or do I risk having a dead server after upgrade?

  2. Does this same process apply if vCenter is installed.? Do you simply update each host manually and it won’t break anything with vCenter? I’ve never done a upgrade to existing setup with vCenter, only fresh setups.

  3. Whoops. It doesn’t seem to see my datastores any longer and all the machines have been renamed to two digit numbers. Looks like I’ve got a bunch of work ahead of me. :(

    1. It’s happened with me too! I don’t whether this procedure is correct. For my luck, I’m doing that on the test machine.

  4. Sometimes when you updates old version you get the error “Could not find a trusted signer.”
    Why – ask VMWare ?!

    Solution – try with esxcli –no-sig-check