pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
pcmk_sched_promotable.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/common/xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_promotable.c:

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.
 
int pcmk__update_promotable_dependent_priority (const pcmk_resource_t *primary, pcmk_resource_t *dependent, const pcmk__colocation_t *colocation)
 

Function Documentation

◆ pcmk__add_promotion_scores()

void pcmk__add_promotion_scores ( pcmk_resource_t * rsc)

Definition at line 788 of file pcmk_sched_promotable.c.

◆ pcmk__create_promotable_actions()

void pcmk__create_promotable_actions ( pcmk_resource_t * clone)

Definition at line 1164 of file pcmk_sched_promotable.c.

◆ pcmk__order_promotable_instances()

void pcmk__order_promotable_instances ( pcmk_resource_t * clone)

Definition at line 1186 of file pcmk_sched_promotable.c.

◆ pcmk__set_instance_roles()

void pcmk__set_instance_roles ( pcmk_resource_t * rsc)

Definition at line 1090 of file pcmk_sched_promotable.c.

◆ pcmk__update_dependent_with_promotable()

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.

Parameters
[in]primaryPrimary resource in the colocation
[in,out]dependentDependent resource in the colocation
[in]colocationColocation constraint to apply

Definition at line 1266 of file pcmk_sched_promotable.c.

◆ pcmk__update_promotable_dependent_priority()

int pcmk__update_promotable_dependent_priority ( const pcmk_resource_t * primary,
pcmk_resource_t * dependent,
const pcmk__colocation_t * colocation )

Definition at line 1327 of file pcmk_sched_promotable.c.