<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I think I have a working method, though
not in the conditions first explained. Though I would love to have
feedback on it's sanity.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The ultimate goal is to migrate the
resource (VM) to a different pacemaker cluster. Setting it to be
unmanaged, migrating the VM off, setting the resource to disabled,
and managing the resource again marks it as stopped, then it can
be deleted.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">====<br>
<font face="monospace">[root@an-a01n01 ~]# pcs resource unmanage
srv01-cs8<br>
# Migrate the server to another pacemaker cluster here<br>
[root@an-a01n01 ~]# pcs resource disable srv01-cs8<br>
Warning: 'srv01-cs8' is unmanaged<br>
[root@an-a01n01 ~]# pcs resource manage srv01-cs8<br>
[root@an-a01n01 ~]# pcs resource delete srv01-cs8<br>
Deleting Resource - srv01-cs8<br>
</font>====</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Though going back to the original
question, deleting the server from pacemaker while the VM is left
running, is still something I am quite curious about.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Madi<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2022-01-29 13:27, Strahil Nikolov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:446586531.1671394.1643480872066@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I know...
<div id="yMail_cursorElementTracker_1643480807584"> and the editor
stuff can be bypassed, if the approach works.</div>
<div id="yMail_cursorElementTracker_1643480853677"><br>
</div>
<div id="yMail_cursorElementTracker_1643480853902">Best Regards,</div>
<div id="yMail_cursorElementTracker_1643480863297">Strahil Nikolov<br>
<br>
<blockquote style="margin: 0 0 20px 0;">
<div style="font-family:Roboto, sans-serif; color:#6D00F6;">
<div>On Sat, Jan 29, 2022 at 15:43, Digimer</div>
<div><a class="moz-txt-link-rfc2396E" href="mailto:lists@alteeve.ca"><lists@alteeve.ca></a> wrote:</div>
</div>
<div style="padding: 10px 0 0 20px; margin: 10px 0 0 0;
border-left: 1px solid #6D00F6;">
<div id="yiv4374185248">
<div>
<div id="yiv4374185248yqtfd88374"
class="yiv4374185248yqt8642504243">
<div class="yiv4374185248moz-cite-prefix">On
2022-01-29 03:16, Strahil Nikolov wrote:<br
clear="none">
</div>
<blockquote type="cite"> </blockquote>
</div>
</div>
<div>
<div id="yiv4374185248yqtfd51577"
class="yiv4374185248yqt8642504243"> I think there is
pcs cluster edit --scope=resources (based on memory).
<div
id="yiv4374185248yMail_cursorElementTracker_1643444131206">Can
you try to delete it from there ?</div>
<div
id="yiv4374185248yMail_cursorElementTracker_1643444150862"><br
clear="none">
</div>
<div
id="yiv4374185248yMail_cursorElementTracker_1643444151134">Best
Regards,</div>
<div
id="yiv4374185248yMail_cursorElementTracker_1643444157558">Strahil
Nikolov</div>
</div>
<p>Thanks, but no that doesn't seem to work. 'pcs
cluster edit' wants to open an editor, and I'm trying
to find a way to make this change with a program (once
I sort out the manual process). So an option that
requires user input won't work in my case regardless.
Thank you just the same though!</p>
<pre class="yiv4374185248moz-signature">--
Digimer
Papers and Projects: <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://alteeve.com/w/" class="yiv4374185248moz-txt-link-freetext moz-txt-link-freetext" moz-do-not-send="true">https://alteeve.com/w/</a>
"I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould</pre>
<div id="yiv4374185248yqtfd97304"
class="yiv4374185248yqt8642504243"> </div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Digimer
Papers and Projects: <a class="moz-txt-link-freetext" href="https://alteeve.com/w/">https://alteeve.com/w/</a>
"I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould</pre>
</body>
</html>