Skip to content

The Millers Club

Crap You'd Find On Google Page 17

Menu
  • Lily’s Jobs
  • Asher’s Jobs
Menu

Online Upgrade to ESXi 6.5 Using ESXCLi – VirtuBytes

Posted on May 28, 2018 by admin

This beautiful article from virtubytes.com helps to upgrade Vcenter without having a login for vmware’s website.

Let’s start with that overview on image profiles and how to distinguish them in the online depot. This information could have easily been a post in itself, but if you are new to image profiles and the online depot, it may prove beneficial to be all in one place. If you already know the deal, feel free to skip ahead.

  • Image Profiles – An image profile is a set of VIBs grouped to make a full installation of ESXi. VMware issues a collection of these image profiles with each update release of ESXi. Typically, you will see between two to four variations for each patch or update. The collections consist of a standard image profile and a no-tools image profile. The no-tools profile does not include VMware Tools, is usually lighter, has less memory overhead, and PXE boots quicker.
  • Naming Format for Image Profile – ESXi-<ABC>-<YYYYMMRRSSS>[s]

A = Major ESXi Version; B = Minor ESXi Version; YYYY = Release Year; MM = Release Month; RR = Release Code; SSS = Release Sequence; s = Flag for Security Only Image Profile

  • Example of Image Profiles for ESXi-6.5
    • ESXi-6.5.0-4564106-standard | Includes all patches (GA release of ESXi 6.5.0)
    • ESXi-6.5.0-20170404001-standard | Includes all patches (ESXi 6.5d)
    • ESXi-6.5.0-20170404001-no-tools | Contains all patches; no VMware Tools (ESXi 6.5d)
    • ESXi-6.5.0-20170301001s-standard | Contains security patches only
    • ESXi-5.5.0-20170301001s-no-tools | Contains security patches only; no VMware Tools

For more information on image profiles, check out this VMware KB.

For VMware ESXi versioning, check out this Patch Tracker.

Now that’s out of the way, let’s get started with the update!

Put Host in Maintenance Mode

If you have virtual machines running on the specified host, ensure they are migrated off or shutdown.

Next, enable SSH and connect to the host. Once logged onto the host, run the vim-cmdhostsvc/maintenance_mode_enter command to put the host in maintenance mode.

ESXCLi Enter Maintenance Mode

Enable Firewall Ruleset

After the ESXi host has successfully entered maintenance mode, run the firewall command to enable the httpClient.

esxcli network firewall ruleset set -e true -r httpClient

Firewall httpClient Enable

Select and Update Image Profile

With the firewall ports open for http requests, we’ll run the esxcli software command to browse image profiles available in the depot. The command will also search for strings containing ESXi 6.5 to narrow down the results.

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.5

Image Profile List

Most likely, a handful of results will be returned. Refer to the examples in the beginning of this article for image profile descriptions.

Image Profiles

In this scenario, we will be upgrading our host to ESXi 6.5d. To do so, run the software profile update command selecting the 6.5d profile.

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.5.0-20170404001-standard

Software Profile Update

Disable Ruleset

After the update is complete, disable the httpClient on the firewall.

esxcli network firewall ruleset set -e false -r httpClient

Firewall httpClient DIsable

Reboot

Run the reboot command to finish out the process.

Reboot

Reboot ESXi

Source: Online Upgrade to ESXi 6.5 Using ESXCLi – VirtuBytes

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to print (Opens in new window)

Leave a Reply Cancel reply

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

Recent Posts

  • What version of OpenCore am I running?
  • Linux Mint 19 & Chrome Remote Desktop = “Could not acquire name on session bus” Error On Login
  • How To Set Up Nginx Reverse Proxy for SubDomains On Linux Mint With Ombi, Sonarr, Radarr, Plex, Etc. The stupid easy way.
  • Reminder: If You Can’t Upgrade Your ESXi Host, It Might Be Because You Need to Remove It From The Cluster First
  • WsusPool keeps crashing: stops again and again – Sysadmins of the North

Archives

  • December 2020
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • July 2017
  • March 2016
  • February 2016
  • October 2015

Categories

  • Complete Tutorial
  • Tech
  • Tips
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Archives

  • December 2020
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • July 2017
  • March 2016
  • February 2016
  • October 2015

Kids Vaccine Date

They're announcing a decision on Nov 2nd!November 2, 2021
The news is announcing kids vaccination status today!

Recent Posts

  • What version of OpenCore am I running?
  • Linux Mint 19 & Chrome Remote Desktop = “Could not acquire name on session bus” Error On Login
  • How To Set Up Nginx Reverse Proxy for SubDomains On Linux Mint With Ombi, Sonarr, Radarr, Plex, Etc. The stupid easy way.
  • Reminder: If You Can’t Upgrade Your ESXi Host, It Might Be Because You Need to Remove It From The Cluster First
  • WsusPool keeps crashing: stops again and again – Sysadmins of the North
©2023 The Millers Club | Built using WordPress and Responsive Blogily theme by Superb
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.