[Pacemaker] Temporarely suspending monitoring

Bart Coninckx bart.coninckx at telenet.be
Wed Aug 11 21:55:42 UTC 2010


On Wednesday 11 August 2010 23:01:22 Vince Gabriel wrote:
> > -----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
> 
> _______________________________________________
> 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
> 

Hi, thx for the reply - I'm using Heartbeat with CRM, not really Pacemaker. I 
figured things wouldn't be too different between the two, but it seems they 
are. I've looked at the crm_resource command and "crm_resource -p is_managed" 
seems to do the same thing. Am I correct?

thx again,


B.




More information about the Pacemaker mailing list