pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
|
#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.
Functions | |
int | pe_get_failcount (pe_node_t *node, pe_resource_t *rsc, time_t *last_failure, uint32_t flags, xmlNode *xml_op, pe_working_set_t *data_set) |
pe_action_t * | pe__clear_failcount (pe_resource_t *rsc, pe_node_t *node, const char *reason, pe_working_set_t *data_set) |
Schedule a controller operation to clear a fail count. More... | |
pe_action_t* pe__clear_failcount | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
const char * | reason, | ||
pe_working_set_t * | data_set | ||
) |
Schedule a controller operation to clear a fail count.
[in] | rsc | Resource with failure |
[in] | node | Node failure occurred on |
[in] | reason | Readable description why needed (for logging) |
[in] | data_set | Working set for cluster |
Definition at line 364 of file failcounts.c.
int pe_get_failcount | ( | pe_node_t * | node, |
pe_resource_t * | rsc, | ||
time_t * | last_failure, | ||
uint32_t | flags, | ||
xmlNode * | xml_op, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 251 of file failcounts.c.