[Pacemaker] OCF Resource agent monitor activity failed due to temporary error

Kulovits Christian - OS ITSC Christian.Kulovits at austrian.com
Thu Apr 19 11:38:14 UTC 2012


Hi, Andreas

What if the RA gets a response from an external command in the form: "display currently unavailable, try later". The RA has 3 possibly states available, "Running", "Not Running", "Failed". But in this situation he would say "don't know". When I set "on-fail=ignore" this error will be ignored the same way as when response is "not running" and the resource will never be restarted.
Christian

-----Original Message-----
From: Andreas Kurz [mailto:andreas at hastexo.com]
Sent: Donnerstag, 19. April 2012 11:44
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] OCF Resource agent monitor activity failed due to temporary error

On 04/19/2012 11:35 AM, emmanuel segura wrote:
> on-fail attribute

well, if you ignore a monitor failure you actually can disable
monitoring completely.

The correct way to deal with that problem is to fix the RA ... patches
are always welcome ;-)

Regards,
Andreas

--
Need help with Pacemaker?
http://www.hastexo.com/now

>
> Il giorno 19 aprile 2012 11:29, Kulovits Christian - OS ITSC
> <Christian.Kulovits at austrian.com
> <mailto:Christian.Kulovits at austrian.com>> ha scritto:
>
>     Hi,____
>
>     During a monitor activity for a SRDF Resource a temporary error
>     occurred and the resource agent cannot determine the state of the
>     resource and returned OCF_ERR_GENERIC. The cluster restarted the
>     resource and all depending resources as designed. Is there a way to
>     say that this failed monitor activity is to be ignored and to run
>     the monitor activity as specified with the monitor interval?____
>
>     __ __
>
>     Regards, Christian____
>
>     __ __
>
>
>     http://www.austrian.com
>     <http://www.austrian.com>http://www.redguide.at
>     <http://www.redguide.at>http://www.red-blog.at
>     <http://www.red-blog.at>http://www.miles-and-more.at
>     <http://www.miles-and-more.at>http://www.facebook.com/AustrianAirlines
>     <http://www.facebook.com/AustrianAirlines>http://twitter.com/_austrian
>     <http://twitter.com/_austrian>http://gplus.to/AustrianAirlines
>     <https://plus.google.com/u/0/114282817269545204572>http://www.flickr.com/austrianairlines
>     <http://www.flickr.com/austrianairlines>http://www.youtube.com/AustrianAirlinesAG
>     <http://www.youtube.com/AustrianAirlinesAG>
>
>     ------------------------------------------------------------------------
>     Austrian Airlines AG, Office Park 2, P.O. Box 100, 1300
>     Vienna-Airport, Austria, registered office: Vienna, registered with
>     Vienna Commercial Court under FN 111000k, DVR 0091740. This e-mail
>     is confidential and is subject to disclaimers. Details can be found
>     at: http://www.austrian.com/disclaimer.
>
>     _______________________________________________
>     Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>     <mailto:Pacemaker at oss.clusterlabs.org>
>     http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>     Project Home: http://www.clusterlabs.org
>     Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>     Bugs: http://bugs.clusterlabs.org
>
>
>
>
> --
> esta es mi vida e me la vivo hasta que dios quiera
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





______________________________________________________________________

Austrian Airlines AG, Office Park 2, P.O. Box 100, 1300 Vienna-Airport, Austria, registered office: Vienna, registered with Vienna Commercial Court under FN 111000k, DVR 0091740. This e-mail is confidential and is subject to disclaimers. Details can be found at: http://www.austrian.com/disclaimer.




More information about the Pacemaker mailing list