Hi all,<div>  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.</div><div><br></div><div>haproxy</div><div>nginx</div>
<div>ec2setip</div><div>chef-client</div><div><br></div><div><br></div><div>I would like the following distribution.</div><div><br></div><div>Single Node: haproxy and ec2setip</div><div><br></div><div>All other Nodes: nginx.</div>
<div><br></div><div>All nodes: chef-client</div><div><br></div><div><br></div><div>Essentially, I use ha proxy for load balancing.  I use nginx for ssl decryption and serving static pages, so I want that to run on every node that isn't the ha proxy node.  During a failover, I want haproxy to be started, and ec2setip to be run on a single node, and all other nodes to start nginx.  I'm not using STONITH on purpose.  If one node takes over the IP and another is running, it does not affect my service since none of my clustered services perform any data write.  I'm using the following configuration, and importing it with this command.</div>
<div><br></div><div><br></div><div>crm configure < /tmp/proxyfailover.txt</div><div><br></div><div>here is the content of  /tmp/proxyfailover.txt</div><div><br></div><div><br>---------------- BEGIN FILE --------------------------</div>
<div><div>property stonith-enabled=false</div><div>primitive haproxy lsb:/etc/init.d/haproxy</div><div>primitive nginx lsb:/etc/init.d/nginx</div><div>primitive ec2setip lsb:/etc/init.d/ec2setip</div><div>primitive chefclient lsb:/etc/init.d/chef</div>
<div><br></div><div>order nginx-after-haproxy inf: haproxy nginx</div><div>order ec2setip-after-nginx inf: nginx ec2setip</div><div>order chefclient-after-ec2setip inf: ec2setip chefclient</div><div><br></div><div><br></div>
<div>commit </div></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">---------------- END FILE --------------------------</div><div><br></div><div>I've read this section, but I'm a bit lost.  Any help would be greatly appreciated.</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-sets-collocation.html#id580996">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-sets-collocation.html#id580996</a></div>
<div><br></div><div>Thanks,</div><div>Todd</div><div><br></div><div><br></div><div><br></div>