In NSX Data Center, you can diagnose the overall health status of the host. The overall host health status includes the host pNIC status, tunnel status, the connectivity status between the host and the control plane, and the connectivity status between the host and the management plane.
You can monitor the host health status only by using the NSX APIs. This diagnostic feature is not available in the vCenter UI.
- pNIC status
- Tunnel status
- Control plane status
- Management plane status
The following table describes each of these substatuses.
Substatus | Description |
---|---|
pNIC status |
This status is derived from the physical layer. When the pNICs belong to a link aggregation group (LAG), the status is either Up, Down, or Degraded.
When the pNIC does not belong to a LAG, the status is either Up or Down. |
Tunnel status |
It is the connectivity status of the VTEP to VTEP tunnel between the hosts. The tunnel status is either Up, Down, or Degraded.
|
Control plane status | It is the connection status between the host and the NSX Controllers. |
Management plane status | It is the connection status between the host and the NSX management plane. |
- When all the substatuses are up, the overall host status is Up.
- When any substatus is down, the overall host status is Down.
- When at least one of the substatuses is degraded, and the other substatuses are up or down, the overall host status is Degraded.
Activate Host Health Status Monitoring
In NSX 6.4.6 or earlier, when you enable global BFD, the monitoring of tunnel latency and tunnel health is enabled simultaneously. You cannot separately turn on or turn off the monitoring of tunnel latency and tunnel health.
Starting in NSX 6.4.7, global BFD configuration API includes two additional parameters to enable or disable the monitoring of tunnel health and tunnel latency separately.
When BFD is disabled, tunnel latency and tunnel health monitoring cannot be turned on. When BFD in enabled, you can individually enable the monitoring of tunnel health and tunnel latency. This decoupling provides greater flexibility and avoids performance problems when the number of hosts scale in the network.
For a detailed information about configuring the global BFD parameters, see the NSX API Guide.
View Host Health Status
- GET <NSX_Manager_IP>/api/2.0/vdn/pnic-check/configuration/global
- GET <NSX_Manager_IP>/api/2.0/vdn/host/status
- GET <NSX_Manager_IP>/api/2.0/vdn/host/{hostId}/status
- GET <NSX_Manager_IP>/api/2.0/vdn/host/{hostId}/tunnel
- GET <NSX_Manager_IP>/api/2.0/vdn/host/{hostId}/remote-host-status
For a detailed information about each of these APIs, including the parameter description and the API response example, see the NSX API Guide.