[Pacemaker] [Linux-HA] strange behavior with stonith-action

zorg zorg at probesys.com
Tue Jan 22 10:55:12 UTC 2013


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 <zorg at probesys.com <mailto:zorg at 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-HA at lists.linux-ha.org <mailto:Linux-HA at lists.linux-ha.org>
>     http://lists.linux-ha.org/mailman/listinfo/linux-ha
>     See also: http://linux-ha.org/ReportingProblems
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130122/161f54be/attachment.htm>


More information about the Pacemaker mailing list