I do not believe this is possible. 1 resource == 1 monitor AFAIK. 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
