[Pacemaker] crm_resource --un-move option

Schaefer, Diane E diane.schaefer at unisys.com
Thu Apr 29 07:46:09 EDT 2010


Hi,
   I would like to migrate my resources from one node to the other and automatically remove the cli-prefer-expr constraint so it can move back if needed.  I have a parent resource with many children.  When I issue the "crm_resource -r <parent-rsc> -M " command, I see the resources stop.   However, depending on how long they take to stop and restart on the other node my "crm_resource -r <parent-rsc> -U" sometimes actually prevents the migrate from happening.  It seems that if the un-move is issued before the parent is actually started (please confirm), that the cli-prefer-expr constraint is removed and the resources are restarted on the original node.  I would like the removal of the cli-prefer-expr constraint to be removed automatically by my script.  Any suggestions on how I can know when it's safe to un-move?

Thanks,
Diane Schaefer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100429/9abdb46f/attachment.html>


More information about the Pacemaker mailing list