[ClusterLabs] Antw: Re: from where does the default value for start/stop op of a resource come ?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Aug 2 03:53:34 EDT 2017

>>> Kristoffer Grönlund <kgronlund at suse.com> schrieb am 02.08.2017 um 09:33 in
Nachricht <87h8xq77a1.fsf at suse.com>:
> "Lentes, Bernd" <bernd.lentes at helmholtz-muenchen.de> writes:
>> Hi,
>> i'm wondering from where the default values for operations of a resource 
> come from.
> [snip]
>> Is it hardcoded ? All timeouts i found in my config were explicitly related

> to a dedicated resource.
>> What are the values for the hardcoded defaults ?
>> Does that also mean that what the description of the RA says as "default" 
> isn't a default, but just a recommendation ?
> The default timeout is set by the default-action-timeout property, and
> the default value is 20s.
> You are correct, the timeout values defined in the resource agent are
> not used automatically. They are recommended minimums, and the
> thought as I understand it (this predates my involvement in HA) is that
> any timeouts need to be reviewed carefully by the administrator.
> I agree that it is somewhat surprising.

What aout this priority for newly added resources:?
1) Use the value specified explicitly
2) Use the value the RA's metadata specifies
3) Use the global default

With "use" I mean "add it to the RA configuration".


More information about the Users mailing list