How do I add the noprefixroute flag when my virtual IP address is created in a Pacemaker cluster?
Issue
- How can I prevent the virtual IP address in my Pacemaker cluster from creating a new route?
- I want to add a
CONFFLAG-LIST
to myIPaddr2
resource as described in theip-address(8)
man page.
ip address { add | change | replace } IFADDR dev IFNAME [ LIFETIME ] [ CONFFLAG-LIST ]
...
FLAG-LIST := [ FLAG-LIST ] FLAG
FLAG := [ [-]permanent | [-]dynamic | [-]secondary | [-]primary | [-]tentative | [-]deprecated | [-]dadfailed | [-]temporary | CONFFLAG-LIST ]
CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG
CONFFLAG := [ home | mngtmpaddr | nodad | noprefixroute | autojoin ]
Environment
- Red Hat Enterprise Linux 6, 7, 8 (with the High Availability Add-on)
- Pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.