<div dir="ltr"><div><div><div><div><div>Hi:<br></div>I configure stonith on CentOS 6.2 with fence-ipmilan agent:<br>primitive node2-stonith stonith:fence_ipmilan \<br>        params pcmk_host_list=&quot;node2&quot; pcmk_host_check=&quot;static-list&quot; ipaddr=&quot;192.168.170.1&quot; login=&quot;root&quot; passwd=&quot;123&quot; lanplus=&quot;false&quot; power_wait=&quot;1&quot;<br>
<br></div>The IPaddr for IPMI and credentials are verified to be correct with raw ipmitool command.<br><br></div>While I test the stonith, I just found that the node1-stonith seem not working at all, and I also found some strange log on another node which is expected to kill node1:<br>
<br>Oct  9 04:39:05 node1 stonith-ng: [3705]: info: stonith_fence: Exec &lt;stonith_command t=&quot;stonith-ng&quot; st_async_id=&quot;4ca92d0e-9a2a-4fdd-8968-c91eb89e8cbe&quot; st_op=&quot;st_fence&quot; st_callid=&quot;0&quot; st_callopt=&quot;0&quot; st_remote_op=&quot;4ca92d0e-9a2a-4fdd-8968-c91eb89e8cbe&quot; st_target=&quot;node2&quot; st_device_action=&quot;reboot&quot; st_timeout=&quot;54000&quot; src=&quot;node3&quot; seq=&quot;12&quot; /&gt;<br>
Oct  9 04:39:05 node1 stonith-ng: [3705]: info: can_fence_host_with_device: node2-stonith can fence node2: static-list<br>Oct  9 04:39:05 node1 stonith-ng: [3705]: info: stonith_fence: Found 1 matching devices for &#39;node2&#39;<br>
Oct  9 04:39:05 node1 stonith-ng: [3705]: info: stonith_command: Processed st_fence from node3: rc=-1<br>Oct  9 04:39:05 node1 stonith-ng: [3705]: info: make_args: reboot-ing node &#39;node2&#39; as &#39;port=node2&#39;<br>
Oct  9 04:39:05 node1 crmd: [3710]: info: send_direct_ack: ACK&#39;ing resource op drbd_hadoop:1_notify_0 from 77:4:0:ee8de687-92c9-4123-8efb-befd45814a3b: lrm_invoke-lrmd-1381264745-30<br>Oct  9 04:39:05 node1 crmd: [3710]: info: process_lrm_event: LRM operation drbd_hadoop:1_notify_0 (call=20, rc=0, cib-update=0, confirmed=true) ok<br>
Oct  9 04:39:05 node1 stonith-ng: [3705]: ERROR: log_operation: Operation &#39;reboot&#39; [22346] (call 0 from (null)) for host &#39;node2&#39; with device &#39;node2-stonith&#39; returned: -2<br>Oct  9 04:39:05 node1 stonith-ng: [3705]: ERROR: log_operation: node2-stonith: Rebooting machine @ IPMI:192.168.170.1...Failed<br>
<br></div>The log shows that stonith failed with return value (-2). However, what does this mean? Is there any configure issue?<br></div>Thanks.<br></div>