[Pacemaker] disabling monitor actions
Dejan Muhamedagic
dejanmm at fastmail.fm
Wed May 5 11:07:53 UTC 2010
Hi,
On Wed, May 05, 2010 at 10:43:53AM +0200, Peter Kruse wrote:
> Hello,
>
> Schaefer, Diane E wrote:
> > We are using Pacemaker 1.0.6 and heartbeat 3.0.2. I would like to temporarily disable certain monitor actions. The pacemaker doc says to use
> >cibadmin -M -X '<op id="public-ip-check" disabled="true"/>'
> >And to re-enable it with
> >cibadmin -M -X '<op id="public-ip-check" disabled="false"/>'
> >
> >However these actions are not successful and the resource
> >continues to be monitored. Is there another way to do this?
> >I also noticed no real support in crm configure.
primitive ...
op monitor ... enabled=false
Perhaps you meant that there is no "crm resource r1 disable monitor"?
You can file an enhancement bugzilla for that.
> yes, I had the same problem right now. Replace "disabeld" with "enabled"
> and "true" with "false" and vice versa, so it should read:
>
> cibadmin -M -X '<op id="public-ip-check" enabled="false"/>'
> And to re-enable it with
> cibadmin -M -X '<op id="public-ip-check" enabled="true"/>'
>
> find the attributes in /usr/share/pacemaker/resources-1.0.rng
The documentation still needs to be fixed.
Thanks,
Dejan
> Cheers,
>
> Peter
>
>
>
> _______________________________________________
> 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