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

  • My VMware ESXi Home Lab Upgrade

    Although the focus in my career right now is certainly more cloud focused in Amazon Web Services and Azure, I still use my home lab a lot.

    For the last 5+ years my home lab had consisted of using 3x Intel NUC’s (i5 DC53427HYE), a Synology NAS for shared storage and an HP ProCurve switch. This setup served me well for most of those years. It has allowed me to get many of the certifications I have, progress in my career and have fun as well.

    At the start of this year I decided it was time to give the home lab an overhaul. At first I looked at the newest generation of Intel NUC’s but really wasn’t looking forward to dropping over $1,300 on just partial compute (I’d still need to be RAM for each of the 3 NUC’s). I also wanted something that just worked, no more fooling around with network adapter drivers or doing this tweak or that tweak.

    I also no longer needed to be concerned about something that had a tiny footprint. I also questioned if I really needed multiple physical ESXi hosts. My home lab isn’t running anything mission critical and if I really wanted I could always build additional nested VMware ESXi hosts on one powerful machine if I needed.

    So in the end, the below is what I settled on. Replacing all of my compute, most of my networking and adding more storage!

    Read More “My VMware ESXi Home Lab Upgrade”

  • VCP5 Exam: Passed

    Pass

    This morning I took the VCP510 exam and passed it on my first go at it!

    Overall I felt the exam was a nice challenge, while I can’t go into details of the exam, per the NDA. I will say I was surprised at the number of multiple answer questions and the VPC510 was certainly more “real-world” based and not so much memorizing config maximums.

    That said, I’ll do as others have done and list what I used in my preparation for the VCP510 exam…

    Read More “VCP5 Exam: Passed”

  • How to add Realtek R8168 to ESXi 5.5 Update 2 ISO

    Realtek

    Over the past weekend I was working on a whitebox ESXi host and wanted to upgrade it to ESXi 5.5 Update 2 from an older version of ESXi 5.1 using a realtek R8168 network card. While I could have performed an in place upgrade, such as via command line, a clean install was preferred. However, VMware has removed a number of NIC drivers from ESXi 5.x and trying to install with the base ESXi image would result in a “No Network Adapters” error during install.

    In order to do a clean install you have to re-add the Realtek R8168 NIC drivers back into the ESXi 5.5 image, otherwise a NIC will not be found and thus ESXi will not install. These are the steps to easily re-add the Realtek R8168 drivers into ESXi 5.5 ISO by making a custom ESXi 5.5 image.

    Read More “How to add Realtek R8168 to ESXi 5.5 Update 2 ISO”

  • VMware Workstation 11 released

    VMware Workstation 11 Unmatched OS Support

    At the start of October VMware announced Workstation 11, along with VMware Player 7 Pro and said both products would be available sometime in December. Well today is the day, VMware has now officially released VMware Workstation 11!

    Workstation 11 adds support for the latest version of Windows and Linux, as well as the latest processors and hardware, and also adds the ability to connect to VMware vCloud Air.

    Read More “VMware Workstation 11 released”

  • Setup Synology Syslog server for VMware ESXi

    After performing my home lab upgrade, ESXi now runs from a USB stick and because of that vSphere would complain that the system logs where on non-persistent storage:

    ESXi syslog error

    If I wanted I could have ran the vCenter Server Appliance (vCSA) as it comes with it’s own syslog server, or I could have used something like KIWI or Splunk to be my syslog server. I instead went the route of my Synology NAS as it too has the ability to act as a syslog server and these are the steps I performed to setting it up.

    Read More “Setup Synology Syslog server for VMware ESXi”

  • VMware vSphere 5.5 Update 2 released

    vsphere 5.5 update2 released

    VMware vCenter Server and ESXi 5.5 Update 2 has just been released today with a number of fixes and additional features such as vCenter Server database support for Oracle 12c, Microsoft SQL Server 2012 Service Pack 1, and Microsoft SQL Server 2014 in vCenter Server and support for ESXi hosts with 6TB of RAM in the ESXi 5.5 update 2 release!

    Read More “VMware vSphere 5.5 Update 2 released”

Leave a Reply to guido 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