LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

URL forwarding

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: URL forwarding
From: Konstantin Ivanov <Konstantin.Ivanov@xxxxxxxxxxxxxxxxxx>
Date: Fri, 25 May 2007 13:35:09 -0500
Hello,

Is it possible based on the URL address for the load balancer to forward the requests to a particular real servers. What I need to do is for example for a domain name domain1.com just server1 and server2 will respond, and for domain2.com server 1 and server3 will respond. I tried looking at UltraMonkey-L7 project but you can match only the file names in the URL like this:
l7vsadm -A -t 192.168.8.58:80 -m url --pattern-match '*.html' -s rr
l7vsadm -a -t 192.168.8.58:80 -m url --pattern-match '*.html' -r 10.0.0.10:80

I know that one workaround is to have several virtual IP's on the load balancer and then match based on that, but I need a functionality similar to what Pound Load Balancer does.
Thanks!




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