pacemaker  2.1.0-7c3f660
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 <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)
 

Variables

bool pcmk__is_daemon
 
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 35 of file pcmk_sched_allocate.c.

Function Documentation

void complex_set_cmds ( pe_resource_t rsc)

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

void LogNodeActions ( pe_working_set_t data_set)

Definition at line 3058 of file pcmk_sched_allocate.c.

void pcmk__log_transition_summary ( const char *  filename)

Definition at line 2918 of file pcmk_sched_allocate.c.

gboolean probe_resources ( pe_working_set_t data_set)

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

void set_alloc_actions ( pe_working_set_t data_set)

Definition at line 773 of file pcmk_sched_allocate.c.

gboolean stage0 ( pe_working_set_t data_set)

Definition at line 891 of file pcmk_sched_allocate.c.

gboolean stage2 ( pe_working_set_t data_set)

Definition at line 1084 of file pcmk_sched_allocate.c.

gboolean stage3 ( pe_working_set_t data_set)

Definition at line 1129 of file pcmk_sched_allocate.c.

gboolean stage4 ( pe_working_set_t data_set)

Definition at line 1147 of file pcmk_sched_allocate.c.

gboolean stage5 ( pe_working_set_t data_set)

Definition at line 1383 of file pcmk_sched_allocate.c.

gboolean stage6 ( pe_working_set_t data_set)

Definition at line 1617 of file pcmk_sched_allocate.c.

gboolean stage7 ( pe_working_set_t data_set)

Definition at line 2811 of file pcmk_sched_allocate.c.

gboolean stage8 ( pe_working_set_t data_set)

Definition at line 2948 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 122 of file pcmk_sched_allocate.c.

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

bool pcmk__is_daemon

Definition at line 47 of file logging.c.

resource_alloc_functions_t resource_class_alloc_functions[]

Definition at line 62 of file pcmk_sched_allocate.c.