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_clone.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_clone.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 distribute_children (pe_resource_t *rsc, GListPtr children, GListPtr nodes, int max, int per_host_max, pe_working_set_t *data_set)
 
pe_node_tpcmk__clone_allocate (pe_resource_t *rsc, pe_node_t *prefer, pe_working_set_t *data_set)
 
void clone_create_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void clone_create_pseudo_actions (pe_resource_t *rsc, GListPtr children, notify_data_t **start_notify, notify_data_t **stop_notify, pe_working_set_t *data_set)
 
void clone_internal_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
bool assign_node (pe_resource_t *rsc, pe_node_t *node, gboolean force)
 
gboolean is_child_compatible (pe_resource_t *child_rsc, pe_node_t *local_node, enum rsc_role_e filter, gboolean current)
 
pe_resource_tfind_compatible_child (pe_resource_t *local_child, pe_resource_t *rsc, enum rsc_role_e filter, gboolean current, pe_working_set_t *data_set)
 
void clone_rsc_colocation_lh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
void clone_rsc_colocation_rh (pe_resource_t *rsc_lh, pe_resource_t *rsc_rh, rsc_colocation_t *constraint, pe_working_set_t *data_set)
 
enum action_tasks clone_child_action (pe_action_t *action)
 
enum pe_action_flags summary_action_flags (pe_action_t *action, GListPtr children, pe_node_t *node)
 
enum pe_action_flags clone_action_flags (pe_action_t *action, pe_node_t *node)
 
void clone_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void clone_expand (pe_resource_t *rsc, pe_working_set_t *data_set)
 
gboolean clone_create_probe (pe_resource_t *rsc, pe_node_t *node, pe_action_t *complete, gboolean force, pe_working_set_t *data_set)
 
void clone_append_meta (pe_resource_t *rsc, xmlNode *xml)
 

Macro Definition Documentation

#define VARIANT_CLONE   1

Definition at line 15 of file pcmk_sched_clone.c.

Function Documentation

bool assign_node ( pe_resource_t rsc,
pe_node_t node,
gboolean  force 
)

Definition at line 967 of file pcmk_sched_clone.c.

enum pe_action_flags clone_action_flags ( pe_action_t action,
pe_node_t node 
)

Definition at line 1249 of file pcmk_sched_clone.c.

void clone_append_meta ( pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 1467 of file pcmk_sched_clone.c.

enum action_tasks clone_child_action ( pe_action_t action)

Definition at line 1166 of file pcmk_sched_clone.c.

void clone_create_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 843 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 1427 of file pcmk_sched_clone.c.

void clone_create_pseudo_actions ( pe_resource_t rsc,
GListPtr  children,
notify_data_t **  start_notify,
notify_data_t **  stop_notify,
pe_working_set_t data_set 
)

Definition at line 856 of file pcmk_sched_clone.c.

void clone_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 1271 of file pcmk_sched_clone.c.

void clone_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 918 of file pcmk_sched_clone.c.

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

Definition at line 1055 of file pcmk_sched_clone.c.

void clone_rsc_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 1067 of file pcmk_sched_clone.c.

void clone_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 1255 of file pcmk_sched_clone.c.

void distribute_children ( pe_resource_t rsc,
GListPtr  children,
GListPtr  nodes,
int  max,
int  per_host_max,
pe_working_set_t data_set 
)

Definition at line 531 of file pcmk_sched_clone.c.

pe_resource_t* find_compatible_child ( pe_resource_t local_child,
pe_resource_t rsc,
enum rsc_role_e  filter,
gboolean  current,
pe_working_set_t data_set 
)

Definition at line 1021 of file pcmk_sched_clone.c.

gboolean is_child_compatible ( pe_resource_t child_rsc,
pe_node_t local_node,
enum rsc_role_e  filter,
gboolean  current 
)

Definition at line 991 of file pcmk_sched_clone.c.

pe_node_t* pcmk__clone_allocate ( pe_resource_t rsc,
pe_node_t prefer,
pe_working_set_t data_set 
)

Definition at line 622 of file pcmk_sched_clone.c.

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

Definition at line 78 of file pcmk_sched_clone.c.

enum pe_action_flags summary_action_flags ( pe_action_t action,
GListPtr  children,
pe_node_t node 
)

Definition at line 1205 of file pcmk_sched_clone.c.