pacemaker
2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
|
#include <glib.h>
#include <crm/common/xml.h>
#include <crm/pengine/status.h>
#include <crm/pengine/complex.h>
#include <crm/pengine/internal.h>
#include <pcmki/pcmki_scheduler.h>
Go to the source code of this file.
Data Structures | |
struct | resource_alloc_functions_s |
Variables | |
resource_alloc_functions_t | resource_class_alloc_functions [] |
enum pe_action_flags clone_action_flags | ( | pe_action_t * | action, |
pe_node_t * | node | ||
) |
Definition at line 1302 of file pcmk_sched_clone.c.
void clone_append_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 1515 of file pcmk_sched_clone.c.
void clone_create_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 872 of file pcmk_sched_clone.c.
gboolean clone_create_probe | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
pe_action_t * | complete, | ||
gboolean | force, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1475 of file pcmk_sched_clone.c.
void clone_create_pseudo_actions | ( | pe_resource_t * | rsc, |
GList * | children, | ||
notify_data_t ** | start_notify, | ||
notify_data_t ** | stop_notify, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 885 of file pcmk_sched_clone.c.
void clone_expand | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1324 of file pcmk_sched_clone.c.
void clone_internal_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 947 of file pcmk_sched_clone.c.
void clone_rsc_colocation_lh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1093 of file pcmk_sched_clone.c.
void clone_rsc_colocation_rh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1105 of file pcmk_sched_clone.c.
void clone_rsc_location | ( | pe_resource_t * | rsc, |
pe__location_t * | constraint | ||
) |
Definition at line 1308 of file pcmk_sched_clone.c.
void complex_set_cmds | ( | pe_resource_t * | rsc | ) |
Definition at line 647 of file pcmk_sched_allocate.c.
void create_promotable_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 816 of file pcmk_sched_promotable.c.
enum pe_action_flags group_action_flags | ( | pe_action_t * | action, |
pe_node_t * | node | ||
) |
Definition at line 450 of file pcmk_sched_group.c.
void group_append_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 600 of file pcmk_sched_group.c.
void group_create_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 142 of file pcmk_sched_group.c.
void group_expand | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 550 of file pcmk_sched_group.c.
void group_internal_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 225 of file pcmk_sched_group.c.
void group_rsc_colocation_lh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 359 of file pcmk_sched_group.c.
void group_rsc_colocation_rh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 402 of file pcmk_sched_group.c.
void group_rsc_location | ( | pe_resource_t * | rsc, |
pe__location_t * | constraint | ||
) |
Definition at line 521 of file pcmk_sched_group.c.
enum pe_graph_flags group_update_actions | ( | pe_action_t * | first, |
pe_action_t * | then, | ||
pe_node_t * | node, | ||
enum pe_action_flags | flags, | ||
enum pe_action_flags | filter, | ||
enum pe_ordering | type, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 495 of file pcmk_sched_group.c.
void LogActions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 2033 of file pcmk_sched_native.c.
void LogNodeActions | ( | pe_working_set_t * | data_set | ) |
Definition at line 2108 of file pcmk_sched_allocate.c.
enum pe_action_flags native_action_flags | ( | pe_action_t * | action, |
pe_node_t * | node | ||
) |
Definition at line 1749 of file pcmk_sched_native.c.
void native_append_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 2538 of file pcmk_sched_native.c.
void native_create_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1195 of file pcmk_sched_native.c.
gboolean native_create_probe | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
pe_action_t * | complete, | ||
gboolean | force, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2251 of file pcmk_sched_native.c.
void native_expand | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1997 of file pcmk_sched_native.c.
void native_internal_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1470 of file pcmk_sched_native.c.
void native_rsc_colocation_lh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1700 of file pcmk_sched_native.c.
void native_rsc_colocation_rh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1721 of file pcmk_sched_native.c.
void native_rsc_location | ( | pe_resource_t * | rsc, |
pe__location_t * | constraint | ||
) |
Definition at line 1991 of file pcmk_sched_native.c.
enum pe_graph_flags native_update_actions | ( | pe_action_t * | first, |
pe_action_t * | then, | ||
pe_node_t * | node, | ||
enum pe_action_flags | flags, | ||
enum pe_action_flags | filter, | ||
enum pe_ordering | type, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1848 of file pcmk_sched_native.c.
void pcmk__add_promotion_scores | ( | pe_resource_t * | rsc | ) |
Definition at line 577 of file pcmk_sched_promotable.c.
enum pe_action_flags pcmk__bundle_action_flags | ( | pe_action_t * | action, |
pe_node_t * | node | ||
) |
Definition at line 551 of file pcmk_sched_bundle.c.
pe_node_t* pcmk__bundle_allocate | ( | pe_resource_t * | rsc, |
pe_node_t * | preferred, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 66 of file pcmk_sched_bundle.c.
void pcmk__bundle_append_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 1061 of file pcmk_sched_bundle.c.
void pcmk__bundle_create_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 169 of file pcmk_sched_bundle.c.
gboolean pcmk__bundle_create_probe | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
pe_action_t * | complete, | ||
gboolean | force, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 967 of file pcmk_sched_bundle.c.
void pcmk__bundle_expand | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 894 of file pcmk_sched_bundle.c.
void pcmk__bundle_internal_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 218 of file pcmk_sched_bundle.c.
void pcmk__bundle_log_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1066 of file pcmk_sched_bundle.c.
void pcmk__bundle_rsc_colocation_lh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 412 of file pcmk_sched_bundle.c.
void pcmk__bundle_rsc_colocation_rh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 465 of file pcmk_sched_bundle.c.
void pcmk__bundle_rsc_location | ( | pe_resource_t * | rsc, |
pe__location_t * | constraint | ||
) |
Definition at line 864 of file pcmk_sched_bundle.c.
pe_node_t* pcmk__clone_allocate | ( | pe_resource_t * | rsc, |
pe_node_t * | preferred, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 680 of file pcmk_sched_clone.c.
pe_node_t* pcmk__group_allocate | ( | pe_resource_t * | rsc, |
pe_node_t * | preferred, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 85 of file pcmk_sched_group.c.
GHashTable* pcmk__group_merge_weights | ( | pe_resource_t * | rsc, |
const char * | rhs, | ||
GHashTable * | nodes, | ||
const char * | attr, | ||
float | factor, | ||
uint32_t | flags | ||
) |
Definition at line 565 of file pcmk_sched_group.c.
void pcmk__log_transition_summary | ( | const char * | filename | ) |
Definition at line 1976 of file pcmk_sched_allocate.c.
enum pe_graph_flags pcmk__multi_update_actions | ( | pe_action_t * | first, |
pe_action_t * | then, | ||
pe_node_t * | node, | ||
enum pe_action_flags | flags, | ||
enum pe_action_flags | filter, | ||
enum pe_ordering | type, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 811 of file pcmk_sched_bundle.c.
pe_node_t* pcmk__native_allocate | ( | pe_resource_t * | rsc, |
pe_node_t * | preferred, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 494 of file pcmk_sched_native.c.
GHashTable* pcmk__native_merge_weights | ( | pe_resource_t * | rsc, |
const char * | rhs, | ||
GHashTable * | nodes, | ||
const char * | attr, | ||
float | factor, | ||
uint32_t | flags | ||
) |
Definition at line 363 of file pcmk_sched_native.c.
pe_node_t* pcmk__set_instance_roles | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 663 of file pcmk_sched_promotable.c.
void promotable_colocation_rh | ( | pe_resource_t * | dependent, |
pe_resource_t * | primary, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 986 of file pcmk_sched_promotable.c.
void promotable_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 932 of file pcmk_sched_promotable.c.
void promote_demote_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 899 of file pcmk_sched_promotable.c.
gboolean update_action | ( | pe_action_t * | action, |
pe_working_set_t * | data_set | ||
) |
Definition at line 423 of file pcmk_graph_producer.c.
resource_alloc_functions_t resource_class_alloc_functions[] |
Definition at line 34 of file pcmk_sched_allocate.c.