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

2022-01-30 Thread Klaus Wenninger
On Mon, Jan 31, 2022 at 8:19 AM Ulrich Windl <
ulrich.wi...@rz.uni-regensburg.de> wrote:

> >>> Digimer  schrieb am 28.01.2022 um 22:38 in Nachricht
> :
> > 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/
>
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


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

2022-01-30 Thread Ulrich Windl
>>> Digimer  schrieb am 28.01.2022 um 22:38 in Nachricht
:
> 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.

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/