pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Enumerations | 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 dependency graph for pcmk_sched_allocate.c:

Go to the source code of this file.

Enumerations

enum  remote_connection_state {
  remote_state_unknown = 0, remote_state_alive = 1, remote_state_resting = 2, remote_state_failed = 3,
  remote_state_stopped = 4
}
 

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)
 
gboolean update_action_flags (pe_action_t *action, enum pe_action_flags flags, const char *source, int line)
 
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 stage3 (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 update_colo_start_chain (pe_action_t *action, pe_working_set_t *data_set)
 
gboolean stage7 (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, gboolean terminal)
 

Variables

resource_alloc_functions_t resource_class_alloc_functions []
 

Enumeration Type Documentation

◆ remote_connection_state

Enumerator
remote_state_unknown 
remote_state_alive 
remote_state_resting 
remote_state_failed 
remote_state_stopped 

Definition at line 33 of file pcmk_sched_allocate.c.

Function Documentation

◆ complex_set_cmds()

void complex_set_cmds ( pe_resource_t rsc)

Definition at line 755 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 2884 of file pcmk_sched_native.c.

◆ LogNodeActions()

void LogNodeActions ( pe_working_set_t data_set,
gboolean  terminal 
)

Definition at line 3018 of file pcmk_sched_allocate.c.

◆ pcmk__log_transition_summary()

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 2885 of file pcmk_sched_allocate.c.

◆ probe_resources()

gboolean probe_resources ( pe_working_set_t data_set)

Definition at line 910 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 3411 of file pcmk_sched_native.c.

◆ set_alloc_actions()

void set_alloc_actions ( pe_working_set_t data_set)

Definition at line 769 of file pcmk_sched_allocate.c.

◆ stage0()

gboolean stage0 ( pe_working_set_t data_set)

Definition at line 886 of file pcmk_sched_allocate.c.

◆ stage2()

gboolean stage2 ( pe_working_set_t data_set)

Definition at line 1079 of file pcmk_sched_allocate.c.

◆ stage3()

gboolean stage3 ( pe_working_set_t data_set)

Definition at line 1124 of file pcmk_sched_allocate.c.

◆ stage4()

gboolean stage4 ( pe_working_set_t data_set)

Definition at line 1142 of file pcmk_sched_allocate.c.

◆ stage5()

gboolean stage5 ( pe_working_set_t data_set)

Definition at line 1376 of file pcmk_sched_allocate.c.

◆ stage6()

gboolean stage6 ( pe_working_set_t data_set)

Definition at line 1606 of file pcmk_sched_allocate.c.

◆ stage7()

gboolean stage7 ( pe_working_set_t data_set)

Definition at line 2799 of file pcmk_sched_allocate.c.

◆ stage8()

gboolean stage8 ( pe_working_set_t data_set)

Definition at line 2909 of file pcmk_sched_allocate.c.

◆ update_action_flags()

gboolean update_action_flags ( pe_action_t action,
enum pe_action_flags  flags,
const char *  source,
int  line 
)

Definition at line 120 of file pcmk_sched_allocate.c.

◆ update_colo_start_chain()

void update_colo_start_chain ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 479 of file pcmk_sched_graph.c.

Variable Documentation

◆ resource_class_alloc_functions

resource_alloc_functions_t resource_class_alloc_functions[]

Definition at line 60 of file pcmk_sched_allocate.c.