本月博客排行
-
第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
最新文章列表
高可用与负载均衡: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/ ...