<div dir="ltr"><div>Hi Victor.<br><br></div>I tried that command and its showing me this error on-fail=restart does not appear to be a valid operation action<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 1:40 AM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You will find people can help you better if you share your config and<br>
relevant log entries.<br>
<span class=""><br>
On 26/07/15 03:46 PM, Vijay Partha wrote:<br>
> hi Victor,<br>
><br>
> thank you for your reply.I tried doing this but this doesnt work.<br>
><br>
> On Sun, Jul 26, 2015 at 12:43 PM, Victor José Acosta Domínguez<br>
</span><span class="">> <<a href="mailto:vic.ad94@gmail.com">vic.ad94@gmail.com</a> <mailto:<a href="mailto:vic.ad94@gmail.com">vic.ad94@gmail.com</a>>> wrote:<br>
><br>
> Hi Vijay, you most set the option "on-fail=restart".<br>
><br>
> in RedHat with pcs the commando will be "pcs resource update<br>
> <resource> op on-fail=restart<br>
><br>
> i hope this works for you<br>
><br>
> Victor Acosta<br>
><br>
><br>
</span>> 2015-07-26 15:38 GMT-04:00 Vijay Partha <<a href="mailto:vijaysarathy94@gmail.com">vijaysarathy94@gmail.com</a><br>
> <mailto:<a href="mailto:vijaysarathy94@gmail.com">vijaysarathy94@gmail.com</a>>>:<br>
<span class="">><br>
><br>
> ---------- Forwarded message ----------<br>
> From: *Vijay Partha* <<a href="mailto:vijaysarathy94@gmail.com">vijaysarathy94@gmail.com</a><br>
> <mailto:<a href="mailto:vijaysarathy94@gmail.com">vijaysarathy94@gmail.com</a>>><br>
> Date: Sun, Jul 26, 2015 at 12:27 PM<br>
> Subject: Resource failure<br>
</span><span class="">> To: <a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><br>
> <mailto:<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>><br>
><br>
><br>
> Hi.<br>
><br>
> I have been using pacemaker for quite some time. I want you guys<br>
> to help me out with an issue.My node is active and I have an<br>
> apache resource running as a resource.If my apache server goes<br>
> down, or if i manually kill the httpd service , I want the<br>
> pacemaker to automatically restart it. Could you help me out on<br>
> how to solve this issue?<br>
><br>
> Waiting for your reply.<br>
> Thanking you<br>
><br>
> --<br>
> With Regards<br>
> P.Vijay<br>
><br>
><br>
><br>
> --<br>
> With Regards<br>
> P.Vijay<br>
><br>
> _______________________________________________<br>
</span>> Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
> <mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>><br>
<span class="">> <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>
</span>> Getting started:<br>
<span class="">> <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>
><br>
><br>
</span>> _______________________________________________<br>
> Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a> <mailto:<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>><br>
<span class="">> <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>
</span>> 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>
><br>
><br>
><br>
<span class="">> --<br>
> With Regards<br>
> P.Vijay<br>
><br>
><br>
> _______________________________________________<br>
</span>> Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<span class="">> <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>
</span>> 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>
<br>
<span class=""><br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" rel="noreferrer" target="_blank">https://alteeve.ca/w/</a><br>
</span><span class="">What if the cure for cancer is trapped in the mind of a person without<br>
access to education?<br>
<br>
_______________________________________________<br>
</span>Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<span class=""><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>
</span>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>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>With Regards<br></div>P.Vijay<br></div></div>
</div>