[Pacemaker] [Linux-HA] Antw: Re: Q: unmanaged MD-RAID & auto-recovery
Andrew Beekhof
andrew at beekhof.net
Sun Nov 27 23:26:32 UTC 2011
On Fri, Nov 25, 2011 at 11:54 PM, Florian Haas <florian at hastexo.com> wrote:
> On 11/25/11 13:29, Lars Ellenberg wrote:
>>> From the log snippet it's
>>> not entirely clear whether that's a recurring monitor (interval ==
>>> whatever you configured, or 20 if default), or a probe (interval == 0).
>>>
>>> A recurring monitor clearly should not happen at all when unmanaged.
>>
>> That is incorrect.
>>
>> is-managed=false does still monitor the resource. It only prevents
>> pacemaker from sending start/stop etc commands to that resource.
>
> My understanding was that only probes would still occur (on
> cluster-recheck-interval, or when new nodes joined the cluster). And I
> maintain that that would be the intuitively "correct" behavior for
> unmanaged resources. Andrew?
No, any defined recurring monitors will still be executed.
This allows a resource to accurately depend on the state of an unmanaged one.
>
>> If the implementation of the monitor action in the RA does trigger
>> "auto-recovery" or other things, well, then it does.
>
> Which seems to operate on the same assumption, really, that an unmanaged
> resource never has its monitor action executed.
>
> I still think that this attempt to auto-recover from _within_ the
> monitor action is a bit insane, but maybe lmb (who implemented that
> part, as per git blame) would be able to share his thoughts as to why he
> did it that way.
>
> Florian
>
>
> --
> Need help with High Availability?
> http://www.hastexo.com/now
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Pacemaker
mailing list