pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <crm/common/xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Functions | |
void | pcmk__add_promotion_scores (pcmk_resource_t *rsc) |
void | pcmk__set_instance_roles (pcmk_resource_t *rsc) |
void | pcmk__create_promotable_actions (pcmk_resource_t *clone) |
void | pcmk__order_promotable_instances (pcmk_resource_t *clone) |
void | pcmk__update_dependent_with_promotable (const pcmk_resource_t *primary, pcmk_resource_t *dependent, const pcmk__colocation_t *colocation) |
Update dependent for a colocation with a promotable clone. More... | |
int | pcmk__update_promotable_dependent_priority (const pcmk_resource_t *primary, pcmk_resource_t *dependent, const pcmk__colocation_t *colocation) |
void pcmk__add_promotion_scores | ( | pcmk_resource_t * | rsc | ) |
Definition at line 745 of file pcmk_sched_promotable.c.
void pcmk__create_promotable_actions | ( | pcmk_resource_t * | clone | ) |
Definition at line 1104 of file pcmk_sched_promotable.c.
void pcmk__order_promotable_instances | ( | pcmk_resource_t * | clone | ) |
Definition at line 1126 of file pcmk_sched_promotable.c.
void pcmk__set_instance_roles | ( | pcmk_resource_t * | rsc | ) |
Definition at line 1034 of file pcmk_sched_promotable.c.
void pcmk__update_dependent_with_promotable | ( | const pcmk_resource_t * | primary, |
pcmk_resource_t * | dependent, | ||
const pcmk__colocation_t * | colocation | ||
) |
Update dependent for a colocation with a promotable clone.
[in] | primary | Primary resource in the colocation |
[in,out] | dependent | Dependent resource in the colocation |
[in] | colocation | Colocation constraint to apply |
Definition at line 1203 of file pcmk_sched_promotable.c.
int pcmk__update_promotable_dependent_priority | ( | const pcmk_resource_t * | primary, |
pcmk_resource_t * | dependent, | ||
const pcmk__colocation_t * | colocation | ||
) |
Definition at line 1259 of file pcmk_sched_promotable.c.