ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

ESXi 5.5 upgrade to 6.0 – via VMware Online Repository Plus few other CLI commands

By Vladan SEGET | Last Updated: March 25, 2016

Shares

Today we'll learn some useful ESXi CLI commands plus we'll see a different way that we can upgrade a ESXi 5.5 upgrade to 6.0 – via online repository. Note you don't have to be paid customer for this, it works for ESXi Free version as well. It's necessary to open a firewall port on the ESXi and we'll see how to do it as well.

We have already learn to patch standalone ESXi hosts or hosts present in vSphere cluster via CLI or ESXi Installation ISO (interractive) or via vSphere update manager. For that we have used the Offline bundle file or the ESXi 6.0 installation ISO image.

Today we'll learn another way to upgrade ESXi host and also we'll learn few CLI commands that you might find useful as well. Those are always good to know when working with ESXi host and you need to do some basic troubleshooting, updating, patching, etc. Let's start with some easy commands.

Check the build number of the ESXi host

vmware -lv

You'll get this as an output (if you're running the latest ESXi)

How to check build number and version in VMware ESXi host

Easy, isn't it?

Open firewall port via CLI:

esxcli network firewall ruleset set -e true -r httpsClient

How to enable web access for VMware ESXi

Again, easy. Note that you can do the same by selecting the host through vSphere client > configuration > security profile > Firewall

How to enable web access for VMware ESXi

How to retrieve a image list from online depot and do an upgrade of ESXi host from previous release

This one is a bit longer and needs two steps…

Step1: Show available images and choose the one you want for your update

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | sort -r

This takes a while, and as a result it shows all images since vSphere 5.0 ….

VMware Online Images list profiles

Step 2: You can use the command for opening the Http web access (it's disabled by default) which we learned in tweak #2.

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml –profile=ESXi-6.0.0-20150504001-standard

The output is a bit big (I cut the most part..)

Update Result
Message:  The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_esx-base_6.0.0-0.6.2715440
VIBs Removed: VMware_bootbank_esx-base_6.0.0-0.0.2494585
VIBs Skipped: VMWARE_bootbank_mtip32xx-native_3.8.5-1vmw.600.0.0.2494585, VMware_bootbank_ata-pata-amd_0.3.10-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.600.0.0.2494585, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.600.0.0.2494585, …..

…..

Reboot is necessary…

The different ways to patch or upgrade VMware ESXi:

  • Use ESXi Installation ISO image (for standalone hosts with CD-ROM drive)
  • Use ESXi Offline bundle (for standalone, or hosts without vCenter)
  • Use vSphere Update manager (for larger installation managed via vCenter)
  • Use Internet and Online Repository (this post)

If you want to check more how-to articles, news, videos and tutorials for vSphere 6 you might want to check the vSphere 6 page. Share and enjoy..-:)

Shares
5/5 - (5 votes)

| Filed Under: How To Tagged With: ESXi 5.5 upgrade to 6.0

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Josh Olszewski says

    June 10, 2015 at 6:25 pm

    I was wondering if there was a similar offline upgrade with upgrading the vCenter Server itself from 5.5 to 6.0?? I upgraded a host successfully but now cannot manage since vCenter is not up to 6.0

    • Vladan SEGET says

      June 10, 2015 at 7:45 pm

      2 options: 1. Launch an upgrade of vCenter 5.5 > 6.0…. 2. revert back ESXi 6.0 > 5.5 and THEN start the upgrade process with vCenter server, followed by ESXi hosts. (depends the size of the environment, if VUM is used etc…)

  2. jan says

    September 25, 2015 at 2:19 pm

    hmm should the link not be esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml –profile=ESXi-6.0.0-20150902001-standard ?

    • H says

      January 10, 2016 at 9:08 pm

      If you look at the date the article was written you will notice it was before the update you are referring to was released. So no, before June 2015 the latest update WAS ESXi-6.0.0-20150504001-standard.

      It now IS ESXi-6.0.0-20160104001-standard as of 10/01/2016, so by your logic your comment is incorrect now, and now mine is correct?

  3. ShumaDK says

    August 16, 2016 at 1:46 am

    Use “…–profile=name” (not “…-profile”) or “-p name”.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in