On Wed, May 09, 2007 at 07:37:47PM +0200, Yan Fitterer wrote: > I do not believe this is possible. 1 resource == 1 monitor AFAIK.
I think that it is possible. If not, then it should be. It does make sense to have more than one monitoring operation, for example a light which would run once a minute and a more thorough check which runs once an hour or maybe within out-of-work hours. I've never tried this and I guess that not many people did. > What you _could_ do, is build the cleverness in the OCF RA to do > two types of checks, and mix them on a temporal basis where > appropriate (i.e. have a single RA run at 10s intervals, but > only do (and report on) some of the checks every 15 minutes). > This is rather "dirty", as it requires you to store RA state > data locally on the node. Not great, but can be made to work. > > >>> On Wed, May 9, 2007 at 5:16 PM, in message > <[EMAIL PROTECTED]>, benjamin > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I see here, http://www.linux- ha.org/ClusterInformationBase/Actions, that we > > can set different interval and paramters to a monitor but is it possible to > > have two (or more) monitors for a same resource ? > > > > For example : is it possible to have a monitor checking the connectivity of > > a mysql server each 10s and another monitor that check the mysql server with > > an SQL request each 15min ? > > > > If it's possible how to write it in the OCF scripts ??? > > > > Thanx. > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems -- Dejan _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
