LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVSSyncDaemonSwap syncid patch

To: Sebastien Termeau <st@xxxxxxxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] LVSSyncDaemonSwap syncid patch
From: Sebastien Termeau <st@xxxxxxxxxxxxxxxx>
Date: Fri, 7 Aug 2009 10:12:14 +0200
On Fri, Aug 7, 2009 at 1:42 AM, Simon Horman <horms@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>

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
this?
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

Sebastien
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>