piranha problem?
"marco" <[email protected]> Tue, 17 Feb 2004 12:00:45 +0100
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Hy all,
I've a problem whit piranha, it works always fine, but when an IP fault occurs (even it is just for 2 second) i've a takeover ignoring the timeout i've in my lvs.cf.
This is my system:
Redhat advanced server 2.1
Kernel 2.4.9
freeswan-1.97-2
piranha-0.7.0-3
and my lvs.cf
service = fos
primary = ........1.121
primary_private = 10.15.1.1
backup = .......1.122
backup_active = 1
backup_private = 10.15.1.2
heartbeat = 1
heartbeat_port = 1050
keepalive = 10
deadtime = 30
rsh_command = ssh
failover ldap {
active = 1
address = .......1.156 eth0:0
vip_nmask = 255.255.0.0
port = 389
timeout = 30
start_cmd = "/etc/rc.d/init.d/ldap start"
stop_cmd = "/etc/rc.d/init.d/ldap stop"
}
failover ipsec {
active = 1
address = ......1.156 eth0:0
vip_nmask = 255.255.0.0
port = 389
timeout = 30
start_cmd = "/etc/rc.d/init.d/ipsec start"
stop_cmd = "/etc/rc.d/init.d/ipsec stop; ifconfig ipsec0 down; rmmod ipsec"
}
This is the message in /var/log/messages:
Feb 11 15:45:41 LS2 nanny[2081]: Exiting due to connection failure of ......1.156:389
Feb 11 15:45:41 LS2 nanny[2103]: Exiting due to connection failure of .......1.156:389
Feb 11 15:45:41 LS2 fos[2056]: Monitor for service 128.50.1.88:389 exited. This is a failo
ver condition!
Thanks in advance