LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

It looks good, it smells good, but...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: It looks good, it smells good, but...
From: David Rodrigues <drodrig@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Sep 2000 21:35:38 -0400 (EDT)
Hello.

I am setting up my second cluster using LVS. The first one went pretty
much without a hitch. This one is giving me problems, however. Everything
looks OK, as far as I can tell. I'm using direct routing to forward web
services to 3 real servers. Here is a screen dump of ipvsadm, ifconfig,
and route:

[root scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:E0:01:F3:20  
          inet addr:192.168.1.204  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1729333 errors:0 dropped:0 overruns:0 frame:1090
          TX packets:292060 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1955 txqueuelen:100 
          Interrupt:11 Base address:0x6200 

eth0:0    Link encap:Ethernet  HWaddr 00:10:E0:01:F3:20  
          inet addr:192.168.1.231  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6200 

eth0:1    Link encap:Ethernet  HWaddr 00:10:E0:01:F3:20  
          inet addr:192.168.1.236  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6200 

eth0:2    Link encap:Ethernet  HWaddr 00:10:E0:01:F3:20  
          inet addr:192.168.1.214  Bcast:192.168.1.214
Mask:255.255.255.255
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6200 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:8021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8021 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

[root scripts]# ipvsadm
IP Virtual Server version 0.9.12 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
TCP  192.168.1.214:www wlc persistent 600
  -> rs3.3rdlevldata.com:www     Route   1      0          0         
  -> rs2.3rdlevldata.com:www     Route   1      0          0         
  -> rs1.3rdlevldata.com:www     Route   1      0          0       

[root scripts]# route -n         
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.214   0.0.0.0         255.255.255.255 UH    0      0        0
eth0
192.168.1.236   0.0.0.0         255.255.255.255 UH    0      0        0
eth0
192.168.1.204   0.0.0.0         255.255.255.255 UH    0      0        0
eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0
eth0

=======================================================================
The real servers are 192.168.1 .221 .222 and .223. All have lo:0 set as
192.168.1.214 with the appropriate netmask and broadcast. ip_forward,
all/hidden, and lo/hidden all have values of 1 on the real servers. Here
is a screen dump of one of the real servers (221)

[root@rs1 /root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:27:F1:2B:75  
          inet addr:192.168.1.221  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1675475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1757787 errors:0 dropped:0 overruns:0 carrier:0
          collisions:11364 txqueuelen:100 
          Interrupt:9 Base address:0x7000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:6016 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6016 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

lo:0      Link encap:Local Loopback  
          inet addr:192.168.1.214  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:3924  Metric:1

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.214   0.0.0.0         255.255.255.255 UH    0      0        0 lo
192.168.1.221   0.0.0.0         255.255.255.255 UH    0      0        0
eth0
127.0.0.0       0.0.0.0         255.255.255.255 UH    0      0        0 lo
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0
eth0

==========================================================================
I'm sure I'm missing something easy, but I've been staring at these
servers so long I can hardly see straight. Any help would be greatly
appreciated.

David Rodrigues



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