pacemaker
2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
|
Cluster status and scheduling. More...
#include <glib.h>
#include <stdbool.h>
#include <crm/common/util.h>
#include <crm/common/iso8601.h>
#include <crm/pengine/common.h>
#include <crm/pengine/pe_types.h>
#include <crm/pengine/complex.h>
Go to the source code of this file.
Functions | |
const char * | rsc_printable_id (pe_resource_t *rsc) |
gboolean | cluster_status (pe_working_set_t *data_set) |
pe_working_set_t * | pe_new_working_set (void) |
Create a new working set. More... | |
void | pe_free_working_set (pe_working_set_t *data_set) |
Free a working set. More... | |
void | set_working_set_defaults (pe_working_set_t *data_set) |
void | cleanup_calculations (pe_working_set_t *data_set) |
Reset working set to default state without freeing it or constraints. More... | |
void | pe_reset_working_set (pe_working_set_t *data_set) |
Reset a working set to default state without freeing it. More... | |
pe_resource_t * | pe_find_resource (GList *rsc_list, const char *id_rh) |
pe_resource_t * | pe_find_resource_with_flags (GList *rsc_list, const char *id, enum pe_find flags) |
pe_node_t * | pe_find_node (GList *node_list, const char *uname) |
pe_node_t * | pe_find_node_id (GList *node_list, const char *id) |
pe_node_t * | pe_find_node_any (GList *node_list, const char *id, const char *uname) |
GList * | find_operations (const char *rsc, const char *node, gboolean active_filter, pe_working_set_t *data_set) |
int | pe_bundle_replicas (const pe_resource_t *rsc) |
Get the number of configured replicas in a bundle. More... | |
Cluster status and scheduling.
Definition in file status.h.
void cleanup_calculations | ( | pe_working_set_t * | data_set | ) |
Reset working set to default state without freeing it or constraints.
[in,out] | data_set | Working set to reset |
gboolean cluster_status | ( | pe_working_set_t * | data_set | ) |
GList* find_operations | ( | const char * | rsc, |
const char * | node, | ||
gboolean | active_filter, | ||
pe_working_set_t * | data_set | ||
) |
int pe_bundle_replicas | ( | const pe_resource_t * | rsc | ) |
pe_node_t* pe_find_node | ( | GList * | node_list, |
const char * | uname | ||
) |
pe_node_t* pe_find_node_any | ( | GList * | node_list, |
const char * | id, | ||
const char * | uname | ||
) |
pe_node_t* pe_find_node_id | ( | GList * | node_list, |
const char * | id | ||
) |
pe_resource_t* pe_find_resource | ( | GList * | rsc_list, |
const char * | id_rh | ||
) |
pe_resource_t* pe_find_resource_with_flags | ( | GList * | rsc_list, |
const char * | id, | ||
enum pe_find | flags | ||
) |
void pe_free_working_set | ( | pe_working_set_t * | data_set | ) |
pe_working_set_t* pe_new_working_set | ( | void | ) |
Create a new working set.
void pe_reset_working_set | ( | pe_working_set_t * | data_set | ) |
const char* rsc_printable_id | ( | pe_resource_t * | rsc | ) |
void set_working_set_defaults | ( | pe_working_set_t * | data_set | ) |