灌溉梦想,记录脚步
« »

部署LVS+Keepalived节点

安装步骤如下:

1
ln -s /usr/src/kernels/(现有内核)/  /usr/src/linux

下载

1
2
wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24.tar.gz
wget http://www.keepalived.org/software/keepalived-1.1.15.tar.gz

安装与启动

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tar zxvf ipvsadm-1.24.tar.gz
cd ipvsadm-1.24
make
make install
cd ..
tar zxvf keepalived-1.1.15.tar.gz
cd keepalived-1.1.15
./configure
make 
make install
 
cp /usr/local/etc/rc.d/init.d/keepalived /etc/rc.d/init.d/
cp /usr/local/etc/sysconfig/keepalived /etc/sysconfig/
mkdir /etc/keepalived
cp /usr/local/etc/keepalived/keepalived.conf /etc/keepalived/
cp /usr/local/sbin/keepalived /usr/sbin/
 
service keepalived start

日志信息 »

该日志于2010-03-12 10:58由 kevin 发表在技术合集分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

发表回复