[Pacemaker] Run only one resource per node?
Lars Marowsky-Bree
lmb at suse.de
Thu Jul 16 11:27:49 UTC 2009
On 2009-07-15T21:06:43, lists at unimitated.com wrote:
> Hello all, I've been trying to set my cluster up so that no two resources
> run on the same node together (i.e. each node in the cluster runs one and
> only one resource and if there are not enough nodes something does not
> run). Is it possible to easily do this with colocation constraints or some
> other way? I see how to tell pacemaker that two resources should not run
> together but I am not sure how to expand that to many resources without
> having to specify a constraint for each resource against every other
> resource. Thanks for any help getting this going.
One possible way of doing it - assuming that all resources are "similar"
- is to create a clone with clone-node-max=1.
Pacemaker will spawn only one instance per node then.
Regards,
Lars
--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
More information about the Pacemaker
mailing list