Virtual Server is 'Down' and we can check the alarm associated with the specific virtual server as shown below for more details on the issue.
Alarm:Consult the load balancer pool to determine its status and verify its configuration. It incorrectly configured, reconfigure it and remove the load balancer pool from the virtual server then re-add it to the virtual server again.
The cause of the NSX T Virtual Servers being down can be identified as follows:
NSX-T L7 Virtual Servers are down because the all associated Server Pool Members has been detected as Down. The reason for this can be identified as follows:
LbPoolStatus is DOWN.
Members: 'PoolMemeber_IP_Address:PortNumber' with status: 'Failed to connect, the reason is Connection refused.'
The error above indicates that the communication from the load balancer on the Active edge to the server was rejected for one of the following reasons:
net-stats -l | grep -i Server_VM_Name
summarize-dvfilter | less
Then, search for the port ID you identified in the previous step. Make a note of the 'name' associated with that port ID.vsipioctl getrules -f <name>
This will display all the firewall rules applied to this VM and this specific interfacePlease note that if the issue is caused by the DFW blocking communication between the load balancer and the server, you may observe two different outputs as shown below,
edge_name> get load-balancer <LB_UUID> pool <LB_POOL_UUID> status
Thu Nov 07 2024 UTC 04:33:55.747
Pool
UUID : <LB_POOL_UUID>
Display-Name : <LB_POOL_name>
Status : down
Total-Members : 1
Primary Up : 0
Primary Down : 1
Primary Disabled : 0
Primary Graceful Disabled : 0
Primary Unknown : 0
Backup Up : 0
Backup Down : 0
Backup Graceful Disabled : 0
Backup Disabled : 0
Backup Unknown : 0
Member
Display-Name : ubuntu-02
Type : primary
IP : ###.###.###.###
Port : 80
Status : down
Last-State-Change-Time : 2024-11-07 04:32:47
Monitor
Display-Name : default-http-lb-monitor
Type : HTTP
Status : down
Url : /
Last-Check-Time : 2024-11-07 04:33:52
Last-State-Change-Time : 2024-11-07 04:32:47
Failure-Reason : Connect to Peer Failure
edge_name> get load-balancer <LB_UUID> pool <LB_POOL_UUID> status
Thu Nov 07 2024 UTC 04:34:54.201
Pool
UUID : <LB_POOL_UUID>
Display-Name : <LB_POOL_name>
Status : down
Total-Members : 1
Primary Up : 0
Primary Down : 1
Primary Disabled : 0
Primary Graceful Disabled : 0
Primary Unknown : 0
Backup Up : 0
Backup Down : 0
Backup Graceful Disabled : 0
Backup Disabled : 0
Backup Unknown : 0
Member
Display-Name : ubuntu-02
Type : primary
IP : ###.###.###.###
Port : 80
Status : down
Last-State-Change-Time : 2024-11-07 04:32:47
Monitor
Display-Name : default-http-lb-monitor
Type : HTTP
Status : down
Url : /
Last-Check-Time : 2024-11-07 04:34:52
Last-State-Change-Time : 2024-11-07 04:32:47
Failure-Reason : TCP Handshake Timeout
Note: The behavior above may occur when an external firewall is blocking communication, with similar 'Drop' or 'Reject' rules configured.
Refer the following KB for more information on Troubleshooting NSX Native Load Balancer