Patching ESXi

  VMWare

SSH to your host, grab the version –

esxcli system version get

Download the latest patch and upload to the datastore. Find the profile list –

esxcli software sources profile list –depot /vmfs/volumes/datastore1/patches/ESXi600-201711001.zip

(change path as appropriate)

Assuming your profile list shows (this is an example) –

Name Vendor Acceptance Level
——————————– ———— —————-
ESXi-6.0.0-20171101001s-standard VMware, Inc. PartnerSupported
ESXi-6.0.0-20171101001s-no-tools VMware, Inc. PartnerSupported
ESXi-6.0.0-20171104001-no-tools VMware, Inc. PartnerSupported
ESXi-6.0.0-20171104001-standard VMware, Inc. PartnerSupported

Dry run –

esxcli software profile update –depot=/vmfs/volumes/datastore1/patches/ESXi600-201711001.zip –dry-run –profile=ESXi-6.0.0-20171104001-standard

Live patch –

esxcli software profile update –depot=/vmfs/volumes/datastore1/patches/ESXi600-201711001.zip –profile=ESXi-6.0.0-20171104001-standard

You can tail the log in another ssh session –

tail -f /var/log/esxupdate.log

Once complete, reboot –

reboot

I’ve only had 1 problem with a large file filling up the datastore, so make sure you use ‘df -h’ commands if you experience any problems.

LEAVE A COMMENT