pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
Data Structures | Typedefs | Enumerations | Functions | Variables
pcmki_scheduler.h File Reference
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/iso8601.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/common.h>
#include <crm/pengine/status.h>
#include <crm/pengine/complex.h>
Include dependency graph for pcmki_scheduler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pcmk__colocation_t
 
struct  rsc_ticket_s
 

Typedefs

typedef struct rsc_ticket_s rsc_ticket_t
 
typedef struct lrm_agent_s lrm_agent_t
 

Enumerations

enum  pe_stop_fail { pesf_block, pesf_stonith, pesf_ignore }
 
enum  pe_weights {
  pe_weights_none = 0x0, pe_weights_init = 0x1, pe_weights_forward = 0x4, pe_weights_positive = 0x8,
  pe_weights_rollback = 0x10
}
 
enum  loss_ticket_policy_e { loss_ticket_stop, loss_ticket_demote, loss_ticket_fence, loss_ticket_freeze }
 

Functions

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)
 
gboolean stage8 (pe_working_set_t *data_set)
 
void pcmk__unpack_constraints (pe_working_set_t *data_set)
 
void graph_element_from_action (pe_action_t *action, pe_working_set_t *data_set)
 
void add_maintenance_update (pe_working_set_t *data_set)
 
xmlNode * pcmk__schedule_actions (pe_working_set_t *data_set, xmlNode *xml_input, crm_time_t *now)
 

Variables

const char * transition_idle_timeout
 

Typedef Documentation

◆ lrm_agent_t

typedef struct lrm_agent_s lrm_agent_t

Definition at line 14 of file pcmki_scheduler.h.

◆ rsc_ticket_t

typedef struct rsc_ticket_s rsc_ticket_t

Definition at line 13 of file pcmki_scheduler.h.

Enumeration Type Documentation

◆ loss_ticket_policy_e

Enumerator
loss_ticket_stop 
loss_ticket_demote 
loss_ticket_fence 
loss_ticket_freeze 

Definition at line 52 of file pcmki_scheduler.h.

◆ pe_stop_fail

Enumerator
pesf_block 
pesf_stonith 
pesf_ignore 

Definition at line 25 of file pcmki_scheduler.h.

◆ pe_weights

enum pe_weights
Enumerator
pe_weights_none 
pe_weights_init 
pe_weights_forward 
pe_weights_positive 
pe_weights_rollback 

Definition at line 31 of file pcmki_scheduler.h.

Function Documentation

◆ add_maintenance_update()

void add_maintenance_update ( pe_working_set_t data_set)

Definition at line 684 of file pcmk_graph_producer.c.

◆ graph_element_from_action()

void graph_element_from_action ( pe_action_t action,
pe_working_set_t data_set 
)

Definition at line 1504 of file pcmk_graph_producer.c.

◆ pcmk__schedule_actions()

xmlNode* pcmk__schedule_actions ( pe_working_set_t data_set,
xmlNode *  xml_input,
crm_time_t now 
)

Definition at line 91 of file pcmk_sched_messages.c.

◆ pcmk__unpack_constraints()

void pcmk__unpack_constraints ( pe_working_set_t data_set)

Definition at line 56 of file pcmk_sched_constraints.c.

◆ probe_resources()

gboolean probe_resources ( pe_working_set_t data_set)

Definition at line 802 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

◆ transition_idle_timeout

const char* transition_idle_timeout