pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_clone.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_clone.c:

Go to the source code of this file.

Functions

pcmk_node_tpcmk__clone_assign (pcmk_resource_t *rsc, const pcmk_node_t *prefer, bool stop_if_fail)
 
void pcmk__clone_create_actions (pcmk_resource_t *rsc)
 
void pcmk__clone_internal_constraints (pcmk_resource_t *rsc)
 
void pcmk__clone_apply_coloc_score (pcmk_resource_t *dependent, const pcmk_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
void pcmk__with_clone_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void pcmk__clone_with_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
uint32_t pcmk__clone_action_flags (pcmk_action_t *action, const pcmk_node_t *node)
 
void pcmk__clone_apply_location (pcmk_resource_t *rsc, pe__location_t *location)
 
void pcmk__clone_add_actions_to_graph (pcmk_resource_t *rsc)
 
bool pcmk__clone_create_probe (pcmk_resource_t *rsc, pcmk_node_t *node)
 
void pcmk__clone_add_graph_meta (const pcmk_resource_t *rsc, xmlNode *xml)
 
void pcmk__clone_add_utilization (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__clone_shutdown_lock (pcmk_resource_t *rsc)
 

Function Documentation

◆ pcmk__clone_action_flags()

uint32_t pcmk__clone_action_flags ( pcmk_action_t action,
const pcmk_node_t node 
)

Definition at line 391 of file pcmk_sched_clone.c.

◆ pcmk__clone_add_actions_to_graph()

void pcmk__clone_add_actions_to_graph ( pcmk_resource_t rsc)

Definition at line 435 of file pcmk_sched_clone.c.

◆ pcmk__clone_add_graph_meta()

void pcmk__clone_add_graph_meta ( const pcmk_resource_t rsc,
xmlNode *  xml 
)

Definition at line 609 of file pcmk_sched_clone.c.

◆ pcmk__clone_add_utilization()

void pcmk__clone_add_utilization ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList *  all_rscs,
GHashTable *  utilization 
)

Definition at line 658 of file pcmk_sched_clone.c.

◆ pcmk__clone_apply_coloc_score()

void pcmk__clone_apply_coloc_score ( pcmk_resource_t dependent,
const pcmk_resource_t primary,
const pcmk__colocation_t colocation,
bool  for_dependent 
)

Definition at line 245 of file pcmk_sched_clone.c.

◆ pcmk__clone_apply_location()

void pcmk__clone_apply_location ( pcmk_resource_t rsc,
pe__location_t location 
)

Definition at line 406 of file pcmk_sched_clone.c.

◆ pcmk__clone_assign()

pcmk_node_t* pcmk__clone_assign ( pcmk_resource_t rsc,
const pcmk_node_t prefer,
bool  stop_if_fail 
)

Definition at line 37 of file pcmk_sched_clone.c.

◆ pcmk__clone_create_actions()

void pcmk__clone_create_actions ( pcmk_resource_t rsc)

Definition at line 101 of file pcmk_sched_clone.c.

◆ pcmk__clone_create_probe()

bool pcmk__clone_create_probe ( pcmk_resource_t rsc,
pcmk_node_t node 
)

Definition at line 559 of file pcmk_sched_clone.c.

◆ pcmk__clone_internal_constraints()

void pcmk__clone_internal_constraints ( pcmk_resource_t rsc)

Definition at line 119 of file pcmk_sched_clone.c.

◆ pcmk__clone_shutdown_lock()

void pcmk__clone_shutdown_lock ( pcmk_resource_t rsc)

Definition at line 705 of file pcmk_sched_clone.c.

◆ pcmk__clone_with_colocations()

void pcmk__clone_with_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 369 of file pcmk_sched_clone.c.

◆ pcmk__with_clone_colocations()

void pcmk__with_clone_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 355 of file pcmk_sched_clone.c.