Marco Burmeister
private Homepage
Nach der erfolgreichen Installation von ESXi 6.7 muss das System auch mal gepatcht werden. An dieser Stelle soll erläutert werden, wie ESXi 6.7 auf ein neueren Patchlevel von ESXi 6.7 upgedatet werden kann.
Die Seite ist in die folgenden Bereiche eingeteilt:
Hinweis:
Die Nutzung der hier geschilderten Anleitung geschieht auf eigene Gefahr!
Das Update von ESXi 6.7 wird in diesem Text anhand des Updates auf die Version vom August 2020 gezeigt werden.
Funktionierende ESXi 6.7 Installation.
Die Installation selbst ist auch für Anfänger im Bereich ESXi durchzuführen.
root
vmware -vl
Ausgabe:
VMware ESXi 6.7.0 build-15820472
VMware ESXi 6.7.0 Update 3
esxcli network firewall ruleset set -e true -r httpClient
esxcli network firewall ruleset \
set -e true -r httpClient
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7
esxcli software sources profile \
list -d \
https://hostupdate.vmware.com/\
software/VUM/\
PRODUCTION/main/vmw-depot-index.xml\
| grep -i ESXi-6.5
grep -i
schränkt die Ausgabe ein. Alternativ kann noch ein | sort
angehängt werden,
um die Ausgabe zu sortieren.vim-cmd /hostsvc/maintenance_mode_enter
vim-cmd \
/hostsvc/maintenance_mode_enter
--no-hardware-warningergänzt, weil ich eine nicht freigegebene Netzwerkkarte zusätzlich im Rechner habe.
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p [Name_Version]-standard --no-hardware-warning
Beispiel:
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20200804001-standard --no-hardware-warning
esxcli software profile update -d \
https://hostupdate.vmware.com/\
software/VUM/\
PRODUCTION/main/vmw-depot-index.xml \
-p [Name_Version] \
--no-hardware-warning
Beispiel:
esxcli software profile update -d \
https://hostupdate.vmware.com/\
software/VUM/\
PRODUCTION/main/vmw-depot-index.xml \
-p ESXi-6.7.0-20200804001-standard \
--no-hardware-warning
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
Update Result
Message: The update completed \
successfully, but the system \
needs to be rebooted for the \
changes to be effective.
Reboot Required: true
[OSError]
[Errno 28] No space left on device
Please refer to the log file for more details.
[OSError]
[Errno 28] No space left \
on device
Please refer to the log \
file for more details.
/var/log/esxupdate.log
Verwalten->
System->
Auslagerungauswählen. Im folgenden Menü auf der rechten Seite kann man nun einen Datenspeicher auswählen - es werden dort keine Daten gelöscht!
/var/log/esxupdate.logentnommen werden, welches beim ersten Versuch des Einspielens mit Informationen gefüllt worden ist.
esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light-<Version>-<Build>.vib
esxcli software vib install \
-v https://hostupdate.vmware.com \
/software/VUM/PRODUCTION/main/esx \
/vmw/vib20/tools-light/ \
VMware_locker_tools-light-\
-.vib
esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_11.1.1.16303738-16701467.vib
esxcli software vib install \
-v https://hostupdate.vmware.com \
/software/VUM/PRODUCTION/main/esx \
/vmw/vib20/tools-light/ \
VMware_locker_tools-light_ \
11.1.1.16303738-16701467.vib
--no-hardware-warningergänzt, weil ich eine nicht freigegebene Netzwerkkarte zusätzlich im Rechner habe.
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p [Name_Version]-no-tools --no-hardware-warning
Beispiel:
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20200804001-no-tools --no-hardware-warning
esxcli software profile update -d \
https://hostupdate.vmware.com/\
software/VUM/\
PRODUCTION/main/vmw-depot-index.xml \
-p [Name_Version] \
--no-hardware-warning
Beispiel:
esxcli software profile update -d \
https://hostupdate.vmware.com/\
software/VUM/\
PRODUCTION/main/vmw-depot-index.xml \
-p ESXi-6.7.0-20200804001-no-tools \
--no-hardware-warning
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
Update Result
Message: The update completed \
successfully, but the system \
needs to be rebooted for the \
changes to be effective.
Reboot Required: true
esxcli network firewall ruleset set -e false -r httpClient
esxcli network firewall ruleset set -e \
false -r httpClient
vim-cmd /hostsvc/maintenance_mode_exit
vim-cmd \
/hostsvc/maintenance_mode_exit
vmware -lv
die aktive Version angezeigt werden.vmware -vl
Ausgabe:
VMware ESXi 6.7.0 build-16713306
VMware ESXi 6.7.0 Update 3
esxcli
-Befehl immer die update
Option statt der Option install
,
die ebenfalls möglich wäre, weil dann nur die Pakete, aus dem Bundle, die bereits vorhanden waren, durch neue Versionen ersetzt
und nicht enthaltene Pakete nicht gelöscht werden
(siehe auch Hetzner Wiki
oder VMWare Dokumentation).
Hinweis:
Für die Richtigkeit der Daten übernehme ich keine Gewähr!
Für den Inhalt von Internet-Seiten, auf die von dieser Seite verwiesen wird, übernehme ich keine Verantwortung!
Marco Burmeister, Copyright © 2020 - 2023
zuletzt geändert: 2022-06-19
URL: https://www.marco-burmeister.de/helferlein/de_esxi6_7_update.html
Impressum