Re: VIP managed by Keepalived disappears...

Ranjith R <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAFAeOTDLVPGOE_72V1zuyWFyEEtV1=RLUrhoGBFL2rGr0vVd7A@mail.gmail.com>
Hello,

I assume sprdrsyas400 is Node A

Jul 10 12:03:09 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Received lower prio advert, forcing new election
Jul 10 12:03:09 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Sending gratuitous ARPs on eth0 for 10.180.88.35
Jul 10 12:03:09 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Received lower prio advert, forcing new election
Jul 10 12:03:09 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Sending gratuitous ARPs on eth0 for 10.180.88.35
Jul 10 12:04:25 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Received lower prio advert, forcing new election
Jul 10 12:04:25 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Sending gratuitous ARPs on eth0 for 10.180.88.35
Jul 10 12:04:25 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Received lower prio advert, forcing new election
Jul 10 12:04:25 sprdrsyas400 Keepalived_vrrp[2311]: VRRP_Instance(VI_1)
Sending gratuitous ARPs on eth0 for 10.180.88.35

Node B seems to be having firewall/networking issue. It is not receiving
the VRRP advertisement send by the Master/Node A intermittently. VRRP
advertisement send by node B is received in Node A

State transition of sprdrsyas401(node B) flips to backup whenever Node B
receives Node A's advertisement. If Node B receives Node A's VRRP for every
1 second, then it should not do a state transition.

Jul 10 12:03:09 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Transition to MASTER STATE
Jul 10 12:03:09 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Received higher prio advert
Jul 10 12:03:09 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Entering BACKUP STATE
Jul 10 12:04:25 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Transition to MASTER STATE
Jul 10 12:04:25 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Received higher prio advert
Jul 10 12:04:25 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Entering BACKUP STATE
Jul 10 12:10:47 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Transition to MASTER STATE
Jul 10 12:10:48 sprdrsyas401 Keepalived_vrrp[2340]: VRRP_Instance(VI_1)
Entering MASTER STATE

But this should not make the VIP disappear completely. It should be visible
in either one of the host.

What would happen if you stop the keepalived service in either one of the
node. Does it bring back the VIP

I would suggest to try change the advert_int to 3 and see it makes any
difference.

You should try to understand why Node B does a state flip(why the high prio
vrrp advert is not seen by Node B intermittently)

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.