LVS + keepalived

yum install kernel-devel
kernel SRPM のダウンロード from riken
rpm -ivh kernel-2.6.9-67.0.15.EL.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --target `uname -m` kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.9
mv linux-2.6.9/ /usr/src/kernels/
cd /usr/src/
ln -s kernels/linux-2.6.9/ linux

■ keepalived
tar xzf keepalived-1.1.15.tar.gz
cd keepalived-1.1.15

yum install openssl-devel

./configure --prefix=/usr/local/keepalived-1.1.15

<-- 中略 -->

checking for strtol... yes
checking for uname... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating genhash/Makefile
config.status: creating keepalived/core/Makefile
config.status: creating keepalived/include/config.h
config.status: creating keepalived.spec
config.status: creating keepalived/Makefile
config.status: creating lib/Makefile
config.status: creating keepalived/vrrp/Makefile

Keepalived configuration
------------------------
Keepalived version       : 1.1.15
Compiler                 : gcc
Compiler flags           : -g -O2
Extra Lib                : -lpopt -lssl -lcrypto
Use IPVS Framework       : No
IPVS sync daemon support : No
Use VRRP Framework       : Yes
Use LinkWatch            : No
Use Debug flags          : No

なんか、No ばかり。

cd /usr/src
ln -s kernels/2.6.9-67.0.15.EL-i686/ linux
cp kernels/2.6.9-67.0.15.EL-i686/include/linux/version.h linux/include/linux/
./configure --prefix=/usr/local/keepalived-1.1.15 --with-kernel-dir=/usr/src/linux
make
make install