LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Topology and load balancing

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Topology and load balancing
From: "Thomas Robinson" <tom.robinson@xxxxxxxxx>
Date: Mon, 14 Jan 2002 14:44:50 -0000
Hello,

I am setting up a loadbalancing/HA cluster and want to use Ultramonkey.
I have a few questions about topology to begin with.

I want each of the realservers to be three machines: one for Apache, one
for Tomcat and another for the DB. The client access through http.

Topology 1:
                        ________
                       |        |
                       | client |
                       |________|
                           |
                        (router)
                           |
                           |
                       (firewall)
                           |
                           |
                   ----------------- 
                   |               |
               ____|_____      ____|_____
              |          |    |          |
              | director |    | director |
              |__________|    |__________|
                   |               | 
                   |               |
                   -----------------
                           |
                           |
          -----------------+----------------
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | real-server |  | real-server |  | real-server |
   | Apache      |  | Apache      |  | Apache      |
   |_____________|  |_____________|  |_____________|
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | Tomcat      |  | Tomcat      |  | Tomcat      |
   |_____________|  |_____________|  |_____________|
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | DB          |  | DB          |  | DB          |
   |_____________|  |_____________|  |_____________|
 

Will this setup work or would I be better off with:

Topology 2:
                        ________
                       |        |
                       | client |
                       |________|
                           |
                        (router)
                           |
                           |
                       (firewall)
                           |
                           |
                   ----------------- 
                   |               |
               ____|_____      ____|_____
              |          |    |          |
              | director |    | director |
              |__________|    |__________|
                   |               | 
                   |               |
                   -----------------
                           |
                           |
          -----------------+----------------
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | real-server |  | real-server |  | real-server |
   |Apache/Tomcat|  |Apache/Tomcat|  |Apache/Tomcat|
   |_____________|  |_____________|  |_____________|
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | DB          |  | DB          |  | DB          |
   |_____________|  |_____________|  |_____________|
 

or perhaps this?

Topology 3:
                       ________
                       |        |
                       | client |
                       |________|
                           |
                        (router)
                           |
                           |
                       (firewall)
                           |
                           |
                   -----------------
                   |               |
               ____|_____      ____|_____
              |          |    |          |
              | director |    | director |
              |__________|    |__________|
                   |               | 
                   |               |
                   -----------------
                           |
                           |
          -----------------+----------------
          |                |               |
    ______|______    ______|______    _____|_______
   |             |  |             |  |             |
   | real-server |  | real-server |  | real-server |
   |Apache/Tomcat|  |Apache/Tomcat|  |Apache/Tomcat|
   |_____________|  |_____________|  |_____________|
          |                |               |
          |                |               |
          -----------------+----------------
                           |
                     ______|______
                    |             |
                    | DB          |
                    |_____________|


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