pacemaker with heartbeat, deny stonith resource failover
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 ha.cf for stonith:
stonith_host myhost-1-ipmi external/ipmi 192.168.10.100 ADMIN ADMIN
stonith_host myhost-2-ipmi external/ipmi 192.168.10.101 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