LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS not working

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS not working
From: "Schillaci" <lvslog@xxxxxxxxx>
Date: Tue, 1 May 2001 09:50:54 +0530
Hi Thanks ,
Here is the network map


_________                            __________
| Client 1   |                             | Client 2      |
|________|                             |_________|
        |  172.16.1.35                        |    172.16.1.33
        |                                             |
        |___________________ ___|         Public Network
        |
        |
        |eth0:0 172.16.1.103 (Virtual Server ip)
        |eth0 172.16.1.104
____|_____
|  Director  |
|________|
        | eth1 172.16.2.4
        | eth1:0 172.16.2.254 (Router ip)
        |________________________
        |                                                |   Private Network
        |                                                |
        |eth0 172.16.2.3                        |    eth0 172.16.2.5
____|_____                            _____|____
|    RS1     |                             | RS2           |
|________|                             |_________|



----- Original Message -----
From: Peter Mueller <pmueller@xxxxxxxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 01, 2001 1:24 AM
Subject: RE: LVS not working


> 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
> >
>
> _______________________________________________
> 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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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