<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 13, 2009, at 11:23 AM, Romi Verma wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 3:36 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:beekhof@gmail.com">beekhof@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d"><br> On Feb 13, 2009, at 11:05 AM, Romi Verma wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi All,<br> <br> pacemaker has one property "on_fail" for any operation configured for a resource. suppose i have set "on_fail" to "fence" for a monitor operation , then is it expected to fence the node in case of resource monitor failure ??<br> </blockquote> <br></div> that would seem like a reasonable assumption</blockquote><div><br>Thanks Andrew for fast reply,<br><br>i assume we need stonith for this. </div></div></blockquote><div><br></div><div>definitely</div><br><blockquote type="cite"><div class="gmail_quote"><div>when resource monitor will fail on a node it means that node is undergoing some problematic situation , and due to this the resource fails over to another node. <br> Well , now i am wondering if a node is not well then stonith will already come into the action.</div></div></blockquote><div><br></div><div>if stonith is enabled (the default in 1.0.0 and onwards), then it kicks in whenever a node fails or a resource fails to stop.</div><br><blockquote type="cite"><div class="gmail_quote"><div> i mean to say even if i will not set "on_fail" to fence the node will be fenced by stonith (as other members of cluster will detect that node is not doing well and they will fence that errant node)<br> <br> so why do we have this "on_fail" feature. is there any special benefit of this "on_fail" feature i am missing?? </div></div></blockquote><div><br></div><div>setting on_fail=fence for a monitor op will cause the cluster to shoot the node immediately instead of trying to stop the resource and recover it without fencing.</div><br><blockquote type="cite"><div class="gmail_quote"><div><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"> can any one explain please.<br> <br> Best Regards,<br></div> _______________________________________________<br> Pacemaker mailing list<br> <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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> </blockquote> <br> <br> _______________________________________________<br> Pacemaker mailing list<br> <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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> </blockquote></div><br> _______________________________________________<br>Pacemaker mailing list<br><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br></blockquote></div><br></body></html>