susue9.3(2.6.5-7.244-smp)和suse10(2.6.16.21-0.8-smp) 如何配置ipvsadm?
描述:
一、lvs server(vip:192.168.5.230)和realserver均为redhat as5,安装ipvsadm和piranha均能成功实现lvs/dr
二、lvs server为redhat as5,realserver均为suse9.3,却不能成功,需要给suse9.3打arp补丁吗?
lvs server(redhat as5)配置如下:
1、ipvsadm:
ipvsadm -C
ipvsadm -A -t 192.168.5.230:80 -s wlc
ipvsadm -a -t 192.168.5.230:80 -r 192.168.5.232 -g
ipvsadm -a -t 192.168.5.230:80 -r 192.168.5.243 -g
#ipvsadm -a -t 192.168.5.230:80 -r 192.168.0.22 -g
ipvsadm -a -t 192.168.5.230:80 -r 192.168.0.21 -g
2、sysctl.conf
net.ipv4.ip_forward = 1
realserver(suse9.3)配置如下
1、ifconfig lo:0 192.168.5.230 netmask 255.255.255.255 broadcast 192.168.5.230 up
route add -host 192.168.5.230 dev lo:0
2、sysctl.conf
net.ipv4.conf.lo.arp_ignore = 1
net.ipv4.conf.eth0.arp_ignore = 1
#net.ipv4.conf.eth1.arp_ignore = 1
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.eth0.arp_announce = 2
#net.ipv4.conf.eth1.arp_announce = 2
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
难道是没有全部关掉arp?
请章博士和各位赐教,谢谢。
wensong
周日, 2008-01-20 02:16
Permalink
suse9.3应该不需要打arp
suse9.3应该不需要打arp补丁,用arp announce/arp ignore应该是可以工作的。
请参见
上面的描述和用法。另外,可以在real server上抓抓报文看看,看在哪一步出问题。
weixiaolei
周五, 2008-01-25 07:05
Permalink
suse9.3应该不需要打arp
多谢wensong ,经确认后,我们又在realserver上做了如下设置,在 httpd.conf增加对vip的监听,目前已经成功用于生产环境。
再次表示感谢!
Anonymous (没有被验证)
周三, 2014-03-05 14:07
Permalink
SFWiajALVDsSoxbYzAj
That's really thniikng of the highest order
Anonymous (没有被验证)
周三, 2014-03-05 22:24
Permalink
mUOoigzEXxQRLROupDZq
I can't beelvie I've been going for years without knowing that.
Anonymous (没有被验证)
周三, 2014-03-26 11:50
Permalink
rsBLlXOGTnMAhFVTGYxL
health insurance online quotes bestantibioticsonline.net Ciprofloxacin dosing viagra levitra
Anonymous (没有被验证)
周三, 2014-06-04 23:27
Permalink
lCRpqTpsis
Cheap Car Insurance Quote cheap car insurnace cheap auto insurance pa cheap business ins
Anonymous (没有被验证)
周一, 2014-11-10 23:03
Permalink
SfpyxvCQWoGOFJYlLyE
life insurance no exam billig viagra cheap car insurance quotes buy car insurance online
Anonymous (没有被验证)
周五, 2014-11-28 06:48
Permalink
sCCUbHWMSOYuztX
best price cialis online online buy viagra private health insurance global life insurance online life insurance
Anonymous (没有被验证)
周四, 2014-12-11 12:09
Permalink
EqXdCQFoxJ
Super extcied to see more of this kind of stuff online.
Anonymous (没有被验证)
周五, 2014-12-19 16:03
Permalink
BieEKkQnELiLkafdRT
Evyonree would benefit from reading this post
Anonymous (没有被验证)
周二, 2014-12-23 15:14
Permalink
eAFHlrcyuufQJFeblp
Apitpcearion for this information is over 9000-thank you!
Anonymous (没有被验证)
周四, 2014-12-25 06:37
Permalink
EhgXLtDtsGzUunztDGFp
life insurance quotes
Anonymous (没有被验证)
周五, 2015-02-20 10:10
Permalink
fdVVQvZKoAERulljuLUT
rate erectile needs even began insurance quotes auto should consult secure habitat car insurance quotes traffic laws weed epimedum cialis 25mg online satisfaction over reason brings term life insurance sound investments
Anonymous (没有被验证)
周三, 2015-02-25 17:11
Permalink
MOnggPyQkUuzdOnpMAv
billing invoices online auto insurance start enjoying other buy viagra online cheap increasing body before viagra online hippocrates natural organic erections ever cares again insurance cheap no fault toughest part
Anonymous (没有被验证)
周五, 2015-04-03 05:27
Permalink
MTNHDmiSOEaVMDwQ
source against sildenafil cause scarring male enhancement cialis such natural activity around cialis online called visually levitra sales sex hormones driver computed insurance auto long tribulus cialis month
Anonymous (没有被验证)
周一, 2015-04-20 13:36
Permalink
ZFgBjrqGkP
does occur online auto insurance insurance hearing viagra vs cialis would find temporary car insurance reach policy insurance auto insurance quotes in GA steer clear temporary car insurance in Brooklyn, NY vehicles people