新手求助:ipvsadm+piranha,启动pulse出错......
Redhat5.3,ipvsadm+piranha(光盘自带RPM安装),已经可以通过web界面配置,生成lvs.cf文件如下:
[root@Lvs-DR ~]# more /etc/sysconfig/ha/lvs.cf
serial_no = 52
primary = 172.20.9.19
service = lvs
backup_active = 0
backup = 0.0.0.0
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = direct
debug_level = NONE
monitor_links = 0
syncdaemon = 0
virtual LVS {
active = 1
address = 172.20.9.16 eth0:0
vip_nmask = 255.255.255.255
port = 80
persistent = 30
pmask = 255.255.255.255
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = none
scheduler = rr
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server RS1 {
address = 172.20.9.18
active = 1
port = 80
weight = 1
}
server RS2 {
address = 172.20.9.24
active = 1
port = 446
weight = 1
}
}
[root@Lvs-DR ~]#
但是启动pulse的时候出错:
[root@Lvs-DR ~]# /etc/init.d/pulse start
Starting pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at line 33: unknown command
[FAILED]
看提示说是,配置文件33行问题,但是我没看出来啊
期待高手出现!菜鸟盼复
另外,系统防火墙已经关闭了