You can upgrade ESXi with a custom ISO from your vendor. This feature is available for VMware Cloud Foundation version 3.5.1 and later.
Prerequisites
Download the appropriate vendor-specific ISO on a computer with internet access.
Procedure
- Download the ESXi upgrade bundle. See Download Bundles from SDDC Manager.
- Using SSH, log in to the SDDC Manager VM.
- Create a directory for the vendor ISO under the /nfs/vmware/vcf/nfs-mount directory. For example, /nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries.
- Copy the vendor-specific ISO to the directory you created on the SDDC Manager VM. For example, you can copy the ISO to the /nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries directory.
- Change permissions on the directory where you copied the ISO. For example,
chmod -R 775 /nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries/
- Change owner to vcf.
chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries/
- Create an ESX custom image JSON using the following template.
{ "esxCustomImageSpecList": [{ "bundleId": "ID", "targetEsxVersion": "version", "useVcfBundle": false, "customIsoAbsolutePath": "Path_to_ISO" }] }
whereParameter Description and Example Value bundleId ID of the ESXi upgrade bundle you downloaded. You can retrieve the bundle ID by navigating to the Repository > Bundles page and clicking View Details to view the bundle ID. For example, 8c0de63d-b522-4db8-be6c-f1e0ab7ef554.Note: If an incorrect bundle ID is provided, the upgrade will proceed with the VMware Cloud Foundation stock ISO and replace the custom VIBs in your environment with the stock VIBs.targetEsxVersion ESXi version in the custom image to be applied. useVcfBundle Specifies whether the VMware Cloud Foundation ESXi bundle is to be used for the upgrade. Note: If you want to upgrade with a custom ISO image, ensure that this is set to false.customIsoAbsolutePath Path to the custom ISO file on the SDDC Manager VM. For example, /nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries/ VMware-ESXi-6.7.0-Update1-10302608-HPE-Gen9plus-670.U1.10.3.5.12-Oct2018.iso Here is an example of a completed JSON template.
{ "esxCustomImageSpecList": [{ "bundleId": "8c0de63d-b522-4db8-be6c-f1e0ab7ef554", "targetEsxVersion": "6.7.0-10302608", "useVcfBundle": false, "customIsoAbsolutePath": "/nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries/VMware-ESXi-6.7.0-Update1-10302608-HPE-Gen9plus-670.U1.10.3.5.12-Oct2018.iso" }] }
- Save the JSON file as esx-custom-image-upgrade-spec.json in the /nfs/vmware/vcf/nfs-mount.
Note: If the JSON file is not saved in the correct directory, the stock VMware Cloud Foundation ISO is used for the upgrade and the custom VIBs are overwritten.
- Set the correct permissions on the /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json file:
chmod -R 775 /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json
chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json
- Open the /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties file.
- In the lcm.esx.upgrade.custom.image.spec= parameter, add the path to the JSON file.
For example, lcm.esx.upgrade.custom.image.spec=/nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json
- On the SDDC Manager Dashboard, click Inventory > Workload Domains.
- Click the management domain and then click Updates/Patches.
- Schedule the ESXi upgrade bundle.
- Monitor the upgrade progress. See Monitor Updates.
- After the upgrade is complete, confirm the ESXi version by clicking Current Versions. The ESXi hosts table displays the current ESXi version.