With LVS you can only load balance based on layer 4 information such as source IP/destination IP etc. If you need a layer 7 load balancer try HAProxy.
On 19 January 2015 at 07:00, John D. <j...@soft.geocast.net> wrote: > Hello, > > Do you know how to make a Layer 4 load balancer (for example, LVS), > support the L7 virtual hosts (for instance, the http host header)? > > I ask this b/c our application are the socket servers (game servers). > They have a special socket port, it can be bound on LVS server. Behind > LVS there are many servers for different partitions. So we want to make > LVS balance the requests to the different partition based on some tags, > for example, the http header. > > Thanks. > > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > Send requests to lvs-users-requ...@linuxvirtualserver.org > or go to http://lists.graemef.net/mailman/listinfo/lvs-users -- Regards, Malcolm Turnbull. Loadbalancer.org Ltd. Phone: +44 (0)330 1604540 http://www.loadbalancer.org/ _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users