I am trying to setup a Linux Virtual Server system on CentOS 5.4 i386, following the documentation here.
I am trying to start the pulse service and am getting an error, "Starting pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at line 16: invalid argument". The line in question is the line "address = 192.168.0.176 eth1:1" (see below).
The lvs.cf was generated by Piranha. I have compared the settings to the sample lvs.cf files and I can't see any problem with it. Any suggestion on what the problem could be?
***
serial_no = 41
primary = 192.168.0.189
service = lvs
backup_active = 1
backup = 192.168.0.190
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = direct
debug_level = NONE
monitor_links = 0
syncdaemon = 0
virtual smtp_cluster {
active = 1
address = 192.168.0.176 eth1:1
vip_nmask = 255.255.255.128
port = 25
expect = "220"
use_regex = 0
send_program = "telnet %h 25"
load_monitor = none
scheduler = rr
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 1
server real1 {
address = 192.168.0.179
active = 0
weight = 1
}
server real2 {
address = 192.168.0.180
active = 0
weight = 1
}
}
I am trying to start the pulse service and am getting an error, "Starting pulse: pulse: error parsing /etc/sysconfig/ha/lvs.cf at line 16: invalid argument". The line in question is the line "address = 192.168.0.176 eth1:1" (see below).
The lvs.cf was generated by Piranha. I have compared the settings to the sample lvs.cf files and I can't see any problem with it. Any suggestion on what the problem could be?
***
serial_no = 41
primary = 192.168.0.189
service = lvs
backup_active = 1
backup = 192.168.0.190
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = direct
debug_level = NONE
monitor_links = 0
syncdaemon = 0
virtual smtp_cluster {
active = 1
address = 192.168.0.176 eth1:1
vip_nmask = 255.255.255.128
port = 25
expect = "220"
use_regex = 0
send_program = "telnet %h 25"
load_monitor = none
scheduler = rr
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 1
server real1 {
address = 192.168.0.179
active = 0
weight = 1
}
server real2 {
address = 192.168.0.180
active = 0
weight = 1
}
}