[lvs-users] LVSSyncDaemonSwap syncid patch

Sebastien Termeau st at mobilepeople.com
Fri Aug 7 09:12:14 BST 2009

On Fri, Aug 7, 2009 at 1:42 AM, Simon Horman <horms at verge.net.au> wrote:

> On Thu, Aug 06, 2009 at 02:24:26PM +0200, Sebastien Termeau wrote:
> > Dear LVS users,
> >
> > Here is a patch to LVSSyncDaemonSwap.
> > It adds a syncid parameter allowing you to specify the ipvsadm daemon
> syncid
> > in the haresources file like this :
> >    LVSSyncDaemonSwap::master::eth0::<sync_id>
> >
> > The only drawback is that you have to specify the mcast interface in
> order
> > to use the syncid parameter.
> > Your comments are most welcome.
> Hi Sebastien,
> My only comment is that if your kernel is new enough that
> the syncrhonisation daemon supports syncid, then it should
> also be new enough that you can run the master and backup daemons
> simultaneously, so there is no need for LVSSyncDaemonSwap on such systems.
> That said, this change looks good to me and I'm happy to commit it.
> Could you provide a signed-off-by line as per section 5 of
> http://linux.yyz.us/patch-format.html ?

Hi Simon

Sure, here it is:
   Signed-off-by: Sebastien Termeau <st at mobilepeople.com>

To be honest I do not really understand the point of having both master and
slave running at the same time.
Ldirectord is only active on one box at any given time so the second master
seems useless for me.
How do you start the master and the slave? Do you have a init script for
Hearbeat is starting ldirectord when it needs to be started thus I think it
should also take care of the ipvs sync daemon.
Many thanks


More information about the lvs-users mailing list