LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Failover with NAT RH 6.2 & UM 1.0.1 (Kernel 2.2.14-5.0.14.um.3)
From: Shaun McCullagh <smcculla@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2000 13:21:12 +0200
Hi,

Thanks to Horms, LVS/DR now works fine on our testbed setup.

I've been testing the failover system. Again this appears to work fine, but 
there are two oddities:

1) I keep getting this in ha-debug

>heartbeat: 2000/10/17_12:10:09 debug: master_status_process: node 
>>[fazz.information-innovation.com] failed authentication

2) pppd keeps reporting this in /var/log/messages on both LVS machines at 1 
second intervals

>Oct 17 13:13:40 fizz pppd[12809]: pppd 2.3.11 started by root, uid 0
>Oct 17 13:13:40 fizz pppd[12809]: Device ttyS0 is locked by pid 12258
>Oct 17 13:13:40 fizz pppd[12809]: Exit.

Any ideas?

Thanks again for everybody's help

Shaun



   ________
  |        | 
  | client | 192.168.31.101/24
  |________|                           
      |          
      |  
      |                                                   
      |                                                   
      |                        vs1 192.168.31.157/24 (eth0:0) 
      |                            192.168.31.148/24 (eth0)
      |-----------------               __________
                        |              |          | (lvsmain)
                       (switch)--------| fizz     | VA Linux 2130     
192.168.31.150/24 (eth0)
                       |  | | |        |__________| 2.2.14             
______________
                       |  | | |                                        |        
      | (lvsbackup)
                       |  | | | ---------------------------------------| fazz   
      |  VA Linux 2130
                       |  | |                                          
|______________|  2.2.14
      -----------------|  | |         
      |                   | |----------------------
      |                   |                        |
      |                   |                        |
192.168.31.145/24   192.168.31.146/24       192.168.31.147/24

                       
                           Real Servers


=============================== authkeys =====================

auth 2
#1 crc
2 sha1 Qsd1.*TG
#3 md5 Hello!

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


================== 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 (fizz) ==================================

debugfile /var/log/ha-debug
logfile        /var/log/ha-log
keepalive 1
deadtime 3
serial  /dev/ttyS0
ppp-udp /dev/ttyS0 10.0.0.1
baud   9600
udp     eth0
nice_failback on
node    fizz.information-innovation.com
node    fazz.information-innovation.com
node    mayday.information-innovation.com
node    bacteria.information-innovation.com
node    napoleon.information-innovation.com
node    vs1.information-innovation.com

==========================================================================
=============================== ha.cf (fazz) ==================================

debugfile /var/log/ha-debug
logfile        /var/log/ha-log
keepalive 1
deadtime 3
serial  /dev/ttyS0
ppp-udp /dev/ttyS0 10.0.0.2
baud   9600
udp     eth0
nice_failback on
node    fizz.information-innovation.com
node    fazz.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)
ppp                    19852   0  (autoclean)
slhc                    4544   0  (autoclean) [ppp]
ip_vs_wlc               1048   1  (autoclean)


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





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