LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[LVS - NAT] alternatives

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [LVS - NAT] alternatives
From: "Nicolas Chiappero" <Nicolas.Chiappero@xxxxxxxxx>
Date: Fri, 7 Sep 2001 20:43:01 +0200
I'v been playing with LVS for several days exploring
the different LVS types and I finally setup the following
cluster using NAT :

                          ________
                         |        |
                         |  FW    | 195.XXX.XXX.XXX
                         |________|
                             |
                             |
             __________      |
            |          |     |  VIP=195.XXX.XXX.XXX (eth0:10)
            | director |-----   DIP=172.22.12.106 (eth0)
            |__________|     |
                             |
                             |
          ----------------------------------------
          |                  |                    |
          |                  |                    |
   RIP1=172.22.12.107    RIP2=172.22.12.108    RIP3=172.22.12.109 (eth0)
   RIP1bis=172.22.12.117 RIP2bis=172.22.12.118 RIP3bis=172.22.12.119
(eth0:3)
    ____________      _____________         ____________
   |            |     |            |       |            |
   | realserver |     | realserver |       | realserver |
   |____________|     |____________|       |____________|

My goal is to load balance a web service which has N http server
instances on each real server. The reason for this is that the
web server is very fast and non CPU intensive.

Due to some limitations (NAT performance in HOWTO), I'm afraid this
configuration will not be able to serve as many requests I'd like.
Some information about the director :
    - PIII - 800 Mhz
    - 100 Mbps LAN.
    - 256 Mo RAM
I'm planning to handle between 20 000 000 and 30 000 000 hits/day.

I have the choice to setup N IP aliases on each realserver with http
server listening to alias1:80 and alias2:80, etc. ; or setup only one
IP alias per realserver and make http server listen to N different ports.

So, I'm wondering if it is possible to setup another configration using
other LVS types like maybe Transparent Proxy. At this point I have no
more ideas... Any tips ?

Regards,
Nico.




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