[ClusterLabs] Antw: [EXT] Removing a resource without stopping it

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Jan 31 02:19:23 EST 2022

>>> Digimer <lists at alteeve.ca> schrieb am 28.01.2022 um 22:38 in Nachricht
<c4947cd5-b543-e720-a28d-f90ebcca1b01 at alteeve.ca>:
> Hi all,
>    I'm trying to figure out how to move a running VM from one pacemaker 
> cluster to another. I've got the storage and VM live migration sorted, 
> but having trouble with pacemaker.
>    I tried unmanaging the resource (the VM), then deleted the resource, 
> and the node got fenced. So I am assuming it thought it couldn't stop 
> the service so it self-fenced. In any case, can someone let me know what 
> the proper procedure is?

I'd try:

unmanage on source cluster, migrate the VM to dest cluster.
The set the source cluster's resource role to stopped.
Then ´manage the resource again. The cluster should find that the resource is
stopped and thus be happy.
Then delete the stopped resource.
On the dest custer define the resource. Thecluster should find it running and
be happy.


>    Said more directly;
>    How to I delete a resource from pacemaker (via pcs on EL8) without 
> stopping the resource?

Bad idea IMHO.

> -- 
> Digimer
> Papers and Projects: https://alteeve.com/w/ 
> "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
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> ClusterLabs home: https://www.clusterlabs.org/ 

More information about the Users mailing list