本月博客排行
-
第1名
duanfei -
第2名
benladeng5225 -
第3名
steven789654 - wddpwzzhao123
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- kaizi1992
- tanling8334
- vipbooks
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xiangjie88
- xpenxpen
- 喧嚣求静
- lchb139128
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- xiaoxinye
- flashsing123
- lyndon.lin
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
- hudiemeng870329
- 青否云后端云
- mft8899
- duanfei
最新文章列表
高可用与负载均衡:Haproxy(or lVS) + keepalived
sources:
Setting Up A High-Availability Load Balancer With HAProxy/Keepalived On Debian Lenny:
http://www.howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-keepalived-on-deb ...
在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 ...
piranha启动报错
配置lvs启动piranha-gui服务时报错:Permission denied: make_sock: could not bind to address [::]:3636
解决方案:关闭SELimux,vi /etc/selinux/config 将SELINUX=disabled,重启服务器,若还不行,将firewall关闭,service iptables stop
tun
redhat kernel 2.6.18-92.el5
server config
#!/bin/sh
VIP=192.168.1.10
LVS=192.168.1.150
RIP1=192.168.1.11
RIP2=192.168.1.12
GW=192.168.1.1
/etc/init.d/iptables stop
/etc/init.d/network rest ...
linux virtual serverNAT方式的最简配置
又是一篇“最简”配置……这是因为之前想直接装好2+2模式的lvs+keepalived,并且顺带弄好VIP,结果果断悲剧了,iptables和keepalived配置被我弄得一团糟。今天静下心来,重新先弄1+1的模式好了。
环境说明:
1台director:
eth0:10.1.1.11/24
eth1:10.20.40.2/24
1台real server:
eth0:10.20.40.10/ ...