On 2013-06-03T18:22:39, ESWAR RAO <eswar7...@gmail.com> wrote: > Hi All, > > Can someone please help me in my below setup?? > > I have 2 node setup with HB+pacemaker. > I have my app running on both the nodes before the start of HB and > pacemaker. > > Later I configured the crm as below: > > # crm configure primitive havip ocf:IPaddr2 params ip=192.168.101.205 > cidr_netmask=32 nic=eth1 op monitor interval=30s > # crm configure primitive oc_proxyapp lsb::proxyapp meta > allow-migrate="true" migration-threshold="3" failure-timeout="30s" op > monitor interval="5s" > > #crm configure colocation oc-havip INFINITY: havip oc_proxyapp
If you want it to be running on multiple nodes, you have to configure thart particular resource as a clone, not as a primitive. A primitive resource, by definition, is only allowed to run once in the cluster. Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (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 Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org