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

How to patch ESXi 5 without vCenter

By Vladan SEGET | Last Updated: November 1, 2014

Shares

How to patch ESXi 5 from command line. Usually the patching of VMware vSphere Cluster is done through vSphere Update Manager (VUM), but for this you need vCenter. In case you're managing single ESXi host without vCenter, you might be interested to know how to patch the ESXi host from the command line.

No need to say that I'm supposing that you don't use vCenter in purpose, and so that you want to patch your ESXi 5 standalone host or that you want to patch VMware ESXi 5 Free version without VUM.

You'll certainly like this! ESXi 5.5 Free Version – no more hard limit 32GB of RAM

Otherwise it's much more convenient using VUM which can automate the patching process by using vMotion to move the running VMs to other hosts inside of the cluster, putting the host which you want to patch into maintenance mode and do the restart.

The patching of VMware ESXi 5 is quite straightforward process, but there is one condition: SSH access

The SSH access can be easily enabled by using the VMware vSphere client through the GUI.

How to patch ESXi 5:

Step 0 – Enabling SSH access to the VMware ESXi 5 host

Yes, there is step 0 actually. How to do it? Simple:

– Through vSphere client click on the VMware ESXi 5 server > Confiure > Security Profile (services)
–  SSh > Options >

How to patch ESXi 5

Step 1 – Stage the ESXi 5 patches to a Datastore accessible by the VMware ESXi 5 host

Via the vSphere Datastore browser upload the patch which you have downloaded from VMware Patch Website.  This website lists all VMware ESXi Patches.

During the copy operation which can take some time, you have plenty of time to gracefully shut down all your VMs which runs at the moment on your host.

How to patch VMware ESXi 5 without vCenter and Update Manger

I have created a sub-folder for that purpose.

Step 2 – Connect via SSH by using putty for example

Putty is the most known SSH client.

Run this command and wait, because the decompression and installation take some time……

Use this command: esxcli software vib update 

(Note: If you use esxcli software vib install then you will loose the custom drivers, CIM providers etc you have had installed previously… )

In my case, I executed this command:

esxcli software vib update -d /vmfs/drobo01/patches/<your-upgrade-bundle.zip>

The process will probably take some time.

You should screen confirming the installation and requiring the reboot of the host.

Step 3 – Reboot your VMware ESXi 5 host

Now when you reboot, the system will probably complain that the maintenance mode hasn't been enabled….

And you should see the version number change on your VMware ESXi 5 host.

How to patch VMware ESXi 5 without vCenter Update Manager

The ESXi 5 patching can be done by using PowerCLI, but I'll outline it in another article.

How to patch ESXi 5 on VMware Communities.

Enjoy.. -:)

Feel free to subscribe to our RSS Feed.

Shares
5/5 - (2 votes)

| Filed Under: How To Tagged With: command line ESXi 5, ESXi 5 patching, How to patch VMware ESXi 5, patch ESXi 5 from command line

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. mel says

    July 25, 2012 at 11:36 am

    Would it be better if it goes to maintenance mode first ?esxcli software vib update –maintenance-mode –depot /vmfs/volumes//.zip

  2. Trev says

    January 31, 2013 at 2:18 am

    If you’re using a customized image, such as HP’s ESXi installation media (or the various other formats HP supplies), then the command “esxcli software vib install …” will render your ESXi server unusable. This appears to be because all of HP’s drivers, CIM providers and other “garbage” are deleted by the install process. Most likely your host will reboot and complain that no network drivers are available, and is thus inaccessible from the network.

    The command: “esxcli software vib update …” seems to avoid this problem.

    • Vladan SEGET says

      January 31, 2013 at 8:07 am

      Trev,

      TGood to know. I would imagine, however, that users having licensed version of ESXi, they rather use VUM.

      Thanks for the comment.
      Vladan

  3. Peter says

    May 19, 2016 at 1:20 am

    Thanks.

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

  • 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!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

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