<html><header></header><body><div style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 14px;">I see, but then I have to issues:</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;">1. it is a dual node server, the HA interface is internal, I have no way to unplug it, that's why I tried turning it down</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;">2. even in case I could test it by unplugging it, there is still the possibility that someone turns the interface down, causing a bad situation for the zpool...so I would like to understand why xstha2 decided to turn on IP and zpool when stonish of xstha1 was not yet done...</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: 17 dicembre 2020 7.48.46 CET<br />Oggetto: [ClusterLabs] Antw: Re: 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:56 in<br />Nachricht <386755316.773.1608130588146@www>:<br />> Thanks, here are the logs, there are infos about how it tried to start <br />> resources on the nodes.<br />> Keep in mind the node1 was already running the resources, and I simulated a <br />> problem by turning down the ha interface.<br /><br />Please note that "turning down" an interface is NOT a realistic test; realistic would be to unplug the cable.<br /><br />> <br />> Gabriele<br />> <br />> <br />> Sonicle S.r.l. : http://www.sonicle.com <br />> Music: http://www.gabrielebulfon.com <br />> eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets <br />> <br />> <br />> <br />> <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 />> <br />>>>> 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 />> <br />>> so it happens that while it's not yet powered off by node 1 (and waiting its <br />> <br />>> dalay to power off node 1) it actually starts resources, causing a moment of <br />> <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 <br />> stonith. Even more: Pacemaker will tra to stop resources on a node scheduled <br />> 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 <br />> 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 /><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>