<div dir="ltr"><div><br></div>Thanks Andreas . Its working.<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 3:53 AM, Andreas Kurz <span dir="ltr"><<a href="mailto:andreas@hastexo.com" target="_blank">andreas@hastexo.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="HOEnZb"><div class="h5">On 2013-12-12 18:06, ESWAR RAO wrote:<br>
> Hi All,<br>
><br>
> Can someone please help me in restarting all resources of clone on<br>
> single node.<br>
><br>
> On 3 node setup with HB+pacemaker.<br>
> I have configured all 3 resources in clone mode with max as 2 to start<br>
> only on node1 and node2.<br>
> +++++++++++++++++++++++++++++++++++++++<br>
> + crm configure primitive res_dummy_1 lsb::dummy_1 meta<br>
> allow-migrate=false op monitor interval=5s<br>
> + crm configure clone dummy_1_clone res_dummy_1 meta clone-max=2<br>
> globally-unique=false<br>
> + crm configure location dummy_1_clone_prefer_node dummy_1_clone -inf:<br>
> node-3<br>
> +++++++++++++++++++++++++++++++++++++++<br>
> advisory ordering:<br>
> + crm configure order 1-BEFORE-2 inf: dummy_1_clone dummy_2_clone<br>
> + crm configure order 1-BEFORE-3 inf: dummy_1_clone dummy_3_clone<br>
><br>
> I expect if I kill dummy_1 on node1 , dummy_2 and dummy_3 also to be<br>
> restarted on node-1 along with dummy_1.<br>
> But dummy_2 and dummy_3 on node-2 are also getting restarted.<br>
><br>
> Is there any way so that I can achieve not restarting of dummy_2 and<br>
> dummy_3 on node_2.<br>
<br>
</div></div>yes ... the meta-attribute your are looking for is: interleave=true<br>
<br>
Regards,<br>
Andreas<br>
<br>
><br>
><br>
> Thanks<br>
> Eswar<br>
><br>
><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>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Need help with Pacemaker?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
<br>
<br>
</font></span><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>
<br></blockquote></div><br></div></div></div>