Connection between host (<ESXi FQDN>, <UUID>) and NSX Controller is UNKNOWN. Response : [] Connection between host (<ESXi FQDN>, <UUID>) and NSX Manager is DOWN. Please restore connection before continuing. Response : Client has not responded to {2} consecutive heartbeats. Port {1234} between Host to NSX Manager must be open, Please check underlay physical firewalls and host hypervisor firewalls for troubleshooting.
As root user:
# nsxcli -c get managers
192.168.1.1 Standby (NSX-RPC)192.168.1.2 Standby (NSX-RPC)192.168.1.3 Standby (NSX-RPC) *Expected status: all 3 Managers in a "Connected" state# get controllers Controller IP Port SSL Status Is Physical Master Session State Controller FQDN Failure Reason 192.168.1.1 1235 enabled disconnected true up NA NA 192.168.1.2 1235 enabled not used true up NA NA 192.168.1.3 1235 enabled not used true up NA NA
Expected status: one controller all 3 Managers in a "Connected" state
Established state:# esxcli network ip connection list | grep 1234tcp 0 0 192.168.1.100:<port> 192.168.1.1:1234 CLOSE_WAIT 2101584 newreno nsx-proxytcp 0 0 192.168.1.100:<port> 192.168.1.2:1234 CLOSE_WAIT 2101584 newreno nsx-proxytcp 0 0 192.168.1.100:<port> 192.168.1.3:1234 CLOSE_WAIT 2101584 newreno nsx-proxy
# esxcli network ip connection list | grep 1235tcp 0 0 192.168.1.100:<port> 192.168.1.1:1235 CLOSE_WAIT 2101584 newreno nsx-proxy
NOTE: In rare cases some of the above symptoms may be expected if a partial uninstall has been performed i.e. the ESX has been force removed from NSX UI with no uninstall performed on the ESX.
VMware NSX
NSX requires ports 1234 and 1235 to be open for connections from the ESXi hosts to the NSX Manager.
As root user on the ESXi host:# nc -zvv <NSX Manager IP> 1234
# nc -zvv <NSX Manager IP> 1235
Expected result: port [tcp/*] succeeded!
# /etc/init.d/nsx-proxy restart# /etc/init.d/nsx-opsagent restart# /etc/init.d/nsx-cfgagent restart# /etc/init.d/nsx-nestdb restart
Please refer to below KB explaining roles of each agent:
Troubleshooting NSX Host Agents