LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS-DR problem.

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS-DR problem.
From: Meghanand Acharekar <vasco.postfix@xxxxxxxxx>
Date: Tue, 24 Feb 2009 15:01:54 +0530
Revisiting my setup

Hi,

I having following setup for LVS-DR cluster.
Having 3 machine ( 1 director & 2 real servers) with following settings

Director

IP    eth0   : 192.168.0.10  ( Netmask : 255.255.255.224 )
VIP  eth0:1 : 192.168.0.110 ( Netmask : 255.255.255.224 )

Realserver 1

IP    eth0   : 192.168.0.11  ( Netmask : 255.255.255.224 )
lo:0   : 192.168.0.110 ( Netmask : 255.255.255.255 )

Realserver 2
IP    eth0   : 192.168.0.12   ( Netmask : 255.255.255.224 )
lo:0   : 192.168.0.110    ( Netmask : 255.255.255.255 )

* Enabled packet forwarding on Director

net.ipv4.ip_forward = 1


on both the real server I have disabled arp by making following entries in
/etc/sysctl.conf
( Kindly let me know if anything is wrong here )


net.ipv4.conf.eth0.arp_ignore = 1
net.ipv4.conf.eth0.arp_announce = 2
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2

When I do a telnet to port 25 to VIP.
It did not get any response

[root@client1 ~]# telnet 192.168.0.110 25
Trying 192.168.0.110...

But I observed that request is reaching Director but not getting passed to
realservers from there.
Checked following output

[root@localhost ~]# ipvsadm -L -n --stats
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes
OutBytes
  -> RemoteAddress:Port
TCP  192.168.0.110:25                  36       56        0     3360
0
  -> 192.168.0.11:25                      22       33        0
1980        0
  -> 192.168.0.12:25                      14       23        0
1380        0

Not able to find out whats wrong :-(

I did LVS setup several time using LVS-NAT, but now facing lots of issues
with LVS-DR

Regards,

Meghanand N. Acharekar
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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