Quantcast
Channel: TinkerTry
Viewing all articles
Browse latest Browse all 720

How to easily update your VMware Hypervisor to ESXi 6.0 Update 2

$
0
0

VMware ESXi 6.0 Update 2 Release Notes ESXi 6.0 Update 2 | 15 MAR 2016 | ISO Build 3620759,
if you just want to see the super easy update via CLI steps, jump below.


esxi-60u2-has-baked-in-host-client-88efdfe82f49072c81d993f101af9705
Embedded Host Client, baked right into ESXi 6.0U2!

Backstory

Embedded Host Client

Guess what, ESXi Embedded Host Client is included with 6.0U2! A good excuse to upgrade, once the upgrade is done and the host rebooted, just point your browser to:
https://youresxihostnameorip/ui
This is a big deal, the arrival of a HTML5 UI baked right into the ESXi Hypervisor. It's just a start, marking the start of an Adobe Flash-free future, and a way to slickly manage even the free Hypervisor found in many home labs.

Free or EVALExperience Users generally get 60 day old downloads

If you don't have a commercial VMware license, and instead are using a trial, free, or EVALExperience ESXi 6.0 or ESXi 6.0 Update 1/1a/1b, you won't be able to easily download the 6.0 Update 2 ISO directly. You're not entitled. Silly, I know. Worry not though, since this article has you covered. Takes about 10 minutes total. Basically you paste two commands, wait for the automated download and patch process, then finish up with a host reboot.

Important Note - update your vCSA before your ESXi!

FYI, you are supposed to update your vCenter Server Appliance (vCSA) before you update your ESXi hosts, for the reasons VMware explains here, and William Lam here. Here's the easy (published Jan 12 2016) way to do it, detailed at TinkerTry:

The command syntax for updating ESXi 6.0 was easily figured out, thanks to prior work by Andreas Peetz and William Lam!

Before you begin, you'll first need to carefully review William Lam's warning:

Disclaimer: This method assumes you can install the default ESXi Image Profile with no additional drivers or packages, else you may have connectivity issue after the upgrade. If you still need to customize the ESXi Image Profile before installation, you will still need to use something like Image Builder and then upload that to your online depot.

...and Andreas Peetz warning:

Important note: Before doing this please check whether you rely on one of the NIC drivers (e.g. Realtek) that were blacklisted in ESXi 6.0. You then need to carry out an additional step before doing the upgrade - see my earlier post (section 2) for details.

For my SuperServer Workstation, I didn't have to worry about VIBs: the stock drivers built into 6.0 are all I need to succeed. Even if I do need AHCI or NVMe VIBs in the future, I can just re-add such VIBs after similar future upgrades, or even inject them into a custom ISO.

What's convenient about the below method is that you don't have to worry about separately downloading the ESXi ISO:

Name: VMware-VMvisor-Installer-6.0.0.update02-3620759.x86_64.iso
Release Date: 2016-03-15
Build Number: 3620759

Download and apply the 6.0 Update 2 patch directly from the VMware Online Depot

  1. Open an SSH session (PuTTY) to your ESXi 6.0 (or ESXi 6.0 Update 1) server
    (if you forgot to enable SSH, here's how)
  2. Put your system into maintenance mode, or ensure you've set your ESXi host to automatically gracefully shutdown all VMs upon host reboot
  3. Paste the 1st line below into into your SSH session, then hit enter. Repeat for the 2nd line, waiting somewhere around 1 to 10 minutes for it to finish up, depending partly on the speed of the ESXi's connection to the internet, and the speed of the storage media that ESXi is installed on:
    esxcli network firewall ruleset set -e true -r httpClient
    esxcli software profile update -p ESXi-6.0.0-20160302001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
  4. This 3rd line below is optional, use it if you wish to return the firewall status to how it was before you began this procedure, paste:
    esxcli network firewall ruleset set -e false -r httpClient
  5. If you turned on maintenance mode earlier, remember to turn it back off now.

  6. Type "reboot" and hit return (to restart your ESXi server).

  7. Download and install VMware vSphere Client 6.0 Update 2. If you have a prior 6.x version on your Windows system that's doing vSphere administration, this installer will automatically your existing 6.x install to Build 3620759. Download VMware vSphere Client 6.0 Update 2 here:
    VMware-viclient-all-6.0.0-3562874.exe

    vSphereClient
  8. After the reboot is done, it would be a good idea to test login using both the vSphere Client and the vSphere Web Client, to be sure everthing seems to be working right.

You're done!

Special thanks to VMware ESXi Patch Tracker by Andreas Peetz at the VMware Front Experience Blog.

esxcli-update-successful-reboot-4760fa5ac6b85bac8fcbd09c122dd36e
Here's how my upgrade from build 3380124 to 3620759 looked, right after the 3 minute download/patch.
UpdateSuccessful3380124
Yep, it worked!

That's it! When the reboot is complete, you'll see for yourself that you now have the latest ESXi, Build 3620759, as pictured above. Now you have more spare time to read more TinkerTry articles!

By the way, you could use VMware Update Manager on a Windows system or VM, but for one-off upgrades typical in a small home lab, pasting these 2 lines of code is pretty easy.

Video (same technique, slightly older upgrade)

Rich Hardware Health Status baked right in for new Xeon D-1500

2016-03-16_3-24-11-cc1350a1171396ba6b948b8e6072ecfa
Supermicro SYS-5028D-TN4T

My home lab's Supermicro SuperServer is working quite nicely with 6.0U2, as one would expect from a system on the VMware HCL.


See also at TinkerTry


See also


Viewing all articles
Browse latest Browse all 720

Trending Articles