VMware:- Patch ESXi Using Command line method

1. download the ZIP bundle for the target ESXI version from VMware portal and upload it to one of the datastores.
2. Put the host in maintenance mode and enable ssh for the host.
3. Connect to the putty/ssh session
4. get the path of installer zip file which is inside the datastore.
hashtagcd /vmfs/volumes/datastore name/
5. run the following Command to check the profile name which is to be installed: -

Syntax:-

esxcli software sources profile list -d <zip file location>

Example:-
esxcli software sources profile list -d /vmfs/volumes/57c72e91-831cdc5c-5a8c-000af7960874/upgrades/VMware-ESXi-7.0U3f-20036589-depot. zip

you will get the following outcome:-

Name              Vendor Acceptance Level Creation Time    Modification Time
------------------------------- ------ ---------------- ------------
ESXi-7.0U3f-20036589-standard  VMware PartnerSupported 20xx-11-25T11:43:03 20xx-12-09T0657

6. Then run the following Command to run the upgrade:-

Syntax:

esxcli software profile update -d <zip file location> -p <ProfileName which we received in the 5th step>

example:-

esxcli software profile update -d /vmfs/volumes/5f4fabf6-195837ca-cceb-30fd653928b6/ISO/VMware-ESXi-7.0U3i-20842708-depot. zip -p ESXi-7.0U3i-20842708-standard

7. Reboot the host

Comments

Popular posts from this blog

VMware:- Esxi Log File Locations

ESX and vCenter Alarms

Convert VMware Snapshot into Memory Dump