On Thu, October 21, 2010 12:42 pm, Bernd Schubert wrote: > Hi all, > > > is there a better way to detect a failed resource than to run "crm_mon -1 > -r"?
Well, you could list all resources with crm_resource -l, then get failcount with crm_failcount -r $rsc and grep for value=INFINITY Rasto -- : Dipl-Ing Rastislav Levrinc : DRBD-MC http://www.drbd.org/mc/management-console/ : DRBD/HA support and consulting http://www.linbit.com/ DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria. _______________________________________________ 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