<div dir="ltr"><div><div>Hi Vijay, you most set the option "on-fail=restart".<br><br></div>in RedHat with pcs the commando will be "pcs resource update <resource> op on-fail=restart<br><br></div>i hope this works for you <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span>Victor Acosta<br></span><img src="http://www.infratic.com/CertAV/RH//RH_CertifiedSysAdmin_CMYK.png"><img src="http://www.infratic.com/CertAV/RH/RH_CertifiedEngineer_RGB.png"><br><img alt=""></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-07-26 15:38 GMT-04:00 Vijay Partha <span dir="ltr"><<a href="mailto:vijaysarathy94@gmail.com" target="_blank">vijaysarathy94@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Vijay Partha</b> <span dir="ltr"><<a href="mailto:vijaysarathy94@gmail.com" target="_blank">vijaysarathy94@gmail.com</a>></span><br>Date: Sun, Jul 26, 2015 at 12:27 PM<br>Subject: Resource failure<br>To: <a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br><br><br><div dir="ltr">Hi.<div><br></div><div>I have been using pacemaker for quite some time. I want you guys to help me out with an issue.My node is active and I have an apache resource running as a resource.If my apache server goes down, or if i manually kill the httpd service , I want the pacemaker to automatically restart it. Could you help me out on how to solve this issue?</div><div><br></div><div>Waiting for your reply.</div><div>Thanking you <span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>With Regards<br></div>P.Vijay<br></div></div>
</font></span></font></span></div></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>With Regards<br></div>P.Vijay<br></div></div>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>