LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: "LinuxVirtualServer.org 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
Hi,

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 = 192.168.1.101:80 gate 10
   real = 192.168.1.102:80 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?

Thanks,

Jean Paul

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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