VMware Aria Operations Cloud Proxy (CP) appliances may exhibit "flapping" behavior, where the connection status alternates between Online and Offline in the UI. This typically occurs in remote sites where DNS services are unavailable or unreachable.
The following log entries are observed:
/storage/log/vcops/log/vrops-init.logreverse_lookup-INFO: STDOUT for the command /usr/bin/host -W 15 -R 1 -T ***.***.***.***: ;; Connection to ::1#53(::1) for ***.***.***.***.in-addr.arpa. failed: connection refused.;; no servers could be reachedreverse_lookup-WARNING: Unable to get an FQDN for the ***.***.***.*** IP address
/storage/log/var/log/haproxy-admin.loglocalhost haproxy[6657]: Server PrxyRC_BE/VROPS_2 is going DOWN for maintenance (DNS timeout status). 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.localhost haproxy[6657]: backend PrxyRC_BE has no server available!
(Primary Node): /storage/log/vcops/log/analytics-<UUID>.logINFO [DistTaskCollectorStatusChecker] com.integrien.alive.common.communication.CollectorStatusChecker.checkRebalancingState - Did not receive heartbeat from CP_NAME collector 601579 millisecondsAria Operations 8.18.x
Aria Operations Cloud Proxy uses HAProxy to manage connections. By default, HAProxy queries DNS servers directly. If these servers are unreachable, HAProxy fails to resolve node FQDNs, marking backends as DOWN even if the /etc/hosts file is populated
The official recommendation is to provide reachable DNS servers to the site. Refer to the Aria Operations Cluster Network Requirements
Workaround
If DNS cannot be implemented, follow these steps to force local name resolution on Cloud proxy:
Step 1: Implement Local Name Resolution
getent hosts <FQDN>Step 2: Modify HAProxy to Prioritize Local Hosts
cp /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.origvi /etc/haproxy/haproxy.cfgresolvers resolvernameservers init-addr last,libc,none to init-addr libc,none.resolvers block.systemctl restart haproxy.Step 3: Ensure Persistency Across Reboots To prevent haproxy.cfg from being reverted during lifecycle operations:
chattr +i /etc/haproxy/haproxy.cfg
Note: You must run chattr -i /etc/haproxy/haproxy.cfg before making future changes to this file.