[Pacemaker] question related to resource starting

Dominik Klein dk at in-telegence.net
Tue Mar 24 02:46:28 EDT 2009


Glory Smith wrote:
> Hi All,
> when we create a resource , how pacemaker  choose a node to start  resource
> on it.
> 
> To be more clear , suppose we have four node cluster , we configure any
> resource  xx  and  we see that it is started on say , node C . so my
> question is why node C is choosen to run the resource xx. is this behavior
> is random or some logic is behind this.
> 
> Thanks for your enlightening answers.

If you don't tell the cluster where to start the resource (through
constraints), it will try to balance resources throughout the nodes. It
does however _not_ (yet) take node hardware or load into account.

Regards
Dominik




More information about the Pacemaker mailing list