On 2009-07-15T21:06:43, li...@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 _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker