[Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Apr 5 06:27:30 EDT 2011


On Tue, Apr 05, 2011 at 12:10:48PM +0200, Holger Teutsch wrote:
> Hi Dejan,
> 
> On Tue, 2011-04-05 at 11:48 +0200, Dejan Muhamedagic wrote:
> > Hi Holger,
> > 
> > On Mon, Apr 04, 2011 at 09:31:02PM +0200, Holger Teutsch wrote:
> > > On Mon, 2011-04-04 at 15:24 +0200, Andrew Beekhof wrote:
> > [...]
> > > 
> > > crm_resource --move-off --resource myClone --node C
> > >    -> I want the instance moved off C, regardless where it is moved on
> > 
> > What is the difference between move-off and unmigrate (-U)?
> 
> --move-off -> create a constraint that a resource should *not* run on
> the specific node (partly as before --move without --node)
> 
> -U: zap all migration constraints (as before) 

Ah, right, sorry, wanted to ask about the difference between
move-off and move. The description looks the same as for move. Is
it that in this case it is for clones so crm_resource needs an
extra node parameter? You wrote in the doc:

	+Migrate a resource (-instance for clones/masters) off the specified node.

The '-instance' looks somewhat funny. Why not say "Move/migrate a
clone or master/slave instance away from the specified node"?

I must say that I still find all this quite confusing, i.e. now
we have "move", "unmove", and "move-off", but it's probably just me :)

Cheers,

Dejan


> Regards
> Holger
> > 
> > Cheers,
> > 
> > Dejan
> > 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > 
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list