TL;DR: If you maintain VMware Cloud Foundation at scale, mapping clusters to custom ESXi ISOs by hand doesn’t scale. This post introduces a script that discovers your inventory, lets you pick an ESXi bundle, maps clusters to the right ISO (per‑vendor or per‑cluster), handles mixed‑vendor clusters by skipping non‑selected hosts, writes the JSON spec, and updates LCM properties and optionally restarts the LCM service for you.
Note: This script only works for vLCM Baseline/VUM mode clusters
Why this matters
SDDC Manager supports custom ESXi ISOs for patching/upgrades by pointing LCM at a JSON mapping (Bundle → Cluster → ISO) and setting a property in application-prod.properties
. That’s fine for a handful of clusters. But with multiple domains, hundreds of clusters, and mixed hardware vendors, the manual workflow becomes slow and error‑prone.

What the script does
- Discovers inventory (domains, clusters, hosts) from SDDC Manager API.
- Lists ESXi bundles (
GET /v1/bundles?productType=ESX
) and lets you pick one. - Lets you choose single ISO per vendor or per‑cluster ISO with cluster context in the prompt.
- For mixed‑vendor clusters, you choose which vendor to upgrade; other vendor hosts are added to skip list.
- Multiple ISOs cannot be mapped to a single cluster, a cluster with two vendors will have to be upgraded twice, once per vendor.
- With mixed-vendor clusters, the hosts that are not mapped to a custom ISO will be skipped.
- Generates
generated_custom_iso_spec.json
withesxCustomImageSpecList
entries per cluster. - Updates LCM properties:
lcm.esx.upgrade.custom.image.spec=<absolute_path_to_generated_custom_iso_spec.json>
esx.upgrade.skip.host.ids=<comma-separated-host-ids>
(only when applicable)
- Prints a summary per vendor and an optional LCM restart prompt.
Requirements
- VUM/vLCM Baseline mode. vLCM Image mode is not supported.
- Run on SDDC Manager as root.
- Valid SSO credentials with permission to obtain a token.
- ISO files are present on disk and readable (e.g.
/nfs/vmware/vcf/nfs-mount/isos/*.iso
).
Mixed‑vendor handling
What if my cluster has 3 Dell + 1 HPE host?
You choose Dell → the single HPE host is added to esx.upgrade.skip.host.ids
. The console prints each skipped host as:
Hosts that will be skipped are:
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
If you choose HPE → the three Dell hosts are added to esx.upgrade.skip.host.ids
. The console output would be:
Hosts that will be skipped are:
– esxi-2.vrack.vsphere.local (Dell) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (Dell) in domain MGMT, cluster SDDC-Cluster1
– esxi-4.vrack.vsphere.local (Dell) in domain MGMT, cluster SDDC-Cluster1
Clusters with multiple vendors will need to be updated multiple times
Usage
Help
python custom-cluster-with-domain.py -h
usage: cluster-iso-mapping.py [-h] [-a] [-d ]
VMware Cloud Foundation – Generate custom ISO spec for ESXi cluster upgrades
*** Note that this script only works for VUM/vLCM Baseline clusters. ***
options:
-h, --help show this help message and exit
-a, --all Automatically include all clusters in all domains
-d <domain name>, --domain <domain name>
Comma-separated domain name(s) to limit selection (works with --all or interactive mode)
-a, --all
select all clusters (optionally scope with--domain
).-d, --domain domain
— comma-separated domain names, e.g.--domain MGMT,sfo-w01
(works in both modes).
Typical runs
Interactive across all domains (default)
python cluster-iso-mapping.py
- Prompts you to select domains, then lists clusters to pick.
Interactive for specific domains
python cluster-iso-mapping.py --domain MGMT,sfo-w01
- Only clusters from MGMT and sfo-w01 domains are offered.
All clusters across all domains
python cluster-iso-mapping.py --all
- Selects every cluster in every domain
All clusters for specific domains
python cluster-iso-mapping.py --all --domain MGMT,sfo-w01
- Selects every cluster only in the listed domains
Examples
In my environment, I have 6 workload domains (Management + 5 VI WLDs). Each VI WLD has 10 clusters with 10 hosts each.
I can also query the environment to see a list of vendors associated with each domain and each cluster.


Code Examples
Interactive across all domains, single iso per vendor
python cluster-iso-mapping.py
NOTE: Previous changes may be overwritten
Are you sure you want to run this script? (y/n): y
Enter SSO User: administrator@vsphere.local
Enter SSO Password:
Default path where custom iso spec will be saved is /opt/vmware/vcf/lcm/
Do you want to use a different path? (y/n): n
Available ESX bundles:
1) Bundle ID: d5e588e7-25e5-47ae-b9bc-49c1e80b9354, upgrade to ESX version: 8.0.3-24859861
2) Bundle ID: 4dfe77cb-eb8c-4aad-a3da-1c9c7fdc7851, upgrade to ESX version: 8.0.3-24784735
Choose bundle [1-2]: 2
Do you want to provide a single iso for each vendor? (y/n): y
Available domains:
1) sfo-w01
2) sfo-w02
3) sfo-w03
4) sfo-w04
5) sfo-w05
6) MGMT
Select domains by number (comma-separated) or type ALL: ALL
1) sfo-w01-cluster01 (0ff829e0-0faf-4216-aea9-a12d4545fd39) in sfo-w01
2) sfo-w01-cluster02 (19a30e28-9c5a-49f4-a4fd-27b3c52614d1) in sfo-w01
3) sfo-w01-cluster03 (395bea55-bed1-4573-bc54-7d0561fbcbb3) in sfo-w01
4) sfo-w01-cluster04 (4865dc8c-692f-48e1-9593-ffba5fd2cf2e) in sfo-w01
5) sfo-w01-cluster05 (ae7a1d54-a4db-4fb5-ace7-2df4d198eeb4) in sfo-w01
6) sfo-w01-cluster06 (bf2e90fb-3cef-443f-b66f-a286f9ac53dd) in sfo-w01
7) sfo-w01-cluster07 (bfacf974-1fd4-4b31-b7f3-fe4edc366103) in sfo-w01
8) sfo-w01-cluster08 (c0af6316-6a26-49fa-a01b-6a6eee6448ab) in sfo-w01
9) sfo-w01-cluster09 (e629c593-c123-4d10-9b8a-2f7a476f17fd) in sfo-w01
10) sfo-w01-cluster10 (f66a12d0-2215-4bfa-8410-b83cc9329975) in sfo-w01
11) sfo-w02-cluster03 (12734e1d-9c72-44b9-a027-19e9681228aa) in sfo-w02
12) sfo-w02-cluster07 (e0c76e6e-5e67-4214-9351-0aff3e59d20d) in sfo-w02
13) sfo-w02-cluster08 (e526184d-5e40-4823-836b-fa32c1655d8d) in sfo-w02
14) sfo-w02-cluster10 (f02951fc-b517-43e5-b90d-bf793655f520) in sfo-w02
15) sfo-w02-cluster01 (0a1ffca8-9b32-47a8-8027-d126cf7c581a) in sfo-w02
16) sfo-w02-cluster02 (0d9e91f7-f2a4-4f00-93a0-45d7aac65a83) in sfo-w02
17) sfo-w02-cluster04 (69eb47b3-3614-4dd6-9c43-07743fef4538) in sfo-w02
18) sfo-w02-cluster05 (7762590e-1887-4077-849e-1670130c4bb2) in sfo-w02
19) sfo-w02-cluster06 (a3addba2-6db0-40a5-b6be-5ab7f99e699b) in sfo-w02
20) sfo-w02-cluster09 (eb7164ba-4420-46e8-8514-62f623377c52) in sfo-w02
21) sfo-w03-cluster04 (8f58662c-87c5-47cb-bf13-f81978c53270) in sfo-w03
22) sfo-w03-cluster05 (bbb8c551-5d9c-4c2e-88ec-3a7207bc2333) in sfo-w03
23) sfo-w03-cluster06 (c456c55b-115d-49a0-8062-c2c844134f1e) in sfo-w03
24) sfo-w03-cluster01 (336d2933-797b-4782-87ed-4ff6dce9b53f) in sfo-w03
25) sfo-w03-cluster02 (433105b0-43e6-42ed-a765-e6f70bf11d7d) in sfo-w03
26) sfo-w03-cluster07 (d768f12d-3644-44e8-afa2-366f8a3588d8) in sfo-w03
27) sfo-w03-cluster03 (4c781c42-e4c8-45d6-95be-48fc0e6a5139) in sfo-w03
28) sfo-w03-cluster08 (ddd02e65-04c6-48e0-b3aa-74cad002cd12) in sfo-w03
29) sfo-w03-cluster09 (ddf8869e-0959-4dff-899f-65a5ac6cb17e) in sfo-w03
30) sfo-w03-cluster10 (fed77e9d-0c95-4303-bdf9-e3ba6752c842) in sfo-w03
31) sfo-w04-cluster01 (357a9f0b-85d3-4ea6-ac49-f0244414b32f) in sfo-w04
32) sfo-w04-cluster02 (358becc6-e2f3-4b87-ac2d-4e5fc09b0fe8) in sfo-w04
33) sfo-w04-cluster03 (3d9b8d24-c99c-4b2d-9c30-1ea6e6ee2379) in sfo-w04
34) sfo-w04-cluster04 (5aaab881-70c3-4e37-bdba-bb42a6a13724) in sfo-w04
35) sfo-w04-cluster05 (80eecaa2-049a-4e6c-9c29-e53803b1faab) in sfo-w04
36) sfo-w04-cluster06 (94f25a09-bd99-4ca5-8b4c-40254f17e31d) in sfo-w04
37) sfo-w04-cluster07 (afbf7e00-487b-4bdc-ac14-5adba70af29c) in sfo-w04
38) sfo-w04-cluster08 (ba46d0e9-0ce4-45b8-93b2-ac90393aa3eb) in sfo-w04
39) sfo-w04-cluster09 (f8a49d78-2680-49e2-920c-e2e8ae11ac11) in sfo-w04
40) sfo-w04-cluster10 (fe12366a-e64a-486f-b252-cf7181e0b62e) in sfo-w04
41) sfo-w05-cluster02 (7e582e4f-117b-498a-96e1-eba15dff7829) in sfo-w05
42) sfo-w05-cluster03 (7eb7384d-ba0d-425d-9ed0-3f475f844a58) in sfo-w05
43) sfo-w05-cluster04 (9172d6cc-38ed-418a-8c45-850befd1b5b0) in sfo-w05
44) sfo-w05-cluster05 (972b8216-acd4-42e1-954f-b1b3faf04562) in sfo-w05
45) sfo-w05-cluster06 (986c59a6-b241-45c7-a0b7-4a2f0964ad97) in sfo-w05
46) sfo-w05-cluster07 (aa757c70-3ce3-484e-8835-529ade5d3580) in sfo-w05
47) sfo-w05-cluster08 (b60ddf80-3bf6-43f3-9670-ef4ec71e4125) in sfo-w05
48) sfo-w05-cluster10 (dda647e2-ad96-4a7a-947d-2b1ec26023d6) in sfo-w05
49) sfo-w05-cluster09 (c75c8a3c-ca1b-4bc6-a413-0455c3941ff7) in sfo-w05
50) sfo-w05-cluster01 (4b28d24e-96bd-4599-b912-4f1921de0384) in sfo-w05
51) SDDC-Cluster1 (16be60bd-1c20-47b5-85d4-beed5c1dd91e) in MGMT
Comma-separated cluster indices, IDs, or names (or ALL): 51,4,12,1
Cluster SDDC-Cluster1 has vendors {‘VMware, Inc.’, ‘HPE’}. Choose one: VMware, Inc.
NOTE: This Custom ISO will be used for all selected clusters with VMware, Inc. as vendor
Enter path for VMware, Inc. ISO: /nfs/vmware/vcf/nfs-mount/isos/vmware.iso
Cluster sfo-w01-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: HPE
NOTE: This Custom ISO will be used for all selected clusters with HPE as vendor
Enter path for HPE ISO: /nfs/vmware/vcf/nfs-mount/isos/hpe.iso
NOTE: This Custom ISO will be used for all selected clusters with Dell as vendor
Enter path for Dell ISO: /nfs/vmware/vcf/nfs-mount/isos/dell.iso
Successfully updated /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties with custom ISO spec location
Successfully updated skip hosts in LCM properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Hosts that will be skipped are:
– esxi-2.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– sfo-w01-esx41.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx42.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx43.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx44.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx45.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
Custom ISO spec generated at /opt/vmware/vcf/lcm/generated_custom_iso_spec.json
Summary: 1 VMware, Inc. clusters, 2 HPE clusters, 1 Dell clusters have been added to custom ISO spec
Restart LCM service now? (y/n): y
Restarting LCM service…
Waiting for service to start…
LCM service restarted
NOTE: PRIOR TO RUNNING THE UPGRADE, PLEASE RUN UPGRADE PRECHECK AND ENSURE IT PASSES
Interactive limited to specific domains, single iso per vendor
python cluster-iso-mapping.py --domain MGMT,sfo-w01
NOTE: Previous changes may be overwritten
Are you sure you want to run this script? (y/n): y
Enter SSO User: administrator@vsphere.local
Enter SSO Password:
Default path where custom iso spec will be saved is /opt/vmware/vcf/lcm/
Do you want to use a different path? (y/n): n
Available ESX bundles:
1) Bundle ID: d5e588e7-25e5-47ae-b9bc-49c1e80b9354, upgrade to ESX version: 8.0.3-24859861
2) Bundle ID: 4dfe77cb-eb8c-4aad-a3da-1c9c7fdc7851, upgrade to ESX version: 8.0.3-24784735
Choose bundle [1-2]: 2
Do you want to provide a single iso for each vendor? (y/n): y
1) SDDC-Cluster1 (16be60bd-1c20-47b5-85d4-beed5c1dd91e) in MGMT
2) sfo-w01-cluster01 (0ff829e0-0faf-4216-aea9-a12d4545fd39) in sfo-w01
3) sfo-w01-cluster02 (19a30e28-9c5a-49f4-a4fd-27b3c52614d1) in sfo-w01
4) sfo-w01-cluster03 (395bea55-bed1-4573-bc54-7d0561fbcbb3) in sfo-w01
5) sfo-w01-cluster04 (4865dc8c-692f-48e1-9593-ffba5fd2cf2e) in sfo-w01
6) sfo-w01-cluster05 (ae7a1d54-a4db-4fb5-ace7-2df4d198eeb4) in sfo-w01
7) sfo-w01-cluster06 (bf2e90fb-3cef-443f-b66f-a286f9ac53dd) in sfo-w01
8) sfo-w01-cluster07 (bfacf974-1fd4-4b31-b7f3-fe4edc366103) in sfo-w01
9) sfo-w01-cluster08 (c0af6316-6a26-49fa-a01b-6a6eee6448ab) in sfo-w01
10) sfo-w01-cluster09 (e629c593-c123-4d10-9b8a-2f7a476f17fd) in sfo-w01
11) sfo-w01-cluster10 (f66a12d0-2215-4bfa-8410-b83cc9329975) in sfo-w01
Comma-separated cluster indices, IDs, or names (or ALL): 1,2,3,4
Cluster SDDC-Cluster1 has vendors {‘HPE’, ‘VMware, Inc.’}. Choose one: VMware, Inc.
NOTE: This Custom ISO will be used for all selected clusters with VMware, Inc. as vendor
Enter path for VMware, Inc. ISO: /nfs/vmware/vcf/nfs-mount/isos/vmware.iso
NOTE: This Custom ISO will be used for all selected clusters with HPE as vendor
Enter path for HPE ISO: /nfs/vmware/vcf/nfs-mount/isos/hpe.iso
Successfully updated /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties with custom ISO spec location
Successfully updated skip hosts in LCM properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Hosts that will be skipped are:
– esxi-2.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
Custom ISO spec generated at /opt/vmware/vcf/lcm/generated_custom_iso_spec.json
Summary: 1 VMware, Inc. clusters, 3 HPE clusters have been added to custom ISO spec
Restart LCM service now? (y/n): y
Restarting LCM service…
Waiting for service to start…
LCM service restarted
NOTE: PRIOR TO RUNNING THE UPGRADE, PLEASE RUN UPGRADE PRECHECK AND ENSURE IT PASSES
All clusters across all domains, single iso per vendor
python cluster-iso-mapping.py --all
NOTE: Previous changes may be overwritten
Are you sure you want to run this script? (y/n): y
Enter SSO User: administrator@vsphere.local
Enter SSO Password:
Default path where custom iso spec will be saved is /opt/vmware/vcf/lcm/
Do you want to use a different path? (y/n): n
Available ESX bundles:
1) Bundle ID: d5e588e7-25e5-47ae-b9bc-49c1e80b9354, upgrade to ESX version: 8.0.3-24859861
2) Bundle ID: 4dfe77cb-eb8c-4aad-a3da-1c9c7fdc7851, upgrade to ESX version: 8.0.3-24784735
Choose bundle [1-2]: 2
Do you want to provide a single iso for each vendor? (y/n): y
‘--all’ flag used. Selecting all clusters in domains: sfo-w01, sfo-w02, sfo-w03, sfo-w04, sfo-w05, MGMT
NOTE: This Custom ISO will be used for all selected clusters with HPE as vendor
Enter path for HPE ISO: /nfs/vmware/vcf/nfs-mount/isos/hpe.iso
Cluster sfo-w01-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: HPE
NOTE: This Custom ISO will be used for all selected clusters with Dell as vendor
Enter path for Dell ISO: /nfs/vmware/vcf/nfs-mount/isos/dell.iso
Cluster sfo-w02-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: Dell
Cluster sfo-w03-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: Dell
Cluster sfo-w04-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: HPE
Cluster sfo-w05-cluster04 has vendors {‘HPE’, ‘Dell’}. Choose one: HPE
Cluster SDDC-Cluster1 has vendors {‘HPE’, ‘VMware, Inc.’}. Choose one: VMware, Inc.
NOTE: This Custom ISO will be used for all selected clusters with VMware, Inc. as vendor
Enter path for VMware, Inc. ISO: /nfs/vmware/vcf/nfs-mount/isos/vmware.iso
Successfully updated /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties with custom ISO spec location
Successfully updated skip hosts in LCM properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Hosts that will be skipped are:
– sfo-w01-esx41.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx42.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx43.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx44.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx45.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w02-esx40.vrack.vsphere.local (HPE) in domain sfo-w02, cluster sfo-w02-cluster04
– sfo-w02-esx46.vrack.vsphere.local (HPE) in domain sfo-w02, cluster sfo-w02-cluster04
– sfo-w02-esx47.vrack.vsphere.local (HPE) in domain sfo-w02, cluster sfo-w02-cluster04
– sfo-w02-esx48.vrack.vsphere.local (HPE) in domain sfo-w02, cluster sfo-w02-cluster04
– sfo-w02-esx49.vrack.vsphere.local (HPE) in domain sfo-w02, cluster sfo-w02-cluster04
– sfo-w03-esx40.vrack.vsphere.local (HPE) in domain sfo-w03, cluster sfo-w03-cluster04
– sfo-w03-esx46.vrack.vsphere.local (HPE) in domain sfo-w03, cluster sfo-w03-cluster04
– sfo-w03-esx47.vrack.vsphere.local (HPE) in domain sfo-w03, cluster sfo-w03-cluster04
– sfo-w03-esx48.vrack.vsphere.local (HPE) in domain sfo-w03, cluster sfo-w03-cluster04
– sfo-w03-esx49.vrack.vsphere.local (HPE) in domain sfo-w03, cluster sfo-w03-cluster04
– sfo-w04-esx41.vrack.vsphere.local (Dell) in domain sfo-w04, cluster sfo-w04-cluster04
– sfo-w04-esx42.vrack.vsphere.local (Dell) in domain sfo-w04, cluster sfo-w04-cluster04
– sfo-w04-esx43.vrack.vsphere.local (Dell) in domain sfo-w04, cluster sfo-w04-cluster04
– sfo-w04-esx44.vrack.vsphere.local (Dell) in domain sfo-w04, cluster sfo-w04-cluster04
– sfo-w04-esx45.vrack.vsphere.local (Dell) in domain sfo-w04, cluster sfo-w04-cluster04
– sfo-w05-esx41.vrack.vsphere.local (Dell) in domain sfo-w05, cluster sfo-w05-cluster04
– sfo-w05-esx42.vrack.vsphere.local (Dell) in domain sfo-w05, cluster sfo-w05-cluster04
– sfo-w05-esx43.vrack.vsphere.local (Dell) in domain sfo-w05, cluster sfo-w05-cluster04
– sfo-w05-esx44.vrack.vsphere.local (Dell) in domain sfo-w05, cluster sfo-w05-cluster04
– sfo-w05-esx45.vrack.vsphere.local (Dell) in domain sfo-w05, cluster sfo-w05-cluster04
– esxi-2.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
Custom ISO spec generated at /opt/vmware/vcf/lcm/generated_custom_iso_spec.json
Summary: 18 HPE clusters, 32 Dell clusters, 1 VMware, Inc. clusters have been added to custom ISO spec
Restart LCM service now? (y/n): y
Restarting LCM service…
Waiting for service to start…
LCM service restarted
NOTE: PRIOR TO RUNNING THE UPGRADE, PLEASE RUN UPGRADE PRECHECK AND ENSURE IT PASSES
All clusters, limited to specific domains, single iso per vendor
python cluster-iso-mapping.py --all --domain MGMT,sfo-w01
NOTE: Previous changes may be overwritten
Are you sure you want to run this script? (y/n): y
Enter SSO User: administrator@vsphere.local
Enter SSO Password:
Default path where custom iso spec will be saved is /opt/vmware/vcf/lcm/
Do you want to use a different path? (y/n): n
Available ESX bundles:
1) Bundle ID: d5e588e7-25e5-47ae-b9bc-49c1e80b9354, upgrade to ESX version: 8.0.3-24859861
2) Bundle ID: 4dfe77cb-eb8c-4aad-a3da-1c9c7fdc7851, upgrade to ESX version: 8.0.3-24784735
Choose bundle [1-2]: 2
Do you want to provide a single iso for each vendor? (y/n): y
‘--all’ flag used. Selecting all clusters in domains: MGMT, sfo-w01
Cluster SDDC-Cluster1 has vendors {‘VMware, Inc.’, ‘HPE’}. Choose one: VMware, Inc.
NOTE: This Custom ISO will be used for all selected clusters with VMware, Inc. as vendor
Enter path for VMware, Inc. ISO: /nfs/vmware/vcf/nfs-mount/isos/vmware.iso
NOTE: This Custom ISO will be used for all selected clusters with HPE as vendor
Enter path for HPE ISO: /nfs/vmware/vcf/nfs-mount/isos/hpe.iso
Cluster sfo-w01-cluster04 has vendors {‘Dell’, ‘HPE’}. Choose one: HPE
NOTE: This Custom ISO will be used for all selected clusters with Dell as vendor
Enter path for Dell ISO: /nfs/vmware/vcf/nfs-mount/isos/dell.iso
Successfully updated /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties with custom ISO spec location
Successfully updated skip hosts in LCM properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Hosts that will be skipped are:
– esxi-2.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– sfo-w01-esx41.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx42.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx43.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx44.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
– sfo-w01-esx45.vrack.vsphere.local (Dell) in domain sfo-w01, cluster sfo-w01-cluster04
Custom ISO spec generated at /opt/vmware/vcf/lcm/generated_custom_iso_spec.json
Summary: 1 VMware, Inc. clusters, 4 HPE clusters, 6 Dell clusters have been added to custom ISO spec
Restart LCM service now? (y/n): y
Restarting LCM service…
Waiting for service to start…
LCM service restarted
NOTE: PRIOR TO RUNNING THE UPGRADE, PLEASE RUN UPGRADE PRECHECK AND ENSURE IT PASSES
Interactive, limited to specific domains, multiple iso per vendor
python cluster-iso-mapping.py --domain MGMT,sfo-w01
NOTE: Previous changes may be overwritten
Are you sure you want to run this script? (y/n): y
Enter SSO User: administrator@vsphere.local
Enter SSO Password:
Default path where custom iso spec will be saved is /opt/vmware/vcf/lcm/
Do you want to use a different path? (y/n): n
Available ESX bundles:
1) Bundle ID: d5e588e7-25e5-47ae-b9bc-49c1e80b9354, upgrade to ESX version: 8.0.3-24859861
2) Bundle ID: 4dfe77cb-eb8c-4aad-a3da-1c9c7fdc7851, upgrade to ESX version: 8.0.3-24784735
Choose bundle [1-2]: 2
Do you want to provide a single iso for each vendor? (y/n): n
1) SDDC-Cluster1 (16be60bd-1c20-47b5-85d4-beed5c1dd91e) in MGMT
2) sfo-w01-cluster01 (0ff829e0-0faf-4216-aea9-a12d4545fd39) in sfo-w01
3) sfo-w01-cluster02 (19a30e28-9c5a-49f4-a4fd-27b3c52614d1) in sfo-w01
4) sfo-w01-cluster03 (395bea55-bed1-4573-bc54-7d0561fbcbb3) in sfo-w01
5) sfo-w01-cluster04 (4865dc8c-692f-48e1-9593-ffba5fd2cf2e) in sfo-w01
6) sfo-w01-cluster05 (ae7a1d54-a4db-4fb5-ace7-2df4d198eeb4) in sfo-w01
7) sfo-w01-cluster06 (bf2e90fb-3cef-443f-b66f-a286f9ac53dd) in sfo-w01
8) sfo-w01-cluster07 (bfacf974-1fd4-4b31-b7f3-fe4edc366103) in sfo-w01
9) sfo-w01-cluster08 (c0af6316-6a26-49fa-a01b-6a6eee6448ab) in sfo-w01
10) sfo-w01-cluster09 (e629c593-c123-4d10-9b8a-2f7a476f17fd) in sfo-w01
11) sfo-w01-cluster10 (f66a12d0-2215-4bfa-8410-b83cc9329975) in sfo-w01
Comma-separated cluster indices, IDs, or names (or ALL): 1,2,3,4
Cluster SDDC-Cluster1 has vendors {‘VMware, Inc.’, ‘HPE’}. Choose one: VMware, Inc.
Enter path for VMware, Inc. ISO (for cluster SDDC-Cluster1): /nfs/vmware/vcf/nfs-mount/isos/vmware.iso
Enter path for HPE ISO (for cluster sfo-w01-cluster01): /nfs/vmware/vcf/nfs-mount/isos/hpe.iso
Enter path for HPE ISO (for cluster sfo-w01-cluster02): /nfs/vmware/vcf/nfs-mount/isos/hpe2.iso
Enter path for HPE ISO (for cluster sfo-w01-cluster03): /nfs/vmware/vcf/nfs-mount/isos/hpe3.iso
Successfully updated /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties with custom ISO spec location
Successfully updated skip hosts in LCM properties file located at /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Hosts that will be skipped are:
– esxi-2.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-3.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
– esxi-1.vrack.vsphere.local (HPE) in domain MGMT, cluster SDDC-Cluster1
Custom ISO spec generated at /opt/vmware/vcf/lcm/generated_custom_iso_spec.json
Summary: 1 VMware, Inc. clusters, 3 HPE clusters have been added to custom ISO spec
Restart LCM service now? (y/n): y
Restarting LCM service…
Waiting for service to start…
LCM service restarted
NOTE: PRIOR TO RUNNING THE UPGRADE, PLEASE RUN UPGRADE PRECHECK AND ENSURE IT PASSES
Leave a Reply