You can skip hosts while applying an ESXi update to the management domain or a VI workload domain. The skipped hosts are not updated.
Procedure
- Using SSH, log in to the SDDC Manager VM with the user name vcf and password you specified in the deployment parameter sheet.
- Type su to switch to the root account.
- Retrieve the host IDs for the hosts you want to skip.
curl 'https://SDDC_MANAGER_IP/v1/hosts' -i -u 'username:password' -X GET -H 'Accept: application/json' |json_pp
Replace the SDDC Manager IP address, user name, and password with the information for your environment. - Copy the ids for the hosts you want to skip from the output. For example:
... "fqdn" : "esxi-2.vrack.vsphere.local", "esxiVersion" : "6.7.0-16075168", "hardwareVendor" : "VMware, Inc.", "cpu" : { "cpuCores" : [ { "model" : "intel", "frequencyMHz" : 2394.375, "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz " }, { "frequencyMHz" : 2394.375, "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "model" : "intel" }, { "model" : "intel", "frequencyMHz" : 2394.375, "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz " }, { "model" : "intel", "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "frequencyMHz" : 2394.375 }, { "model" : "intel", "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "frequencyMHz" : 2394.375 }, { "frequencyMHz" : 2394.375, "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "model" : "intel" }, { "frequencyMHz" : 2394.375, "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "model" : "intel" }, { "model" : "intel", "manufacturer" : "Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz ", "frequencyMHz" : 2394.375 } ], "frequencyMHz" : 19155, "usedFrequencyMHz" : 1892, "cores" : 8 }, "physicalNics" : [ { "deviceName" : "vmnic0", "macAddress" : "00:50:56:a1:cf:47" }, { "deviceName" : "vmnic1", "macAddress" : "00:50:56:a1:8b:71" } ], "bundleRepoDatastore" : "lcm-bundle-repo", "hybrid" : false, "memory" : { "totalCapacityMB" : 79995.421875, "usedCapacityMB" : 22571 }, "id" : "b318fe37-f9a8-48b6-8815-43aae5131b94", ...
In this case, the id foresxi-2.vrack.vsphere.local
isb318fe37-f9a8-48b6-8815-43aae5131b94
. - Open the /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties file.
- At the end of the file, add the following line:
esx.upgrade.skip.host.ids= host id1 , host id2Replace host id1 and any other host ids with the information from step 4.
- Save and close the file.
- Restart the LCM server by typing the following command in the console window:
systemctl restart lcm
Results
The hosts added to the application-prod.properties are not updated when you update the workload domain.