[Pacemaker] OCF Resource agent monitor activity failed due to temporary error
Kulovits Christian - OS ITSC
Christian.Kulovits at austrian.com
Thu Apr 19 11:59:50 UTC 2012
Hi Andreas,
Exactly this is what i want pacemaker to do when my RA is not able to determine the resource´s state. But without running into timeout and restart.
It's the method to display the resource´s state that is unavailable not the resource itself. This typically approach must be coded in every RA instead of once in pacemaker.
Christian
-----Original Message-----
From: Andreas Kurz [mailto:andreas at hastexo.com]
Sent: Donnerstag, 19. April 2012 13:51
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] OCF Resource agent monitor activity failed due to temporary error
Hi Christian,
On 04/19/2012 01:38 PM, Kulovits Christian - OS ITSC wrote:
> 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
A typically approach is to wait a little bit and retry the monitor
command until it succeeds to deliver a valid status (running/not
running) or the RA monitor operation timeouts and the script is killed
including resource recovery.
Regards,
Andreas
--
Need help with Pacemaker?
http://www.hastexo.com/services/remote
>
> -----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.
>
> _______________________________________________
> 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
More information about the Pacemaker
mailing list