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:andr...@hastexo.com] > Sent: Donnerstag, 19. April 2012 11:44 > To: pacemaker@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.kulov...@austrian.com >> <mailto:christian.kulov...@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@oss.clusterlabs.org >> <mailto:Pacemaker@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@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@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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pacemaker mailing list: Pacemaker@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