<div>Hi folks,</div><div>I&#39;m running a 2 node cluster with pacemaker, DRBD dual primary, ocfs2.</div><div>Now I&#39;m trying to setup stonith correctly, but my stonith resources don&#39;t start. I did some research but I didn&#39;t find a solution to my problem.</div>

<div><br></div><div>This is my cib:</div><div><br></div><div>node server1</div><div>node server2</div><div>primitive DLM ocf:pacemaker:controld \</div><div><span style="white-space:pre">        </span>op monitor interval=&quot;120s&quot;</div>

<div>primitive DRBD ocf:linbit:drbd \</div><div><span style="white-space:pre">        </span>params drbd_resource=&quot;r0&quot; \</div><div><span style="white-space:pre">        </span>operations $id=&quot;DRBD-operations&quot; \</div>

<div><span style="white-space:pre">        </span>op monitor interval=&quot;20&quot; role=&quot;Master&quot; timeout=&quot;20&quot; \</div><div><span style="white-space:pre">        </span>op monitor interval=&quot;30&quot; role=&quot;Slave&quot; timeout=&quot;20&quot;</div>

<div>primitive FS ocf:heartbeat:Filesystem \</div><div><span style="white-space:pre">        </span>params device=&quot;/dev/drbd1&quot; directory=&quot;/drbd&quot; fstype=&quot;ocfs2&quot; \</div><div><span style="white-space:pre">        </span>op monitor interval=&quot;120s&quot; \</div>

<div><span style="white-space:pre">        </span>meta target-role=&quot;Started&quot;</div><div>primitive O2CB ocf:pacemaker:o2cb \</div><div><span style="white-space:pre">        </span>op monitor interval=&quot;120s&quot;</div>
<div>primitive STONITH1 stonith:external/ipmi \</div><div><span style="white-space:pre">        </span>params hostname=&quot;server1&quot; ipaddr=&quot;10.0.0.1&quot; userid=&quot;user&quot; passwd=&quot;user&quot; interface=&quot;lan&quot; \</div>

<div><span style="white-space:pre">        </span>meta target-role=&quot;Started&quot;</div><div>primitive STONITH2 stonith:external/ipmi \</div><div><span style="white-space:pre">        </span>params hostname=&quot;server2&quot; ipaddr=&quot;10.0.0.2&quot; userid=&quot;user&quot; passwd=&quot;user&quot; interface=&quot;lan&quot; \</div>

<div><span style="white-space:pre">        </span>meta target-role=&quot;Started&quot;</div><div>ms ms-DRBD DRBD \</div><div><span style="white-space:pre">        </span>meta resource-stickines=&quot;100&quot; notify=&quot;true&quot; master-max=&quot;2&quot; interleave=&quot;true&quot; target-role=&quot;Stopped&quot;</div>

<div>clone cloneDLM DLM \</div><div><span style="white-space:pre">        </span>meta globally-unique=&quot;false&quot; interleave=&quot;true&quot; target-role=&quot;Started&quot;</div><div>clone cloneFS FS \</div>
<div><span style="white-space:pre">        </span>meta interleave=&quot;true&quot; ordered=&quot;true&quot;</div><div>clone cloneO2CB O2CB \</div><div><span style="white-space:pre">        </span>meta globally-unique=&quot;false&quot; interleave=&quot;true&quot; target-role=&quot;Started&quot;</div>

<div>location loc-stonith1 STONITH1 -inf: server1</div><div>location loc-stonith2 STONITH2 -inf: server2</div><div>colocation DLM-DRBD inf: cloneDLM ms-DRBD:Master</div><div>colocation FS-O2CB inf: cloneFS cloneO2CB</div>

<div>colocation O2CB-DLM inf: cloneO2CB cloneDLM</div><div>order DLM-before-O2CB inf: cloneDLM:start cloneO2CB:start</div><div>order DRBD-before-DLM inf: ms-DRBD:promote cloneDLM:start</div><div>order O2CB-before-FS inf: cloneO2CB:start cloneFS:start</div>

<div>property $id=&quot;cib-bootstrap-options&quot; \</div><div><span style="white-space:pre">        </span>dc-version=&quot;1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd&quot; \</div><div><span style="white-space:pre">        </span>cluster-infrastructure=&quot;openais&quot; \</div>

<div><span style="white-space:pre">        </span>expected-quorum-votes=&quot;2&quot; \</div><div><span style="white-space:pre">        </span>no-quorum-policy=&quot;ignore&quot; \</div><div>
<span style="white-space:pre">        </span>stonith-enabled=&quot;true&quot; \</div><div><span style="white-space:pre">        </span>stonith-action=&quot;poweroff&quot; \</div><div><span style="white-space:pre">        </span>default-resource-stickiness=&quot;1000&quot;</div>

<div><br></div><div><br></div><div>Is there something wrong?</div><div>-----------------------------------</div><div><br></div><div>crm_mon -n:</div><div><br></div><div>Last updated: Wed May 26 00:04:53 2010</div><div>Stack: openais</div>

<div>Current DC: server1 - partition with quorum</div><div>Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd</div><div>2 Nodes configured, 2 expected votes</div><div>6 Resources configured.</div><div>============</div>

<div><br></div><div>Node server2: online</div><div> <span style="white-space:pre">        </span>DLM:0   (ocf::pacemaker:controld) Started </div><div><span style="white-space:pre">        </span>O2CB:0  (ocf::pacemaker:o2cb) Started</div>

<div><span style="white-space:pre">        </span>FS:0    (ocf::heartbeat:Filesystem) Started</div><div><span style="white-space:pre">        </span>DRBD:0  (ocf::linbit:drbd) Master</div><div>
Node server1: online</div><div> <span style="white-space:pre">        </span>DRBD:1  (ocf::linbit:drbd) Master </div><div><span style="white-space:pre">        </span>DLM:1   (ocf::pacemaker:controld) Started </div>
<div><span style="white-space:pre">        </span>O2CB:1  (ocf::pacemaker:o2cb) Started </div><div><span style="white-space:pre">        </span>FS:1    (ocf::heartbeat:Filesystem) Started</div>
<div><br></div><div>Failed actions:</div><div>   STONITH2_start_0 (node=server1, call=8, rc=1, status=complete): unknown erro r</div><div>     STONITH1_start_0 (node=server2, call=8, rc=1, status=complete): unknown erro r</div>

<div><br></div><div>------------------------</div><div><br></div><div>crm_verify -L -V:</div><div><br></div><div>crm_verify[5695]: 2010/05/26_00:17:19 WARN: unpack_rsc_op: Processing failed op STONITH2_start_0 on server1: unknown error(1)</div>

<div>crm_verify[5695]: 2010/05/26_00:17:19 WARN: unpack_rsc_op: Processing failed op STONITH1_start_0 on server2: unknown error(1)</div><div>crm_verify[5695]: 2010/05/26_00:17:19 WARN: common_apply_stickiness: Forcing STONITH1 away from server2 after 1000000 failures (max=1000000)</div>

<div>crm_verify[5695]: 2010/05/26_00:17:19 WARN: common_apply_stickiness: Forcing STONITH2 away from server1 after 1000000 failures (max=1000000)</div><div><br></div><div><br></div><div>I hope someone can help me,</div><div>

Thank you!</div><div><br></div><div>Matt</div>