pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
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 dependency graph for pcmk_sched_group.c:

Go to the source code of this file.

Functions

pe_node_tpcmk__group_assign (pe_resource_t *rsc, const pe_node_t *prefer)
 
void pcmk__group_create_actions (pe_resource_t *rsc)
 
void pcmk__group_internal_constraints (pe_resource_t *rsc)
 
void pcmk__group_apply_coloc_score (pe_resource_t *dependent, const pe_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
enum pe_action_flags pcmk__group_action_flags (pe_action_t *action, const pe_node_t *node)
 
uint32_t pcmk__group_update_ordered_actions (pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set)
 
void pcmk__group_apply_location (pe_resource_t *rsc, pe__location_t *location)
 
GList * pcmk__group_colocated_resources (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void pcmk__with_group_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void pcmk__group_with_colocations (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void pcmk__group_add_colocated_node_scores (pe_resource_t *rsc, const char *log_id, GHashTable **nodes, const char *attr, float factor, uint32_t flags)
 
void pcmk__group_add_utilization (const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__group_shutdown_lock (pe_resource_t *rsc)
 

Function Documentation

◆ pcmk__group_action_flags()

enum pe_action_flags pcmk__group_action_flags ( pe_action_t action,
const pe_node_t node 
)

Definition at line 458 of file pcmk_sched_group.c.

◆ pcmk__group_add_colocated_node_scores()

void pcmk__group_add_colocated_node_scores ( pe_resource_t rsc,
const char *  log_id,
GHashTable **  nodes,
const char *  attr,
float  factor,
uint32_t  flags 
)

Definition at line 765 of file pcmk_sched_group.c.

◆ pcmk__group_add_utilization()

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

Definition at line 814 of file pcmk_sched_group.c.

◆ pcmk__group_apply_coloc_score()

void pcmk__group_apply_coloc_score ( pe_resource_t dependent,
const pe_resource_t primary,
const pcmk__colocation_t colocation,
bool  for_dependent 
)

Definition at line 429 of file pcmk_sched_group.c.

◆ pcmk__group_apply_location()

void pcmk__group_apply_location ( pe_resource_t rsc,
pe__location_t location 
)

Definition at line 583 of file pcmk_sched_group.c.

◆ pcmk__group_assign()

pe_node_t* pcmk__group_assign ( pe_resource_t rsc,
const pe_node_t prefer 
)

Definition at line 29 of file pcmk_sched_group.c.

◆ pcmk__group_colocated_resources()

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

Definition at line 620 of file pcmk_sched_group.c.

◆ pcmk__group_create_actions()

void pcmk__group_create_actions ( pe_resource_t rsc)

Definition at line 104 of file pcmk_sched_group.c.

◆ pcmk__group_internal_constraints()

void pcmk__group_internal_constraints ( pe_resource_t rsc)

Definition at line 283 of file pcmk_sched_group.c.

◆ pcmk__group_shutdown_lock()

void pcmk__group_shutdown_lock ( pe_resource_t rsc)

Definition at line 856 of file pcmk_sched_group.c.

◆ pcmk__group_update_ordered_actions()

uint32_t pcmk__group_update_ordered_actions ( pe_action_t first,
pe_action_t then,
const pe_node_t node,
uint32_t  flags,
uint32_t  filter,
uint32_t  type,
pe_working_set_t data_set 
)

Definition at line 542 of file pcmk_sched_group.c.

◆ pcmk__group_with_colocations()

void pcmk__group_with_colocations ( const pe_resource_t rsc,
const pe_resource_t orig_rsc,
GList **  list 
)

Definition at line 689 of file pcmk_sched_group.c.

◆ pcmk__with_group_colocations()

void pcmk__with_group_colocations ( const pe_resource_t rsc,
const pe_resource_t orig_rsc,
GList **  list 
)

Definition at line 659 of file pcmk_sched_group.c.