本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- xiangjie88
- zysnba
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- arpenker
- tanling8334
- gaojingsong
- kaizi1992
- xpenxpen
- 龙儿筝
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
- kingwell.leng
最新文章列表
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 ...