<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
This is a 3-node cluster with gfs2 filesystem resources configured using dlm and clvmd. Stonith is enabled. dlm and gfs2 resources are set to fence on failures.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Pacemaker version on the cluster - 2.1.4-5.el8 (CentOS 8 Stream)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span class="ContentPasted0 ContentPasted2" style="font-size: 12pt; margin: 0px; color: rgb(0, 0, 0);">Pacemaker default fence actions are set to power off the node instead of a reboot by setting "pcmk_reboot_action=off" on IPMI fence devices. Also, cluster
wide stonith default action is set to poweroff the node instead of a reboot</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted3"># pcs property config |grep stonith</span>
<div class="ContentPasted1 ContentPasted3" style="margin: 0px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
stonith-action: off</div>
<div class="ContentPasted1 ContentPasted3" style="margin: 0px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
stonith-enabled: true</div>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted4">But still the node is rebooting as dlm_controld resource is sending a reboot action as part of fencing. Below are the logs obtained from
syslog to confirm the same.</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted4"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted4 ContentPasted5">dlm_controld[73542]: 813117 fence request 3 pid 1695739 nodedown time 1690006193 fence_all dlm_stonith
<div class="ContentPasted5">pacemaker-fenced[15706]: notice: Client stonith-api.1695739 wants to fence (reboot) 3 using any device</div>
<br>
</span></div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I need the node to be powered off from fencing operations rather than a reboot. Disabling fencing on dlm resources is not an option. Is there any other way to solve this and make dlm issue a poweroff action instead of a reboot as part of fencing. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 36, 81);"><i>Regards</i></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 36, 81);"><i>P V K Sai Siddhartha</i></span></div>
</div>
</div>
</div>
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to
have electronic communications, including email and attachments, sent across its networks filtered through security software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible
for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
</body>
</html>