<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
In fact ipmitool work like a charm<br>
<br>
It's pacemaker witch decide to restart the cluster after send
other ipmitool command<br>
It's seem we can change this behavior with stonith action<br>
<br>
thanks <br>
<br>
Le 22/01/2013 09:24, Emmanuel Saint-Joanis a écrit :
<blockquote
cite="mid:CAEeYBWjOqZrLHrKs3_m=7yfFt4xtUzkwmqvf85LuC6L0GrjPLQ@mail.gmail.com"
type="cite">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
moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:Linux-HA@lists.linux-ha.org">Linux-HA@lists.linux-ha.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://linux-ha.org/ReportingProblems"
target="_blank">http://linux-ha.org/ReportingProblems</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>