[ClusterLabs] Antw: Pacemaker not invoking monitor after $interval

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri May 20 14:03:17 CEST 2016


>>> "Felix Zachlod (Lists)" <fz.lists at onesty-tech.de> schrieb am 20.05.2016 um
13:33 in Nachricht
<670F732376B88843B8DF7AD917CF8DD9289C03C9 at bulla.intern.onesty-tech.loc>:
> Hello!
> 
> I am currently working on a cluster setup which includes several resources 
> with "monitor interval=XXs" set. As far as I understand this should run the

> monitor action on the resource agent every XX seconds. But it seems it 
> doesn't. Actually monitor is only invoked in special condition, e.g.
cleanup, 
> start and so on, but never for a running (or stopped) resource. So it won't

> detect any resource failures, unless a manual action takes place. It won't 
> update master preference either when set in the monitor action.
> 
> Are there any special conditions under which the monitor will not be 
> executed? (Cluster IS managed though)
> 
> property cib-bootstrap-options: \
>         have-watchdog=false \
>         dc-version=1.1.13-10.el7_2.2-44eb2dd \
>         cluster-infrastructure=corosync \
>         cluster-name=sancluster \
>         maintenance-mode=false \
>         symmetric-cluster=false \
>         last-lrm-refresh=1463739404 \
>         stonith-enabled=true \
>         stonith-action=reboot
> 
> Thank you in advance, regards, Felix

Try "crm_mon -1Arfj" (or similar) and look into your logs "grep monitor ...".

> 
> --
> Mit freundlichen Grüßen
> Dipl. Inf. (FH) Felix Zachlod
> 
> Onesty Tech GmbH
> Lieberoser Str. 7
> 03046 Cottbus
> 
> Tel.: +49 (355) 289430
> Fax.: +49 (355) 28943100
> fz at onesty-tech.de 
> 
> Registergericht Amtsgericht Cottbus, HRB 7885 Geschäftsführer Romy Schötz, 
> Thomas Menzel
> 
> 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 






More information about the Users mailing list