ClusterLabs/pacemaker — pull request #161 by davidvossel (2012-09-27 22:50:55+00:00)
Title: stonith registers devices from cib

Stonith now registers devices configured in pacemaker by watching the CIB. This allows every stonith instance to run every device in the pacemaker configuration. Now that stonith devices are capable of running on all nodes, stonith is capable of avoiding node suicide situations by no longer delegating fencing operations to devices living on the target node.

Priority is given to devices pacemaker issues successful monitoring operations on through the use of the "verified" flag. When the top level remote operation gets the node query results in, devices marked as "verified" are matched before those that are un-verified. This guarantees agents that have proven their ability to connect to the stonith device will be used over agents that have not.