pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk_sched_group.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
#include <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_group.c:

Go to the source code of this file.

Macros

#define VARIANT_GROUP   1
 

Functions

pe_node_tpcmk__group_allocate (pe_resource_t *rsc, pe_node_t *prefer, pe_working_set_t *data_set)
 
void group_update_pseudo_status (pe_resource_t *parent, pe_resource_t *child)
 
void group_create_actions (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void group_internal_constraints (pe_resource_t *rsc, pe_working_set_t *data_set)
 
void group_rsc_colocation_lh (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint, pe_working_set_t *data_set)
 
void group_rsc_colocation_rh (pe_resource_t *dependent, pe_resource_t *primary, pcmk__colocation_t *constraint, pe_working_set_t *data_set)
 
enum pe_action_flags group_action_flags (pe_action_t *action, pe_node_t *node)
 
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)
 
void group_rsc_location (pe_resource_t *rsc, pe__location_t *constraint)
 
void group_expand (pe_resource_t *rsc, pe_working_set_t *data_set)
 
GHashTable * pcmk__group_merge_weights (pe_resource_t *rsc, const char *primary_id, GHashTable *nodes, const char *attr, float factor, uint32_t flags)
 
void group_append_meta (pe_resource_t *rsc, xmlNode *xml)
 
GList * pcmk__group_colocated_resources (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void pcmk__group_add_utilization (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__group_shutdown_lock (pe_resource_t *rsc)
 

Macro Definition Documentation

◆ VARIANT_GROUP

#define VARIANT_GROUP   1

Definition at line 20 of file pcmk_sched_group.c.

Function Documentation

◆ group_action_flags()

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.

◆ group_append_meta()

void group_append_meta ( pe_resource_t rsc,
xmlNode *  xml 
)

Definition at line 600 of file pcmk_sched_group.c.

◆ group_create_actions()

void group_create_actions ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 142 of file pcmk_sched_group.c.

◆ group_expand()

void group_expand ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 550 of file pcmk_sched_group.c.

◆ group_internal_constraints()

void group_internal_constraints ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 225 of file pcmk_sched_group.c.

◆ group_rsc_colocation_lh()

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.

◆ group_rsc_colocation_rh()

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.

◆ group_rsc_location()

void group_rsc_location ( pe_resource_t rsc,
pe__location_t constraint 
)

Definition at line 521 of file pcmk_sched_group.c.

◆ group_update_actions()

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.

◆ group_update_pseudo_status()

void group_update_pseudo_status ( pe_resource_t parent,
pe_resource_t child 
)

Definition at line 188 of file pcmk_sched_group.c.

◆ pcmk__group_add_utilization()

void pcmk__group_add_utilization ( pe_resource_t rsc,
pe_resource_t orig_rsc,
GList *  all_rscs,
GHashTable *  utilization 
)

Definition at line 647 of file pcmk_sched_group.c.

◆ pcmk__group_allocate()

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

Definition at line 85 of file pcmk_sched_group.c.

◆ pcmk__group_colocated_resources()

GList* pcmk__group_colocated_resources ( pe_resource_t rsc,
pe_resource_t orig_rsc,
GList *  colocated_rscs 
)

Definition at line 606 of file pcmk_sched_group.c.

◆ pcmk__group_merge_weights()

GHashTable* pcmk__group_merge_weights ( pe_resource_t rsc,
const char *  primary_id,
GHashTable *  nodes,
const char *  attr,
float  factor,
uint32_t  flags 
)

Definition at line 565 of file pcmk_sched_group.c.

◆ pcmk__group_shutdown_lock()

void pcmk__group_shutdown_lock ( pe_resource_t rsc)

Definition at line 687 of file pcmk_sched_group.c.