LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: could I setup lvs if I have more than one web server running on each

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: could I setup lvs if I have more than one web server running on each real server?
From: a a <raystrong2002@xxxxxxxxx>
Date: Thu, 21 Nov 2002 18:27:03 -0800 (PST)

Thank you for your suggestion.

But did you mean if all my web sites based on same one ip address, I can just setup lvs same as only have one web site on that ip address ?

thanks a lot.

ray

 Horms <horms@xxxxxxxxxxxx> wrote:

On Wed, Nov 20, 2002 at 06:07:16PM -0800, a a wrote:
> I am planing set up lvs-nat, but I have about 20
> websites running on each real server, can lvs handle
> this? how?

Yes.

If you are using name-based virtual servers, that is all 20 web sites
have the same IP address then you can just set this IP address as the
VIP.

If you want to use 20 different IP addresses, then I would suggest using
a fwmark virtual service. That means that netfilter (iptables) is used
to match the incoming packets and mark them with a fwmark. LVS keys off
this fwmark to recognise the connection as belonging to a virtual
service.

For more information on configuing LVS please see:
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/index.html

I have some configuartion examples at:
http://www.ultramonkey.org/2.0.0/topologies/

--
Horms


_______________________________________________
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



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
<Prev in Thread] Current Thread [Next in Thread>