pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
Functions | Variables
pcmk_sched_allocate.c File Reference
#include <crm_internal.h>
#include <sys/param.h>
#include <crm/crm.h>
#include <crm/cib.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
#include <glib.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_allocate.c:

Go to the source code of this file.

Functions

 CRM_TRACE_INIT_DATA (pacemaker)
 
void set_alloc_actions (pe_working_set_t *data_set)
 
void ReloadRsc (pe_resource_t *rsc, pe_node_t *node, pe_working_set_t *data_set)
 
gboolean DeleteRsc (pe_resource_t *rsc, pe_node_t *node, gboolean optional, pe_working_set_t *data_set)
 
void complex_set_cmds (pe_resource_t *rsc)
 
gboolean stage0 (pe_working_set_t *data_set)
 
gboolean probe_resources (pe_working_set_t *data_set)
 
gboolean stage2 (pe_working_set_t *data_set)
 
gboolean stage4 (pe_working_set_t *data_set)
 
gboolean stage5 (pe_working_set_t *data_set)
 
gboolean stage6 (pe_working_set_t *data_set)
 
void pcmk__order_probes (pe_working_set_t *data_set)
 
void pcmk__log_transition_summary (const char *filename)
 
gboolean stage8 (pe_working_set_t *data_set)
 
void LogNodeActions (pe_working_set_t *data_set)
 

Variables

bool pcmk__is_daemon
 
resource_alloc_functions_t resource_class_alloc_functions []
 

Function Documentation

◆ complex_set_cmds()

void complex_set_cmds ( pe_resource_t rsc)

Definition at line 647 of file pcmk_sched_allocate.c.

◆ CRM_TRACE_INIT_DATA()

CRM_TRACE_INIT_DATA ( pacemaker  )

◆ DeleteRsc()

gboolean DeleteRsc ( pe_resource_t rsc,
pe_node_t node,
gboolean  optional,
pe_working_set_t data_set 
)

Definition at line 2219 of file pcmk_sched_native.c.

◆ LogNodeActions()

void LogNodeActions ( pe_working_set_t data_set)

Definition at line 2108 of file pcmk_sched_allocate.c.

◆ pcmk__log_transition_summary()

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 1976 of file pcmk_sched_allocate.c.

◆ pcmk__order_probes()

void pcmk__order_probes ( pe_working_set_t data_set)

Definition at line 1961 of file pcmk_sched_allocate.c.

◆ probe_resources()

gboolean probe_resources ( pe_working_set_t data_set)

Definition at line 802 of file pcmk_sched_allocate.c.

◆ ReloadRsc()

void ReloadRsc ( pe_resource_t rsc,
pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 2479 of file pcmk_sched_native.c.

◆ set_alloc_actions()

void set_alloc_actions ( pe_working_set_t data_set)

Definition at line 661 of file pcmk_sched_allocate.c.

◆ stage0()

gboolean stage0 ( pe_working_set_t data_set)

Definition at line 780 of file pcmk_sched_allocate.c.

◆ stage2()

gboolean stage2 ( pe_working_set_t data_set)

Definition at line 962 of file pcmk_sched_allocate.c.

◆ stage4()

gboolean stage4 ( pe_working_set_t data_set)

Definition at line 1005 of file pcmk_sched_allocate.c.

◆ stage5()

gboolean stage5 ( pe_working_set_t data_set)

Definition at line 1210 of file pcmk_sched_allocate.c.

◆ stage6()

gboolean stage6 ( pe_working_set_t data_set)

Definition at line 1357 of file pcmk_sched_allocate.c.

◆ stage8()

gboolean stage8 ( pe_working_set_t data_set)

Definition at line 2006 of file pcmk_sched_allocate.c.

Variable Documentation

◆ pcmk__is_daemon

bool pcmk__is_daemon

Definition at line 47 of file logging.c.

◆ resource_class_alloc_functions

resource_alloc_functions_t resource_class_alloc_functions[]

Definition at line 34 of file pcmk_sched_allocate.c.