LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

2.6 kernel on debian director

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: 2.6 kernel on debian director
From: "Jason Downing" <jasondowning@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Sep 2006 10:45:06 +1000
Hi,

I have upgraded my hot standby backup director to a 2.6.17 kernel, from kernel 
sources. I am using ultramonkey on debian, without local node. There are 2 
realservers, a primary linux director and a hot standby director, all on 
separate machines.

When I stop heartbeat on my primary directorI can see that the hot standby 
starts, it starts ldirectord, which finds the realservers and inserts them into 
the pool.

However connections from outside are ignored, and not passed onto the 
realservers.

IPVS is enabled in the kernel at build time, and ipvsadm works. I have 
net.ipv4.ip_forward = 1 in sysctl.conf.

Does anyone know if this is the right line to use for a 2.6 kernel? Or if there 
is any other thing I need to do with my 2.6 kernel to make it work?

This is the output of #ip addr sh eth0:

2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:09:ee:db:a3 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.17/24 brd 192.168.0.255 scope global eth0
    inet 192.168.0.240/24 brd 192.168.0.255 scope global secondary eth0
    inet6 fe80::211:9ff:feee:dba3/64 scope link
       valid_lft forever preferred_lft forever

Does this look right? The last two lines are not present with a 2.4 kernel, 
which works fine on the primary director. (192.168.0.240 is the VIP).

Thanks!!

<Prev in Thread] Current Thread [Next in Thread>
  • 2.6 kernel on debian director, Jason Downing <=