LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: LVS not working

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: LVS not working
From: Peter Mueller <pmueller@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2001 12:54:33 -0700
Can you provide this in a network map?  It's confusing.  Also, do you mean
172.16.1.254 for your default gateway on your clients instead of
172.16.2.254?  If not, what is 172.16.2.254?

> -----Original Message-----
> From: Schillaci [mailto:lvslog@xxxxxxxxx]
> Sent: Monday, April 30, 2001 8:56 AM
> To: LVS
> Subject: LVS not working
> 
> 
> Hi all,
> I have machine with red linux 6.2 with kernel 2.2.16 patched with
> lvs-version 0.9.15. This machine which acts as load balancer 
> has two NICs
> one eth0 172.16.1.104 and eth0:0 172.16.1.103 (vip)  and the 
> other eth1
> 172.16.2.4 and eth1:0 172.16.1.254 (router ip) .
> 
> eth0 is connected to a client network whose ip starts from 
> 172.16.1.1 to
> 172.16.1.110 and eth1 is connected to a real server network. 
> I have two
> realservers with one with ip 172.16.2.3 and the other with 172.16.2.5.
> 
> I have modified the file /etc/sysctl.conf for packet forwarding and
> defragmenting and added the line
> ipchains -A forward -j MASQ -s 172.16.2.0/24 -d 0.0.0.0/0
> in the file rc.local.
> 
> I have set the default gateway for the real servers as 172.16.2.254
> 
> Now when i start the pulse daemon and try to access the webpage from
> http://172.16.1.103  I am unable to get any
> page from the real servers.
> 
> when i stop pulse and lvs daemons, i am able get the pages 
> from the Load
> balancer machine.
> 
> 
> Here is my lvs.cf file.
> primary = 172.16.1.104
> service = lvs
> rsh_command = rsh
> backup_active = 0
> backup = 0.0.0.0
> heartbeat = 1
> heartbeat_port = 539
> keepalive = 6
> deadtime = 18
> network = nat
> nat_router = 172.16.2.254 eth1:0
> virtual lvs104 {
>      active = 1
>      address = 172.16.1.103 eth0:0
>      port = 80
>      send = "GET / HTTP/1.0\r\n\r\n"
>      expect = "HTTP"
>      load_monitor = ruptime
>      scheduler = wlc
>      protocol = tcp
>      timeout = 6
>      reentry = 15
>      server php3{
>      address = 172.16.2.3
>          active = 1
>          weight = 1000
>      }
>     server help{
>      address = 172.16.2.5
>          active = 1
>          weight = 2000
>      }
> 
> }
> 
> Someone please guide me to overcome this problem.
> 
> -Schillaci
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 


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