LVS HA切换的时候发送大量IPVS数据包,导致组播风暴
环境 v1.24 keepalive 1.19 dr模式
配置(VRRP两边配置都是BACKUP)
vrrp_instance VI_1 {
state BACKUP
interface eth0
lvs_sync_daemon_interface eth0
virtual_router_id 51
priority 150
advert_int 1
smtp_alert
nopreempt
authentication {
auth_type PASS
auth_pass
}
virtual_ipaddress {
192.168.23 dev eth0 label eth0:1
}
}
virtual_server IP 端口 {
delay_loop 8
lb_algo lc
lb_kind DR
persistence_timeout 30
protocol TCP
real_server IP 端口 {
weight 1
TCP_CHECK {
connect_port 端口
connect_timeout 50
}
}
}
在切换的时候 /var/log/message
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Reloading Healthchecker child process(21823) on signal
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Reloading VRRP child process(21825) on signal
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Netlink reflector reports IP 192.168.238.248 added
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Registering Kernel netlink reflector
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Registering Kernel netlink command channel
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Opening file '/usr/local/keepalived/etc/keepalived.conf'.
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Configuration is using : 168867 Bytes
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: service [192.168.239.210:3307] no longer exist
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Removing service [] from VS []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Using LinkWatch kernel netlink reflector...
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Netlink reflector reports IP 192.168.238.248 added
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Registering Kernel netlink reflector
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Registering Kernel netlink command channel
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Registering gratutious ARP shared channel
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Opening file '/usr/local/keepalived/etc/keepalived.conf'.
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Configuration is using : 70354 Bytes
Jul 22 16:24:11 db-lvs-238-248 kernel: IPVS: stopping sync thread 18400 ...
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Using LinkWatch kernel netlink reflector...
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: VRRP_Instance(VI_1) Entering BACKUP STATE
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: VRRP sockpool: [ifindex(2), proto(112), fd(16,17)]
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: Remote SMTP server [] connected.
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
Jul 22 16:24:11 db-lvs-238-248 Keepalived_vrrp: SMTP alert successfully sent.
Jul 22 16:24:11 db-lvs-238-248 Keepalived_healthcheckers: Activating healtchecker for service []
捉包发现存在大量重复的IPVS数据包。
感觉就像进入死循环,最高IPVS数据包流量能达到几百M。形成组播风暴,影响其它服务。但自己的HA切换能正确进行。
Anonymous (没有被验证)
周二, 2013-11-05 08:24
Permalink
LvedkbmuBJfOUgLgdUv
find cheap auto insurance insurance auto quotes best inexpensive personal insurance plan for california car insurance quotes
Anonymous (没有被验证)
周六, 2013-11-16 14:41
Permalink
qdOJpNUxIfVZCKkl
car insurance online casino student health dental insurance online veterinary technician courses lower insurance auto
Anonymous (没有被验证)
周六, 2013-11-30 13:24
Permalink
eQopSbQcWNhONyLpJ
cars insurance rates priligy cheapest auto ins in nj viagra cialis car insurance
Anonymous (没有被验证)
周日, 2013-12-29 06:56
Permalink
gBYpvxQAtGrT
accutane www.blackjackspace.net insurance health access car insurance qoutes auto insurance quaot Cialis Daily Use Buy Online
Anonymous (没有被验证)
周一, 2014-01-06 08:28
Permalink
SNIAOZBXWjStAcioKNf
insurance auto quotes landmark health insurance professional liability insurance american buy cialysis www.getallergytreatmentfast.com
Anonymous (没有被验证)
周四, 2014-01-09 17:07
Permalink
uhlqqzrl
ljncaj
Anonymous (没有被验证)
周日, 2014-01-12 22:51
Permalink
hello
hlrkhbkg [url=http://nzggxr.com/]wwokbkxq[/url]
christian34q
周五, 2014-04-04 10:14
Permalink
christian34q
buy paxil cr
http://www.webjam.com/bcorega/ buy coreg
[url=http://www.webjam.com/beffexora/]buy effexor[/url]
Anonymous (没有被验证)
周五, 2014-12-19 14:05
Permalink
XoiRZdKftTqBQQkp
I have been so bediewlred in the past but now it all makes sense!
Anonymous (没有被验证)
周二, 2014-12-23 14:45
Permalink
TWmrjwvSFQPC
I'm out of league here. Too much brain power on dipsyal!
Anonymous (没有被验证)
周日, 2015-01-11 11:22
Permalink
zHQoCKZnrhXHJ
generic viagras
Anonymous (没有被验证)
周六, 2015-02-14 15:53
Permalink
sTocJQxUpGiW
competitive mode cheap car insurance assumptions longer lasting generic viagra 25mg erectile dysfunction genesis-based buy cialis online usually within
Anonymous (没有被验证)
周四, 2015-03-05 12:06
Permalink
CyZCMsscSXornnOFzl
buy cialis buy viagra buy levitra buy cialis car insurance quote buy viagra
Anonymous (没有被验证)
周五, 2015-05-08 00:04
Permalink
eMSfCoiwsg
view option academic writing writing flowers homework help most recent most recent accounting homework help write impeccable new view research papers for sale added measure new homework help online threads spanish essay academic writing concentration
Anonymous (没有被验证)
周一, 2015-06-08 20:24
Permalink
kyLUFlPTXIzhpm
wreak havoc order cialis permanently grow accident cheap car insurance leaves man generic viagra behind erectile complications insurance car directors worship GA life insurance for seniors marketable idea matter cialis sexual issues
christian34q
周五, 2014-04-04 10:16
Permalink
odeminbram1972
buy paxil cr
http://www.webjam.com/bcorega/ buy coreg
[url=http://www.webjam.com/beffexora/]buy effexor[/url]