[ClusterLabs] What happened to "crm resource migrate"?

Andrei Borzenkov arvidjaar at gmail.com
Tue Oct 15 05:06:43 EDT 2019


On Tue, Oct 15, 2019 at 11:58 AM Yan Gao <YGao at suse.com> wrote:
> >
> > Help for "move" still says:
> > resource# help move
> > Move a resource to another node
> >
> > Move a resource away from its current location.
> Looks like an issue in the version of crmsh.
>
> Xin, could you please take a look?
>
> "crm_resource --move -r <rsc>" is allowed to run without being specified
> a node.

This is actually documented in crmsh manual.

If the destination node is left out, the resource is migrated by
creating a constraint which prevents it from running on the current
node. For this type of constraint to be created, the force argument is
required.

So at least this is not a bug, but intentional design decision.

https://github.com/ClusterLabs/crmsh/commit/9f05d366d273239dc332f430548cb0f1edfacafc


More information about the Users mailing list