I'll base my notes off of Dell PowerEdge R740 servers.
There are a few different approaches to custom image upgrades, this is just how I've done it.
The image can also be obtained from Dell's site, but I find Dell's image is more out of date than VMware's.
Custom ISOs tab > expand OEM Customized Installer CDs > select your harware's latest version, ie. DellEMC Custom Image for ESXi 6.7U3 GA
For existing installs: DellEMC Custom Image for ESXi 6.7 Offline Bundle; for a bare-metal install: DellEMC Custom Image for ESXi 6.7 Install CD
At the left of the same column: Go to Downloads
In vCenter, upload the downloaded .zip to a datastore
Enable SSH (from vCenter) > Select the host you'll be updating > Configure > System > Services > SSH > Start
Open a terminal and SSH into the host: ssh root@host_ip_address
Backup the Host Config
vim-cmd hostsvc/firmware/backup_config
- this will save a tar gzipped bundle to /scratch/downloads/ for a short period of timeThe CLI command will return the following:
Bundle can be downloaded at : http://*/downloads/5d4fc6f-1e4b-7470e-c45-ae6278684d11/configBundle-vmware.tgz
Replace the asterisk for your host's IP & run a wget, with the --no-check-certificate flag (if you're using a self-signed SSL, you'll get errors, otherwise):
cd ~/Downloads && wget https://192.168.1.2/downloads/5206ac6f-1e4b-740e-c005-ae6265454d11/configBundle-vmware.tgz --no-check-certificate
Make note of the version running
vmware -vl
VMware ESXi 6.5.0 build-14320405
VMware ESXi 6.5.0 Update 3
Put the host in maintenance mode: vim-cmd /hostsvc/maintenance_mode_enter
(can also be done via the GUI by right-clicking the host > Enter Maintenance Mode)
Go into the directory where the datastores live: cd /vmfs/volumes && ls -l
cd
into the datastore you put the zip into & ls -l
to see the .zip you uploaded earlier
List profiles contained in the zip package (note that the full pwd path is needed in the -d argument):
esxcli software sources profile list -d /vmfs/volumes/bdcfsdsdsd/VMware-VMvisor-Installer-6.7.0.update03-16316930.x86_64-DellEMC_Customized-A06.zip
text
Name Vendor Acceptance Level
------------------------------- ------ ----------------
DellEMC-ESXi-6.7U3-16316930-A06 Dell PartnerSupported
Perform the update based on the echo'd profile (this will begin the update):
esxcli software profile update -d /vmfs/volumes/bdcfsdsdsd/Utilities/VMware-VMvisor-Installer-6.7.0.update03-16316930.x86_64-DellEMC_Customized-A06.zip -p DellEMC-ESXi-6.7U3-16316930-A06
-p
is the argument value returned from step 6.
Once complete, the terminal will echo all of the packages updated and the following phrase:
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
Reboot the hypervisor and the update will be complete. reboot command via CLI, or do so from the GUI by right-clicking the host > Power > Reboot
After reboot, check the running version
vmware -vl
Head back into vCenter and make sure SSH is turned off, on the host