vmware:esxi:update
This is an old revision of the document!
Table of Contents
ESXi Update Installation
Patches
Shutdown/migrate all VMs
Enter maintenance mode
vim-cmd hostsvc/maintenance_mode_enter
Backup current config
vim-cmd hostsvc/firmware/sync_config # sync config with persistent storage vim-cmd hostsvc/firmware/backup_config # create backup with download link
check installed vibs
esxcli software vib lis
Apply patches
esxcli software vib update -d /vmfs/volumes/6177dced-35509914-62a6-c4346ba93614/patches/ESXi650-202202001.zip > /var/log/sit-patch-ESXi650-202202001.log 2&>1 # stable ssh connection nohup esxcli software vib update -d /vmfs/volumes/6177dced-35509914-62a6-c4346ba93614/patches/ESXi650-202202001.zip > /var/log/sit-patch-ESXi650-202202001.log 2&>1 # unstable ssh connection
reboot after all patches are installed
reboot
verify newly installed vibs
esxcli software vib list
Exit maintenance mode
vim-cmd hostsvc/maintenance_mode_exit
View live log
tail -f /var/log/sit-patch-ESXi650-202202001.log
Updates/Upgrades
Shutdown/migrate all VMs
Enter maintenance mode
vim-cmd hostsvc/maintenance_mode_enter
Backup current config
vim-cmd hostsvc/firmware/sync_config # sync config with persistent storage vim-cmd hostsvc/firmware/backup_config # create backup with download link
check installed vibs
esxcli software vib list
check image profiles in depot
esxcli software sources profile list --depot=/vmfs/volumes/602b6b5a-37187eec-e182-bc97e1e50d80/update/VMware-ESXi-7.0U3n-21930508-depot.zip
Apply updates/upgrades
esxcli software profile update --depot=/vmfs/volumes/602b6b5a-37187eec-e182-bc97e1e50d80/update/VMware-ESXi-7.0U3n-21930508-depot.zip --profile=ESXi-7.0U3n-21930508-standard > /var/log/sit-update-ESXi-7.0U3n-21930508.log 2&>1 # stable ssh connection nohup esxcli software profile update --depot=/vmfs/volumes/602b6b5a-37187eec-e182-bc97e1e50d80/update/VMware-ESXi-7.0U3n-21930508-depot.zip --profile=ESXi-7.0U3n-21930508-standard > /var/log/sit-update-ESXi-7.0U3n-21930508.log 2&>1 # unstable ssh connection
reboot after all patches are installed
reboot
verify newly installed vibs
esxcli software vib list
Exit maintenance mode
vim-cmd hostsvc/maintenance_mode_exit
View live log
tail -f /var/log/sit-update-ESXi-7.0U3n-21930508.log
vmware/esxi/update.1692283064.txt.gz · Last modified: 2024/02/17 19:03 (external edit)