pacemaker
2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <glib.h>
#include <stdbool.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/internal.h>
#include "pe_status_private.h"
Go to the source code of this file.
Functions | |
gboolean | ghash_free_str_str (gpointer key, gpointer value, gpointer user_data) |
bool | pe_can_fence (pe_working_set_t *data_set, pe_node_t *node) |
pe_node_t * | pe__copy_node (const pe_node_t *this_node) |
void | node_list_exclude (GHashTable *hash, GList *list, gboolean merge_scores) |
GHashTable * | pe__node_list2table (GList *list) |
gint | pe__cmp_node_name (gconstpointer a, gconstpointer b) |
void | pe__show_node_weights_as (const char *file, const char *function, int line, bool to_log, pe_resource_t *rsc, const char *comment, GHashTable *nodes, pe_working_set_t *data_set) |
gint | pe__cmp_rsc_priority (gconstpointer a, gconstpointer b) |
void | resource_location (pe_resource_t *rsc, pe_node_t *node, int score, const char *tag, pe_working_set_t *data_set) |
time_t | get_effective_time (pe_working_set_t *data_set) |
gboolean | get_target_role (pe_resource_t *rsc, enum rsc_role_e *role) |
gboolean | order_actions (pe_action_t *lh_action, pe_action_t *rh_action, enum pe_ordering order) |
void | destroy_ticket (gpointer data) |
pe_ticket_t * | ticket_new (const char *ticket_id, pe_working_set_t *data_set) |
const char * | rsc_printable_id (pe_resource_t *rsc) |
void | pe__clear_resource_flags_recursive (pe_resource_t *rsc, uint64_t flags) |
void | pe__clear_resource_flags_on_all (pe_working_set_t *data_set, uint64_t flag) |
void | pe__set_resource_flags_recursive (pe_resource_t *rsc, uint64_t flags) |
void | trigger_unfencing (pe_resource_t *rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t *data_set) |
gboolean | add_tag_ref (GHashTable *tags, const char *tag_name, const char *obj_ref) |
bool | pe__shutdown_requested (pe_node_t *node) |
void | pe__update_recheck_time (time_t recheck, pe_working_set_t *data_set) |
void | pe__unpack_dataset_nvpairs (const xmlNode *xml_obj, const char *set_name, pe_rule_eval_data_t *rule_data, GHashTable *hash, const char *always_first, gboolean overwrite, pe_working_set_t *data_set) |
bool | pe__resource_is_disabled (pe_resource_t *rsc) |
bool | pe__rsc_running_on_any (pe_resource_t *rsc, GList *node_list) |
bool | pcmk__rsc_filtered_by_node (pe_resource_t *rsc, GList *only_node) |
GList * | pe__filter_rsc_list (GList *rscs, GList *filter) |
GList * | pe__build_node_name_list (pe_working_set_t *data_set, const char *s) |
GList * | pe__build_rsc_list (pe_working_set_t *data_set, const char *s) |
xmlNode * | pe__failed_probe_for_rsc (pe_resource_t *rsc, const char *name) |
Variables | |
bool | pcmk__is_daemon |
gboolean add_tag_ref | ( | GHashTable * | tags, |
const char * | tag_name, | ||
const char * | obj_ref | ||
) |
time_t get_effective_time | ( | pe_working_set_t * | data_set | ) |
gboolean get_target_role | ( | pe_resource_t * | rsc, |
enum rsc_role_e * | role | ||
) |
gboolean ghash_free_str_str | ( | gpointer | key, |
gpointer | value, | ||
gpointer | user_data | ||
) |
void node_list_exclude | ( | GHashTable * | hash, |
GList * | list, | ||
gboolean | merge_scores | ||
) |
gboolean order_actions | ( | pe_action_t * | lh_action, |
pe_action_t * | rh_action, | ||
enum pe_ordering | order | ||
) |
bool pcmk__rsc_filtered_by_node | ( | pe_resource_t * | rsc, |
GList * | only_node | ||
) |
GList* pe__build_node_name_list | ( | pe_working_set_t * | data_set, |
const char * | s | ||
) |
GList* pe__build_rsc_list | ( | pe_working_set_t * | data_set, |
const char * | s | ||
) |
void pe__clear_resource_flags_on_all | ( | pe_working_set_t * | data_set, |
uint64_t | flag | ||
) |
void pe__clear_resource_flags_recursive | ( | pe_resource_t * | rsc, |
uint64_t | flags | ||
) |
gint pe__cmp_rsc_priority | ( | gconstpointer | a, |
gconstpointer | b | ||
) |
xmlNode* pe__failed_probe_for_rsc | ( | pe_resource_t * | rsc, |
const char * | name | ||
) |
bool pe__resource_is_disabled | ( | pe_resource_t * | rsc | ) |
bool pe__rsc_running_on_any | ( | pe_resource_t * | rsc, |
GList * | node_list | ||
) |
void pe__set_resource_flags_recursive | ( | pe_resource_t * | rsc, |
uint64_t | flags | ||
) |
void pe__show_node_weights_as | ( | const char * | file, |
const char * | function, | ||
int | line, | ||
bool | to_log, | ||
pe_resource_t * | rsc, | ||
const char * | comment, | ||
GHashTable * | nodes, | ||
pe_working_set_t * | data_set | ||
) |
void pe__unpack_dataset_nvpairs | ( | const xmlNode * | xml_obj, |
const char * | set_name, | ||
pe_rule_eval_data_t * | rule_data, | ||
GHashTable * | hash, | ||
const char * | always_first, | ||
gboolean | overwrite, | ||
pe_working_set_t * | data_set | ||
) |
void pe__update_recheck_time | ( | time_t | recheck, |
pe_working_set_t * | data_set | ||
) |
bool pe_can_fence | ( | pe_working_set_t * | data_set, |
pe_node_t * | node | ||
) |
void resource_location | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
int | score, | ||
const char * | tag, | ||
pe_working_set_t * | data_set | ||
) |
const char* rsc_printable_id | ( | pe_resource_t * | rsc | ) |
pe_ticket_t* ticket_new | ( | const char * | ticket_id, |
pe_working_set_t * | data_set | ||
) |
void trigger_unfencing | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
const char * | reason, | ||
pe_action_t * | dependency, | ||
pe_working_set_t * | data_set | ||
) |