LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Verification of Plan

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Verification of Plan
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Thu, 20 Dec 2001 21:57:59 +0800 (CST)
Hello,

I am not familiar to this *.conf scripts, but will try to verify it for
you.

For the network topology that you give, it should work with the IP-TUN,
and DR methods (You don't need nat_lvs.conf here, otherwise you need turn
eth1 off at the backend servers). Maybe you need pay more attention to the
ARP problem if you are running Linux on the backend servers, see
http://www.linux-vs.org/docs/arp.html for more information.

Let us know if you meet any problems in setting up your LVS cluster.

Good luck,

Wensong


On Wed, 19 Dec 2001, James Reggio wrote:

> Greetings,
>
> I'm James Reggio, a 9th grade student at Liberty Christian School
> in Denton, Texas.  I am doing a science fair project this year
> over which LVS clustering "method" (NAT, IP-TUN, or DR) is
> the "fastest" (Still not sure on what will be tested).  Anyways,
> this will need to be an totally isolated group of two networks, to
> keep it constant, but simulate the internet in the way the
> response gets back to the user in IP-TUN and DR.
>
> I am considered a genius in Windows 2000 (I hate the evil OS, but
> I was born and raised in it) but am still pretty good in Linux.
> Anyways, I am wondering if you could look at the *.jpg file of the
> plan I drew up of my "network" and then look at the lvs_xxx.conf
> files and verify that they will work.  I've spent many sleepless
> nights on this project on this one machine I own trying to prepare
> everything so, on the weekend I get to borrow the extra 4 machines
> I will be ready.
>
> Your help is GREATLY APPRICIATED; more than you'll ever know.  It
> would be most helpful if you reply before Christmas, because I get
> the 4 machines the weekend after.
>
> Thanks So Much!
>
> James Reggio
> Adventure World Technology Intern
> Fellowship Church
>
> Here are the "attached" files:
>
> #----------lvs_dr.conf------------------------------------
> LVSCONF_FORMAT=1.1
> LVS_TYPE=VS_DR
> INITIAL_STATE=on
> CLEAR_IPVS_TABLES=yes
> VIP=eth0:1 10.10.1.1 255.255.255.255 10.10.1.1
> DIP=eth1:1 10.10.2.1 10.10.2.0 255.255.255.0 10.10.2.255
> SERVICE=t http rr 10.10.2.3 10.10.2.4 10.10.2.5
> SERVER_VIP_DEVICE=lo:1
> SERVER_NET_DEVICE=eth0
> SERVER_GW=10.10.1.3
> #----------end lvs_dr.conf---------------------------------
>
> #----------lvs_nat.conf------------------------------------
> LVSCONF_FORMAT=1.1
> LVS_TYPE=VS_NAT
> INITIAL_STATE=on
> CLEAR_IPVS_TABLES=yes
> VIP=eth0:1 10.10.1.1 255.255.255.255 10.10.1.1
> DIP=eth1:1 10.10.2.1 10.10.2.0 255.255.255.0 10.10.2.255
> DIRECTOR_GW=10.10.1.3
> SERVICE=t http rr 10.10.2.3:http 10.10.2.4:http 10.10.2.5:http
> SERVER_NET_DEVICE=eth0
> #----------end lvs_nat.conf---------------------------------
>
> #----------lvs_tun.conf------------------------------------
> LVSCONF_FORMAT=1.1
> LVS_TYPE=VS_TUN
> INITIAL_STATE=on
> CLEAR_IPVS_TABLES=yes
> VIP=eth0:1 10.10.1.1 255.255.255.255 10.10.1.1
> DIP=eth1:1 10.10.2.1 10.10.2.0 255.255.255.0 10.10.2.255
> SERVICE=t http rr 10.10.2.3 10.10.2.4 10.10.2.5
> SERVER_VIP_DEVICE=tunl0:1
> SERVER_NET_DEVICE=eth0
> SERVER_GW=10.10.1.3
> #----------end lvs_tun.conf---------------------------------
>
>               __________________
>               |    CLIENT_01W2K    |
>               | ETH0        10.10.1.3 |
>               ------------------------------------
>                       |
>                       |
>               __________________
>               |          Hub 01             |--------------------
> ------------------------
>               ------------------------------------
>       |
>                       |                               |
>                       |                               |
>                    ______________________                     |
>                    |SERVERDIRECTOR_01LIN|                     |
>                    |ETH0                   10.10.1.2|
>       |
>                    |ETH0:1                10.10.1.1|
>       |
>                    |ETH1                   10.10.2.2|
>       |
>                    |ETH1:1                10.10.2.1|
>       |
>                    ---------------------------------------------
>                       |
>                       |                               |
>                       |                               |
>               __________________                      |
>              ------------------ |         Switch 01      | ------
> ------------          |
>              |                ------------------------------------
>              |                |
>              |                        |                      |
>       |
> _______________          _______________        _______________       |
> | SERVER_02LIN  |        | SERVER_03LIN  |        |
> SERVER_04LIN  |       |
> |ETH0     10.10.2.3|     |ETH0     10.10.2.4|        |ETH0
> 10.10.2.5|    |
> |ETH1     10.10.1.4|     |ETH1     10.10.1.5|        |ETH1
> 10.10.1.6|    |
> |ETH1:1  10.10.1.1|      |ETH1:1  10.10.1.1|        |ETH1:1
> 10.10.1.1|    |
> -------------------------------          -------------------------------
>         -------------------------------       |
>               |                       |                      |
>       |
>               -----------------------------------------------------
> ----------------------------------------------
>
> difficulties.
>



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