#include <crm_internal.h>
#include <sys/types.h>
#include <regex.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/msg_xml.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 XML_LRM_ATTR_INTERVAL
#define XML_LRM_TAG_RESOURCE
#define XML_LRM_ATTR_TASK
#define XML_CIB_TAG_STATE
#define XML_LRM_TAG_RSC_OP
◆ 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 453 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 |
|
) |
| |