<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div dir="auto">
<div dir="auto">I meant that would be nice to have it implemented. There is no such feature currently.</div><div dir='auto'><br></div>
<div id="aqm-original" style="color: black;">
<div dir="auto">Dennis LaCroix <dennis.r.lacroix@icloud.com> 5 сентября 2023 г. 15:30:53 написал:</div>
<div><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="auto">I can’t find a mechanism to force the DC role away from a node. Does one exist?  The documentation seems to indicate that I should not care which node is elected - which is true except in this case.</div>
<div dir="auto"><br></div>
<div dir="auto">Sent from my iPhone</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #0099CC; padding-left: 0.75ex;">
<div dir="auto">On Sep 2, 2023, at 12:59 PM, Vladislav Bogdanov <bubble@hoster-ok.com> wrote:</div>
<div dir="auto"><br></div>
<div dir="auto"></div>
<div dir="auto">I would suggest that forcibly moving DC out of standby node is a great idea. If you put a node to standby, there is a big chance you want to do something brutal with it.</div>
<div dir="auto"><br></div>
<div dir="auto">Best,</div>
<div dir="auto">Vlad</div>
<div dir="auto"><br></div>
<div dir="auto">"dennis.r.lacroix--- via Developers" <developers@clusterlabs.org> 2 сентября 2023 г. 18:31:58 написал:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #9933CC; padding-left: 0.75ex;">
<div dir="auto">I am working on an application where I need to reboot individual nodes in the cluster as quickly as possible.  In order to do so, I am first putting the node into standby mode and then shutting down Pacemaker.  This works well in most cases - except when the node I am shutting down is the DC and has a Master resources that need to be promoted on another node.  In this case, the Pacemaker shutdown seems to be delayed until both the local resources are stopped AND the remote resources are promoted and/or started.  This causes an unacceptable delay in the reboot of the node.</div>
<div dir="auto"><br></div>
<div dir="auto">Am I correctly interpreting why the Pacemaker shutdown is taking so long?  Is there any way to fix this?  The idea solution would seem to be to force the DC to another node before putting the node into standby mode, but there doesn’t seem to be a mechanism to do so.  Is there another way to deal with this?</div>
<div dir="auto"><br></div>
<div dir="auto">To summarize: I basically need to cleanly shutdown the resources on the node and exit the cluster as quickly as possible so that I can reboot the node and rejoin the cluster with minimal delay.</div>
<div dir="auto"><br></div>
<div dir="auto">Any suggestions are appreciated!</div>
<div dir="auto">Dennis LaCroix</div>
<div dir="auto"><br></div>
<div dir="auto">_______________________________________________</div>
<div dir="auto">Manage your subscription:</div>
<div dir="auto">https://lists.clusterlabs.org/mailman/listinfo/developers</div>
<div dir="auto"><br></div>
<div dir="auto">ClusterLabs home: https://www.clusterlabs.org/</div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto"><br></div>
</blockquote>
</blockquote>
</div><div dir="auto"><br></div>
</div></body>
</html>