In NSX Manager, one or more ESXi hosts display an "Unknown" status, even though the hosts are accessible and operating normally via an SSH session.
VMware NSX 4.X
This issue occurs when the NSX proxy falls into a failed state because the nsx-nestdb service is no longer running.
When checking the services via command line, you will see output similar to the following, indicating that the service has stopped and needs to be restarted:
[root@<hostname>:/etc/init.d] ./nsx-nestdb restartNSX-NESTDB service is not runningNSX-NESTDB started[root@<hostname>:/etc/init.d] ./nsx-opsagent restartShutting down opsAgent watchdogwatchdog-opsAgent[10596520]: Terminating watchdog process with PID 2945770Shutting down opsAgent service..........Unable to shutdown opsAgent serviceTerminating opsAgent serviceopsAgent service is stoppedsh: you need to specify whom to killopsAgent service is stopped/var/log/nsx existsopsAgent start watchdogopsAgent started[root@<hostname>:/etc/init.d] ./nsx-proxy restartShutting down nsx-proxy watchdogwatchdog-nsx-proxy[10597380]: Terminating watchdog process with PID 2945501Shutting down nsx-proxy service.....Unable to shutdown nsx-proxy serviceTerminating nsx-proxy servicensx-proxy service is stoppedhost/vim/vmvisor/nsx-proxyResource pool 'host/vim/vmvisor/nsx-proxy' released.nsx-proxy is stoppedtnuuid = NSX Host Certificate existsnsx-proxy starts
To resolve this issue, you must restart the affected NSX services on the host.
Open an SSH session into the ESXi host(s) displaying the "Unknown" status.
Run the following commands in order to restart the required services:
/etc/init.d/nsx-nestdb restart
/etc/init.d/nsx-proxy restart
/etc/init.d/nsx-opsagent restart
Check the NSX Manager UI to verify if the host status has updated from "Unknown" to "Up".
If the above steps do not resolve the condition, reboot the affected ESXi host.
If the host continues to show an "Unknown" state after a reboot, please open a Support Request with Broadcom and include the following information:
Log bundle from the affected ESXi node.
NSX Manager log bundle (Management plane only, unless an edge node is also affected).