Friday, May 23, 2025

VMWare ESXi 7 Patching Steps

1. Login to ESXi Server with Web Access > https://x.x.x.x

2. Bring down Active Servers

3. Change ESXi Host into Maintenance Mode > vim-cmd hostsvc/maintenance_mode_enter

4. Check "TSM" and "TSM-SSH" Services are running

5. Login to Esxi with putty (Secure Shell Access)

6. Backup ESXi host

esxcfg-info -u

vim-cmd hostsvc/firmware/sync_config

vim-cmd hostsvc/firmware/backup_config

7. esxcli software sources profile list -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U1a-17119627-depot.zip"

esxcli software sources profile list -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3d-19482537-depot.zip"

esxcli software sources profile list -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3o-22348816-depot.zip"

esxcli software sources profile list -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3s-24585291-depot.zip"

esxcli software profile update -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U1a-17119627-depot.zip" -p ESXi-7.0U1a-17119627-standard

esxcli software profile update -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3d-19482537-depot.zip" -p ESXi-7.0U3d-19482537-standard

esxcli software profile update -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3o-22348816-depot.zip" -p ESXi-7.0U3o-22348816-standard

esxcli software profile update -d "/vmfs/volumes/5f52669e-7606418a-62fe-9440c92e75ec/Patches/VMware-ESXi-7.0U3s-24585291-depot.zip" -p ESXi-7.0U3s-24585291-standard

5. reboot 

6. exit from maintenance mode > vim-cmd hostsvc/maintenance_mode_exit

7. bring up VMs


No comments: