Continuous loop of Remote Logging Server Error alarms in NSX with FQDN Syslog servers
search cancel

Continuous loop of Remote Logging Server Error alarms in NSX with FQDN Syslog servers

book

Article ID: 458100

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • When the configured Syslog servers under All NSX Nodes use a Fully Qualified Domain Name (FQDN), it triggers a continuous loop of Remote Logging Server Error alarms.
  • NSX manager logs are not forwarded to the configured remote logging server.

Environment

  • VMware NSX

Cause

The FQDN provided for the Syslog server resolves to multiple varying IP addresses via Round-Robin DNS, where an authoritative name server assigns multiple A or AAAA records to a single domain name. The DNS server changes the order of the IP addresses it returns to DNS lookup requests. NSX appliances enforce strict iptables rules that drop outbound traffic directed to unexpected IP addresses. Because the load balancer dynamically resolves the FQDN to varying IP addresses, the NSX appliance internal firewall rules fail to match the active destination IP for the outbound logs. This mismatch results in dropped traffic by the appliance firewall and triggers the recurring Remote Logging Server Error alarm.

Resolution

To resolve this issue, ensure the NSX iptables rules can accurately match a single destination IP address:

  1. Implement a load balancer configuration where the FQDN always resolves to exactly one static Virtual IP (VIP) address.

  2. Configure the single VIP to appropriately load balance traffic across the backend syslog IP addresses.

  3. Once the load balancer changes are applied, run the NSX CLI command verify logging-servers on each NSX manager node.