ESXi host is in 'Host Disconnected' state or fails to prepare for NSX and is in state "Install Failed" at step "Waiting for connection to Managers".
book
Article ID: 433506
calendar_today
Updated On:
Products
VMware NSXVMware vSphere ESXi
Issue/Introduction
ESXi host fails to prepare for NSX and ends in state "Install Failed" or is in "Host Disconnected" state.
If "Install Failed" is clicked, the Installation Progress is failed at "Waiting for connection to Managers".
The APH-TN certificates are found to be expired.
Environment
VMware NSX
Cause
This issue is caused by the NSX Managers' APH_TN certificate being expired. The expired certificate causes the ESX hosts to fail to establish an SSL session to ports 1234 and 1235 during host preparation.
Resolution
Option 1 (Preferred)
Use the CARR script to regenerate self-signed APH_TN certificates.
Identify NSX Manager thumbprint, SSH as admin user to NSX Manager.
get certificate api thumbprint
Sync the new APH_TN certificate on the ESXi host transport node.
nsxcli -c sync-aph-certificates <Same Manager FQDN or IP as SSH'd to in step 3> username admin thumbprint <thumbprint from step 3>
If the Transport Node status still reflects an error, it is sometimes necessary to restart the nsx-proxy and nsx-opsagent on the Transport Node to restore this connection.