vmware:esxi:update
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vmware:esxi:update [2023/08/17 16:36] – [Updates/Upgrades] gsys | vmware:esxi:update [2025/04/09 16:15] (current) – [Memory Error] gsys | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ESXi Update Installation ===== | ====== ESXi Update Installation ===== | ||
+ | |||
+ | < | ||
+ | vmware -v # show esxi build number | ||
+ | </ | ||
===== Patches ===== | ===== Patches ===== | ||
Line 20: | Line 24: | ||
check installed vibs | check installed vibs | ||
< | < | ||
- | esxcli software vib lis | + | esxcli software vib list |
</ | </ | ||
Line 26: | Line 30: | ||
< | < | ||
+ | esxcli software vib update -d / | ||
esxcli software vib update -d / | esxcli software vib update -d / | ||
nohup esxcli software vib update -d / | nohup esxcli software vib update -d / | ||
Line 33: | Line 38: | ||
< | < | ||
reboot | reboot | ||
+ | </ | ||
+ | |||
+ | verify newly installed vibs | ||
+ | < | ||
+ | esxcli software vib list | ||
</ | </ | ||
Line 69: | Line 79: | ||
check image profiles in depot | check image profiles in depot | ||
+ | |||
+ | **Offline** | ||
< | < | ||
esxcli software sources profile list --depot=/ | esxcli software sources profile list --depot=/ | ||
+ | </ | ||
+ | |||
+ | **Online** | ||
+ | < | ||
+ | esxcli network firewall ruleset set -e true -r httpClient | ||
+ | esxcli software sources profile list -d https:// | ||
+ | esxcli software sources profile list -d https:// | ||
</ | </ | ||
Apply updates/ | Apply updates/ | ||
+ | **Offline** | ||
< | < | ||
- | esxcli software profile update --depot=/ | + | esxcli software profile update --depot=/ |
nohup esxcli software profile update --depot=/ | nohup esxcli software profile update --depot=/ | ||
+ | </ | ||
+ | |||
+ | **Online** | ||
+ | < | ||
+ | #dry run | ||
+ | esxcli software profile update --dry-run -p ESXi-8.0U3d-24585383-standard -d https:// | ||
+ | |||
+ | esxcli software profile update -p ESXi-8.0U3d-24585383-standard -d https:// | ||
+ | esxcli software profile update -p ESXi-8.0U3d-24585383-standard -d https:// | ||
</ | </ | ||
reboot after all patches are installed | reboot after all patches are installed | ||
< | < | ||
- | reboot | + | esxcli system shutdown |
</ | </ | ||
Line 92: | Line 121: | ||
Exit maintenance mode | Exit maintenance mode | ||
< | < | ||
+ | esxcli network firewall ruleset set -e false -r httpClient | ||
vim-cmd hostsvc/ | vim-cmd hostsvc/ | ||
</ | </ | ||
Line 100: | Line 130: | ||
tail -f / | tail -f / | ||
</ | </ | ||
+ | |||
+ | ==== Memory Error ==== | ||
+ | |||
+ | Error: | ||
+ | < | ||
+ | [user@ESXi: | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Workaround: | ||
+ | < | ||
+ | esxcli system settings advanced set -o / | ||
+ | cp / | ||
+ | sed -i ' | ||
+ | mv / | ||
+ | esxcli system settings advanced set -o / | ||
+ | </ | ||
+ | [[https:// |
vmware/esxi/update.1692283004.txt.gz · Last modified: 2024/02/17 19:03 (external edit)