Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question pacemaker with heartbeat, deny stonith resource failover

    Hi folks,

    I'm stuck in the HA-Cluster config with pacemaker, heartbeat and stonith.
    The cluster is symetric (2 nodes), so all resource are for failover - except 1.
    How can I configure a static resource, which only belongs to one node and never failover to the other node.

    The problem is, I have a stonith resource (external/ipmi) which should reboot the lost node about IPMI, the resources are listed green and running correctly. But the cluster tries to failover the resource to the 2nd node, and doesn't execute the stonith reboot command.

    Here are my entries in for stonith:
    stonith_host myhost-1-ipmi external/ipmi ADMIN ADMIN
    stonith_host myhost-2-ipmi external/ipmi ADMIN ADMIN

    The reboot command about ipmitool works as well.

    Any idea what's wrong and how I deny a failover for 1 resource?
    Thx and regards

  2. #2
    I found it out by my self.

    Solution: Create the same resource on the other node, with score "-INFINTIY"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts