Re: Keepalived won't see second master (EQUAL state)

Graeme Fowler <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
On Fri, 2014-07-11 at 16:51 +0400, Wladimir Dowgielewicz wrote:
> 4. Plug cables to switch and run keepalived with following config: 
> http://pastebin.com/TVRnZDq3

vrrp_instance VR_AP {
        state EQUAL
        interface eth1
        garp_master_delay 51
        virtual_router_id 187
        priority 1

'state' is one of MASTER,BACKUP. EQUAL is not a valid state.

Unless something else differentiates the routers, two nodes with the
same state and priority will always argue and never converge.

You should have one with a higher priority, or a check which can assign
a priority dynamically.

Graeme


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