 |
pacemaker
2.0.4-2deceaa3ae
Scalable High-Availability cluster resource manager
|
Go to the documentation of this file.
12 #include <sys/param.h>
33 const char* argv[] = {
"", NULL };
45 unames = g_list_append(unames, strdup(
"*"));
50 crm_err(
"Can't log resource details due to internal error: %s\n",
56 for (GList *item = data_set->
resources; item != NULL; item = item->next) {
62 out->
message(out, crm_map_element_name(rsc->
xml), 0, rsc, unames);
67 g_list_free_full(unames, free);
90 data_set->
input = xml_input;
94 crm_trace(
"Already have status - reusing");
97 if (data_set->
now == NULL) {
104 log_resource_details(data_set);
107 crm_trace(
"Applying placement constraints");
114 crm_trace(
"Create internal constraints");
123 crm_trace(
"Processing fencing and shutdown cases");
126 crm_trace(
"Applying ordering constraints");
132 crm_trace(
"=#=#=#=#= Summary =#=#=#=#=");
133 crm_trace(
"\t========= Set %d (Un-runnable) =========", -1);
136 for (; gIter != NULL; gIter = gIter->next) {
147 return data_set->
graph;
xmlNode * pcmk__schedule_actions(pe_working_set_t *data_set, xmlNode *xml_input, crm_time_t *now)
int pcmk__output_new(pcmk__output_t **out, const char *fmt_name, const char *filename, char **argv)
gboolean stage8(pe_working_set_t *data_set)
#define pe_flag_have_status
#define crm_err(fmt, args...)
#define crm_trace(fmt, args...)
gboolean stage6(pe_working_set_t *data_set)
gboolean stage4(pe_working_set_t *data_set)
#define pe_flag_quick_location
Wrappers for and extensions to libxml2.
int(* message)(pcmk__output_t *out, const char *message_id,...)
gboolean stage7(pe_working_set_t *data_set)
gboolean stage0(pe_working_set_t *data_set)
gboolean show_utilization
const char * pcmk_rc_str(int rc)
Get a user-friendly description of a return code.
unsigned int get_crm_log_level(void)
void pe__register_messages(pcmk__output_t *out)
This structure contains everything that makes up a single output formatter.
gboolean stage2(pe_working_set_t *data_set)
gboolean stage3(pe_working_set_t *data_set)
void pcmk__register_formats(GOptionGroup *group, pcmk__supported_format_t *table)
gboolean stage5(pe_working_set_t *data_set)
void log_action(unsigned int log_level, const char *pre_text, pe_action_t *action, gboolean details)
#define PCMK__SUPPORTED_FORMAT_LOG
crm_time_t * crm_time_new(const char *string)
void set_working_set_defaults(pe_working_set_t *data_set)
void pcmk__output_free(pcmk__output_t *out)
Cluster status and scheduling.
struct crm_time_s crm_time_t