[Pacemaker] Temporarely suspending monitoring

Vince Gabriel vinceg at sgi.com
Wed Aug 11 21:01:22 UTC 2010



 
> -----Original Message-----
> From: Bart Coninckx [mailto:bart.coninckx at telenet.be]
> Sent: Wednesday, August 11, 2010 10:49 AM
> To: pacemaker at oss.clusterlabs.org
> Subject: [Pacemaker] Temporarely suspending monitoring
> 
> Hi,
> 
> We're using the Xen resource agents with an operation "monitor" that
> repeats
> every 60 seconds.
> For backing up the Xen machines, we use "xm save" and "xm restore"
which
> takes
> them offline for a short amount of time (and copies the memory
contents to
> a
> file). Of course, when the monitor check happens right after the Xen
guest
> has
> been taken offline, it will try and restart it, possibly before the
Xen
> guest
> has been restored in the proper way.
> Is there a way to avoid this? For instance by temporarely suspending
the
> monitoring?

To stop monitoring:

#crm resource unmanage <rsc>

To start monitoring:

#crm resource manage <rsc>


> 
> Thx!
> 
> 
> B.
> 
> _______________________________________________
> 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
> Bugs: http://developerbugs.linux-
> foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list