You need to look at Apache URL rewritting(or a layer 7 switch.)
LVS does not have any knowledge of what the payload of a packet
is. It works at layer 4.
Randy Paries wrote:
Hello,
Currently i have a LVS-DR setup with one director and two real servers
the two real servers are running apache2 web servers and tomcat
application servers.
the real server 2 mounts the real server 1 document root fle system via nfs.
i have an architectural problem that i am not sure if i can use LVS
to help or not.
I will try to be brief
I have a directory structure that is
/home/app/user1
/home/app/user2
/home/app/images and other shared directories
Currently i use LVS to just load balance between apache web servers
and as mentioned each real server has rw access to the files
my problem is that i am upto over 4000 users/directories. I need to
sub divide, but i can not change the users URLs
ie www.mydomain.com/user1 and www.mydomain.com/user2
I am not sure if LVS can help me here or i need to maybe look at
apache url rewitting.
Thanks
Randy
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|