The status of host was showing as 'Install Failed' in NSX-T UI for vLCM cluster.
The error received for install failed was:
Checked port connectivity for ports 1234, 1235,443,9087 between host and manager and vice-versa and it was showing as succeeded.
Also in the packet captures performed on ESXi host's uplink it was seen that TCP three-way handshake was getting completed.
Environment
VMware NSX
Cause
After involving physical network firewall team, the layer 7 SSL rules for port 1234 and 1235 were blocked between ESXi hosts and NSX managers.
Resolution
Engage physical network firewall team to allow ports i.e.,1234 and 1235 between ESXi host and NSX managers post which the host preparation for NSX was successful.
Reconfigure NSX on all the affected ESXi hosts in NSX-T ui.