You can skip hosts while applying an ESXi update to the management domain or a VI workload domain. The skipped hosts are not updated.
Please be aware that this will not work for hosts that are part of a VI workload domain which is using vSphere Lifecycle Manager Images, because these hosts are updated on cluster level rather than host level.
Note : Please take a snapshot of the sddc manager beforehand.
vcf user.su to switch to the root account.# curl 'https://SDDC_MANAGER_IP/v1/hosts' -i -u 'username:password' -X GET -H 'Accept: application/json' | json_pp
...
"fqdn" : "<host_fqdn>",
"esxiVersion" : "8.0-24585383",
"id" : "##################",
...
/opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties file:
# vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
esx.upgrade.skip.host.ids=hostid1,hostid2
hostid1, hostid2 etc. against the IDs copied in step 4.:wq
application-prod.properties file is vcf_lcm:vcf# opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
The hosts added to the application-prod.properties are not updated when you update the workload domain.