LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: a probelm about VS-TUN

To: He Weitao <hewt@xxxxxxxxxx>
Subject: Re: a probelm about VS-TUN
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Fri, 24 Mar 2000 10:19:33 +0800 (CST)


On Thu, 23 Mar 2000, He Weitao wrote:

>     I wander two questions:
> 1. how many realservers can be extended in the VS-TUN method?
> 

It depends on your network applications and your real server throughput.
If incoming requests carry less data (such as http service), you can have
a large amount of general servers (50 or 100).

> 2. the realservers in VS-TUN can use private IP such as 192.168.1.0?
> 
>                       _________ 202.103.88.221
>                      |          |  (director have 2 NICs)
>                      | director |
>                      |__________|192.168.1.1
>                           |
>                           |
>                           |
>           ------------------------------------
>           |                  |               |
>           |                  |               |
>           |                  |               |
>     ____________      ____________    ____________
>    |            |    |            |  |            |
>    | realserver |    | realserver |  | realserver |
>    |____________|    |____________|  |____________|
>    192.168.1.2(eth0) 192.168.1.3(eth0) 192.168.1.4(eth0)
>     VIP(tunl0)            VIP(tunl0)    VIP(tunl0)
> 
>     the director and realservers are all linux (2.2.14),all NICs are 100M.
>     if the director have two NICs, eth0(202.103.88.221),eth1(192.168.1.1),
> then does the VIP should be 202.103.88.221?
>     To realize the Virtual Server in this way, does all the throughput
> SHOULD pass through director? then I am afraid it will be the bottleneck of
> whole system? can I make the realservers connect directly to client?

Yes, you can, you have to configure external IP addresses on those real
servers so that they can reach clients directly, then the whole throughput
will be much higher.

Wensong





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