<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 4:28 PM Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.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">I had to tune the fence_ipmi recently on some older HPE blades. The default settings were working, but also returning some output about problems negotiating the cypher.<div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887311750">As that output could make future version of the fence agent go wild, I tested several options untill no errors are reported. Maybe the cypher flag was different, but I think it was '-c'. If I'm wrong , the author of this thread can check the man page .</div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887400797"><br></div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887400963">Yes -> 'HandlePowerKey=ignore' . I have never expected ipmi to try graceful shutdown when I tell it to 'press and hold' or 'cold boot', yet I never checked the code of fence_ipmi.</div></blockquote><div><br></div><div>fence_ipmilan uses ipmitool to send a poweroff signal. The iLO then sends a virtual power button press, which IIRC goes through ACPI. By default on RHEL 7 and above, if the system is responsive, systemd-logind handles a power key press by initiating a graceful shutdown. You have to disable it from handling the power key press so if you want hard-power-off behavior.<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"><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887460348"><br></div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887353517">With triple sbd , I mean sbd with 3 block devices.</div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887540020"><br></div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887540201">Best Regards,</div><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887544559">Strahil Nikolov<br> <br> <blockquote style="margin:0px 0px 20px"> <div style="font-family:Roboto,sans-serif;color:rgb(109,0,246)"> <div>On Sat, Mar 27, 2021 at 23:15, Reid Wahl</div><div><<a href="mailto:nwahl@redhat.com" target="_blank">nwahl@redhat.com</a>> wrote:</div> </div> <div style="padding:10px 0px 0px 20px;margin:10px 0px 0px;border-left:1px solid rgb(109,0,246)"> <div id="gmail-m_-7307516198867500189yiv0441780448"><div id="gmail-m_-7307516198867500189yMail_cursorElementTracker_1616887394414"><br clear="none"><br clear="none">On Saturday, March 27, 2021, Strahil Nikolov <<a rel="nofollow noopener noreferrer" shape="rect" href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> wrote:<br clear="none">> My notes:<br clear="none">> - ilo ssh fence mechanism is crappy due to ilo itself, try to avoid if possible<br clear="none"><br clear="none">It has been unreliable in my experience.<br clear="none"><br clear="none">> - fence_ipmi requires some tunings (-c flag) and also to disable power button from the system<br clear="none"><br clear="none">I've rarely, perhaps never, seen a customer have to tune the -c flag.<br clear="none"><br clear="none">By disabling the power button, do you mean setting HandlePowerKey=ignore in logind.conf? That's not specific to fence_ipmilan, to be clear.<br clear="none"><br clear="none">> - triple 'sbd' is quite reliable.My previous company was using 'softdog' kernel module for a watchdog device and it never failed us. Yet, it's just a kernel module (no hardware required) and thus RH do not support such setup.<br clear="none"><br clear="none">What do you mean by triple sbd? Correct that RH doesn't support using softdog as an sbd watchdog device. It was determined that it's not reliable in all situations. It's probably fine much of the time, and I'm glad you had a smooth experience with it.<br clear="none">><br clear="none">> On Sat, Mar 27, 2021 at 22:15, Reid Wahl<br clear="none">> <<a rel="nofollow noopener noreferrer" shape="rect" href="mailto:nwahl@redhat.com" target="_blank">nwahl@redhat.com</a>> wrote:<br clear="none">> _______________________________________________<br clear="none">> Manage your subscription:<br clear="none">> <a rel="nofollow noopener noreferrer" shape="rect" href="https://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br clear="none">><br clear="none">> ClusterLabs home: <a rel="nofollow noopener noreferrer" shape="rect" href="https://www.clusterlabs.org/" target="_blank">https://www.clusterlabs.org/</a><div id="gmail-m_-7307516198867500189yiv0441780448yqtfd19386"><br clear="none">><br clear="none"><br clear="none">-- <br clear="none"></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 dir="ltr"><div><div><div id="gmail-m_-7307516198867500189yiv0441780448yqtfd52535">Regards,</div><br clear="none"><br clear="none"></div>Reid Wahl, RHCA<br clear="none"></div><div>Senior Software Maintenance Engineer, Red Hat<br clear="none"></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div><div id="gmail-m_-7307516198867500189yiv0441780448yqtfd68445"><br clear="none">
</div></div></div> </div> </blockquote></div></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>