<div dir="ltr"><div class="gmail_extra">Andrew,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for answer.</div><div class="gmail_extra">I need to move a group, not just a clone.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Actually, I just looked into the old cib file that was generated by crmsh.</div><div class="gmail_extra"><br></div><div class="gmail_extra">There was lack of operations. Now, this works: </div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">            <op id="u01_drbd-start-0" interval="0" name="start" timeout="240"/></div><div class="gmail_extra">
            <op id="u01_drbd-stop-0" interval="0" name="stop" timeout="100"/></div><div class="gmail_extra">            <op id="u01_drbd-monitor-20" interval="20" name="monitor" role="Slave" timeout="60"></div>
<div class="gmail_extra">              <instance_attributes id="u01_drbd-monitor-20-instance_attributes"></div><div class="gmail_extra">                <nvpair id="u01_drbd-monitor-20-instance_attributes-depth" name="depth" value="0"/></div>
<div class="gmail_extra">              </instance_attributes></div><div class="gmail_extra">            </op></div><div class="gmail_extra">            <op id="u01_drbd-monitor-10" interval="10" name="monitor" role="Master" timeout="60"></div>
<div class="gmail_extra">              <instance_attributes id="u01_drbd-monitor-10-instance_attributes"></div><div class="gmail_extra">                <nvpair id="u01_drbd-monitor-10-instance_attributes-depth" name="depth" value="0"/></div>
<div class="gmail_extra">              </instance_attributes></div><div class="gmail_extra">            </op></div><div><br></div><div>However,  cib generated by pcs had only this:</div><div><br></div><div><div>
          <operations></div><div>            <op id="u01_drbd-monitor-interval-15s" interval="15s" name="monitor"/></div><div>          </operations></div></div><div><br></div>
<div>Replacing operations for different roles and depth attributes did the trick - now groups are moved as expected.</div><div><br></div><div>Best regards,</div><div>Alexandr A. Alexandrov</div><div><br></div><br><div class="gmail_quote">
2014-04-09 10:47 GMT+04:00 Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><br><br>
</div>The second is implied by the first.<br>
<br>
pcs help says:<br>
<br>
    move <resource id> [destination node] [--master]<br>
<br>
If you want to move the master instance of a clone, you need the --master keyword.<br>
<div><div class="h5"><br><br></div></div></blockquote></div></div></div>