pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk_sched_promotable.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_promotable.c:

Go to the source code of this file.

Macros

#define VARIANT_CLONE   1
 

Functions

gint sort_clone_instance (gconstpointer a, gconstpointer b, gpointer data_set)
 
void apply_master_prefs (pe_resource_t *rsc)
 
pe_node_tpcmk__set_instance_roles (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void create_promotable_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promote_demote_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void promotable_colocation_rh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 

Macro Definition Documentation

#define VARIANT_CLONE   1

Definition at line 15 of file pcmk_sched_promotable.c.

Function Documentation

void apply_master_prefs ( pe_resource_t rsc)

Definition at line 545 of file pcmk_sched_promotable.c.

void create_promotable_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 801 of file pcmk_sched_promotable.c.

pe_node_t* pcmk__set_instance_roles ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 643 of file pcmk_sched_promotable.c.

void promotable_colocation_rh ( pe_resource_t rsc_lh,
pe_resource_t rsc_rh,
rsc_colocation_t constraint,
pe_working_set_t data_set 
)

Definition at line 963 of file pcmk_sched_promotable.c.

void promotable_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 910 of file pcmk_sched_promotable.c.

void promote_demote_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 884 of file pcmk_sched_promotable.c.

gint sort_clone_instance ( gconstpointer  a,
gconstpointer  b,
gpointer  data_set 
)

Definition at line 78 of file pcmk_sched_clone.c.