LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Newbie Problems with NAT RH 6.2 & UM 1.0.1 (Kernel 2.2.14-5.0.14.um.3)

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Newbie Problems with NAT RH 6.2 & UM 1.0.1 (Kernel 2.2.14-5.0.14.um.3)
From: Shaun McCullagh <smccullagh@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Oct 2000 15:58:28 +0200
Hi,

First off, many thanks to all those who responded to my plea for help
with
Piranha. Ultra Monkey looks much more interesting, so I thought I give
that a go.

I'm now trying an LVS/DR config with one LVS Router and three Real
Servers.

Heartbeat and ldirectord start up fine. All three Real Servers respond
to test page requests from ldirectord.

The problem is LVS does not appear to forward the requests to the real
servers.

Tcpdump shows some data is exchanged between the browser and vs1, but
nothing else happens.

Any help would be greatly appreciated.

TIA

Shaun

    ________
   |        | 
   | client | 192.168.31.101/24
   |________|                           
       |          
       |  
       |                                                   
       |                                                   
       |                        vs1 192.168.31.157/24
(eth0:0)                      
       |                            192.168.31.148/24
(eth0)                              
       |-----------------------           
__________                                               
                               |          |         
|                                              
                              (switch)----| lvsmain  | VA Linux 2130,
2.2.14  
                              |  | |     
|__________|                                              
       -----------------------|  | |         
       |                         |
|----------------------------               
       |                         |                              |
       |                         |                              |
 192.168.31.145/24         192.168.31.146/24            
192.168.31.147/24
                       
                           Real Servers
================== ldirector.cf ========================================

timeout=3
checkinterval=60
fallback=127.0.0.1:80
virtual=192.168.31.157:80
        real=192.168.31.147:80 gate
        real=192.168.31.146:80 gate
        real=192.168.31.145:80 gate
        service=http
        request="test.html"
        receive="Test Page"
        scheduler=wlc
        protocol=tcp

=======================================================================

======================= haresources ===================================

vs1.information-innovation.com IPaddr::192.168.31.157/24
ldirectord::ldirectord.cf

========================================================================

=============================== ha.cf ==================================

debugfile /var/log/ha-debug
logfile        /var/log/ha-log
keepalive 1
deadtime 3
udp     eth0
nice_failback off
node    fizz.information-innovation.com
node    mayday.information-innovation.com
node    bacteria.information-innovation.com
node    napoleon.information-innovation.com
node    vs1.information-innovation.com

==========================================================================



Output from netstat and ipvsadm


[root@fizz conf]# /sbin/ipvsadm -L -n
IP Virtual Server version 0.9.11 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
TCP  192.168.31.157:80 wlc
  -> 192.168.31.145:80           Route   1      0          0         
  -> 192.168.31.146:80           Route   1      0          0         
  -> 192.168.31.147:80           Route   1      0          0    

[root@fizz ha.d]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.31.148  0.0.0.0         255.255.255.255 UH        0 0          0
eth0
192.168.31.157  0.0.0.0         255.255.255.255 UH        0 0          0
eth0
192.168.31.0    0.0.0.0         255.255.255.0   U         0 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0
lo
0.0.0.0         192.168.31.254  0.0.0.0         UG        0 0          0
eth0

[root@fizz /root]# lsmod
Module                  Size  Used by
ip_vs_wlc               1012   1  (autoclean)

========================================================================


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