LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Persistence related question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Persistence related question
From: Cristi <cere@xxxxxxxxxx>
Date: Tue, 11 Nov 2008 16:57:16 +0200
Graeme Fowler wrote:
> On Mon, 2008-11-10 at 22:38 +0200, Cristi wrote:
>   
>> I wasn't very specific, but I was refering to the conections initiated 
>> by !1.2.3.4. So, will they be wrr-ed to both RSs?
>>     
>
> If you've configured your LVS accordingly, yes. They won't be matched by
> the netfilter rule, so they won't be marked, so they'll fall through to
> the other VSes.
>
> NOTE: you must configure the mark VSes first - that is, they must see
> the packets before the plain protocol VSes.
>
> Graeme
>
>
>   

Tried your sugestion in a maintainance window. I had the whole setup 
working with ldirectord. I just appended the mark ipvsadm rules and 
worked like a charm.


IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes 
OutBytes
  -> RemoteAddress:Port
TCP  1.2.3.4:80                       14674848  111505K  124756K   
12089M   94473M
  -> 192.168.100.4:80              7282550 55228211 61785099    5988M   
46550M
  -> 192.168.100.3:80              7392298 56277146 62970917    6101M   
47922M
    FWM  1                               43172   297580   405811 
47380360  341744K
  -> 192.168.100.4:80                43172   297580   405811 47380360  
341744K


10x


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