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"><<a href="mailto:zorg@probesys.com" target="_blank">zorg@probesys.com</a>></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="20s" \<br>
params action="off" pcmk_host_check="static-list"<br>
pcmk_host_list="hv2" ipaddr="21.37.43.132" login="admin" passwd="xxxxx"<br>
power_wait="4" lanplus="true" delay="1" verbose="1"<br>
primitive s_ipmi_hv2 stonith:fence_ipmilan \<br>
op monitor interval="20s" \<br>
params action="off" pcmk_host_check="static-list"<br>
pcmk_host_list="hv1" ipaddr="21.37.43.130" login="admin" passwd="xxxx"<br>
power_wait="4" lanplus="true" delay="10" verbose="1"<br>
location loc-prefer-stonith-1 s_ipmi_hv1 \<br>
rule $id="loc-prefer-stonith-1-rule" inf: #uname eq hv1<br>
location loc-prefer-stonith-2 s_ipmi_hv2 \<br>
rule $id="loc-prefer-stonith-2-rule" 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'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>