Re: [Pacemaker] Help with batch import and resource distribution

2011-03-12 Thread Pavel Levshin
07.03.2011 1:31, Todd Nine: I would like the following distribution. Single Node: haproxy and ec2setip So you need a mandatory colocation constraint for them. All other Nodes: nginx. Multiple instances of a resource => clones. Additionally, you may want to set negative colocation constra

Re: [Pacemaker] Help with batch import and resource distribution

2011-03-09 Thread Andrew Beekhof
Forget sets, just use normal colocation constraints: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-colocation.html On Sun, Mar 6, 2011 at 11:31 PM, Todd Nine wrote: > Hi all, >   I'm creating my pacemaker configuration from a script executed by chef an

[Pacemaker] Help with batch import and resource distribution

2011-03-06 Thread Todd Nine
Hi all, I'm creating my pacemaker configuration from a script executed by chef and I'm having some issues. I have 3 init scripts that run the following services. haproxy nginx ec2setip chef-client I would like the following distribution. Single Node: haproxy and ec2setip All other Nodes: ng