HAProxy Enterprise Documentation 2.5r1

Logs and status

View logs related to GSLB:

$ sudo journalctl -u hapee-extras-gslb -b -0 -f
-- Logs begin at Mon 2023-06-26 12:34:56 UTC, end at Tue 2023-06-27 08:30:00 UTC. --
     Jun 27 08:29:30 hostname haproxy[12345]: Proxy backend_1 started.
     Jun 27 08:29:35 hostname haproxy[12345]: Server backend_1/srv1 is UP.
     Jun 27 08:29:35 hostname haproxy[12345]: Server backend_1/srv2 is UP.
     Jun 27 08:29:45 hostname haproxy[12345]: Proxy backend_2 started.
     Jun 27 08:29:50 hostname haproxy[12345]: Server backend_2/srv1 is UP.
     Jun 27 08:29:50 hostname haproxy[12345]: Server backend_2/srv2 is UP.

To verify if the process is active:

$ sudo systemctl status hapee-extras-gslb
● hapee-extras-gslb.service - HAPEE GSLB
    Loaded: loaded (/lib/systemd/system/hapee-extras-gslb.service; enabled; vendor preset: enabled)
    Active: active (running) since Tue 2023-06-13 01:59:44 UTC; 1 day 15h ago
  Main PID: 1234 (hapee-extras-gs)
      Tasks: 1 (limit: 4915)
    Memory: 10.0M
    CGroup: /system.slice/hapee-extras-gslb.service
            └─1234 /usr/sbin/hapee-extras-gslb --config /etc/hapee-extras/gslb.cfg

Next up

Reference guide