On Tue, Sep 07, 2010 at 03:57:52PM -0300, Mike wrote:
> Hello all, 
> 
> I've implemented a LVS cluster using ldirectord and LinuxHA. Here is a
> snippet from my ldirectord.cf file:
> 
> virtual=172.28.185.54:8080
>       protocol=tcp
>       scheduler=wrr
>       checktype=connect
>       checkport=8080
>       #service=ldap
>       real=172.28.185.57:8080 ipip 
>       real=172.28.185.58:8080 ipip 
>       #service=http
>       checktimeout=10
>       checkinterval=10
> 
> While running tests that hit the index.html page on the VIP above I
> noticed that we seem to be hitting the same backend server repeatedly.
> When I run the test from another server, we start hitting the other back
> end server repeatedly. I'm curious if anyone can tell me if there is a
> built in affinity here that I'm missing. I'm thinking that ldirecotor
> seems to be smart enough (or dumb enough depending on your point of
> view) to notice that a connection attempt from ip address guest will be
> sent to the same backend server for productivity reasons.
> 
> Anyone know if thee is a natural built in affinity here?

If you have persistence enabled, then yes that is the expected behaviour.
Otherwise its a bit odd.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to