Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > b9cb82916ece46175d538aa79d7af375 > files > 9

heartbeat-2.1.4-3mdv2010.2.src.rpm

#
# The /etc/ha.d/www.cf for ldirectord
#

# the number of second until a real server is declared dead
timeout = 2

# the number of second between server checks
checkinterval = 1

#
# virtual = x.y.z.w:p
#     protocol = tcp|udp
#     scheduler = rr|wrr|lc|wlc
#     real = x.y.z.w:p gate|masq|ipip [weight]
#     ...
#     

virtual = 192.168.1.110:80
     protocol = tcp
     scheduler = wlc
     real = 192.168.10.101:80 masq 2
     real = 192.168.10.102:80 masq 3
     request = ".testpage"
     receive = "test page"