Hi
I have configured LVS on my RHEL4U5 systems. I have configured both director
and backup balancers.
Now when I start the pulse daemons everything works fine.
The problem arises when I add the following in both the lvs.cf file of both
the balancers.
monitor_links = 1
Now, when I try starting my Director pulse daemon fails to start:
[root@director ~]# /etc/init.d/pulse start
Starting pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at line 7:
unknown command
[FAILED]
I get the following in my /var/log/messages:
[root@node2 ~]# tail -f /var/log/messages
Sep 1 23:23:04 director pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at
line 7: unknown command
Sep 1 23:23:04 director pulse: pulse startup failed
Sep 1 23:23:04 director pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at
line 7: unknown command
Sep 1 23:23:04 director pulse: pulse startup failed
However, pulse daemons works fine when I remove line 7 in lvs.cf,
i.e., monitor_links = 1.
[root@director ~]# cat /etc/sysconfig/ha/lvs.cf
serial_no = 3
#name = LoadBalancer
service = lvs
heartbeat = 1
backup = 172.16.4.123
heartbeat_port = 539
monitor_links = 1
keepalive = 6
network = direct
debug_level = 1
deadtime = 18
backup_active = 1
primary = 172.16.4.32
virtual web {
protocol = tcp
port = 80
timeout = 6
address = 192.140.0.3 eth0:0
active = 1
vip_nmask = 255.255.255.0
expect = "HTTP"
scheduler = wlc
reentry = 15
send = "GET / HTTP/1.0\r\n\r\n"
load_monitor = none
quiesce_server = 0
server node1.node1.com {
address = 172.16.4.122
active = 1
weight = 1
}
}
Unable to understand whats wrong.
I use ipvsadm-1.24-6.i386.rpm and piranha-0.8.0-1.i386.rpm
Thanks
Gowrishankar Rajaiyan
|