本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- e_e
- hbxflihua
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- 解宜然
- gashero
- sichunli_030
- cuityang
- fantaxy025025
- vipbooks
- wallimn
- gdpglc
- ssydxa219
- javashop
- ranbuijj
- jickcai
- hanbaohong
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- 淡看人生
- java-007
- zhangyi0618
- AVI
- laiyangdeli
- liunancun
- xpenxpen
- zhangdaiscott
- 龙哥IT
- nychen2000
- conkeyn
- ouanui
- lemonhandsome
- silverend
- jveqi
最新文章列表
keepalived 实现热备
基本环境
MASTER机,10.0.0.9
BACKUP机,10.0.0.10
1,安装
wget http://www.keepalived.org/software/keepalived-1.2.7.tar.gz
tar xvzf keepalived-1.2.7.tar.gz
cd keepalived-1.2.7
./configure
make
make install
...
centos 6.2 keepalived/haproxy 安装测试
http://www.bitbi.biz/centos-6-2-keepalivedhaproxy-%E5%AE%89%E8%A3%85%E6%B5%8B%E8%AF%95-2912/
Haproxy 不用多说了,她可以做4/7层代理,本文是利用Haproxy的7层代理与Keepalived实现一个负载均衡器
1.系统
OS:centos6.2(64bit)
MAS ...
keepalived编译Use IPVS Framework No
安装编译keeepalived时需要支持LVS时才可以做LVS调度:
例如出现下面情况,将不支持lvs!
Keepalived configuration
------------------------
Keepalived version : 1.1.15
Compiler : gcc
Compiler flags ...
在CentOS 6.3 下安装 ipvsadm 1.26.1 & keepalived 1.2.5
IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer at the front of a cluster of r ...
安装openssl
编译keepalived时报错
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files. !!!
再安装OpenSSL,顺序如下:
[root@localhost opens ...
keepalived实现双机热备
blog迁移至
:http://www.micmiu.com
keepalived是一个类似于layer3, 4,
5 交换机制的软件,也就是我们平时说的第3层、第4层和第5层交换。Keepalived的作用是检测web服务器的状态,如果有一台web服务器死机,或工作出现故障,Keepalived将检测到,并将有故障的web服务器从系统中剔除,当web服务器 ...
lvs+keepalived配置负载均衡
为了解决单点故障以及单台服务器的压力问题,在统一访问接口的同时,尽量将访问分发到多台web服务器,于是选择了LVS+Keepalived来实现负载均衡。
1、安装keepalived
apt-get install keepalived
2、修改 /etc/keepalived/keepalived.conf
! Configuration file for keepalived
glob ...