LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

issues with mandrake+lvs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: issues with mandrake+lvs
From: Ian Millsom <imillsom@xxxxxxxxxxxxxxxxx>
Date: Sun, 31 Mar 2002 12:27:02 +1000 (EST)
Hi,

I am having a issue with lvs working under mandrake.
I have currently setup lvs + piranha on a redhat system, and all is
working well. I have 3 other servers which are mandrake 8.1. I did the
install for lvs + piranha the same way, but I cannot get it to work.


Once setup, and running I telnet 192.168.0.1 80 and I get a connection
refused.
If I telnet to 10.77.77.254 80 I get the http port connected, and can get
data through.

I am really at a loss as to why this is not working, and would appreciate
any assistance anyone can give.

Here is the configuration that I have.
I have substituted the real ip with 192.168.0.x

primary = 192.168.0.1
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 = 10.77.77.10 eth1
nat_nmask = 255.255.255.0
virtual lvs-drone1 {
     active = 1
     address = 192.168.0.2 eth0:0
     vip_nmask = 255.255.255.0
     port = 80
     persistent = 86400
     pmask = 255.255.255.0
     send = "GET / HTTP/1.0\r\n\r\n"
     expect = "HTTP"
     load_monitor = none
     scheduler = rr
     protocol = tcp
     persistent = 86400
     timeout = 6
     reentry = 15
     server rs-drone1 {
         address = 10.77.77.254
         active = 1
         weight = 1
     }
     server rs-drone2 {
         address = 10.77.77.253
         active = 1
         weight = 1
     }
}


Here is the ipvsadm dump.
-A -t 192.168.0.1:http -s rr -p 86400 -M 255.255.255.0

-a -t 192.168.0.1:http -r 10.77.77.253:http -m -w 1
-a -t 192.168.0.1:http -r 10.77.77.254:http -m -w 1






<Prev in Thread] Current Thread [Next in Thread>
  • issues with mandrake+lvs, Ian Millsom <=