[Pacemaker] Help on setting order of resources
Adrian Gibanel
adrian.gibanel at btactic.com
Sun Aug 19 08:27:34 UTC 2012
Now that I'm reading about that it makes sense. So it removes my idea of: Colocation = Put in the same machine/server.
I copy and paste from Configuration Explained pdf:
---
When the location of one resource depends on the location of another one, we call this colocation.
There is an important side-effect of creating a colocation constraint between two resources, === that
it affects the order === in which resources are assigned to a node. If you think about it, its somewhat obvious.
You can't place A relative to B unless you know where B is .
So when you are creating colocation constraints, it is important to consider whether
you should colocate A with B or B with A.
Another thing to keep in mind is that, assuming A is collocated with B, the cluster will also take into
account A's preferences when deciding which node to choose for B. For a detailed look at exactly how
this occurs, see the Colocation Explained document.
---
I've even read the Colocation Explained document but even if it has some graphs I don't get the point you explained here.
I mean... not sure how... but I think that documentation on how does work... maybe just in the simplest active/pasive cluster example should be improved so that not so smart people like get the right idea.
Well, I'm going to try to reverse the "order" in the colocation statement.
Now it makes sense why insisted me on setting up resources inside groups. It seems that makes things easier indeed.
Thank you!
----- Mensaje original -----
> De: "Jake Smith" <jsmith at argotec.com>
> Para: "The Pacemaker cluster resource manager"
> <pacemaker at oss.clusterlabs.org>, Pacemaker at oss.clusterlabs.org
> Enviados: Domingo, 19 de Agosto 2012 6:00:16
> Asunto: Re: [Pacemaker] Help on setting order of resources
> One thing I see after looking quickly is it looks like the
> collocation statement is backwards.
> You want MyZimbra to run where ZimbraDataClone:Master runs and
> ZimbraDataClone: Master to run where MySystem runs correct ?
> Collocation is like saying on or with between each resource and is
> usually the opposite order of the similar/matching order statement:
> colocation everything-together inf: MyZimbra ZimbraDataClone:Master
> MySystem
> The above is like saying MyZimbra with ZimbraDataClone: Master with
> MySystem
> There may be more things that need work but that's what I saw after a
> quick look
> Hth
> Jake
> From: Adrian Gibanel
> Sent: Sat, 18/08/2012 04:20 PM
> To: Pacemaker at oss.clusterlabs.org
> Subject: [Pacemaker] Help on setting order of resources
--
--
Adrián Gibanel
I.T. Manager
+34 675 683 301
www.btactic.com
Ens podeu seguir a/Nos podeis seguir en:
i
Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio ambiente es cosa de todos.
AVIS:
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge per error, us agrairem que ho feu saber immediatament al remitent i que procediu a destruir el missatge .
AVISO:
El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si han recibido este mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al remitente y que procedan a destruir el mensaje .
More information about the Pacemaker
mailing list