[ClusterLabs] Antw: [EXT] Removing a resource without stopping it
Klaus Wenninger
kwenning at redhat.com
Mon Jan 31 02:49:44 EST 2022
On Mon, Jan 31, 2022 at 8:19 AM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:
> >>> 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.
>
Isn't that exactly what digimer mentioned in her most recent comment?
Depending on the environment it might make sense to think about
having the manual migration-step controlled by the cluster(s) using
booth. Just thinking - not a specialist on that topic ...
Klaus
>
> Regards,
> Ulrich
>
> >
> > 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/
>
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20220131/40d26147/attachment.htm>
More information about the Users
mailing list