Example configuration

user@loadbalancer:~$ cat /etc/ha.d/ldirectord.cf
# Globals
checktimeout    = 10
checkinterval   = 2
autoreload      = yes
logfile         = "local0"
emailalert      = "*@example.com"
emailalertfreq  = 3600
#quiescent       = no

# HTTP
virtual=aaa.bbb.ccc.ddd:80
        service         = http
        real            = web1.webgui.example.com:http gate 500
        real            = web2.webgui.example.com:http gate 500
        fallback        = localhost:http gate
        request         = "is_alive"
        receive         = "yes"
        scheduler       = wlc
        protocol        = tcp
        checkport       = 80
        checktype       = negotiate