[Pacemaker] Monitor od Stateful runs only at Slave

Andrew Beekhof andrew at beekhof.net
Wed Apr 21 06:33:44 UTC 2010


On Tue, Apr 20, 2010 at 5:05 PM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> 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"

I really need to find a way to avoid this one day.




More information about the Pacemaker mailing list