The RHEL3 note is still correct, or was last time I looked (few months ago).
On a set of RHEL LVS servers I'm using this script, called via haresources:
#!/bin/sh
# script to set the sync state properly on both LVS servers.
case "$1" in
start)
/sbin/ipvsadm --stop-daemon
/sbin/ipvsadm --start-daemon master
;;
stop)
/sbin/ipvsadm --stop-daemon
/sbin/ipvsadm --start-daemon backup
;;
esac
exit 0
P
________________________________
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx on behalf of Horms
Sent: Tue 4/12/2005 3:47 AM
To: Mark Watts
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Linux-HA] [ANNOUNCE] Ultra Monkey 3
On Tue, Apr 12, 2005 at 10:56:36AM +0100, Mark Watts wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> > Hi,
> >
> > I am happy to announce the release of Ultra Monkey 3.
> >
> > Changes
> >
> > * Connection Syncronisation allows connections to continue even
> > if the active linux-director fails and the standb-by is brought
online
>
> Does this use the ipvsadm --start-daemon facility, or does it work in a
> different way? (--start-daemon looks like it won't work for an
active-active
> pair unless is possible to sync both ways?)
It uses the --start-daemon facility (as opposed to some alternate
code I worked on a while ago, or other alternateives). I believe
that it is possile to use this with active-active as you
can start both the salve and master daemon on the same host
if you use a reasonably recent kernel (e.g. the one in Debian Sarge,
but not the one in Red Hat Enterprise Linux 3 to the best of
my knowledge).
--
Horms
|