pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 <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

Enumerator
remote_state_unknown 
remote_state_alive 
remote_state_resting 
remote_state_failed 
remote_state_stopped 

Definition at line 32 of file pcmk_sched_allocate.c.

Function Documentation

void complex_set_cmds ( pe_resource_t rsc)

Definition at line 753 of file pcmk_sched_allocate.c.

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

Definition at line 2821 of file pcmk_sched_native.c.

void LogNodeActions ( pe_working_set_t data_set,
gboolean  terminal 
)

Definition at line 3015 of file pcmk_sched_allocate.c.

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 2882 of file pcmk_sched_allocate.c.

gboolean probe_resources ( pe_working_set_t data_set)

Definition at line 908 of file pcmk_sched_allocate.c.

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

Definition at line 3344 of file pcmk_sched_native.c.

void set_alloc_actions ( pe_working_set_t data_set)

Definition at line 767 of file pcmk_sched_allocate.c.

gboolean stage0 ( pe_working_set_t data_set)

Definition at line 884 of file pcmk_sched_allocate.c.

gboolean stage2 ( pe_working_set_t data_set)

Definition at line 1077 of file pcmk_sched_allocate.c.

gboolean stage3 ( pe_working_set_t data_set)

Definition at line 1123 of file pcmk_sched_allocate.c.

gboolean stage4 ( pe_working_set_t data_set)

Definition at line 1141 of file pcmk_sched_allocate.c.

gboolean stage5 ( pe_working_set_t data_set)

Definition at line 1375 of file pcmk_sched_allocate.c.

gboolean stage6 ( pe_working_set_t data_set)

Definition at line 1605 of file pcmk_sched_allocate.c.

gboolean stage7 ( pe_working_set_t data_set)

Definition at line 2796 of file pcmk_sched_allocate.c.

gboolean stage8 ( pe_working_set_t data_set)

Definition at line 2906 of file pcmk_sched_allocate.c.

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

Definition at line 119 of file pcmk_sched_allocate.c.

void update_colo_start_chain ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 472 of file pcmk_sched_graph.c.

Variable Documentation

resource_alloc_functions_t resource_class_alloc_functions[]

Definition at line 59 of file pcmk_sched_allocate.c.