look this link<br><a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch-advanced-resources.html#id1015383">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch-advanced-resources.html#id1015383</a><br>
<br><div class="gmail_quote">Il giorno 18 aprile 2012 13:29, Manish Punjabi <span dir="ltr">&lt;<a href="mailto:manishpunjabi21@gmail.com">manishpunjabi21@gmail.com</a>&gt;</span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span>output of crm config show</span></div><div><span><br></span></div><span>node </span><a href="http://kirchoff.pal.net/" target="_blank">kirchoff.pal.net</a><span> \</span><br><span>        attributes standby=&quot;off&quot;</span><br>

<span>node </span><a href="http://tesla.pal.net/" target="_blank">tesla.pal.net</a><span> \</span><br><span>        attributes standby=&quot;off&quot;</span><br><span>primitive res_Filesystem_2 ocf:heartbeat:Filesystem \</span><br>

<span>        params device=&quot;/dev/drbd1&quot; directory=&quot;/u01&quot; fstype=&quot;ext3&quot; \</span><br><span>        operations $id=&quot;res_Filesystem_2-</span><span>operations&quot; \</span><br>
<span>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br><span>        op stop interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br><span>        op monitor interval=&quot;20&quot; timeout=&quot;40&quot; start-delay=&quot;0&quot; \</span><br>

<span>        op notify interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br><span>        meta target-role=&quot;started&quot; migration-threshold=&quot;1&quot; allow-migrate=&quot;true&quot; resource-stickiness=&quot;INFINITY&quot; failure-timeou</span><br>

<span>t=&quot;10&quot;</span><br><span>primitive res_Filesystem_3 ocf:heartbeat:Filesystem \</span><br><span>        params device=&quot;/dev/drbd0&quot; directory=&quot;/jboss&quot; fstype=&quot;ext3&quot; \</span><br>
<span>        operations $id=&quot;res_Filesystem_3-</span><span>operations&quot; \</span><br><span>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br><span>        op stop interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br>

<span>        op monitor interval=&quot;20&quot; timeout=&quot;40&quot; start-delay=&quot;0&quot; \</span><br><span>        op notify interval=&quot;0&quot; timeout=&quot;60&quot; \</span><br><span>        meta target-role=&quot;started&quot; migration-threshold=&quot;1&quot; allow-migrate=&quot;true&quot; resource-stickiness=&quot;INFINITY&quot; failure-timeou</span><br>

<span>t=&quot;10&quot;</span><br><span>primitive res_IPaddr2_1 ocf:heartbeat:IPaddr2 \</span><br><span>        params ip=&quot;115.111.252.135&quot; \</span><br><span>        operations $id=&quot;res_IPaddr2_1-operations&quot; \</span><br>

<span>        op start interval=&quot;0&quot; timeout=&quot;20&quot; \</span><br><span>        op stop interval=&quot;0&quot; timeout=&quot;20&quot; \</span><br><span>        op monitor interval=&quot;10&quot; timeout=&quot;20&quot; start-delay=&quot;0&quot; \</span><br>

<span>        meta target-role=&quot;started&quot; migration-threshold=&quot;1&quot; allow-migrate=&quot;true&quot; resource-stickiness=&quot;INFINITY&quot; failure-timeou</span><br><span>t=&quot;10&quot;</span><br>
<span>primitive res_MailTo_1 ocf:heartbeat:MailTo \</span><br><span>        params email=&quot;</span><a href="mailto:sucheta.dudwadkar@gmail.com" target="_blank">sucheta.dudwadkar@gmail.com</a><span>, </span><a href="mailto:manishpunjabi21@gmail.com" target="_blank">manishpunjabi21@gmail.com</a><span>,</span><a href="mailto:nilesh.hiremath@tcs.com" target="_blank">nilesh.hiremath@tcs.com</a><span>&quot; subject=&quot;DRBD Message:</span><br>

<span>System Generated. Please do not reply.&quot; \</span><br><span>        operations $id=&quot;res_MailTo_1-operations&quot; \</span><br><span>        op start interval=&quot;0&quot; timeout=&quot;10&quot; \</span><br>

<span>        op stop interval=&quot;0&quot; timeout=&quot;10&quot; \</span> <div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Tue, Apr 17, 2012 at 6:52 PM, Manish Punjabi <span dir="ltr">&lt;<a href="mailto:manishpunjabi21@gmail.com" target="_blank">manishpunjabi21@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All,<div><br></div><div> I have configured DRBD and pacemaker for highly available setup with 2 nodes. Each node has oracle and jboss resources along with ClusterIp resource. I have used resource stickiness to infinity to make services run on  a stable node. But also I need to make sure that if any one service fails then the entire service must move on to other node. I have added collocation and ordering to ensure all to run on a single node at a time. When i fail one service like jboss it just restarts it back on same machine . I have set resource threshold to 1. What other configuration should I  make to enable entire service move to another node on a single service failure.</div>


<div><br></div><div><br></div><div>Thanks and Regards</div><span><font color="#888888"><div>Manish </div>
</font></span></blockquote></div><br>
</div></div><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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>