LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Keepalived + LVS-DR not working

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Keepalived + LVS-DR not working
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: Sat, 21 Jul 2007 23:34:58 -0400
Gerry Reno wrote:
> Hi Joe,
> Yep, I did that already in /etc/sysconfig/network:
> NETWORKING=yes
> HOSTNAME=grp-01-30-50
> GATEWAY=192.168.1.1 <-------- IP of my network router gateway
>
> Gerry
>
I've been trying a number of things but nothing has got this setup to 
work. telnet connects from the internet and I can see it in tcpdump but 
all I ever get is InActConn after some seconds. I changed ip_forward 
from 0 to 1 but that didn't help either. Been staring at these tcpdumps 
for a while and it seems as though there is a lot of traffic between the 
two real servers. I see a lot of lines like this on both servers:

23:15:49.514332 IP grp-01-00-50.localdomain.51564 > 192.168.1.200.http: 
S 3488750225:3488750225(0) win 5840 <mss 1460,sackOK,timestamp 171514083 
0,nop,wscale 4>

Are they just passing the request back and forth instead of handling it 
locally?

Gerry



more info:
=================================================================
[root@grp-01-00-50 keepalived]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
link/ether 00:0c:29:a7:c7:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.150/24 brd 192.168.1.255 scope global eth0
inet 192.168.1.240/24 scope global secondary eth0
inet6 fe80::20c:29ff:fea7:c733/64 scope link
valid_lft forever preferred_lft forever

=================================================================
[root@grp-01-00-51 keepalived]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 192.168.1.240/32 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
link/ether 00:0c:29:54:ef:09 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.151/24 brd 192.168.1.255 scope global eth0
inet6 fe80::20c:29ff:fe54:ef09/64 scope link
valid_lft forever preferred_lft forever






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