Close Menu
DPC Virtual Tips
    Read More

    How to Investigate TCP Retransmissions on Linux

    August 11, 2026

    Slurm Node Is DRAINED: How to Find the Exact Reason

    August 10, 2026

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    August 9, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Wednesday, August 12
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Applying a patch on the ESXi host
    Virtualization

    Applying a patch on the ESXi host

    DaniloBy DaniloNovember 27, 2022Updated:July 29, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    ESXi host patching
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Applying a patch on an ESXi host is an essential maintenance task for keeping VMware environments updated and stable. This guide explains how to update an ESXi host using the Command Line Interface (CLI) and a patch bundle file.

    VMware provides different methods to patch ESXi hosts, but in this tutorial we will focus on the CLI-based approach. This method gives administrators direct control over the update process and is commonly used in controlled maintenance scenarios.

    Before starting the patching procedure, it is important to verify the current ESXi version, download the correct patch file, and schedule the maintenance activity. The ESXi host must be placed into maintenance mode before applying the update to ensure a safe upgrade process.

    The VMware Article 2143832 shows the build numbers and versions of all ESXi systems. It’s highly recommended to check this link before performing patching:

    https://kb.vmware.com/s/article/2143832

    In our lab environment, the current ESXi host version is:

    Note: During the patching, it’s necessary to put the ESXi host into maintenance mode. So, it is recommended to create a schedule to apply the patch (Create an internal Change Request or something like that).

    Download the Patch File

    Firstly, we need to download the file that will use to patch the vCenter Server.
    Access the VMware Customer Connect site, perform the login on this site and get the iso patch file:

    https://customerconnect.vmware.com/patch

    Select “ESXi (Embedded and Installable)” and “7.0” and then, click on “SEARCH”:

    So, a list of all patch versions available is showing. Select the latest version and then click on “DOWNLOAD NOW”. In this case, the latest version of VMware-ESXi-7.0U3g-20328353:

    Upload the Patch File to the ESXi Datastore

    In our lab environment, we are using one ESXi host. So, in this example, it’s necessary to upload the patch iso file inside this local datastore.

    Firstly, it’s necessary to enable the SSH service on the ESXi host. Login on the Management Interface –> Manage –> Services –> Search by SSH –> select the SSH service and then, click on “Start”:

    We will use the WinSCP application to copy the patch file to the host’s local datastore. Open the WinSCP, type the details of the ESXi host (IP address, root, and password), and then, click on “Login”:

    Copy the patch file from left to right on the WinSCP. Wait some minutes for the copy to be finished:

    Now, it’s possible to see the file inside the local datastore (on the right on the WinSCP application):

    Apply the Patch on the ESXi Host by CLI

    With your SSH client, connect to the ESXi host. In this case, we are using the Putty software:

    Check inside the mount point of the local datastore if the patch bundle is OK:

    df -h –> To list all mount points
    ls /vmfs/volumes/LOCAL_DATASTORE –> To list all items inside the mount point of the local datastore

    Before that, it’s necessary to put this ESXi host in maintenance mode. To do it, type the commands below:

    esxcli system maintenanceMode get –> To check if the ESXi host is in maintenance mode
    esxcli system maintenanceMode set –enable=true –> To put the ESXi host into maintenance mode

    Apply the patch, by typing the command:

    esxcli software vib update -d /vmfs/volumes/LOCAL_DATASTORE/VMware-ESXi-7.0U3g-20328353-depot.zip

    Note: After applying the patch, the message “The update completed successfully, but the system needs to be rebooted for the changes to be effective” indicate the success of the procedure:

    To reboot the ESXi, type “reboot”:

    Here, the ESXi host has been updated successfully 🙂

    Access the host’s management interface and then, remove the host from the maintenance mode.
    Select Actions –> Exit maintenance mode:

    In our lab, the vCenter Server uses this ESXi host to run. Power on the vCenter Server VM:

    BEFORE:

    AFTER:

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleConfiguring vCenter Server HA
    Next Article How to create a vSAN Cluster
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    VM Replication with vSphere Replication and Site Recovery Manager

    June 16, 2025

    Changing DNS Settings on ESXi Hosts

    May 20, 2025

    Changing NTP Settings on ESXi Hosts

    May 19, 2025

    Comments are closed.

    Search
    Categories
    • HPC (10)
    • Operating Systems (83)
    • PowerFlex (22)
    • Virtualization (129)
    Read More
    Operating Systems

    How to Investigate TCP Retransmissions on Linux

    By DaniloAugust 11, 20260
    HPC

    Slurm Node Is DRAINED: How to Find the Exact Reason

    By DaniloAugust 10, 20260
    HPC

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    By DaniloAugust 9, 20260
    Operating Systems

    Linux Process Resource Usage: How to Find Heavy Processes

    By DaniloAugust 6, 20260
    HPC

    Lustre Filesystem Commands: A Practical Admin Guide

    By DaniloAugust 5, 20260
    Latest Posts

    How to Investigate TCP Retransmissions on Linux

    August 11, 2026

    Slurm Node Is DRAINED: How to Find the Exact Reason

    August 10, 2026

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    August 9, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy