#include <crm_internal.h>
#include <sys/types.h>
#include <regex.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/common/util.h>
#include <crm/pengine/internal.h>
Go to the source code of this file.
◆ XPATH_FMT
Value:#define PCMK_XA_OPERATION
#define PCMK__XE_LRM_RESOURCE
#define PCMK_META_INTERVAL
#define PCMK__XE_LRM_RSC_OP
#define PCMK__XE_NODE_STATE
◆ pe__clear_failcount()
Schedule a controller operation to clear a fail count.
- Parameters
-
[in,out] | rsc | Resource with failure |
[in] | node | Node failure occurred on |
[in] | reason | Readable description why needed (for logging) |
[in,out] | scheduler | Scheduler data cluster |
- Returns
- Scheduled action
Definition at line 458 of file failcounts.c.
◆ pe_get_failcount()
int pe_get_failcount |
( |
const pcmk_node_t * |
node, |
|
|
pcmk_resource_t * |
rsc, |
|
|
time_t * |
last_failure, |
|
|
uint32_t |
flags, |
|
|
const xmlNode * |
xml_op |
|
) |
| |