nopreempt not working - Keepalived 1.2.15

krishnen chedambarum <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CA+r1PNb0kko-jVOeOvOKrA5+TFGfGWviU9oyws6+QqEJa38TnQ@mail.gmail.com>
Hi All,

Am having an issue with keepalived-1.2.15

I have installed on two Machines , A and B , both running RedHat 6.5

The conf is the same on both machines:

vrrp_instance VI_1 {
        interface eth0
        state BACKUP
        virtual_router_id 200
        nopreempt
        priority 150
        authentication {
            auth_type PASS
            auth_pass bar
        }
        virtual_ipaddress {
              10.21.7.6 dev eth0
        }
  }

Machine A originally has VIP 10.21.7.6. When i reboot A, VIP is switched to
machine B.
However when machine A comes back up, the VIP is switched back to A from B.
Which is unexpected if nopreempt option is enabled as i understand....

The message in the log of Machine B when the VIP is lost to A is:

Received lower prio advert in nopreempt mode

Can anybody please help?

Would this be related to this fix?

https://github.com/vincentbernat/keepalived/commit/13693a2d1b834c749394ef0bdee6afe9eb1fad2d

Thanks,
Krishnen

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
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.