node_name 23 crmd/crmd_lrm.h extern void lrm_clear_last_failure(const char *rsc_id, const char *node_name, node_name 60 crmd/crmd_lrm.h const char *node_name; node_name 107 crmd/crmd_lrm.h lrm_state_t *lrm_state_create(const char *node_name); node_name 112 crmd/crmd_lrm.h void lrm_state_destroy(const char *node_name); node_name 117 crmd/crmd_lrm.h lrm_state_t *lrm_state_find(const char *node_name); node_name 122 crmd/crmd_lrm.h lrm_state_t *lrm_state_find_or_create(const char *node_name); node_name 167 crmd/crmd_lrm.h void remote_ra_fail(const char *node_name); node_name 114 crmd/crmd_messages.h void send_remote_state_message(const char *node_name, gboolean node_up); node_name 22 crmd/fsa_proto.h extern xmlNode *do_lrm_query(gboolean, const char *node_name); node_name 66 crmd/lrm.c static int do_update_resource(const char *node_name, lrmd_rsc_info_t * rsc, lrmd_event_data_t * op); node_name 660 crmd/lrm.c const char *node_name, const char *src) node_name 701 crmd/lrm.c lrm_state = lrm_state_find(node_name); node_name 704 crmd/lrm.c op->rsc_id, op->op_type, op->interval, node_name); node_name 812 crmd/lrm.c build_operation_update(xml_rsc, &(entry->rsc), entry->failed, lrm_state->node_name, __FUNCTION__); node_name 813 crmd/lrm.c build_operation_update(xml_rsc, &(entry->rsc), entry->last, lrm_state->node_name, __FUNCTION__); node_name 815 crmd/lrm.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, __FUNCTION__); node_name 830 crmd/lrm.c peer = crm_get_peer_full(0, lrm_state->node_name, CRM_GET_PEER_ANY); node_name 852 crmd/lrm.c do_lrm_query(gboolean is_replace, const char *node_name) node_name 854 crmd/lrm.c lrm_state_t *lrm_state = lrm_state_find(node_name); node_name 858 crmd/lrm.c crm_err("Could not query lrm state for lrmd node %s", node_name); node_name 960 crmd/lrm.c max = strlen(rsc_template) + strlen(lrm_state->node_name) + strlen(rsc_id) + 1; node_name 962 crmd/lrm.c snprintf(rsc_xpath, max, rsc_template, lrm_state->node_name, rsc_id); node_name 1079 crmd/lrm.c lrm_state->node_name, rsc_id, key, node_name 1084 crmd/lrm.c lrm_state->node_name, rsc_id, key, node_name 1088 crmd/lrm.c lrm_state->node_name, rsc_id, key); node_name 1125 crmd/lrm.c lrm_clear_last_failure(const char *rsc_id, const char *node_name, node_name 1132 crmd/lrm.c lrm_state = lrm_state_find(node_name); node_name 1291 crmd/lrm.c crm_err("Could not add resource %s to LRM %s", id, lrm_state->node_name); node_name 1375 crmd/lrm.c crm_info("clearing resource history on node %s", lrm_state->node_name); node_name 1398 crmd/lrm.c erase_status_tag(lrm_state->node_name, XML_CIB_TAG_LRM, cib_scope_local); node_name 1403 crmd/lrm.c update_attrd(lrm_state->node_name, CRM_OP_PROBED, NULL, user_name, is_remote_node); node_name 1621 crmd/lrm.c update_attrd(lrm_state->node_name, CRM_OP_PROBED, XML_BOOLEAN_TRUE, user_name, is_remote_node); node_name 2062 crmd/lrm.c record_pending_op(const char *node_name, lrmd_rsc_info_t *rsc, lrmd_event_data_t *op) node_name 2064 crmd/lrm.c CRM_CHECK(node_name != NULL, return); node_name 2094 crmd/lrm.c op->rsc_id, op->op_type, op->interval, node_name); node_name 2096 crmd/lrm.c do_update_resource(node_name, rsc, op); node_name 2186 crmd/lrm.c record_pending_op(lrm_state->node_name, rsc, op); node_name 2217 crmd/lrm.c crm_err("Operation %s on resource %s failed to execute on remote node %s: %d", operation, rsc->id, lrm_state->node_name, call_id); node_name 2289 crmd/lrm.c do_update_resource(const char *node_name, lrmd_rsc_info_t * rsc, lrmd_event_data_t * op) node_name 2310 crmd/lrm.c if (safe_str_eq(node_name, fsa_our_uname)) { node_name 2315 crmd/lrm.c uuid = node_name; node_name 2326 crmd/lrm.c crm_xml_add(iter, XML_ATTR_UNAME, node_name); node_name 2336 crmd/lrm.c build_operation_update(iter, rsc, op, node_name, __FUNCTION__); node_name 2465 crmd/lrm.c update_id = do_update_resource(lrm_state->node_name, rsc, op); node_name 2519 crmd/lrm.c op->rsc_id, lrm_state->node_name, node_name 2529 crmd/lrm.c op->rsc_id, lrm_state->node_name, node_name 2539 crmd/lrm.c op->rsc_id, lrm_state->node_name, node_name 2548 crmd/lrm.c op->rsc_id, lrm_state->node_name, node_name 2555 crmd/lrm.c crm_strdup_printf("%s-%s_%s_%d:%d", lrm_state->node_name, op->rsc_id, op->op_type, op->interval, op->call_id); node_name 2566 crmd/lrm.c crmd_alert_resource_op(lrm_state->node_name, op); node_name 82 crmd/lrm_state.c lrm_state->node_name, (char*)key, op->user_data); node_name 96 crmd/lrm_state.c event.remote_nodename = lrm_state->node_name; node_name 110 crmd/lrm_state.c if (strcmp(lrm_state->node_name, fsa_our_uname) != 0) { node_name 119 crmd/lrm_state.c lrm_state_create(const char *node_name) node_name 123 crmd/lrm_state.c if (!node_name) { node_name 133 crmd/lrm_state.c state->node_name = strdup(node_name); node_name 149 crmd/lrm_state.c g_hash_table_insert(lrm_state_table, (char *)state->node_name, state); node_name 155 crmd/lrm_state.c lrm_state_destroy(const char *node_name) node_name 157 crmd/lrm_state.c g_hash_table_remove(lrm_state_table, node_name); node_name 164 crmd/lrm_state.c const char *node_name = user_data; node_name 166 crmd/lrm_state.c if (safe_str_eq(node_name, proxy->node_name)) { node_name 182 crmd/lrm_state.c crm_trace("Destroying proxy table %s with %d members", lrm_state->node_name, g_hash_table_size(proxy_table)); node_name 183 crmd/lrm_state.c g_hash_table_foreach_remove(proxy_table, remote_proxy_remove_by_node, (char *) lrm_state->node_name); node_name 205 crmd/lrm_state.c free((char *)lrm_state->node_name); node_name 275 crmd/lrm_state.c lrm_state_find(const char *node_name) node_name 277 crmd/lrm_state.c if (!node_name) { node_name 280 crmd/lrm_state.c return g_hash_table_lookup(lrm_state_table, node_name); node_name 284 crmd/lrm_state.c lrm_state_find_or_create(const char *node_name) node_name 288 crmd/lrm_state.c lrm_state = g_hash_table_lookup(lrm_state_table, node_name); node_name 290 crmd/lrm_state.c lrm_state = lrm_state_create(node_name); node_name 303 crmd/lrm_state.c find_connected_proxy_by_node(const char * node_name) node_name 314 crmd/lrm_state.c && safe_str_eq(node_name, proxy->node_name)) { node_name 323 crmd/lrm_state.c remote_proxy_disconnect_by_node(const char * node_name) node_name 329 crmd/lrm_state.c while ((proxy = find_connected_proxy_by_node(node_name)) != NULL) { node_name 349 crmd/lrm_state.c crm_trace("Disconnecting %s", lrm_state->node_name); node_name 351 crmd/lrm_state.c remote_proxy_disconnect_by_node(lrm_state->node_name); node_name 357 crmd/lrm_state.c crm_trace("Synthesized %d operation failures for %s", removed, lrm_state->node_name); node_name 415 crmd/lrm_state.c crmd_remote_proxy_new(lrmd_t *lrmd, const char *node_name, const char *session_id, const char *channel) node_name 421 crmd/lrm_state.c remote_proxy_t *proxy = remote_proxy_new(lrmd, &proxy_callbacks, node_name, node_name 442 crmd/lrm_state.c lrm_state = lrm_state_find(proxy->node_name); node_name 444 crmd/lrm_state.c crm_trace("Sending event to %.8s on %s", proxy->session_id, proxy->node_name); node_name 502 crmd/lrm_state.c proxy = crmd_remote_proxy_new(lrmd, lrm_state->node_name, session, channel); node_name 515 crmd/lrm_state.c lrm_state->node_name); node_name 519 crmd/lrm_state.c update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, TRUE); node_name 525 crmd/lrm_state.c lrm_state->node_name); node_name 530 crmd/lrm_state.c lrm_state->node_name); node_name 544 crmd/lrm_state.c CRM_CHECK(lrm_state->node_name, return); node_name 546 crmd/lrm_state.c crm_acl_get_set_user(request, F_LRMD_IPC_USER, lrm_state->node_name); node_name 565 crmd/lrm_state.c remote_proxy_cb(lrmd, lrm_state->node_name, msg); node_name 577 crmd/lrm_state.c lrm_state->conn = lrmd_remote_api_new(lrm_state->node_name, server, port); node_name 587 crmd/lrm_state.c ((lrmd_t *) lrm_state->conn)->cmds->connect_async(lrm_state->conn, lrm_state->node_name, node_name 1043 crmd/messages.c send_remote_state_message(const char *node_name, gboolean node_up) node_name 1054 crmd/messages.c fsa_our_dc, node_name, (node_up? "coming up" : "going down")); node_name 1055 crmd/messages.c crm_xml_add(msg, XML_ATTR_ID, node_name); node_name 1062 crmd/messages.c node_name, (node_up? "coming up" : "going down")); node_name 178 crmd/remote_lrmd_ra.c remote_node_up(const char *node_name) node_name 184 crmd/remote_lrmd_ra.c CRM_CHECK(node_name != NULL, return); node_name 185 crmd/remote_lrmd_ra.c crm_info("Announcing pacemaker_remote node %s", node_name); node_name 192 crmd/remote_lrmd_ra.c erase_status_tag(node_name, XML_CIB_TAG_LRM, call_opt); node_name 193 crmd/remote_lrmd_ra.c erase_status_tag(node_name, XML_TAG_TRANSIENT_NODEATTRS, call_opt); node_name 196 crmd/remote_lrmd_ra.c update_attrd(node_name, CRM_OP_PROBED, NULL, NULL, TRUE); node_name 199 crmd/remote_lrmd_ra.c node = crm_remote_peer_get(node_name); node_name 209 crmd/remote_lrmd_ra.c send_remote_state_message(node_name, TRUE); node_name 230 crmd/remote_lrmd_ra.c crm_perror(LOG_WARNING, "%s CIB node state setup", node_name); node_name 248 crmd/remote_lrmd_ra.c remote_node_down(const char *node_name, const enum down_opts opts) node_name 256 crmd/remote_lrmd_ra.c update_attrd_remote_node_removed(node_name, NULL); node_name 259 crmd/remote_lrmd_ra.c erase_status_tag(node_name, XML_TAG_TRANSIENT_NODEATTRS, call_opt); node_name 266 crmd/remote_lrmd_ra.c erase_status_tag(node_name, XML_CIB_TAG_LRM, call_opt); node_name 270 crmd/remote_lrmd_ra.c node = crm_remote_peer_get(node_name); node_name 275 crmd/remote_lrmd_ra.c send_remote_state_message(node_name, FALSE); node_name 282 crmd/remote_lrmd_ra.c crm_perror(LOG_ERR, "%s CIB node state update", node_name); node_name 568 crmd/remote_lrmd_ra.c crm_err("Unexpected disconnect on remote-node %s", lrm_state->node_name); node_name 572 crmd/remote_lrmd_ra.c crm_notice("Disconnect on unmanaged remote-node %s", lrm_state->node_name); node_name 575 crmd/remote_lrmd_ra.c remote_node_down(lrm_state->node_name, DOWN_KEEP_LRM); node_name 577 crmd/remote_lrmd_ra.c synthesize_lrmd_success(NULL, lrm_state->node_name, "stop"); node_name 658 crmd/remote_lrmd_ra.c crm_err("remote-node %s unexpectedly disconneced during monitor operation", lrm_state->node_name); node_name 1091 crmd/remote_lrmd_ra.c cmd->owner = strdup(lrm_state->node_name); node_name 1124 crmd/remote_lrmd_ra.c remote_ra_fail(const char *node_name) node_name 1126 crmd/remote_lrmd_ra.c lrm_state_t *lrm_state = lrm_state_find(node_name); node_name 1131 crmd/remote_lrmd_ra.c crm_info("Failing monitors on pacemaker_remote node %s", node_name); node_name 1201 crmd/remote_lrmd_ra.c node = crm_remote_peer_get(lrm_state->node_name); node_name 1209 crmd/remote_lrmd_ra.c crm_perror(LOG_WARNING, "%s CIB node state update failed", lrm_state->node_name); node_name 44 fencing/standalone_config.c char *node_name; node_name 77 fencing/standalone_config.c if (!strcasecmp(topo->node_name, name)) { node_name 203 fencing/standalone_config.c topo->node_name = strdup(node); node_name 228 fencing/standalone_config.c free(topo->node_name); node_name 275 fencing/standalone_config.c data = create_level_registration_xml(topo->node_name, NULL, NULL, NULL, node_name 157 include/crm/cluster.h void crm_remote_peer_cache_add(const char *node_name); node_name 158 include/crm/cluster.h crm_node_t *crm_remote_peer_get(const char *node_name); node_name 159 include/crm/cluster.h void crm_remote_peer_cache_remove(const char *node_name); node_name 188 include/crm/common/xml.h xmlNode *find_entity(xmlNode * parent, const char *node_name, const char *id); node_name 363 include/crm_internal.h char *node_name; node_name 377 include/crm_internal.h const char *node_name, const char *session_id, const char *channel); node_name 380 include/crm_internal.h void remote_proxy_cb(lrmd_t *lrmd, const char *node_name, xmlNode *msg); node_name 143 lib/ais/plugin.c void ais_remove_peer_by_name(const char *node_name); node_name 1708 lib/ais/plugin.c ais_remove_peer_by_name(const char *node_name) node_name 1718 lib/ais/plugin.c if (ais_str_eq(node_name, node->uname)) { node_name 1739 lib/ais/plugin.c ais_warn("Peer %s is unkown", node_name); node_name 89 lib/cluster/membership.c crm_remote_peer_get(const char *node_name) node_name 93 lib/cluster/membership.c if (node_name == NULL) { node_name 99 lib/cluster/membership.c node = g_hash_table_lookup(crm_remote_peer_cache, node_name); node_name 112 lib/cluster/membership.c node->uuid = strdup(node_name); node_name 121 lib/cluster/membership.c crm_trace("added %s to remote cache", node_name); node_name 124 lib/cluster/membership.c crm_update_peer_uname(node, node_name); node_name 137 lib/cluster/membership.c crm_remote_peer_cache_add(const char *node_name) node_name 139 lib/cluster/membership.c CRM_ASSERT(crm_remote_peer_get(node_name) != NULL); node_name 143 lib/cluster/membership.c crm_remote_peer_cache_remove(const char *node_name) node_name 145 lib/cluster/membership.c if (g_hash_table_remove(crm_remote_peer_cache, node_name)) { node_name 146 lib/cluster/membership.c crm_trace("removed %s from remote peer cache", node_name); node_name 2268 lib/common/xml.c find_entity(xmlNode * parent, const char *node_name, const char *id) node_name 2274 lib/common/xml.c if (node_name == NULL || strcmp((const char *)a_child->name, node_name) == 0) { node_name 2282 lib/common/xml.c crm_trace("node <%s id=%s> not found in %s.", node_name, id, crm_element_name(parent)); node_name 122 lib/lrmd/proxy_common.c free(proxy->node_name); node_name 143 lib/lrmd/proxy_common.c crm_trace("Passing response back to %.8s on %s: %.200s - request id: %d", proxy->session_id, proxy->node_name, buffer, proxy->last_request_id); node_name 148 lib/lrmd/proxy_common.c crm_trace("Passing event back to %.8s on %s: %.200s", proxy->session_id, proxy->node_name, buffer); node_name 176 lib/lrmd/proxy_common.c const char *node_name, const char *session_id, const char *channel) node_name 188 lib/lrmd/proxy_common.c proxy->node_name = strdup(node_name); node_name 208 lib/lrmd/proxy_common.c channel, node_name, session_id); node_name 215 lib/lrmd/proxy_common.c remote_proxy_cb(lrmd_t *lrmd, const char *node_name, xmlNode *msg) node_name 261 lib/lrmd/proxy_common.c CRM_ASSERT(node_name); node_name 262 lib/lrmd/proxy_common.c crm_acl_get_set_user(request, F_LRMD_IPC_USER, node_name); node_name 271 lib/lrmd/proxy_common.c crm_xml_add(request, F_ATTRD_HOST, proxy->node_name); node_name 280 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); node_name 291 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); node_name 301 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); node_name 306 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); node_name 309 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); node_name 898 lib/pengine/native.c char *node_name = NULL; node_name 903 lib/pengine/native.c while (g_hash_table_iter_next(&hash_iter2, (gpointer *)&node_name, (gpointer *)&node_table)) { node_name 914 lib/pengine/native.c node_name = NULL; node_name 925 lib/pengine/native.c active_counter && (*active_counter > 0) && node_name ? node_name : ""); node_name 929 lib/pengine/native.c active_counter && (*active_counter > 0) && node_name ? node_name : ""); node_name 73 lrmd/remote_ctl.c const char *node_name; node_name 265 lrmd/remote_ctl.c remote_proxy_new(lrmd, &proxy_callbacks, options.node_name, session, channel); node_name 268 lrmd/remote_ctl.c remote_proxy_cb(lrmd, options.node_name, msg); node_name 303 lrmd/remote_ctl.c options.node_name = optarg; node_name 378 lrmd/remote_ctl.c if (options.node_name == NULL) { node_name 2485 pengine/allocate.c char *node_name = NULL; node_name 2496 pengine/allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); node_name 2498 pengine/allocate.c node_name = crm_strdup_printf("%s", action->node->details->uname); node_name 2512 pengine/allocate.c printf(" * %s %s '%s'\n", task, node_name, action->reason); node_name 2514 pengine/allocate.c printf(" * %s %s\n", task, node_name); node_name 2516 pengine/allocate.c crm_notice(" * %s %s '%s'\n", task, node_name, action->reason); node_name 2518 pengine/allocate.c crm_notice(" * %s %s\n", task, node_name); node_name 2521 pengine/allocate.c free(node_name); node_name 1016 tools/crm_mon.c char *node_name; node_name 1021 tools/crm_mon.c node_name = get_node_display_name(node); node_name 1022 tools/crm_mon.c print_as("* Node %s:\n", node_name); node_name 1023 tools/crm_mon.c free(node_name); node_name 1028 tools/crm_mon.c node_name = get_node_display_name(node); node_name 1029 tools/crm_mon.c fprintf(stream, " <h3>Node: %s</h3>\n <ul>\n", node_name); node_name 1030 tools/crm_mon.c free(node_name); node_name 1947 tools/crm_mon.c char *node_name; node_name 1987 tools/crm_mon.c node_name = malloc(name_len); node_name 1988 tools/crm_mon.c CRM_ASSERT(node_name != NULL); node_name 1989 tools/crm_mon.c strcpy(node_name, node->details->uname); node_name 1991 tools/crm_mon.c strcat(node_name, "@"); node_name 1992 tools/crm_mon.c strcat(node_name, node_host); node_name 1995 tools/crm_mon.c strcat(node_name, " ("); node_name 1996 tools/crm_mon.c strcat(node_name, node_id); node_name 1997 tools/crm_mon.c strcat(node_name, ")"); node_name 1999 tools/crm_mon.c return node_name; node_name 2012 tools/crm_mon.c char *node_name = NULL; node_name 2017 tools/crm_mon.c node_name = get_node_display_name(node); node_name 2021 tools/crm_mon.c node_name); node_name 2026 tools/crm_mon.c node_name = get_node_display_name(node); node_name 2030 tools/crm_mon.c node_name); node_name 2043 tools/crm_mon.c free(node_name); node_name 2939 tools/crm_mon.c char *node_name = get_node_display_name(node); node_name 2977 tools/crm_mon.c online_guest_nodes = add_list_element(online_guest_nodes, node_name); node_name 2979 tools/crm_mon.c online_remote_nodes = add_list_element(online_remote_nodes, node_name); node_name 2981 tools/crm_mon.c online_nodes = add_list_element(online_nodes, node_name); node_name 2983 tools/crm_mon.c free(node_name); node_name 2990 tools/crm_mon.c offline_remote_nodes = add_list_element(offline_remote_nodes, node_name); node_name 2994 tools/crm_mon.c offline_nodes = add_list_element(offline_nodes, node_name); node_name 2996 tools/crm_mon.c free(node_name); node_name 3009 tools/crm_mon.c print_as("Node %s: %s\n", node_name, node_mode); node_name 3026 tools/crm_mon.c free(node_name); node_name 3240 tools/crm_mon.c char *node_name = get_node_display_name(node); node_name 3242 tools/crm_mon.c fprintf(stream, "<li>Node: %s: ", node_name); node_name 3278 tools/crm_mon.c free(node_name); node_name 98 tools/crm_simulate.c char *node_name = NULL; node_name 101 tools/crm_simulate.c node_name = crm_strdup_printf("%s:%s", node->details->uname, node->details->remote_rsc->container->id); node_name 103 tools/crm_simulate.c node_name = crm_strdup_printf("%s", node->details->uname); node_name 139 tools/crm_simulate.c online_remote_containers = add_list_element(online_remote_containers, node_name); node_name 141 tools/crm_simulate.c online_remote_nodes = add_list_element(online_remote_nodes, node_name); node_name 143 tools/crm_simulate.c online_nodes = add_list_element(online_nodes, node_name); node_name 145 tools/crm_simulate.c free(node_name); node_name 150 tools/crm_simulate.c offline_remote_nodes = add_list_element(offline_remote_nodes, node_name); node_name 154 tools/crm_simulate.c offline_nodes = add_list_element(offline_nodes, node_name); node_name 156 tools/crm_simulate.c free(node_name); node_name 161 tools/crm_simulate.c printf("ContainerNode %s: %s\n", node_name, node_mode); node_name 163 tools/crm_simulate.c printf("RemoteNode %s: %s\n", node_name, node_mode); node_name 165 tools/crm_simulate.c printf("Node %s: %s\n", node_name, node_mode); node_name 167 tools/crm_simulate.c printf("Node %s (%s): %s\n", node_name, node->details->id, node_mode); node_name 170 tools/crm_simulate.c free(node_name);