pacemaker
2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
|
#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 "libpacemaker_private.h"
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 | |
void | pcmk__order_remote_connection_actions (pe_working_set_t *data_set) |
bool | pcmk__is_failed_remote_node (pe_node_t *node) |
bool | pcmk__rsc_corresponds_to_guest (pe_resource_t *rsc, pe_node_t *node) |
pe_node_t * | pcmk__connection_host_for_action (pe_action_t *action) |
void | pcmk__substitute_remote_addr (pe_resource_t *rsc, GHashTable *params) |
void | pcmk__add_bundle_meta_to_xml (xmlNode *args_xml, pe_action_t *action) |
Add special bundle meta-attributes to XML. More... | |
Enumerator | |
---|---|
remote_state_unknown | |
remote_state_alive | |
remote_state_resting | |
remote_state_failed | |
remote_state_stopped |
Definition at line 26 of file pcmk_sched_remote.c.
void pcmk__add_bundle_meta_to_xml | ( | xmlNode * | args_xml, |
pe_action_t * | action | ||
) |
Add special bundle meta-attributes to XML.
If a given action will be executed on a guest node (including a bundle), add the special bundle meta-attribute "container-attribute-target" and environment variable "physical_host" as XML attributes (using meta-attribute naming).
[in] | args_xml | XML to add attributes to |
[in] | action | Action to check |
Definition at line 677 of file pcmk_sched_remote.c.
pe_node_t* pcmk__connection_host_for_action | ( | pe_action_t * | action | ) |
Definition at line 542 of file pcmk_sched_remote.c.
bool pcmk__is_failed_remote_node | ( | pe_node_t * | node | ) |
Definition at line 503 of file pcmk_sched_remote.c.
void pcmk__order_remote_connection_actions | ( | pe_working_set_t * | data_set | ) |
Definition at line 399 of file pcmk_sched_remote.c.
bool pcmk__rsc_corresponds_to_guest | ( | pe_resource_t * | rsc, |
pe_node_t * | node | ||
) |
Definition at line 520 of file pcmk_sched_remote.c.
void pcmk__substitute_remote_addr | ( | pe_resource_t * | rsc, |
GHashTable * | params | ||
) |
Definition at line 649 of file pcmk_sched_remote.c.