[Pacemaker] detect/cleanup failed resource
Rasto Levrinc
rasto.levrinc at linbit.com
Thu Oct 21 06:52:51 EDT 2010
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.
More information about the Pacemaker
mailing list