[Pacemaker] Controlling Stonith

Andrew Beekhof andrew at beekhof.net
Mon Sep 19 23:08:07 EDT 2011


On Thu, Sep 1, 2011 at 8:22 PM, Prakash Velayutham
<prakash.velayutham at cchmc.org> wrote:
> Hi,
>
> Is there a way to control which node in the cluster stoniths which other node based on some sort of connectivity information (using the heartbeat network)?

Use the same method as described here:
   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch09s03s03.html

Just use your stonith agent as the resource in the location constraint.

>
> Currently, in case one node in the cluster has network issues in its private/heartbeat network, both nodes try to reset each other. I would rather like the good node in the cluster reset the node with network issue based on connectivity information (similar to a ping resource or as such). Is this possible? If yes, is there a config example that I can look at?
>
> Thanks,
> Prakash
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list