Vamos a actualizar ESX 6.7.0 a 7.0 tras realizar un upgrade anterior.
Para ello, descargaremos el build 23305546
El fichero a descargar lo encontraremos en el apartado VMware vSphere Hypervisor (ESXi) Offline Bundle y se llama VMware-ESXi-8.0U2b-23305546-depot.zip
Una vez lo tengamos descargado, lo deberemos subir en un Datastore al que tengamos acceso.
https://esx01/ui/#/host/storage/datastores > Datastore Browser > Upload > VMware-ESXi-7.0U2a-17867351-depot.zip
Una vez lo tengamos, accederemos a la consola del host ESXi y validaremos nuestra versión actual:
[root@esx01:~] vmware -v
VMware ESXi 7.0.3 build-20328353
[root@esx01:~] esxcli software profile get
(Updated) ESXi-7.0U3g-20328353-standard
Name: (Updated) ESXi-7.0U3g-20328353-standard
Vendor: VMware, Inc.
Creation Time: 2023-01-02T17:01:26
Modification Time: 2024-04-09T14:10:12
Stateless Ready: True:
2020-10-30T18:14:09.568489+00:00: The following VIBs are
installed:
vmware-fdm 6.7.0-16046470
———-
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20191204001-standard
Para iniciar la actualización:
esxcli software profile update -p ESXi-8.0U2b-23305546-standard -d /vmfs/volumes/HDD_datastore1/VMware-ESXi-8.0U2b-23305546-depot.zip --no-hardware-warning
A tener en cuenta, que podria aparecer un alertado por incompatibilidad de hardware. En mi caso, de CPU:
[HardwareError]
Hardware precheck of profile ESXi-8.0U2b-23305546-standard failed with errors:
Please refer to the log file for more details.
Como workarround, editaremos el fichero /bootbank/boot.cfg y localizaremos la linea kernelopt para añadir al final del todo allowLegacyCPU=true
Una vez modificado, realizaremos un reinicio del nodo.
reboot
Tras el reinicio, procedemos nuevamente a ejecutar la actualización:
esxcli software profile update -p ESXi-8.0U2b-23305546-standard -d /vmfs/volumes/HDD_datastore1/VMware-ESXi-8.0U2b-23305546-depot.zip --no-hardware-warning
Si el resultado es satisfactorio, aparecerá el siguiente mensaje:
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
Realizaremos un reinicio del nodo:
reboot
Tras el reinicio, ya aparecerá la nueva versión: