A Sample /etc/sysconfig/ha/lvs.cf File
B A Sample
/etc/sysconfig/ha/lvs.cf File
The following is a sample lvs.cf file for a cluster using firewall mark 21 for FTP services and
firewall mark 80 to bundle HTTP and HTTPS requests.
serial_no = 94
primary = 192.168.26.9
primary_private = 10.11.12.9
service = lvs
backup_active = 1
backup = 192.168.26.8
backup_private = 10.11.12.8
heartbeat = 1
heartbeat_port = 1050
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.11.12.10 eth1:1
nat_nmask = 255.255.255.0
reservation_conflict_action = preempt
debug_level = NONE
virtual HTTP {
active = 1
address = 192.168.26.10 eth0:1
vip_nmask = 255.255.255.0
fwmark = 80
port = 80
persistent = 320
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 1
server one {
address = 10.11.12.1
active = 1
weight = 1
}
server two {
157
Need help?
Do you have a question about the ENTERPRISE LINUX AS 2.1 and is the answer not in the manual?