本月博客排行
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- benladeng5225
- wy_19921005
- fantaxy025025
- e_e
- zysnba
- ssydxa219
- sam123456gz
- javashop
- arpenker
- tanling8334
- kaizi1992
- xpenxpen
- wiseboyloves
- xiangjie88
- ranbuijj
- ganxueyun
- sichunli_030
- xyuma
- wangchen.ily
- jh108020
- lemonhandsome
- zxq_2017
- jbosscn
- Xeden
- luxurioust
- zhanjia
- lzyfn123
- forestqqqq
- ajinn
- nychen2000
- wjianwei666
- hanbaohong
- daizj
- 喧嚣求静
- mwhgJava
- silverend
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
- johnsmith9th
- jveqi
- java-007
- sunj
最新文章列表
高可用与负载均衡: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/ ...