[lvs-users] Disable persistent connections for certain source IP

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] Disable persistent connections for certain source IP
From: Jean Paul Galea <jp@xxxxxxxx>
Date: Wed, 31 Jul 2013 10:58:18 +0200

We are using LVS-DR with persistent connections enabled.

Our ldirectord config looks something like this;

virtual = 80
   protocol = fwm
   scheduler = wrr
   persistent = 300
   real = gate 10
   real = gate 10

Is it possible to disable persistent connections for requests coming 
from certain src IP addresses?

The reason why we want to do this, is that our web application is 
available publicly (and we want persistence enabled here), but we also 
have certain URLs which are used heavily by office staff (always coming 
from a certain src IP) and we would like to load balance those requests, 
rather then have them routed to the same real server all the time.

Is this possible or are we looking at this the wrong way? Perhaps we 
need to change our infrastructure to support such a setup?


Jean Paul

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

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