10 #ifndef PCMK__PACEMAKER__H 11 # define PCMK__PACEMAKER__H 14 # include <libxml/tree.h> 166 unsigned int section_opts,
char *use_date,
char *input_file,
167 char *graph_file,
char *dot_file);
189 #ifdef BUILD_PUBLIC_LIBPACEMAKER 234 unsigned int timeout,
bool quiet,
int verbose,
235 bool broadcast,
bool cleanup);
263 int pcmk_fence_last(xmlNodePtr *xml,
const char *
target,
bool as_nodeid);
278 int pcmk_fence_list_targets(xmlNodePtr *xml,
stonith_t *
st,
279 const char *device_id,
unsigned int timeout);
294 int pcmk_fence_metadata(xmlNodePtr *xml,
stonith_t *
st,
char *agent,
363 int pcmk_fence_validate(xmlNodePtr *xml,
stonith_t *
st,
const char *agent,
int pcmk_simulate(xmlNodePtr *xml, pe_working_set_t *data_set, pcmk_injections_t *injections, unsigned int flags, unsigned int section_opts, char *use_date, char *input_file, char *graph_file, char *dot_file)
Simulate a cluster's response to events.
int pcmk_pacemakerd_status(xmlNodePtr *xml, char *ipc_name, unsigned int message_timeout_ms)
Get pacemakerd status.
Data types for Cluster Information Base access.
int pcmk_designated_controller(xmlNodePtr *xml, unsigned int message_timeout_ms)
Get designated controller.
int pcmk_status(xmlNodePtr *xml)
Output the current status of the cluster, formatted in the same way that crm_mon --output-as=xml woul...
int pcmk_resource_digests(xmlNodePtr *xml, pe_resource_t *rsc, pe_node_t *node, GHashTable *overrides, pe_working_set_t *data_set)
Calculate and output resource operation digests.
pe_working_set_t * data_set
int pcmk_list_nodes(xmlNodePtr *xml, char *node_types)
Get nodes list.
void pcmk_free_injections(pcmk_injections_t *injections)
Free a :pcmk_injections_t structure.
int pcmk_controller_status(xmlNodePtr *xml, char *dest_node, unsigned int message_timeout_ms)
Get controller status.
Synthetic cluster events that can be injected into the cluster for running simulations.
Data types for cluster status.
pcmk_sim_flags
Modify operation of running a cluster simulation.