<html><header></header><body><div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;">Looks like my installation doesn't like this attribute:</div>
<div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;"> </div>
<div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;">sonicle@xstorage1:/sonicle/var/log/cluster# crm configure property stonith-enabled=true<br />ERROR: Warnings found during check: config may not be valid<br />Do you still want to commit (y/n)? n</div>
<div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;"> </div>
<div id="wt-mailcard">
<div> </div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>eXoplanets : </strong><a href="https://gabrielebulfon.bandcamp.com/album/exoplanets">https://gabrielebulfon.bandcamp.com/album/exoplanets</a></span></div>
<div> </div>
</div>
<div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;"><tt><br /><br /><br />----------------------------------------------------------------------------------<br /><br />Da: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de><br />A: users@clusterlabs.org <br />Data: 16 dicembre 2020 15.45.36 CET<br />Oggetto: [ClusterLabs] Antw: [EXT] delaying start of a resource<br /><br /></tt></div>
<blockquote style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;"><tt>>>> Gabriele Bulfon <gbulfon@sonicle.com> schrieb am 16.12.2020 um 15:32 in<br />Nachricht <1523391015.734.1608129155836@www>:<br />> Hi, I have now a two node cluster using stonith with different <br />> pcmk_delay_base, so that node 1 has priority to stonith node 2 in case of <br />> problems.<br />> <br />> Though, there is still one problem: once node 2 delays its stonith action <br />> for 10 seconds, and node 1 just 1, node 2 does not delay start of resources, <br />> so it happens that while it's not yet powered off by node 1 (and waiting its <br />> dalay to power off node 1) it actually starts resources, causing a moment of <br />> few seconds where both NFS IP and ZFS pool (!!!!!) is mounted by both!<br /><br />AFAIK pacemaker will not start resources on a node that is scheduled for stonith. Even more: Pacemaker will tra to stop resources on a node scheduled for stonith to start them elsewhere.<br /><br />> How can I delay node 2 resource start until the delayed stonith action is <br />> done? Or how can I just delay the resource start so I can make it larger than <br />> its pcmk_delay_base?<br /><br />We probably need to see logs and configs to understand.<br /><br />> <br />> Also, I was suggested to set "stonith-enabled=true", but I don't know where <br />> to set this flag (cib-bootstrap-options is not happy with it...).<br /><br />I think it's on by default, so you must have set it to false.<br />In crm shell it is "configure# property stonith-enabled=...".<br /><br />Regards,<br />Ulrich<br /><br /><br />_______________________________________________<br />Manage your subscription:<br />https://lists.clusterlabs.org/mailman/listinfo/users<br /><br />ClusterLabs home: https://www.clusterlabs.org/<br /><br /><br /></tt></blockquote></body></html>