LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Streamline Highly Availability and Load Balancing

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Streamline Highly Availability and Load Balancing
From: "Kent Pirkle" <kpirkle@xxxxxxxxxx>
Date: Wed, 29 Jan 2003 10:30:09 -0500 (EST)
I tried your suggestions, but I'm still not making progress. I believe you
are correct about the arp issue. Am I correct that the virtual ip address
10.1.57.100 eth0:0 should only exist on the machine currently acting as
director?

ipvsadm -L -n:

[root@ultux3 ha.d]# ipvsadm -L -n
IP Virtual Server version 1.0.4 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  10.1.57.100:80 rr persistent 10
  -> 10.1.57.4:80                 Route   1      0          0
  -> 10.1.57.3:80                 Local   1      0          0
  -> 127.0.0.1:80                 Local   0      0          0


[root@ultux3 root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:D0:B7:DF:9C:44
          inet addr:10.1.57.3  Bcast:10.1.57.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:904173 errors:0 dropped:0 overruns:0 frame:24
          TX packets:638031 errors:0 dropped:0 overruns:0 carrier:0
          collisions:81828 txqueuelen:100
          RX bytes:117502542 (112.0 Mb)  TX bytes:99127178 (94.5 Mb)
          Interrupt:19 Base address:0xd000

eth0:0    Link encap:Ethernet  HWaddr 00:D0:B7:DF:9C:44
          inet addr:10.1.57.100  Bcast:10.1.57.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xd000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:148042 errors:0 dropped:0 overruns:0 frame:0
          TX packets:148042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20867962 (19.9 Mb)  TX bytes:20867962 (19.9 Mb)

[root@ultux4 root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:D0:B7:C4:09:EA
          inet addr:10.1.57.4  Bcast:10.1.57.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1104198 errors:0 dropped:0 overruns:0 frame:54
          TX packets:876363 errors:0 dropped:0 overruns:0 carrier:0
          collisions:54935 txqueuelen:100
          RX bytes:163952238 (156.3 Mb)  TX bytes:167240864 (159.4 Mb)
          Interrupt:19 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:319801 errors:0 dropped:0 overruns:0 frame:0
          TX packets:319801 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:51711147 (49.3 Mb)  TX bytes:51711147 (49.3 Mb)



> I think your non-loadbalancing issue is arp related.  If you have the
> flexibility try looking at your ARPs on the switches and the real server
> that is getting all the traffic.  If this doesn't help provide more
> information on what is going on.  (ipvsadm -L -n output, tcpdumps).





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