Patching VMware vSphere ESXi

ESXi 6.5
Patch: ESXi650-202102001.zip

  1. Upload the patch ESXi650-202102001.zip to DataStore.

  2. Migrate or power off all VMs and set the ESXi host to maintenance mode.

  3. Enable SSH service.

  4. Open SSH session, login as root.

    a) ESXi 6.5 and older.

    esxcli software vib update -d /vmfs/volumes/VPLEX_UNITY500_VMware_10TB_1/VMware-Patches/ESXi650-202102001.zip

    b) ESXi 7.0 and latest.

    esxcli software sources profile list -d /vmfs/volumes/datastore_lun01/VMware-Patches/VMware-ESXi-7.0u3w-24784741-depot.zip

    esxcli software profile update -d /vmfs/volumes/datastore_lun01/VMware-Patches/VMware-ESXi-7.0u3w-24784741-depot.zip -p ESXi-7.0U3w-24784741-standard
  5. Reboot the ESXi host.

    reboot

  6. Check that the upgrade has been successfully completed and exit maintenance mode.

Reference

Upgrading, updating or applying a patch to ESXi host using esxcli command