In fact ipmitool work like a charm
It's pacemaker witch decide to restart the cluster after send other
ipmitool command
It's seem we can change this behavior with stonith action
thanks
Le 22/01/2013 09:24, Emmanuel Saint-Joanis a écrit :
Sometimes the poweroff is caught by the OS, and therefore launches a
soft halt.
Try to see if those two imply similar response or not.
ipmitool -H host1 -U root1 -P secret1 power off
ipmitool -H host1 -U root1 -P secret1 power cycle
or whatever works with ipmilan
2013/1/21 zorg <z...@probesys.com <mailto:z...@probesys.com>>
Hello
I have a working example using pacemaker corosync with stonith
primitive s_ipmi_hv1 stonith:fence_ipmilan \
op monitor interval="20s" \
params action="off" pcmk_host_check="static-list"
pcmk_host_list="hv2" ipaddr="21.37.43.132" login="admin"
passwd="xxxxx"
power_wait="4" lanplus="true" delay="1" verbose="1"
primitive s_ipmi_hv2 stonith:fence_ipmilan \
op monitor interval="20s" \
params action="off" pcmk_host_check="static-list"
pcmk_host_list="hv1" ipaddr="21.37.43.130" login="admin" passwd="xxxx"
power_wait="4" lanplus="true" delay="10" verbose="1"
location loc-prefer-stonith-1 s_ipmi_hv1 \
rule $id="loc-prefer-stonith-1-rule" inf: #uname eq hv1
location loc-prefer-stonith-2 s_ipmi_hv2 \
rule $id="loc-prefer-stonith-2-rule" inf: #uname eq hv2
But When I set
stonith-action=poweroff stonith stop working
and if I reset back to
stonith-action=reboot it working killing the node
I really can't undestand why
_______________________________________________
Linux-HA mailing list
linux...@lists.linux-ha.org <mailto:linux...@lists.linux-ha.org>
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org