[Pacemaker] Monitor od Stateful runs only at Slave
Dejan Muhamedagic
dejanmm at fastmail.fm
Tue Apr 20 15:05:49 UTC 2010
Hi,
On Tue, Apr 20, 2010 at 11:44:13AM +0000, Lubo Drobny wrote:
> Hello,
>
> I little play with Stateful resource:
>
> primitive test ocf:heartbeat:Stateful \
> op monitor interval="2s"
> ms ms-test test \
> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1"
> notify="true"
>
> The problem is: monitor is running just on Slave.
>
> How I need to change configuration to have monitored both: Master and Slave?
Add to the primitive sth like
op monitor role="Master" interval="20s"
Note that the interval must be different. You can also replace
the existing operation:
op monitor role="Slave" interval="10s"
Thanks,
Dejan
> lubo
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
More information about the Pacemaker
mailing list