Sub-Task: Validate Impact for Edge Cluster on ESXi Host DeletionProgress Message: Cannot proceed, removing host(s) <Host_FQDN> hosting <Number_of_hosts_in_Cluster> Edge node(s) for Edge cluster <Cluster_Name>. Remaining <Number_Remaining_hosts>host(s) is not sufficient. Since Edge cluster <Cluster_Name> requires a minimum of <Number_of_required_Hosts> host(s)Description : "Validate Sufficient ESXi Hosts Remain in vSphere Cluster".Progress Message : "Hosts count after removal is -2 below the threshold, with force flag set to true"
VCF 5.x
"Validate Impact for Edge Cluster"- exists to ensure that the Edge node architecture that REMAINS, once the host is removed, is sufficient to ensure full network connectivity and network-load handling.To resolve this issue, implement the host removal operation using Public API rather that using the UI and ensure the "forceByPassingSafeMinSize" parameter value is set to "true". Following steps need to be performed to achieve this:
GET /v1/clusters
GET /v1/hostsPATCH /v1/clusters/{id} Use the following "CompactionSpec" information in the body. Enter the Host ID in the CompactionSpec information. {
"clusterCompactionSpec": { "forceByPassingSafeMinSize": true, "hosts": [ { "id": "##########################" } ] } }
Refer to the following snippet for a detailed view.
Prerequisites: