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
|