Re: Multiple load balancers problem

To: Dmitry Akindinov <dimak@xxxxxxxxxxx>
Subject: Re: Multiple load balancers problem
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 28 Aug 2012 10:21:15 +0300 (EEST)

On Tue, 28 Aug 2012, Dmitry Akindinov wrote:

> >     No loop? Because S2 will receive DR method in
> > the SYNC messages for its stack. You see traffic flow
> > or just that there is no reset?
> Yes, after the failover, all connections that were open on the S2 (which now
> becomes the active balancer) do not reset and continue to function just fine
> (traffic flow in both directions).

        Aha, I now see why, ip_vs_bind_dest assigns the
forwarding mode from real server, not from SYNC messages.
As you have LOCALNODE when S2 is slave, the DR mode from
SYNC message is not used, that is why after failover the
S2 connections work and are not reset. So, at least, we have
explanation for all things that happen. If you run slave
without any rules the connection will use the mode from
master and you will see packet loop.

> -- 
> Best regards,
> Dmitry Akindinov


Julian Anastasov <ja@xxxxxx>
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

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