How to easily update your VMware vCenter Server Appliance from 6.5.x to 6.5 Update 1 (VCSA 6.5 U1) Jul 28 2017 I have only tested this method when upgrading from 6.5.0a Build 5224934 to Build 5969303, your experience from earlier 6.x versions may vary. Upgrading VMware ESXi to 6.5 update 1 with commandline is an easy way to upgrade your ESXi host to 6.5 update 1 without using the vSphere Update Manager. You will need SSH, Internet connectivity and the host in maintenance mode to carry out the update from the commandline.
Posted by on Jul 28 2017 (updated on Mar 31 2018) in. Important Update - On Mar 20 2018, VMware announced that CVE-2017-5715 (Spectre-2) mitigation is now included in the latest patch that you should be using instead of the older patch featured in the original article below. You'll find the newer article that features an even easier update method here:. Article below as it originally appeared. The simple update method that this article details means you won't need the for: ESXi 6.5 U1 27 JULY 2017 Build 5969303 This upgrade is also known as version 6.5.0 Build 5969303 or 6.5U1. More about this update in KB 2149910:.
VMware Security Advisory Advisory ID: VMSA-2017-0013 Severity: Moderate Synopsis: VMware vCenter Server and Tools updates resolve multiple security vulnerabilities Warning:. vCenter/VCSA 6.5 should be upgraded to 6.5 Update 1 (aka U1) before upgrading your host(s) to ESXi 6.5 U1 Build 5969303, see: Jul 28 2017. I have only tested this method when upgrading from 6.5.0a Build 5224934 to Build 5969303, your experience from earlier 6.x versions may vary. I have been able to replicate that the Xeon D 10GbE X552/X557 driver VIB needs to be re-installed right after the upgrade, simple one line workaround is documented here, with details. This is not official VMware documentation, it's merely a convenient upgrade technique that may help in lab tests, a little simpler than the official procedure VMware documents and demonstrates in. It's up to you to adhere to the backup-first advice detailed below, full Disclaimer found at below-left, at the bottom of very TinkerTry page.
See also the. All the background story on how this easy upgrade method came about was covered in my earlier articles about updating. If you're in production, beware, this code just came out yesterday. This article is for the lab, where you may want to give this critical patch a try. No new license needed to go from 6.0.x or 6.5.x to 6.5 U1 Build 5973321.
and folks who can't download the GA Offline bundle now have a path forward as well, without needing to read TinkerTry's. See also and: The esxcli software profile update command brings the entire contents of the ESXi host image to the same level as the corresponding upgrade method using an ISO installer. However, the ISO installer performs a pre-upgrade check for potential problems, and the esxcli upgrade method does not. The ISO installer checks the host to make sure that it has sufficient memory for the upgrade, and does not have unsupported devices connected.
For more about the ISO installer and other ESXi upgrade methods, see Upgrade Options for ESXi 6.0. Before proceeding, you should read. This article below is just about the quick and easy way, effective and safe for most folks. For those more interested in 'clean installs', where you login to My VMware, shut down the ESXi on USB that you're already running, eject that USB flash drive and and set it aside, then boot from another USB drive like the with a fresh install of 6.5U1. This clean install is much more time consuming than the easy method outlined below. This is because once ESXi 6.5U1 is freshly installed, at a minimum you'll also have to use Datastore Browser to locate your VMs on your VMFS datastores, then add those files with.vmx extensions back into your inventory, then add the host back to your cluster that. While this extra work may help you be sure that you don't have any drivers or changes carried over from your previous build, for many users, that's not a concern.
Once you've completed ALL of the following preparation steps:. upgraded to VCSA 6.5 U1. ensured your ESXi 6.5.x host has a working internet connection. reviewed the. reviewed for the full back story that includes some warnings about potential gotchas/driver issues.
backed up the ESXi 6.5.x you've already got, if its on USB or SD, then use something like one of the home-lab-friendly and super easy methods such as under Windows, as detailed by Florian Grehl you can now continue with this simple approach to upgrading your lab environment. Unsupported, at your own risk, see the full disclaimer at below-left. You should wind up with the same results after this upgrade as folks who upgrade by downloading the full ESXi 6.5 U1 ISO / from that ISO / booting from that media (or mounting the ISO over IPMI/iLO/iDRAC/IMM/iKMV) and booting from it: File size: 332.63 MB File type: iso Name: VMware-VMvisor-Installer-6.5.0.update.x8664.iso Release Date: 2017-07-27 Build Number: 5969303 Download and upgrade to 6.5 U1 update using the patch directly from the VMware Online Depot The entire process including reboot is usually well under 10 minutes. Triple-clicking on a line of code below highlights the whole thing, so you can then right-click and copy it into your clipboard:. Open an SSH session (eg.
PuTTY) to your ESXi 6.0.x server (if you forgot to enable SSH, ). Turn on maintenance mode, or ensure you've set your ESXi host to automatically upon host reboot, or shutdown all the VMs gracefully that you care about, including VCSA. Firewall allow outbound http requests - Paste the one line below into into your SSH session, then press enter: esxcli network firewall ruleset set -e true -r httpClient More details about the firewall. Pull down ESXi Image Profile using https and run patch script - Paste the line below into into your SSH session, then hit enter and wait while nothing seems to happen, taking somewhere between roughly 3 to 10 minutes before the completion screen (sample below) appears: esxcli software profile install -p ESXi-6.5.0-1-standard -d If this command fails, you may want to try changing update to install, details, see also.
Vmware Esxi 6 5
Wait time for the successful install depending mostly on the the speed of the ESXi's connection to the internet, and somewhat on the write speed of the storage media that ESXi is installed on. If you have Xeon D X552/X557, to regain the 10GbE driver VIB that the upgrade process removed, simply paste the easy one-liner fix described before proceeding. Firewall disallow outbound http requests - Paste the line below into into your SSH session: esxcli network firewall ruleset set -e false -r httpClient. If you turned on maintenance mode earlier, remember to turn maintenance mode off. If you normally leave SSH access off, go ahead and disable it now. Type reboot and hit return (to restart your ESXi server), or use your favorite ESXi UI to restart the host.
After the reboot is done, it would be a good idea to test login using ESXi host client, pointing your browser to the IP or hostname of your just-graded server, to be sure everthing seems to be working right. Special thanks to by Andreas Peetz at the VMware Front Experience Blog. This upgrade test was performed on a TinkerTry'd system. Yes, on both the very and the rather version of the beloved Supermicro SuperServer SYS-5028D-TN4T system. Here's how my upgrade from 6.5.0d to 6.5 U1 Build 5969303 looked, right after the 1 minute download/patch. Yep, it worked! This is called the DCUI, using Supermicro's iKVM HTML5 UI to show you what my console looked like after the patch & reboot.
ESXi Host client view of Build 5310538. When the reboot is complete, you'll see for yourself that you now have the latest ESXi, Build 5969303, as pictured above. Now you have more spare time to read more TinkerTry articles!. Depending upon your ESXi firewall configuration, if the above command results in a network related error such as: 'NoneType' object has no attribute 'close' then you skipped the firewall configuration step above, try again!. Notice that the command recommended you use when clicking on the ESXi-6.5.0-1-standard link at: esxcli software profile update -p ESXi-6.5.0-1-standard -d doesn't work, says: Message: Host is not changed. But simply changing from update to install worked for me, but your results may vary. See also the interesting comment.
Using the update parameter doesn't work, as seen above, but using install does. If you find some of your SATA/AHCI datastores disappear from view after this upgrade, worry not, the VMFS datastores are still there, you just can't see them.
This article should still save you: Mar 04 2015 Apr 19 2017 Update Click the image above to read the rest of the conversation thread. Here's how re-install of Intel X552/X557 VIB 4.5.1 looks, right-after successful easy re-install, the fully supported way for production purposes without the `no-sig-check` option takes more steps, and is detailed in the same article below Getting past this issue was straight-forward, just re-installed my Intel's 4.5.1 X552/X557 10GbE VIB, see:. then rebooted. Everything working fine again. Added Apr 19 2017 Update If you encounter the service console networking problem, the. Alternatively, you could have used VMware on a Windows system or VM, but for one-off upgrades typical in a small home lab, pasting these 3 or 4 lines of code is pretty darn easy.
Looking ahead, since VUM is now built into VCSA 6.5, this adds another way to do future upgrades and patches, even in a small home lab environment. How to easily update your VCSA 6.5 to 6.5.0d Build 5318154 and ESXi to Build 5310538 Helpful information, care of gbX who left this: I've got a problem with online depot update (from 6.5.0d to 6.5.0 U1). If you encounter 'ErrNo 28 Not enough space', just download the patch.zip from myvmware: Store the.zip package on your datastore and install with following command: esxcli software profile install -d='zip location' Seems like downloading update from online depot fills up your tmp storage resulting in above error. Soon, Todd Taylor stepped in with this: Same error. I hammered on it for about an hour trying to track down the space issue, deleting logs, etc. And then found a reference on reddit about changing the swap datastore which worked for me first time.
I didn't have a datastore set in the web UI under Host Manage System SWAP. When I chose a datastore in the dropdown and retried the update it worked first try. All props to cpierr03 for his helpful post here: When the upgrade is complete, on the ESXi Host Client UI, under Host / Configuration, you should see the following 'Image profile' (Updated) ESXi-6.5.0-1-standard (VMware, Inc.).
VMware Below, I've pasted the full text of my upgrade, helps you see what drivers were touched, use the horizonal scroll bar or shift + mousewheel to look around, and Ctrl+F to Find stuff quickly: login as: root Using keyboard-interactive authentication. Password: The time and date of this login have been sent to the system logs. VMware offers supported, powerful system administration tools. Please see www.vmware.com/go/sysadmintools for details. The ESXi Shell can be disabled by an administrative user.
See the vSphere Security documentation for more information. root@xd-1541-5028d: esxcli network firewall ruleset set -e true -r httpClient root@xd-1541-5028d: esxcli software profile install -p ESXi-6.5.0-1-standard -d Installation Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Disclaimer Emphasis is on home test labs, not production environments. No free technical support is implied or promised, and all best-effort advice volunteered by the author or commenters are on a use-at-your-own risk basis. Properly caring for your data is your responsibility. TinkerTry bears no responsibility for data loss.
Disclosure TinkerTry.com, LLC is an independent site, has no sponsored posts, and all ads are run through 3rd party BuySellAds. All editorial content is controlled by the author, not the advertisers or affiliates. All equipment and software is purchased for long-term productive use, with any rare exceptions clearly noted. Affiliate Link Disclosure TinkerTry.com, LLC is a participant in the, an affiliate advertising program designed to provide a means for TinkerTry to earn fees by linking to Amazon.com and affiliated sites. These revenues help show your support by helping fund the production of quality content, at no cost to you.
Other shopping links featured in the articles may be from Skimlinks, Digital River/OneNetworkDirect, or Commision Junction affiliate programs, and could also result in small commissions for purchases. Many content creators will find Skimlinks a convenient way to commoditize high-value content, with little effort. If you're interested in automatic Skimlinks to help cover the cost of running your site, consider using this.