# Global Directives
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
#logfile="local0"
quiescent=yes
# A sample virual with a fallback that will override the gobal setting
virtual=192.168.1.121:80
real=192.168.1.131:80 gate weight 1
real=192.168.1.120:80 gate weight 2
#real=192.168.6.6:80 gate
fallback=127.0.0.1:80 gate
service=http
request="index.html"
receive="Test Page"
virtualhost=192.168.1.121
scheduler=rr
#persistent=600
#netmask=255.255.255.255
protocol=tcp
# service ldirectord status;
ldirectord stale pid file /var/run/ldirectord.ldirectord.pid for /etc/ha.d/ldirectord.cf
ldirectord is stopped for /etc/ha.d/ldirectord.cf