[ClusterLabs] Observed Difference Between ldirectord and keepalived

Timo Schöler timo at kroenchenstadt.de
Sat Jan 2 05:27:01 EST 2021


On 1/2/21 10:11 AM, Eric Robinson wrote:

> We recently switched from ldirectord to keepalived. We noticed that, 
> after the switch, LVS behaves a bit differently with respect to “down” 
> services.
> 
> On ldirectord, a virtual service with 2 realservers displays “Masq    0” 
> when one of them is down.
> 
> TCP  192.168.5.100:3002 wlc persistent 50
> 
>    -> 192.168.8.53:3002            Masq    1      0          0
> 
>    -> 192.168.8.55:3002            Masq    0      0          4
> 
> On keepalived, it does not shown the down server at all…
> 
> TCP  192.168.5.100:3002 wlc persistent 50
> 
>    -> 192.168.8.53:3002            Masq    1      0          0
> 
> Why is that? It makes it impossible to see when services are down.

Hi Eric,

I think you're showing the output of ``ipvsadm -Ln'' here, right?

If so, what OS are you using? I observed similar behaviour when moving 
from CentOS 6 to CentOS 7 (i.e. Kernel 2.6.x to Kernel 3.10.x), so there 
may have changed default values of displaying stuff or APIs.

Timo


More information about the Users mailing list