<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 27, 2021 at 10:23 PM Andrei Borzenkov <<a href="mailto:arvidjaar@gmail.com">arvidjaar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 28.03.2021 02:42, Reid Wahl wrote:<br>
> On Sat, Mar 27, 2021 at 4:28 PM Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>><br>
> wrote:<br>
> <br>
>> I had to tune the fence_ipmi recently on some older HPE blades. The<br>
>> default settings were working, but also returning some output about<br>
>> problems negotiating the cypher.<br>
>> As that output could make future version of the fence agent go wild, I<br>
>> tested several options untill no errors are reported. Maybe the cypher flag<br>
>> was different, but I think it was '-c'. If I'm wrong , the author of this<br>
>> thread can check the man page .<br>
>><br>
<br>
For the sake of archives - this is upper case 'C', not lower case, right?<br></blockquote><div><br></div><div>Yes, thanks<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>> Yes -> 'HandlePowerKey=ignore' . I have never expected ipmi to try<br>
>> graceful shutdown when I tell it to 'press and hold' or 'cold boot', yet I<br>
>> never checked the code of fence_ipmi.<br>
>><br>
> <br>
> fence_ipmilan uses ipmitool to send a poweroff signal. The iLO then sends a<br>
> virtual power button press, which IIRC goes through ACPI. By default on<br>
> RHEL 7 and above, if the system is responsive, systemd-logind handles a<br>
> power key press by initiating a graceful shutdown. You have to disable it<br>
> from handling the power key press so if you want hard-power-off behavior.<br>
> <br>
<br>
This is really a bug in iLO then. "ipmitool power off" is expected to<br>
initiate hard power off; soft power off goes via "ipmitoo power soft".<br></blockquote><div><br></div><div>Either that, or I'm wrong about how it's implemented :) Regardless, somehow systemd-login is able to handle (intercept) the button press.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Although I have seen with other vendor that "ipmitool power off" *also*<br>
sent signal to OS and OS started shutdown which was then interrupted by<br>
hard power off. Superficially (if you do not pay attention to console)<br>
it looked like normal shutdown.<br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>