Hi,

I'm running pacemaker 1.1.7 on RedHat 6.3 using the fence_ipmilan
fence agent from the "fence-agents" 3.1.5 package.

I found that although I have chosen the action "off", this doesn't
power off the target node but reboots it with a graceful shutdown. So
I investigated on the commandline:

When I call
/usr/sbin/fence_ipmilan -i <hostname> -l stonith -p <password> -P -o off
the machine reboots, but when I call
/usr/sbin/fence_ipmilan -i <hostname> -l stonith -p <password> -P -o
off -M onoff
the machine is forced power-off. (Strange: man fence_ipmilan states
that "onoff" would be the default for -M). So I thought that I found
the reason and changed my stonith resource configuration from

primitive stonith_hostname stonith:fence_ipmilan \
   operations $id="stonith_hostname-operations" \
   op monitor interval="15" timeout="15" start-delay="15" \
   op monitor interval="0" timeout="15" \
   params ipaddr="<hostname>" login="stonith" passwd="<password>"
lanplus="true" action="off" pcmk_host_list="<hostname>"

to

primitive stonith_hostname stonith:fence_ipmilan \
   operations $id="stonith_hostname-operations" \
   op monitor interval="15" timeout="15" start-delay="15" \
   op monitor interval="0" timeout="15" \
   params ipaddr="<hostname>" login="stonith" passwd="<password>"
lanplus="true" action="off" method="onoff" pcmk_host_list="<hostname>"

But it didn't help. When I provoke a stonith, the machine gets
rebooted as before.

Does anybody know what to do to force a poweroff? I thought poweroff
(and bring it back in a controlled manner under human supervision)
would be the most secure approch.

Thanks
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to