HAProxy ALOHA Documentation 14.0

Logs and status

To see logs related to GSLB, call the syslog read system command from the CLI.

$ sudo service syslog read system | fgrep gslb

Mar 18 10:29:38 aloha01 daemon.info gdnsd[9313]: gdnsd version 3.8.0 @ pid 9313
Mar 18 10:29:38 aloha01 daemon.info gdnsd[9313]: DNS listener threads (2 UDP + 2 TCP) configured for 0.0.0.0:53
...

To see the up / down status of each DNS answer record's IP address, call the service gslb stats command from the CLI or from the Diagnostic Tools menu on the Tools tab.

  • real_state refers to the up/down status of the IP address based on health checks

  • state refers to an administrative override value of the IP address's status (currently not supported)

$ sudo service gslb stats

{
  ...
  "198.51.100.1/DC1": { "state": "UP", "real_state": "UP"},
  "198.51.100.2/DC1": { "state": "UP", "real_state": "UP"},
  "198.51.100.3/DC1": { "state": "UP", "real_state": "UP"},
  "2001:db8::4001/DC1": { "state": "UP", "real_state": "UP"},
  "2001:db8::4002/DC1": { "state": "UP", "real_state": "UP"},
  "2001:db8::4003/DC1": { "state": "UP", "real_state": "UP"},
  "203.0.113.10/DC2": { "state": "UP", "real_state": "UP"},
  "203.0.113.11/DC2": { "state": "UP", "real_state": "UP"},
  "203.0.113.12/DC2": { "state": "UP", "real_state": "UP"},
}

Next up

L7 Reference Manual
HAProxyConf 2022 - Call for papers