pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
failcounts.c File Reference
#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>
Include dependency graph for failcounts.c:

Go to the source code of this file.


int pe_get_failcount (node_t *node, resource_t *rsc, time_t *last_failure, uint32_t flags, xmlNode *xml_op, pe_working_set_t *data_set)
pe_action_tpe__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...

Function Documentation

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]rscResource with failure
[in]nodeNode failure occurred on
[in]reasonReadable description why needed (for logging)
[in]data_setWorking set for cluster
Scheduled action

Definition at line 360 of file failcounts.c.

int pe_get_failcount ( node_t node,
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.