pacemaker
2.1.1-52dc28db4
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/pengine/rules.h>
#include <crm/msg_xml.h>
#include <crm/common/xml_internal.h>
#include <pacemaker-internal.h>
#include <crm/services.h>
#include <lib/pengine/variant.h>
Go to the source code of this file.
Macros | |
#define | INFINITY_HACK (INFINITY * -100) |
#define | VARIANT_NATIVE 1 |
#define | clear_node_weights_flags(nw_flags, nw_rsc, flags_to_clear) |
#define | STOP_SANITY_ASSERT(lineno) |
Typedefs | |
typedef gboolean(* | rsc_transition_fn) (pe_resource_t *rsc, pe_node_t *next, gboolean optional, pe_working_set_t *data_set) |
Variables | |
bool | pcmk__is_daemon |
#define clear_node_weights_flags | ( | nw_flags, | |
nw_rsc, | |||
flags_to_clear | |||
) |
Definition at line 80 of file pcmk_sched_native.c.
#define INFINITY_HACK (INFINITY * -100) |
Definition at line 23 of file pcmk_sched_native.c.
#define STOP_SANITY_ASSERT | ( | lineno | ) |
Definition at line 2366 of file pcmk_sched_native.c.
#define VARIANT_NATIVE 1 |
Definition at line 25 of file pcmk_sched_native.c.
typedef gboolean(* rsc_transition_fn) (pe_resource_t *rsc, pe_node_t *next, gboolean optional, pe_working_set_t *data_set) |
Definition at line 65 of file pcmk_sched_native.c.
gboolean DeleteRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2606 of file pcmk_sched_native.c.
gboolean DemoteRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2571 of file pcmk_sched_native.c.
enum filter_colocation_res filter_colocation_constraint | ( | pe_resource_t * | rsc_lh, |
pe_resource_t * | rsc_rh, | ||
pcmk__colocation_t * | constraint, | ||
gboolean | preview | ||
) |
Definition at line 1730 of file pcmk_sched_native.c.
void LogActions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 2381 of file pcmk_sched_native.c.
enum pe_action_flags native_action_flags | ( | pe_action_t * | action, |
pe_node_t * | node | ||
) |
Definition at line 2047 of file pcmk_sched_native.c.
void native_append_meta | ( | pe_resource_t * | rsc, |
xmlNode * | xml | ||
) |
Definition at line 3188 of file pcmk_sched_native.c.
void native_create_actions | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1207 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 2636 of file pcmk_sched_native.c.
void native_expand | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 2345 of file pcmk_sched_native.c.
void native_internal_constraints | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 1482 of file pcmk_sched_native.c.
void native_rsc_colocation_lh | ( | pe_resource_t * | rsc_lh, |
pe_resource_t * | rsc_rh, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1710 of file pcmk_sched_native.c.
void native_rsc_colocation_rh | ( | pe_resource_t * | rsc_lh, |
pe_resource_t * | rsc_rh, | ||
pcmk__colocation_t * | constraint, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1916 of file pcmk_sched_native.c.
void native_rsc_location | ( | pe_resource_t * | rsc, |
pe__location_t * | constraint | ||
) |
Definition at line 2288 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 2126 of file pcmk_sched_native.c.
gboolean NullOp | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2598 of file pcmk_sched_native.c.
pe_node_t* pcmk__native_allocate | ( | pe_resource_t * | rsc, |
pe_node_t * | prefer, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 506 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 361 of file pcmk_sched_native.c.
gboolean PromoteRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2530 of file pcmk_sched_native.c.
void ReloadRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 3129 of file pcmk_sched_native.c.
gboolean RoleError | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2589 of file pcmk_sched_native.c.
void rsc_stonith_ordering | ( | pe_resource_t * | rsc, |
pe_action_t * | stonith_op, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 3108 of file pcmk_sched_native.c.
void rsc_ticket_constraint | ( | pe_resource_t * | rsc_lh, |
rsc_ticket_t * | rsc_ticket, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 1955 of file pcmk_sched_native.c.
gboolean StartRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2511 of file pcmk_sched_native.c.
gboolean StopRsc | ( | pe_resource_t * | rsc, |
pe_node_t * | next, | ||
gboolean | optional, | ||
pe_working_set_t * | data_set | ||
) |
Definition at line 2427 of file pcmk_sched_native.c.