<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Roboto;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv9734321973msonormal, li.yiv9734321973msonormal, div.yiv9734321973msonormal
        {mso-style-name:yiv9734321973msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv9734321973msipfooter90245289, li.yiv9734321973msipfooter90245289, div.yiv9734321973msipfooter90245289
        {mso-style-name:yiv9734321973msipfooter90245289;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msipfooter90245289, li.msipfooter90245289, div.msipfooter90245289
        {mso-style-name:msipfooter90245289;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:871724514;
        mso-list-type:hybrid;
        mso-list-template-ids:1003399588 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:2105345181;
        mso-list-type:hybrid;
        mso-list-template-ids:477506118 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I was able to fix this by using <b>meta interleave=true </b>
on the clones(<span style="background:yellow;mso-highlight:yellow">step 2</span> below)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">New steps:<o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Resource creates(same as before):<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource create test-1 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource create test-2 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource create test-3 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone<o:p></o:p></b></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1"><span style="background:yellow;mso-highlight:yellow">Add
<b>meta interleave=true </b>on the clones explicitly via update. Adding <b>meta interleave=true
</b>to the create above DOES NOT work:<o:p></o:p></span></li></ol>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource update test-2-clone meta interleave=true<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource update test-3-clone meta interleave=true<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b><o:p> </o:p></b></p>
<ol style="margin-top:0in" start="3" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Then order them(same as before):<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs constraint order test-1-clone then test-2-clone<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>Adding test-1-clone test-2-clone (kind: Mandatory) (Options: first-action=start then-action=start)<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs constraint order test-2-clone then test-3-clone<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>Adding test-2-clone test-3-clone (kind: Mandatory) (Options: first-action=start then-action=start)<o:p></o:p></b></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<ol style="margin-top:0in" start="4" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Then when I restart test-1-clone(same as before), only the resources on the affected nodes, restart:<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>$ sudo pcs resource restart test-1 node1_a<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>Warning: using test-1-clone... (if a resource is a clone, master/slave or bundle you must use the clone, master/slave or bundle name)<o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>test-1-clone successfully restarted<o:p></o:p></b></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<ol style="margin-top:0in" start="5" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Result of step 4 above:<o:p></o:p></li></ol>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Stop       test-1:0                                   (                 node1_a )   due to node availability<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Stop       test-2:0                                   (                 node1_a )<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Stop       test-3:0                                   (                 node1_a )   due to unrunnable test-2:0 start<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-controld[103051]:  notice: Initiating stop operation test-3_stop_0 on node1_a<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-controld[103051]:  notice: Initiating stop operation test-2_stop_0 on node1_a<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:39 NODE1-B pacemaker-controld[103051]:  notice: Initiating stop operation test-1_stop_0 on node1_a<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:41 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Start      test-1:3                                   (                 node1_a )<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:41 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Start      test-2:3                                   (                 node1_a )<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b>Apr 11 17:58:41 NODE1-B pacemaker-schedulerd[103050]:  notice:  * Start      test-3:3                                   (                 node1_a )<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">What I would like to call out is the documentation here does not explicitly state this behavior -
<a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/ch-advancedresource-haar">
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/ch-advancedresource-haar</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" summary="Resource Clone Options" width="0" style="width:0in;background:white">
<tbody>
<tr>
<td valign="top" style="border-top:solid #EDEDED 3.0pt;border-left:solid #D1D1D1 3.0pt;border-bottom:none;border-right:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#252525;background:whitesmoke">interleave</span><span style="font-family:"Arial",sans-serif;color:#252525"><o:p></o:p></span></p>
</td>
<td valign="top" style="border-top:solid #EDEDED 3.0pt;border-left:solid #D1D1D1 3.0pt;border-bottom:none;border-right:solid #D1D1D1 3.0pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#252525">Changes the behavior of ordering constraints (between clones/masters) so that copies of the first clone can start or stop as soon as the copy on the same node of the second clone
 has started or stopped (rather than waiting until every instance of the second clone has started or stopped). Allowed values: </span><span style="font-size:9.5pt;font-family:Consolas;color:#252525;background:whitesmoke">false</span><span style="font-family:"Arial",sans-serif;color:#252525">, </span><span style="font-size:9.5pt;font-family:Consolas;color:#252525;background:whitesmoke">true</span><span style="font-family:"Arial",sans-serif;color:#252525">.
 The default value is </span><span style="font-size:9.5pt;font-family:Consolas;color:#252525;background:whitesmoke">false</span><span style="font-family:"Arial",sans-serif;color:#252525">.<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">“</span><span style="font-family:"Arial",sans-serif;color:#252525;background:yellow;mso-highlight:yellow">stopped (rather than waiting until every instance of the second clone has started
 or stopped)”</span><span style="font-family:"Arial",sans-serif;color:#252525"> – this may suggest this implicitly but definitely not clear.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please let me know if I am missing something and if there is a better recommendation.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Raghav<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="msipfooter90245289" style="margin:0in"><span style="font-size:7.0pt;color:#737373">Internal Use - Confidential</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> ChittaNagaraj, Raghav <br>
<b>Sent:</b> Monday, April 11, 2022 10:59 AM<br>
<b>To:</b> Strahil Nikolov; Cluster Labs - All topics related to open-source clustering welcomed<br>
<b>Cc:</b> Haase, David; Hicks, Richard; gandhi, rajesh; Burney, Scott; Farnsworth, Devin<br>
<b>Subject:</b> RE: [ClusterLabs] Restarting parent of ordered clone resources on specific node causes restart of all resources in the ordering constraint on all nodes of the cluster<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello Strahil,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you for your response.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The actual problem I wanted to discuss here is restart of ordered resources on unaffected nodes.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From the observation in my original email:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo2">I have 4 pacemaker nodes –
<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>node2_a <o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>node2_b <o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>node1_a <o:p></o:p></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>node1_b<o:p></o:p></b></p>
<p class="MsoListParagraph"><b><o:p> </o:p></b></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo2">I restarted
<b>test-1 </b>on <b>node1_a</b><o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="3" type="1">
<li class="MsoListParagraph" style="margin-bottom:12.0pt;margin-left:0in;mso-list:l1 level1 lfo2">
This restarted <b>test-2</b> and <b>test-3</b> clones on <b>node1_a</b>. <span style="background:lime;mso-highlight:lime">
This is fine as node1_a is the affected node</span><o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo2">But, it also restarted
<b>test-2 </b>and<b> test-3 </b> on the unaffected nodes. <span style="background:yellow;mso-highlight:yellow">
Below indicating test-2 restart on unaffected nodes node1_b, node2_b and node2_a which I don’t want</span>:<o:p></o:p></li></ol>
<p class="MsoListParagraph" style="margin-left:.75in"><br>
<b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:0                                   (                              
<span style="color:black;background:yellow">node1_b</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.75in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:2                                   (                              
<span style="color:black;background:yellow">node2_b</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.75in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:3                                   (                              
<span style="color:black;background:yellow">node2_a</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please let me know if you have any further questions.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Raghav<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>>
<br>
<b>Sent:</b> Friday, April 8, 2022 12:00 PM<br>
<b>To:</b> Cluster Labs - All topics related to open-source clustering welcomed; ChittaNagaraj, Raghav<br>
<b>Cc:</b> Haase, David; Hicks, Richard; gandhi, rajesh; Burney, Scott; Farnsworth, Devin; ChittaNagaraj, Raghav<br>
<b>Subject:</b> Re: [ClusterLabs] Restarting parent of ordered clone resources on specific node causes restart of all resources in the ordering constraint on all nodes of the cluster<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p><span style="color:#CE1126">[EXTERNAL EMAIL] <o:p></o:p></span></p>
</div>
<p class="MsoNormal">You can use 'kind' and 'symmetrical' to control order constraints. The default value for symmetrical is 'true' which means that in order to stop dummy1 , the cluster has to stop dummy1 & dummy2.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Strahil Nikolov<o:p></o:p></p>
<blockquote style="margin-left:0in;margin-top:5.0pt;margin-right:0in;margin-bottom:15.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:Roboto;color:#6D00F6">On Fri, Apr 8, 2022 at 15:29, ChittaNagaraj, Raghav<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Roboto;color:#6D00F6"><<a href="mailto:Raghav.ChittaNagaraj@dell.com">Raghav.ChittaNagaraj@dell.com</a>> wrote:<o:p></o:p></span></p>
</div>
</div>
<div style="border:none;border-left:solid #6D00F6 1.0pt;padding:0in 0in 0in 15.0pt;margin-top:7.5pt">
<div id="yiv9734321973">
<div>
<div>
<p class="yiv9734321973msonormal">Hello Team,<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Hope you are doing well.<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">I have a 4 node pacemaker cluster where I created clone dummy resources test-1, test-2 and test-3 below:<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs resource create test-1 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs resource create test-2 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs resource create test-3 ocf:heartbeat:Dummy op monitor timeout="20" interval="10" clone</b><o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Then I ordered them so test-2-clone starts after test-1-clone and test-3-clone starts after test-2-clone:<o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs constraint order test-1-clone then test-2-clone</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Adding test-1-clone test-2-clone (kind: Mandatory) (Options: first-action=start then-action=start)</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs constraint order test-2-clone then test-3-clone</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Adding test-2-clone test-3-clone (kind: Mandatory) (Options: first-action=start then-action=start)</b><o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Here are my clone sets(snippet of "pcs status" output pasted below):<o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in">  <b>* Clone Set: test-1-clone [test-1]:</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>    * Started: [ node2_a node2_b node1_a node1_b ]</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>  * Clone Set: test-2-clone [test-2]:</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>    * Started: [ node2_a node2_b node1_a node1_b ]</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>  * Clone Set: test-3-clone [test-3]:</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>    * Started: [ node2_a node2_b node1_a node1_b ]</b><o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Then I restart test-1 on just node1_a:<o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>$ sudo pcs resource restart test-1 node1_a</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Warning: using test-1-clone... (if a resource is a clone, master/slave or bundle you must use the clone, master/slave or bundle name)</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>test-1-clone successfully restarted</b><o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">This causes test-2 and test-3 clones to restart on all pacemaker nodes when my intention is for them to restart on just node1_a.<o:p></o:p></p>
<p class="yiv9734321973msonormal">Below is the log tracing seen on the Designated Controller NODE1-B:<o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Apr 07 20:25:01 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Stop       test-1:1                                   (                               node1_a )   due to node availability</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:0                                   (                              
<span style="color:black;background:yellow">node1_b</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:1                                   (                               node1_a )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:2                                   (                              
<span style="color:black;background:yellow">node2_b</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b>Apr 07 20:25:03 NODE1-B pacemaker-schedulerd[95746]:  notice:  * Restart    test-2:3                                   (                              
<span style="color:black;background:yellow">node2_a</span> )   due to required test-1-clone running</b><o:p></o:p></p>
<p class="yiv9734321973msonormal" style="margin-left:.5in"><b> </b><o:p></o:p></p>
<p class="yiv9734321973msonormal">Above is a representation of the observed behavior using dummy resources.
<o:p></o:p></p>
<p class="yiv9734321973msonormal">Is this the expected behavior of cloned resources?<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">My goal is to be able to restart test-2-clone and test-3-clone on just the node that experienced test-1 restart rather than all other nodes in the cluster.<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Please let us know if any additional information will help for you to be able to provide feedback.<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">Thanks for your help!<o:p></o:p></p>
<p class="yiv9734321973msonormal"> <o:p></o:p></p>
<p class="yiv9734321973msonormal">- Raghav<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="yiv9734321973msipfooter90245289" style="margin:0in"><span style="font-size:7.0pt;color:#737373">Internal Use - Confidential</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Manage your subscription:<br>
<a href="https://urldefense.com/v3/__https:/lists.clusterlabs.org/mailman/listinfo/users__;!!LpKI!2bhPbGcGES9BufPlX3bTNMxt-PJQ3Jt8xF18oplZizQBsxfwlSe8KMEjLAhHOeP7aEE73qs$" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users [lists.clusterlabs.org]</a><br>
<br>
ClusterLabs home: <a href="https://urldefense.com/v3/__https:/www.clusterlabs.org/__;!!LpKI!2bhPbGcGES9BufPlX3bTNMxt-PJQ3Jt8xF18oplZizQBsxfwlSe8KMEjLAhHOeP7uDjzH5E$" target="_blank">
https://www.clusterlabs.org/ [clusterlabs.org]</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="msipfooter90245289" style="margin:0in"><span style="font-size:7.0pt;color:#737373">Internal Use - Confidential</span><o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</body>
</html>