On Mon, Nov 21, 2011 at 09:29:24AM +1100, Andrew Beekhof wrote:
> Run crmadmin -S for the DC.
> If you see S_IDLE its done.

Please find a custom shell script attached which I sometimes use
for cluster testing. Don't know if that fits your needs.

Thanks,

Dejan

> On Fri, Nov 18, 2011 at 9:12 PM, Gerhard Rieger <graan...@gmail.com> wrote:
> > Hi,
> >
> > After a change like taking a node standby or online I want to know when the
> > cluster has reached its static state again, i.e. when PM has finished
> > moving, promoting etc resources.
> >
> > Finding this by just watching crm_mon on the screen is not sufficient, I'd
> > prefer some event for automatic processing like crm_mon -E, and not "no
> > change for 5 seconds".
> >
> > Is this possible?
> >
> > Thanks,
> > Graantik
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker@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@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

Attachment: dcidle.sh
Description: application/shellscript

_______________________________________________
Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org

Reply via email to