Sometimes the poweroff is caught by the OS, and therefore launches a soft halt.<div><br></div><div>Try to see if those two imply similar response or not.</div><div><div>ipmitool -H host1 -U root1 -P secret1 power off</div>
<div>ipmitool -H host1 -U root1 -P secret1 power cycle<br>or whatever works with ipmilan<br><br><div class="gmail_quote">2013/1/21 zorg <span dir="ltr">&lt;<a href="mailto:zorg@probesys.com" target="_blank">zorg@probesys.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
I have a working example using pacemaker corosync with stonith<br>
<br>
primitive s_ipmi_hv1 stonith:fence_ipmilan \<br>
     op monitor interval=&quot;20s&quot; \<br>
     params action=&quot;off&quot; pcmk_host_check=&quot;static-list&quot;<br>
pcmk_host_list=&quot;hv2&quot; ipaddr=&quot;21.37.43.132&quot; login=&quot;admin&quot; passwd=&quot;xxxxx&quot;<br>
power_wait=&quot;4&quot; lanplus=&quot;true&quot; delay=&quot;1&quot; verbose=&quot;1&quot;<br>
primitive s_ipmi_hv2 stonith:fence_ipmilan \<br>
     op monitor interval=&quot;20s&quot; \<br>
     params action=&quot;off&quot; pcmk_host_check=&quot;static-list&quot;<br>
pcmk_host_list=&quot;hv1&quot; ipaddr=&quot;21.37.43.130&quot; login=&quot;admin&quot; passwd=&quot;xxxx&quot;<br>
power_wait=&quot;4&quot; lanplus=&quot;true&quot; delay=&quot;10&quot; verbose=&quot;1&quot;<br>
location loc-prefer-stonith-1 s_ipmi_hv1 \<br>
     rule $id=&quot;loc-prefer-stonith-1-rule&quot; inf: #uname eq hv1<br>
location loc-prefer-stonith-2 s_ipmi_hv2 \<br>
     rule $id=&quot;loc-prefer-stonith-2-rule&quot; inf: #uname eq hv2<br>
<br>
<br>
But When I set<br>
stonith-action=poweroff stonith stop working<br>
<br>
and if I reset back to<br>
stonith-action=reboot it working killing the node<br>
<br>
I really can&#39;t undestand why<br>
<br>
_______________________________________________<br>
Linux-HA mailing list<br>
<a href="mailto:Linux-HA@lists.linux-ha.org">Linux-HA@lists.linux-ha.org</a><br>
<a href="http://lists.linux-ha.org/mailman/listinfo/linux-ha" target="_blank">http://lists.linux-ha.org/mailman/listinfo/linux-ha</a><br>
See also: <a href="http://linux-ha.org/ReportingProblems" target="_blank">http://linux-ha.org/ReportingProblems</a><br>
</blockquote></div><br></div></div>