Easy upgrade ESXi 6.5 via command line

VMware has recently released ESXi 6.5 and last week I posted on how to Install VCSA 6.5 as well as how to upgrade VCSA 6.0 to 6.5, now we’re going to look at how to easily and quickly perform an ESXi 6.5 upgrade via command line.

How to Upgrade ESXi 6.6 via command line using VMware Online Depot

Using the VMware Online Depot is a simple way to upgrade if you only have 1 or 2 ESXi hosts to do, perfect for a small home lab setup.

  1. Place the host you want to upgrade into Maintenance Mode.
  2. Open PuTTY (or any other SSH client) and SSH into your host.
  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 download and upgrade to the latest version of ESXi 6.5
    esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.5.0-20170404001-standard
  5. Now 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
  7. Doesn’t hurt to also disable SSH when you’re done for security purposes.

That’s it, your ESXi host has how been upgraded to the latest ESXi 6.5 build, as of April 19, 2017!

This works perfect in a small environment with a few hosts or home lab. Those with tens or hundreds of hosts I would suggest using VMware Update Manager to perform the upgrades.

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”

  • Synology DSM 5.2 exits beta, goes Gold

    Synology

    Synology has just released DSM 5.2-5565 that’s been in beta for a while now but has finally left beta and ready for prime time!

    DSM 5.2-5565 is packed with a load of new features such as Single Sign-On, iSCSI LUN Snapshots along with MANY new packages and package updates. Like Cloud Station now being able to sync files larger then 10GB! DSM 5.2 also introduces support for Docker!

    Read More “Synology DSM 5.2 exits beta, goes Gold”

  • 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
  • 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”

  • Update vCenter Server Appliance 6.7 to 6.7 Update 1

    VMware has released vCenter Server 6.7 Update 1 and with comes with a number changes.

    One most notable change is the feature complete HTML5 vSphere client. The vSphere client in vCenter 6.7 Update 1 now includes the ability to manage:

    • Host profiles
    • Auto deploy
    • Full vSphere Update Manager (VUM)
    • A new dark theme
    • and vCenter High Availability.

    That’s no where near all of the changes though, there are many more changes and updates in the 6.7 Update 1 update. Be sure to read the full release notes here.

    In this post we’ll see just how easy it is to upgrade from VCSA 6.7 to VCSA 6.7 Update 1 in just a couple steps!

    Read More “Update vCenter Server Appliance 6.7 to 6.7 Update 1”

Leave a Reply

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

3 Comments

  1. Thanks for the article. can we somehow download the offlinebundle.zip or it”s contents in a folder via ssh?