[Pacemaker] configuring the monitor interval

Andrew Beekhof andrew at beekhof.net
Thu Mar 25 04:22:09 EDT 2010


On Wed, Mar 24, 2010 at 10:44 PM, Alan Jones <falancluster at gmail.com> wrote:
> Friends,
> The ocf:pacemaker:Dummy example resource agent script specifies a default
> monitoring interval (10)
> which I assume is 10 seconds.  This seems like the appropriate place to
> specify this interval, ie.
> the resource implementation knows how heavy weight the monitor is and what
> is a good compromise, etc.

Its just a hint for GUIs to display to their users.
Its not actually used by the cluster.

> However, using the command line crm configuration I'm unable to get the
> monitor to be called with
> overiding this default, eg:
>
> primitive foo ocf:pacemaker:Dummy op monitor interval=20s
>
> Without the option, monitor isn't called; without specifiying the interval
> the option fails.
> I'd prefer not to configure a monitor interval for each instence of the
> every resource.

Then the cluster won't periodically check the resource's health.

>
> - Is there a way to opt-in for enabling the monitor within the resource
> definition (script)?

no

> - Is there a way to configure the monitor option in the crm command syntax
> without specifying the interval?

no




More information about the Pacemaker mailing list