[Pacemaker] "static" cluster state?
Dejan Muhamedagic
dejanmm at fastmail.fm
Mon Nov 21 12:49:24 UTC 2011
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 <graantik at 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 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcidle.sh
Type: application/x-shellscript
Size: 581 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111121/e4d51a17/attachment-0004.bin>
More information about the Pacemaker
mailing list