pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_resource.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_resource.c:

Go to the source code of this file.

Functions

bool pcmk__rsc_agent_changed (pe_resource_t *rsc, pe_node_t *node, const xmlNode *rsc_entry, bool active_on_node)
 
GList * pcmk__rscs_matching_id (const char *id, pe_working_set_t *data_set)
 
void pcmk__set_allocation_methods (pe_working_set_t *data_set)
 
GList * pcmk__colocated_resources (pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void pcmk__output_resource_actions (pe_resource_t *rsc)
 
bool pcmk__assign_primitive (pe_resource_t *rsc, pe_node_t *chosen, bool force)
 
bool pcmk__assign_resource (pe_resource_t *rsc, pe_node_t *node, bool force)
 
void pcmk__unassign_resource (pe_resource_t *rsc)
 
bool pcmk__threshold_reached (pe_resource_t *rsc, pe_node_t *node, pe_resource_t **failed)
 
void pcmk__sort_resources (pe_working_set_t *data_set)
 

Function Documentation

◆ pcmk__assign_primitive()

bool pcmk__assign_primitive ( pe_resource_t rsc,
pe_node_t chosen,
bool  force 
)

Definition at line 337 of file pcmk_sched_resource.c.

◆ pcmk__assign_resource()

bool pcmk__assign_resource ( pe_resource_t rsc,
pe_node_t node,
bool  force 
)

Definition at line 434 of file pcmk_sched_resource.c.

◆ pcmk__colocated_resources()

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

Definition at line 216 of file pcmk_sched_resource.c.

◆ pcmk__output_resource_actions()

void pcmk__output_resource_actions ( pe_resource_t rsc)

Definition at line 279 of file pcmk_sched_resource.c.

◆ pcmk__rsc_agent_changed()

bool pcmk__rsc_agent_changed ( pe_resource_t rsc,
pe_node_t node,
const xmlNode *  rsc_entry,
bool  active_on_node 
)

Definition at line 104 of file pcmk_sched_resource.c.

◆ pcmk__rscs_matching_id()

GList* pcmk__rscs_matching_id ( const char *  id,
pe_working_set_t data_set 
)

Definition at line 176 of file pcmk_sched_resource.c.

◆ pcmk__set_allocation_methods()

void pcmk__set_allocation_methods ( pe_working_set_t data_set)

Definition at line 208 of file pcmk_sched_resource.c.

◆ pcmk__sort_resources()

void pcmk__sort_resources ( pe_working_set_t data_set)

Definition at line 697 of file pcmk_sched_resource.c.

◆ pcmk__threshold_reached()

bool pcmk__threshold_reached ( pe_resource_t rsc,
pe_node_t node,
pe_resource_t **  failed 
)

Definition at line 499 of file pcmk_sched_resource.c.

◆ pcmk__unassign_resource()

void pcmk__unassign_resource ( pe_resource_t rsc)

Definition at line 465 of file pcmk_sched_resource.c.