On Fri, Sep 17, 2010 at 03:47:19PM -0400, Edward Z. Yang wrote:
> Hello all,
>
> I'm wondering if it would be possible to do the following with LVS,
> and how sketchy such a solution would be: is it possible to create
> some user manageable interface to make their IP address temporarily
> sticky to some backend server?
>
> This would be useful when someone is attempting to debug something
> with error logs, and wants to make sure their requests always land
> on the server their monitoring.
Hi Edward,
I believe that you could achieve this on the backend using
fwmark virtual services, perhaps at the granularity of one per
customer.
What I am thinking is, that when you want to make a customer sticky,
you create a fwmark virtual service for them accordingly. Otherwise
connections get handled by a (more usual) generic virtual service.
As fwmarks are added by iptables rules, and iptables rules have
an explicit order, I think you could get the control that you are after.
_______________________________________________
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
|