On 29/06/06, SmallFries <smallfries at gmail.com>
wrote:> Currently on a CentOS 4.3 system with the 2.6.14.3 kernel.
> Is there a recommend way to properly recompile the kernel?
>
> I was thinking of dling the source from kernel.org, but I was told that
> using SRPMs would be better?
> Any suggestions ?
IPVS functionality is already available as a module in the default
kernel. No need to go compiling your own.
[root at lvs1b ~]# rpm -qf
/lib/modules/2.6.9-34.EL/kernel/net/ipv4/ipvs/ip_vs.ko
kernel-2.6.9-34.EL
[root at lvs1b ~]# grep -Ei '(ipvs)|(ip_vs)' /boot/config-`uname -r`
CONFIG_IP_VS=m
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12
# IPVS transport protocol load balancing support
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
# IPVS scheduler
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_DH=m
CONFIG_IP_VS_SH=m
CONFIG_IP_VS_SED=m
CONFIG_IP_VS_NQ=m
# IPVS application helper
CONFIG_IP_VS_FTP=m
If it's additional tools you need, Heartbeat, ipvsadm etc. then these
are available from Extras (Heartbeat 1.2.3, ipvsadm 1.24
-http://www.mirrorservice.org/sites/mirror.centos.org/4/extras/i386/RPMS/
) and Testing repositories (Heartbeat 2.0.4-1 -
http://dev.centos.org/centos/4/testing/i386/RPMS/ )
Will.