From 23f1aa5b98e26e6e7e4a076fb6f04af4c07d9775 Mon Sep 17 00:00:00 2001 From: Ken Gaillot Date: Apr 07 2021 22:24:55 +0000 Subject: Doc: Pacemaker Explained: correct on-fail default --- diff --git a/doc/Pacemaker_Explained/en-US/Ch-Resources.txt b/doc/Pacemaker_Explained/en-US/Ch-Resources.txt index 9df9243..88892db 100644 --- a/doc/Pacemaker_Explained/en-US/Ch-Resources.txt +++ b/doc/Pacemaker_Explained/en-US/Ch-Resources.txt @@ -669,8 +669,13 @@ XML attributes take precedence over +nvpair+ elements if both are specified. indexterm:[Action,Property,timeout] |on-fail -|restart '(except for +stop+ operations, which default to' fence 'when - STONITH is enabled and' block 'otherwise)' +a|Varies by action: + +* +stop+: +fence+ if +stonith-enabled+ is true or +block+ otherwise +* +demote+: +on-fail+ of the +monitor+ action with +role+ set to +Master+, if + present, enabled, and configured to a value other than +demote+, or +restart+ + otherwise +* all other actions: +restart+ a|The action to take if this action ever fails. Allowed values: * +ignore:+ Pretend the resource did not fail.