Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
    • Tags

    high availability: resource agent Route active on multiple nodes

    Posted on

    Hi,
    I want to create a simple cluster where only the second interface is managed.
    I create my resources in the following ways:

    pcs resource create ping-gateway ocf:pacemaker:ping name=ping-counter host_list=10.22.5.254 --clone
    pcs resource create eth1 ocf:heartbeat:IPaddr2 ip=10.22.5.160 nic=eth1 cidr_netmask=24
    pcs resource create route1 ocf:heartbeat:Route destination="10.22.5.0/24" device="eth1" gateway="10.22.5.254" table="trust"
    pcs constraint location eth1 rule id=eth1_rule constraint-id=eth1_location ping-counter eq 0
    pcs constraint ticket set eth1 route1 sequential=false setoptions ticket=interfaces id=interfaces loss-policy=stop
    crm_ticket --ticket interfaces --grant --force

    pcs constraint colocation set eth1 route1 sequential=true setoptions id=coloc score=INFINITY
    pcs constraint order set eth1 route1 sequential=true setoptions id=launch_order kind=mandatory

    when I start the cluster, I end up with route error:
    root@nodeA ~]# pcs resource
    Clone Set: ping-gateway-clone [ping-gateway]
    Started: [nodeA nodeB ]
    eth1 (ocf::heartbeat:IPaddr2): Started nodeA
    eth10 (ocf::heartbeat:IPaddr2): Started nodeA
    eth11 (ocf::heartbeat:IPaddr2): Started nodeA
    eth12 (ocf::heartbeat:IPaddr2): Started nodeA
    route1 (ocf::heartbeat:Route): FAILED (blocked)[nodeA nodeB ]

    I don't know why my resource 'route1' is active on multiple nodes instead to be active only on the same node the eth1

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat