host 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); host 57 daemons/attrd/attrd_commands.c void attrd_peer_remove(const char *host, gboolean uncache, const char *source); host 194 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 197 daemons/attrd/attrd_commands.c if (host == NULL) { host 207 daemons/attrd/attrd_commands.c host = node->uname; host 211 daemons/attrd/attrd_commands.c host = host_alloc; host 213 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); host 217 daemons/attrd/attrd_commands.c if (host) { host 219 daemons/attrd/attrd_commands.c client_name, host); host 240 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); host 267 daemons/attrd/attrd_commands.c free(host); host 274 daemons/attrd/attrd_commands.c free(host); host 278 daemons/attrd/attrd_commands.c if (host == NULL) { host 280 daemons/attrd/attrd_commands.c host = strdup(attrd_cluster->uname); host 281 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); host 294 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); host 306 daemons/attrd/attrd_commands.c crm_debug("Broadcasting %s[%s]=%s%s", attr, host, value, host 309 daemons/attrd/attrd_commands.c free(host); host 399 daemons/attrd/attrd_commands.c static xmlNode *build_query_reply(const char *attr, const char *host) host 419 daemons/attrd/attrd_commands.c if (pcmk__str_eq(host, "localhost", pcmk__str_casei)) { host 420 daemons/attrd/attrd_commands.c host = attrd_cluster->uname; host 421 daemons/attrd/attrd_commands.c crm_trace("Mapped localhost to %s", host); host 425 daemons/attrd/attrd_commands.c if (host) { host 426 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); host 432 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_NODE_NAME, host); host 519 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 546 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); host 576 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 596 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); host 602 daemons/attrd/attrd_commands.c attrd_peer_remove(host, TRUE, peer->uname); host 623 daemons/attrd/attrd_commands.c host = crm_element_value(child, PCMK__XA_ATTR_NODE_NAME); host 624 daemons/attrd/attrd_commands.c attrd_peer_update(peer, child, host, TRUE); host 670 daemons/attrd/attrd_commands.c attrd_peer_remove(const char *host, gboolean uncache, const char *source) host 675 daemons/attrd/attrd_commands.c CRM_CHECK(host != NULL, return); host 676 daemons/attrd/attrd_commands.c crm_notice("Removing all %s attributes for peer %s", host, source); host 680 daemons/attrd/attrd_commands.c if(g_hash_table_remove(a->values, host)) { host 681 daemons/attrd/attrd_commands.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 686 daemons/attrd/attrd_commands.c crm_remote_peer_cache_remove(host); host 687 daemons/attrd/attrd_commands.c reap_crm_member(0, host); host 702 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) host 704 daemons/attrd/attrd_commands.c attribute_value_t *v = g_hash_table_lookup(values, host); host 712 daemons/attrd/attrd_commands.c crm_node_t *dup = crm_find_peer(0, host); host 715 daemons/attrd/attrd_commands.c reap_crm_member(0, host); host 719 daemons/attrd/attrd_commands.c CRM_ASSERT(crm_remote_peer_get(host) != NULL); host 726 daemons/attrd/attrd_commands.c v->nodename = strdup(host); host 772 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) host 847 daemons/attrd/attrd_commands.c if (host == NULL) { host 853 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 854 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); host 861 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); host 864 daemons/attrd/attrd_commands.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 869 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); host 872 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); host 884 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); host 901 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s(Set the forced write flag)", attr, host, peer->uname, value); host 904 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 916 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 52 daemons/based/based_callbacks.c void send_cib_replace(const xmlNode * sync_request, const char *host); host 307 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); host 318 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 321 daemons/based/based_callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 324 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 334 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 342 daemons/based/based_callbacks.c ping_digest, host, host 479 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 491 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { host 495 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master) { host 499 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 510 daemons/based/based_callbacks.c op, cib_client->name, host ? host : "the master instance"); host 518 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 537 daemons/based/based_callbacks.c op, cib_client->name, host ? host : "the master instance"); host 551 daemons/based/based_callbacks.c } else if (host == NULL) { host 554 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 558 daemons/based/based_callbacks.c crm_trace("%s op from %s needs to be forwarded to %s", op, cib_client->name, host); host 566 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 571 daemons/based/based_callbacks.c parse_local_options_v1(cib_client, call_type, call_options, host, host 574 daemons/based/based_callbacks.c parse_local_options_v2(cib_client, call_type, call_options, host, host 585 daemons/based/based_callbacks.c const char *host = NULL; host 632 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 633 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 638 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 642 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master == TRUE) { host 651 daemons/based/based_callbacks.c } else if (host != NULL) { host 653 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", crm_str(host)); host 682 daemons/based/based_callbacks.c const char *host = NULL; host 778 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 779 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 784 daemons/based/based_callbacks.c } else if (host != NULL) { host 786 daemons/based/based_callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, crm_str(host)); host 822 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 826 daemons/based/based_callbacks.c if (host != NULL) { host 827 daemons/based/based_callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 828 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 928 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 937 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 938 daemons/based/based_callbacks.c host = NULL; host 941 daemons/based/based_callbacks.c if (host) { host 942 daemons/based/based_callbacks.c target = host; host 967 daemons/based/based_callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 998 daemons/based/based_callbacks.c host ? host : cib_legacy_mode() ? "master" : "all", host 56 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 61 daemons/based/based_messages.c crm_info("Peer %s is requesting to shut down", host); host 66 daemons/based/based_messages.c crm_err("Peer %s mistakenly thinks we wanted to shut down", host); host 70 daemons/based/based_messages.c crm_info("Peer %s has acknowledged our shutdown request", host); host 139 daemons/based/based_messages.c send_sync_request(const char *host) host 143 daemons/based/based_messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 150 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 158 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 164 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 190 daemons/based/based_messages.c host, digest, host 230 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 246 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 251 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 272 daemons/based/based_messages.c crm_node_t *origin = crm_find_peer(0, host); host 275 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 283 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 284 daemons/based/based_messages.c crm_xml_add(up, F_CIB_ISREPLY, host); host 291 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 496 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); host 504 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 505 daemons/based/based_messages.c if (all == FALSE && host == NULL) { host 516 daemons/based/based_messages.c if (host != NULL) { host 517 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 534 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 134 daemons/based/pacemaker-based.h void send_sync_request(const char *host); host 32 daemons/controld/controld_attrd.c log_attrd_error(const char *host, const char *name, const char *value, host 43 daemons/controld/controld_attrd.c host, when, pcmk_rc_str(rc), rc); host 49 daemons/controld/controld_attrd.c node_type, host, when, pcmk_rc_str(rc), rc); host 59 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type, host, when, host 79 daemons/controld/controld_attrd.c update_attrd_helper(const char *host, const char *name, const char *value, host 112 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request(attrd_ipc, command, host, name, host 119 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request_clear(attrd_ipc, host, name, host 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); host 153 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, host 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, host 161 daemons/controld/controld_attrd.c update_attrd_remote_node_removed(const char *host, const char *user_name) host 164 daemons/controld/controld_attrd.c host); host 165 daemons/controld/controld_attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); host 169 daemons/controld/controld_attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op, host 184 daemons/controld/controld_attrd.c interval_desc, op_desc, rsc, node_type, host); host 185 daemons/controld/controld_attrd.c update_attrd_helper(host, rsc, op, interval_spec, NULL, is_remote_node, 0); host 86 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); host 87 daemons/controld/controld_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 88 daemons/controld/controld_utils.h void update_attrd_clear_failures(const char *host, const char *rsc, host 44 daemons/fenced/fenced_commands.c char *host; host 1031 daemons/fenced/fenced_commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); host 1034 daemons/fenced/fenced_commands.c crm_trace("Host %s is known by %s", search->host, dev->id); host 1038 daemons/fenced/fenced_commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, host 1082 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1085 daemons/fenced/fenced_commands.c alias = search->host; host 1567 daemons/fenced/fenced_commands.c search->host ? search->host : "<anyone>"); host 1570 daemons/fenced/fenced_commands.c free(search->host); host 1614 daemons/fenced/fenced_commands.c const char *host = search->host; host 1621 daemons/fenced/fenced_commands.c } else if (host == NULL) { host 1633 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) host 1634 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) host 1635 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "on", host, FALSE)) { host 1638 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, host 1643 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, host); host 1645 daemons/fenced/fenced_commands.c alias = host; host 1659 daemons/fenced/fenced_commands.c if (string_in_list(dev->targets, host)) { host 1662 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, host)) { host 1671 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1686 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1687 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, host 1696 daemons/fenced/fenced_commands.c if (pcmk__str_eq(host, alias, pcmk__str_casei)) { host 1698 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, host 1702 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, host 1721 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 1768 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; host 1783 daemons/fenced/fenced_commands.c search->host ? search->host : "<anyone>"); host 2322 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2325 daemons/fenced/fenced_commands.c int nodeid = crm_atoi(host, NULL); host 2329 daemons/fenced/fenced_commands.c host = node->uname; host 2334 daemons/fenced/fenced_commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 68 daemons/fenced/fenced_remote.c char *host; host 100 daemons/fenced/fenced_remote.c crm_trace("Free'ing query result from %s", query->host); host 102 daemons/fenced/fenced_remote.c free(query->host); host 209 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); host 785 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 788 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 791 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 797 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 798 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 803 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1196 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer->tried, options); host 1197 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1200 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1242 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1254 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1264 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1550 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1559 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1577 daemons/fenced/fenced_remote.c && pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1589 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1710 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1809 daemons/fenced/fenced_remote.c result->host, device); host 1814 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), host 1823 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "off", host 1826 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "on", host 1844 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) host 1852 daemons/fenced/fenced_remote.c result->host = strdup(host); host 1895 daemons/fenced/fenced_remote.c const char *host = NULL; host 1924 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 1925 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 1928 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 1931 daemons/fenced/fenced_remote.c result = add_result(op, host, ndevices, dev); host 1970 daemons/fenced/fenced_remote.c result->host, result->ndevices, op->state); host 227 daemons/fenced/pacemaker-fenced.h stonith_topology_t *find_topology_for_host(const char *host); host 94 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 101 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 124 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 205 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, host 60 include/crm/cluster/internal.h AIS_Host host; host 141 include/crm/cluster/internal.h ais_dest(const AIS_Host *host) host 143 include/crm/cluster/internal.h if (host->local) { host 145 include/crm/cluster/internal.h } else if (host->size > 0) { host 146 include/crm/cluster/internal.h return host->uname; host 32 include/crm/common/attrd_internal.h int pcmk__node_attr_request(crm_ipc_t * ipc, char command, const char *host, host 38 include/crm/common/attrd_internal.h int pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host, host 21 include/crm/common/remote_internal.h int pcmk__connect_remote(const char *host, int port, int timeout_ms, host 30 include/crm/pengine/remote_internal.h void pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, host 70 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); host 128 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); host 58 lib/cib/cib_file.c int cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 61 lib/cib/cib_file.c int cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 781 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 784 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, host 789 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 843 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); host 41 lib/cib/cib_native.c int cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 44 lib/cib/cib_native.c int cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, host 296 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 299 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, host 304 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 342 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, host 74 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 490 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 521 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, host 503 lib/cib/cib_utils.c cib_create_op(int call_id, const char *token, const char *op, const char *host, const char *section, host 516 lib/cib/cib_utils.c crm_xml_add(op_msg, F_CIB_HOST, host); host 709 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 713 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 724 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); host 424 lib/cluster/corosync.c int dest = msg->host.type; host 468 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), host 475 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 267 lib/cluster/cpg.c } else if (msg->host.id != 0 && (local_nodeid != msg->host.id)) { host 269 lib/cluster/cpg.c crm_trace("Not for us: %u != %u", msg->host.id, local_nodeid); host 271 lib/cluster/cpg.c } else if (msg->host.size != 0 && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { host 273 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); host 355 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 696 lib/cluster/cpg.c msg->host.type = dest; host 697 lib/cluster/cpg.c msg->host.local = local; host 702 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 703 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 704 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 708 lib/cluster/cpg.c msg->host.id = node->id; host 135 lib/common/attrd_client.c pcmk__node_attr_request(crm_ipc_t *ipc, char command, const char *host, host 143 lib/common/attrd_client.c const char *display_host = (host ? host : "localhost"); host 204 lib/common/attrd_client.c crm_xml_add(update, PCMK__XA_ATTR_NODE_NAME, host); host 241 lib/common/attrd_client.c pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host, host 252 lib/common/attrd_client.c crm_xml_add(clear_op, PCMK__XA_ATTR_NODE_NAME, host); host 271 lib/common/attrd_client.c (host? host : "all nodes"), pcmk_rc_str(rc), rc); host 1076 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, host 1084 lib/common/remote.c const char *server = host; host 1088 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); host 1119 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); host 1269 lib/pacemaker/pcmk_sched_graph.c pe_node_t *host = NULL; host 1283 lib/pacemaker/pcmk_sched_graph.c host = pe__current_node(action->node->details->remote_rsc->container); host 1290 lib/pacemaker/pcmk_sched_graph.c host = action->node->details->remote_rsc->container->allocated_to; host 1296 lib/pacemaker/pcmk_sched_graph.c if(host) { host 1300 lib/pacemaker/pcmk_sched_graph.c (gpointer)host->details->uname, host 184 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 190 lib/pacemaker/pcmk_trans_utils.c (host? " on " : ""), (host? host : "")); host 200 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 207 lib/pacemaker/pcmk_trans_utils.c action->id, desc, (host? " on " : ""), (host? host : ""), host 492 lib/pengine/clone.c pe_node_t *host = gIter->data; host 494 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 507 lib/pengine/clone.c pe_node_t *host = gIter->data; host 509 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 773 lib/pengine/clone.c pe_node_t *host = gIter->data; host 775 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname)) { host 779 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 794 lib/pengine/clone.c pe_node_t *host = gIter->data; host 796 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname)) { host 800 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 1010 lib/pengine/clone.c pe_node_t *host = gIter->data; host 1012 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname)) { host 1016 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 1031 lib/pengine/clone.c pe_node_t *host = gIter->data; host 1033 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname)) { host 1037 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 618 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 619 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); host 620 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); host 120 lib/pengine/remote.c pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, host 125 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); host 129 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1398 lib/pengine/unpack.c pe_node_t *host = NULL; host 1412 lib/pengine/unpack.c host = rsc->running_on->data; host 1449 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1450 lib/pengine/unpack.c && host->details->unclean) { host 294 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) host 307 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); host 312 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); host 23 tools/cibadmin.c static const char *host = NULL; host 517 tools/cibadmin.c host = strdup(optarg); host 726 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); host 28 tools/crm_resource.h int cli_resource_prefer(const char *rsc_id, const char *host, const char *move_lifetime, host 30 tools/crm_resource.h int cli_resource_ban(const char *rsc_id, const char *host, const char *move_lifetime, host 33 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, host 69 tools/crm_resource.h int cli_resource_restart(pe_resource_t *rsc, const char *host, const char *move_lifetime, host 61 tools/crm_resource_ban.c cli_resource_ban(const char *rsc_id, const char *host, const char *move_lifetime, host 70 tools/crm_resource_ban.c if(host == NULL) { host 89 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 94 tools/crm_resource_ban.c " on %s.", ID(location), rsc_id, host); host 98 tools/crm_resource_ban.c rsc_id, (promoted_role_only? "being promoted" : "running"), host); host 100 tools/crm_resource_ban.c " the last node in the cluster", host); host 112 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 119 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 123 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 126 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 130 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 146 tools/crm_resource_ban.c cli_resource_prefer(const char *rsc_id, const char *host, const char *move_lifetime, host 177 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 191 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 230 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 237 tools/crm_resource_ban.c rsc_id, rsc_id, host); host 252 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 263 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 269 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 286 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn, host 295 tools/crm_resource_ban.c if (host) { host 296 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 303 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 55 tools/crm_resource_print.c const char *host = NULL; host 69 tools/crm_resource_print.c host = node->details->uname; host 75 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 977 tools/crm_resource_runtime.c static bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 988 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 991 tools/crm_resource_runtime.c if(strcmp(host, node->details->uname) == 0) { host 992 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 994 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { host 995 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1000 tools/crm_resource_runtime.c if(host != NULL) { host 1001 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1004 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1025 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1039 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1040 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1263 tools/crm_resource_runtime.c cli_resource_restart(pe_resource_t *rsc, const char *host, const char *move_lifetime, host 1285 tools/crm_resource_runtime.c if(resource_is_running_on(rsc, host) == FALSE) { host 1287 tools/crm_resource_runtime.c if(host) { host 1288 tools/crm_resource_runtime.c printf("%s is not running on %s and so cannot be restarted\n", id, host); host 1296 tools/crm_resource_runtime.c if ((pe_rsc_is_clone(rsc) || pe_bundle_replicas(rsc)) && host) { host 1331 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1332 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1339 tools/crm_resource_runtime.c rc = cli_resource_ban(rsc_id, host, move_lifetime, NULL, cib, host 1374 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1404 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1423 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); host 1452 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1459 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1502 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force);