<div dir="ltr"><div><div><div><div><div>Hi Lars,<br><br></div>Thanks for the response.<br><br>Should I configure the resource as below?<br> # crm configure primitive oc_proxyapp lsb::proxyapp  meta allow-migrate="true" migration-threshold="3" failure-timeout="30s" op monitor interval="5s"<br>
<br></div># crm oc_proxyapp_clone oc_proxyapp<br><br></div>I couldn't find anywhere about one shot configuring the clone resource instead of primitive configuration first.<br><br></div>Thanks<br></div>Eswar<br><div><div>
<div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 6:54 PM, Lars Marowsky-Bree <span dir="ltr"><<a href="mailto:lmb@suse.com" target="_blank">lmb@suse.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-06-03T18:22:39, ESWAR RAO <<a href="mailto:eswar7028@gmail.com">eswar7028@gmail.com</a>> wrote:<br>

<br>
> Hi All,<br>
><br>
> Can someone please help me in my below setup??<br>
><br>
> I have 2 node setup with HB+pacemaker.<br>
> I have my app running on both the nodes before the start of HB and<br>
> pacemaker.<br>
><br>
> Later I configured the crm as below:<br>
><br>
> # crm configure primitive havip ocf:IPaddr2 params ip=192.168.101.205<br>
> cidr_netmask=32 nic=eth1 op monitor interval=30s<br>
> # crm configure primitive oc_proxyapp lsb::proxyapp  meta<br>
> allow-migrate="true" migration-threshold="3" failure-timeout="30s" op<br>
> monitor interval="5s"<br>
><br>
> #crm configure colocation oc-havip INFINITY: havip oc_proxyapp<br>
<br>
</div>If you want it to be running on multiple nodes, you have to configure<br>
thart particular resource as a clone, not as a primitive.<br>
<br>
A primitive resource, by definition, is only allowed to run once in the<br>
cluster.<br>
<br>
<br>
Regards,<br>
    Lars<br>
<br>
--<br>
Architect Storage/HA<br>
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)<br>
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>