[ClusterLabs] Pacemaker not invoking monitor after $interval

Felix Zachlod Felix.Zachlod at onesty-tech.de
Fri May 20 08:20:07 EDT 2016

> -----Ursprüngliche Nachricht-----
> Von: Jehan-Guillaume de Rorthais [mailto:jgdr at dalibo.com]
> Gesendet: Freitag, 20. Mai 2016 13:52
> An: Felix Zachlod (Lists) <fz.lists at onesty-tech.de>
> Cc: users at clusterlabs.org
> Betreff: Re: [ClusterLabs] Pacemaker not invoking monitor after $interval
> Le Fri, 20 May 2016 11:33:39 +0000,
> "Felix Zachlod (Lists)" <fz.lists at onesty-tech.de> a écrit :
> > 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.
> How do you know it doesn't? Are you looking at crm_mon? log files?

I created a debug output from my RA. Furthermore I had a blackbox dump.
But it now turned out, that for my resource I had to change meta-data to advertise 

monitor action twice (one for slave, one for master) and setup 

op monitor role=x interval=y instead of op monitor interval=x

Since that I changed it at least for this resource monitor is working as desired. At least for now. Not sure why a Master/Slave resource has to have distinct monitor actions advertised for both roles but it seems related to that.

Still don't see any monitor invocations in the log but seems there is still something wrong with the log level.

Thanks anyway!

regards, Felix

More information about the Users mailing list