fence_pcmk agent (supplied with Pacemaker) to redirect any fencing requests from CMAN components (such as dlm_controld) to Pacemaker. Pacemaker's fencing subsystem lets other parts of the stack know that a node has been successfully fenced, thus avoiding the need for it to be fenced again when other subsystems notice the node is gone.
fencedevices section and contain:
<fencedevice name="pcmk" agent="fence_pcmk"/>Each
clusternode must be configured to use this “device” by adding a fence method block that lists the node's name as the port.
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="node_name_here"/>
</method>
</fence>
<?xml version="1.0"?>
<cluster config_version="1" name="mycluster">
<logging debug="off"/>
<clusternodes>
<clusternode name="pcmk-1" nodeid="1">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="pcmk-1"/>
</method>
</fence>
</clusternode>
<clusternode name="pcmk-2" nodeid="2">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="pcmk-2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice name="pcmk" agent="fence_pcmk"/>
</fencedevices>
</cluster>