Hi Vijay, you most set the option "on-fail=restart".

in RedHat with pcs the commando will be "pcs resource update <resource> op
on-fail=restart

i hope this works for you

Victor Acosta


2015-07-26 15:38 GMT-04:00 Vijay Partha <vijaysarath...@gmail.com>:

>
> ---------- Forwarded message ----------
> From: Vijay Partha <vijaysarath...@gmail.com>
> Date: Sun, Jul 26, 2015 at 12:27 PM
> Subject: Resource failure
> To: pacema...@oss.clusterlabs.org
>
>
> Hi.
>
> 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?
>
> Waiting for your reply.
> Thanking you
>
> --
> With Regards
> P.Vijay
>
>
>
> --
> With Regards
> P.Vijay
>
> _______________________________________________
> Users mailing list: Users@clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to