details 591 fencing/main.c if (node && strcmp(node->details->uname, stonith_our_uname) == 0) { details 657 fencing/main.c crm_trace("Available: %s = %d", node->details->uname, node->weight); details 157 include/crm/pengine/internal.h extern void print_node(const char *pre_text, node_t * node, gboolean details); details 159 include/crm/pengine/internal.h extern void print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details); details 178 include/crm/pengine/status.h struct node_shared_s *details; details 465 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { details 503 lib/pengine/clone.c list_text = add_list_element(list_text, host->details->uname); details 517 lib/pengine/clone.c list_text = add_list_element(list_text, host->details->uname); details 566 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL) { details 567 lib/pengine/clone.c stopped_list = add_list_element(stopped_list, node->details->uname); details 448 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); details 453 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); details 463 lib/pengine/common.c CRM_ASSERT(node->details->remote_rsc); details 464 lib/pengine/common.c CRM_ASSERT(node->details->remote_rsc->container); details 466 lib/pengine/common.c if(node->details->remote_rsc->container->running_on) { details 467 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; details 468 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); details 469 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); details 473 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); details 483 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); details 138 lib/pengine/complex.c node_hash = node->details->attrs; details 180 lib/pengine/complex.c node_hash = node->details->attrs; details 205 lib/pengine/complex.c node_hash = node->details->attrs; details 615 lib/pengine/container.c g_hash_table_insert(tuple->child->allowed_nodes, (gpointer) tuple->node->details->id, node_copy(tuple->node)); details 620 lib/pengine/container.c g_hash_table_insert(tuple->child->parent->allowed_nodes, (gpointer) tuple->node->details->id, copy); details 635 lib/pengine/container.c tuple->node->details->remote_rsc = tuple->remote; details 641 lib/pengine/container.c g_hash_table_insert(tuple->node->details->attrs, details 820 lib/pengine/container.c crm_trace("Fixing addr for %s on %s", rsc->id, node->details->uname); details 822 lib/pengine/container.c crm_xml_add(xml, field, node->details->uname); details 825 lib/pengine/container.c return node->details->uname; details 1182 lib/pengine/container.c if(tuple->node->details == node->details) { details 117 lib/pengine/failcounts.c node->details->uname, xml_name, details 250 lib/pengine/failcounts.c g_hash_table_iter_init(&iter, node->details->attrs); details 283 lib/pengine/failcounts.c rsc->id, node->details->uname, rsc->failure_timeout); details 307 lib/pengine/failcounts.c rsc->id, score, node->details->uname); details 315 lib/pengine/failcounts.c rsc->id, score, node->details->uname); details 41 lib/pengine/native.c if (safe_str_eq(a_node->details->id, node->details->id)) { details 46 lib/pengine/native.c pe_rsc_trace(rsc, "Adding %s to %s %s", rsc->id, node->details->uname, details 51 lib/pengine/native.c node->details->running_rsc = g_list_append(node->details->running_rsc, rsc); details 54 lib/pengine/native.c if (rsc->variant == pe_native && node->details->maintenance) { details 64 lib/pengine/native.c while(p && node->details->online) { details 112 lib/pengine/native.c rsc->id, g_list_length(rsc->running_on), node->details->uname, details 116 lib/pengine/native.c pe_rsc_trace(rsc, "Resource %s is active on: %s", rsc->id, node->details->uname); details 165 lib/pengine/native.c rsc->id, node->details->uname); details 172 lib/pengine/native.c if (loc->details == node->details) { details 181 lib/pengine/native.c && (rsc->allocated_to->details == node->details)) { details 257 lib/pengine/native.c pe_rsc_trace(rsc, "Creating hash with node %s", node->details->uname); details 292 lib/pengine/native.c if (a_node->details->unclean) { details 293 lib/pengine/native.c crm_debug("Resource %s: node %s is unclean", rsc->id, a_node->details->uname); details 295 lib/pengine/native.c } else if (a_node->details->online == FALSE) { details 296 lib/pengine/native.c crm_debug("Resource %s: node %s is offline", rsc->id, a_node->details->uname); details 298 lib/pengine/native.c crm_debug("Resource %s active on %s", rsc->id, a_node->details->uname); details 460 lib/pengine/native.c node->details->uname, node->details->id, details 461 lib/pengine/native.c node->details->online ? "false" : "true"); details 562 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, " %s", node->details->uname); details 564 lib/pengine/native.c if (node->details->online == FALSE && node->details->unclean) { details 657 lib/pengine/native.c status_print("<li>\n%s", n->details->uname); details 661 lib/pengine/native.c status_print(" %s", n->details->uname); details 664 lib/pengine/native.c status_print("\t%d : %s", counter, n->details->uname); details 667 lib/pengine/native.c status_print("%s", n->details->uname); details 710 lib/pengine/native.c status_print("%s\t * %s %d", pre_text, n->details->uname, n->weight); details 794 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { details 850 lib/pengine/native.c if (node->details->unclean == FALSE && node->details->online == FALSE) { details 854 lib/pengine/native.c node_table = g_hash_table_lookup(active_table, node->details->uname); details 857 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); details 46 lib/pengine/remote.c if (is_remote_node(node) && (node->details->remote_rsc == NULL || node->details->remote_rsc->container == FALSE)) { details 55 lib/pengine/remote.c if (is_remote_node(node) && (node->details->remote_rsc && node->details->remote_rsc->container)) { details 64 lib/pengine/remote.c if (node && node->details->type == node_remote) { details 119 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); details 123 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { details 149 lib/pengine/status.c struct node_shared_s *details = node->details; details 156 lib/pengine/status.c if (details != NULL) { details 157 lib/pengine/status.c crm_trace("%s is being deleted", details->uname); details 158 lib/pengine/status.c if (details->attrs != NULL) { details 159 lib/pengine/status.c g_hash_table_destroy(details->attrs); details 161 lib/pengine/status.c if (details->utilization != NULL) { details 162 lib/pengine/status.c g_hash_table_destroy(details->utilization); details 164 lib/pengine/status.c if (details->digest_cache != NULL) { details 165 lib/pengine/status.c g_hash_table_destroy(details->digest_cache); details 167 lib/pengine/status.c g_list_free(details->running_rsc); details 168 lib/pengine/status.c g_list_free(details->allocated_rsc); details 169 lib/pengine/status.c free(details); details 292 lib/pengine/status.c if (node && safe_str_eq(node->details->id, id)) { details 308 lib/pengine/status.c if (node && safe_str_eq(node->details->uname, uname)) { details 59 lib/pengine/unpack.c node->details->remote_rsc && details 60 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && details 61 lib/pengine/unpack.c is_set(node->details->remote_rsc->flags, pe_rsc_orphan_container_filler)) { details 83 lib/pengine/unpack.c resource_t *rsc = node->details->remote_rsc->container; details 90 lib/pengine/unpack.c node->details->uname, reason, rsc->id); details 94 lib/pengine/unpack.c node->details->uname, rsc->id, reason); details 100 lib/pengine/unpack.c node->details->remote_requires_reset = TRUE; details 109 lib/pengine/unpack.c node->details->uname, reason); details 110 lib/pengine/unpack.c set_bit(node->details->remote_rsc->flags, pe_rsc_failed); details 113 lib/pengine/unpack.c resource_t *rsc = node->details->remote_rsc; details 118 lib/pengine/unpack.c node->details->uname, reason); details 119 lib/pengine/unpack.c } else if(node->details->remote_requires_reset == FALSE) { details 120 lib/pengine/unpack.c node->details->remote_requires_reset = TRUE; details 122 lib/pengine/unpack.c node->details->uname, details 126 lib/pengine/unpack.c node->details->unclean = TRUE; details 129 lib/pengine/unpack.c } else if (node->details->unclean) { details 131 lib/pengine/unpack.c node->details->uname, details 137 lib/pengine/unpack.c node->details->uname, details 140 lib/pengine/unpack.c node->details->unclean = TRUE; details 373 lib/pengine/unpack.c new_node->details = calloc(1, sizeof(struct node_shared_s)); details 375 lib/pengine/unpack.c if (new_node->details == NULL) { details 381 lib/pengine/unpack.c new_node->details->id = id; details 382 lib/pengine/unpack.c new_node->details->uname = uname; details 383 lib/pengine/unpack.c new_node->details->online = FALSE; details 384 lib/pengine/unpack.c new_node->details->shutdown = FALSE; details 385 lib/pengine/unpack.c new_node->details->rsc_discovery_enabled = TRUE; details 386 lib/pengine/unpack.c new_node->details->running_rsc = NULL; details 387 lib/pengine/unpack.c new_node->details->type = node_ping; details 390 lib/pengine/unpack.c new_node->details->type = node_remote; details 394 lib/pengine/unpack.c new_node->details->type = node_member; details 397 lib/pengine/unpack.c new_node->details->attrs = crm_str_table_new(); details 400 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), details 403 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), details 407 lib/pengine/unpack.c new_node->details->utilization = crm_str_table_new(); details 409 lib/pengine/unpack.c new_node->details->digest_cache = details 502 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { details 512 lib/pengine/unpack.c new_node->details->unclean = TRUE; details 516 lib/pengine/unpack.c new_node->details->unclean = FALSE; details 521 lib/pengine/unpack.c new_node->details->unseen = TRUE; details 564 lib/pengine/unpack.c new_node->details->utilization, NULL, FALSE, data_set->now); details 698 lib/pengine/unpack.c remote_node->details->remote_rsc = new_rsc; details 707 lib/pengine/unpack.c g_hash_table_replace(remote_node->details->attrs, strdup(CRM_ATTR_KIND), details 1018 lib/pengine/unpack.c crm_trace("Processing remote node id=%s, uname=%s", this_node->details->id, this_node->details->uname); details 1020 lib/pengine/unpack.c this_node->details->remote_maintenance = details 1023 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; details 1024 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { details 1025 lib/pengine/unpack.c this_node->details->unclean = FALSE; details 1026 lib/pengine/unpack.c this_node->details->unseen = FALSE; details 1033 lib/pengine/unpack.c crm_info("Node %s is shutting down", this_node->details->uname); details 1034 lib/pengine/unpack.c this_node->details->shutdown = TRUE; details 1041 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); details 1042 lib/pengine/unpack.c this_node->details->standby = TRUE; details 1047 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); details 1048 lib/pengine/unpack.c this_node->details->maintenance = TRUE; details 1055 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); details 1061 lib/pengine/unpack.c crm_info("Node %s has resource discovery disabled", this_node->details->uname); details 1062 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; details 1091 lib/pengine/unpack.c } else if (this_node->details->unpacked) { details 1101 lib/pengine/unpack.c resource_t *rsc = this_node->details->remote_rsc; details 1131 lib/pengine/unpack.c } else if (this_node->details->online) { details 1141 lib/pengine/unpack.c this_node->details->uname); details 1143 lib/pengine/unpack.c this_node->details->unpacked = TRUE; details 1215 lib/pengine/unpack.c this_node->details->remote_was_fenced = details 1225 lib/pengine/unpack.c this_node->details->unclean = FALSE; details 1226 lib/pengine/unpack.c this_node->details->unseen = FALSE; details 1231 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); details 1232 lib/pengine/unpack.c this_node->details->standby = TRUE; details 1236 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); details 1237 lib/pengine/unpack.c this_node->details->maintenance = TRUE; details 1243 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); details 1250 lib/pengine/unpack.c && this_node->details->online details 1275 lib/pengine/unpack.c } else if(this_node->details->unpacked) { details 1304 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { details 1350 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), details 1361 lib/pengine/unpack.c if (this_node->details->shutdown) { details 1362 lib/pengine/unpack.c crm_debug("%s is shutting down", this_node->details->uname); details 1376 lib/pengine/unpack.c crm_info("- Node %s is not ready to run resources", this_node->details->uname); details 1377 lib/pengine/unpack.c this_node->details->standby = TRUE; details 1378 lib/pengine/unpack.c this_node->details->pending = TRUE; details 1381 lib/pengine/unpack.c crm_trace("%s is down or still coming up", this_node->details->uname); details 1386 lib/pengine/unpack.c crm_info("Node %s was just shot", this_node->details->uname); details 1400 lib/pengine/unpack.c crm_info("Node %s is active", this_node->details->uname); details 1404 lib/pengine/unpack.c crm_info("Node %s is not ready to run resources", this_node->details->uname); details 1405 lib/pengine/unpack.c this_node->details->standby = TRUE; details 1406 lib/pengine/unpack.c this_node->details->pending = TRUE; details 1411 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), details 1412 lib/pengine/unpack.c crm_str(join), crm_str(exp_state), do_terminate, this_node->details->shutdown); details 1421 lib/pengine/unpack.c resource_t *rsc = this_node->details->remote_rsc; details 1430 lib/pengine/unpack.c this_node->details->online = FALSE; details 1443 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); details 1444 lib/pengine/unpack.c this_node->details->online = TRUE; details 1450 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); details 1451 lib/pengine/unpack.c this_node->details->shutdown = TRUE; details 1457 lib/pengine/unpack.c this_node->details->id); details 1458 lib/pengine/unpack.c this_node->details->online = FALSE; details 1459 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; details 1463 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); details 1464 lib/pengine/unpack.c this_node->details->online = FALSE; details 1470 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); details 1471 lib/pengine/unpack.c this_node->details->online = FALSE; details 1472 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; details 1474 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) details 1475 lib/pengine/unpack.c && host->details->unclean) { details 1477 lib/pengine/unpack.c this_node->details->id); details 1478 lib/pengine/unpack.c this_node->details->online = FALSE; details 1479 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; details 1484 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); details 1485 lib/pengine/unpack.c return this_node->details->online; details 1500 lib/pengine/unpack.c this_node->details->shutdown = FALSE; details 1501 lib/pengine/unpack.c this_node->details->expected_up = FALSE; details 1505 lib/pengine/unpack.c this_node->details->shutdown = TRUE; details 1508 lib/pengine/unpack.c this_node->details->expected_up = TRUE; details 1511 lib/pengine/unpack.c if (this_node->details->type == node_ping) { details 1512 lib/pengine/unpack.c this_node->details->unclean = FALSE; details 1526 lib/pengine/unpack.c this_node->details->online = TRUE; details 1534 lib/pengine/unpack.c if (online && this_node->details->shutdown) { details 1540 lib/pengine/unpack.c if (this_node->details->type == node_ping) { details 1541 lib/pengine/unpack.c crm_info("Node %s is not a pacemaker node", this_node->details->uname); details 1543 lib/pengine/unpack.c } else if (this_node->details->unclean) { details 1544 lib/pengine/unpack.c pe_proc_warn("Node %s is unclean", this_node->details->uname); details 1546 lib/pengine/unpack.c } else if (this_node->details->online) { details 1547 lib/pengine/unpack.c crm_info("Node %s is %s", this_node->details->uname, details 1548 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : details 1549 lib/pengine/unpack.c this_node->details->pending ? "pending" : details 1550 lib/pengine/unpack.c this_node->details->standby ? "standby" : details 1551 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); details 1554 lib/pengine/unpack.c crm_trace("Node %s is offline", this_node->details->uname); details 1672 lib/pengine/unpack.c node->details->shutdown = TRUE; details 1701 lib/pengine/unpack.c pe_rsc_trace(parent, "Looking for %s on %s in %s", rsc_id, node->details->uname, parent->id); details 1716 lib/pengine/unpack.c if (childnode->details == node->details) { details 1729 lib/pengine/unpack.c parent->id, node->details->uname); details 1769 lib/pengine/unpack.c node->details->uname); details 1774 lib/pengine/unpack.c rsc_id, node->details->uname, rsc->id, details 1844 lib/pengine/unpack.c crm_debug("Detected orphan resource %s on %s", rsc_id, node->details->uname); details 1869 lib/pengine/unpack.c rsc->id, role2text(rsc->role), node->details->uname, fail2text(on_fail)); details 1876 lib/pengine/unpack.c if (g_hash_table_lookup(iter->known_on, node->details->id) == NULL) { details 1880 lib/pengine/unpack.c n->details->uname); details 1881 lib/pengine/unpack.c g_hash_table_insert(iter->known_on, (gpointer) n->details->id, n); details 1892 lib/pengine/unpack.c && node->details->online == FALSE details 1893 lib/pengine/unpack.c && node->details->maintenance == FALSE details 1910 lib/pengine/unpack.c if (is_baremetal_remote_node(node) && node->details->remote_rsc details 1911 lib/pengine/unpack.c && is_not_set(node->details->remote_rsc->flags, pe_rsc_failed)) { details 1918 lib/pengine/unpack.c node->details->unseen = TRUE; details 1936 lib/pengine/unpack.c if (node->details->unclean) { details 1958 lib/pengine/unpack.c node->details->standby = TRUE; details 1959 lib/pengine/unpack.c node->details->standby_onfail = TRUE; details 2007 lib/pengine/unpack.c tmpnode->details->remote_was_fenced == 0) { details 2035 lib/pengine/unpack.c if (tmpnode && tmpnode->details->unclean) { details 2036 lib/pengine/unpack.c tmpnode->details->unseen = FALSE; details 2044 lib/pengine/unpack.c rsc->id, node->details->uname); details 2048 lib/pengine/unpack.c rsc->id, node->details->uname); details 2105 lib/pengine/unpack.c if (node->details->online == FALSE) { details 2106 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: node is offline", rsc->id, node->details->uname); details 2111 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: resource is not active", id, node->details->uname); details 2115 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: old %d", id, node->details->uname, counter); details 2122 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: non-recurring", id, node->details->uname); details 2128 lib/pengine/unpack.c pe_rsc_trace(rsc, "Skipping %s/%s: status", id, node->details->uname); details 2134 lib/pengine/unpack.c pe_rsc_trace(rsc, "Creating %s/%s", key, node->details->uname); details 2210 lib/pengine/unpack.c crm_element_name(rsc_entry), rsc_id, node->details->uname); details 2329 lib/pengine/unpack.c crm_trace("Unpacking resources on %s", node->details->uname); details 2429 lib/pengine/unpack.c find_lrm_op(rsc->id, CRMD_ACTION_STOP, node->details->id, NULL, data_set); details 2471 lib/pengine/unpack.c if (target && target->details->online) { details 2473 lib/pengine/unpack.c target->details->online); details 2478 lib/pengine/unpack.c if (target && target->details->online) { details 2480 lib/pengine/unpack.c target->details->online); details 2483 lib/pengine/unpack.c if (source && source->details->online) { details 2532 lib/pengine/unpack.c if (source && source->details->online) { details 2564 lib/pengine/unpack.c if (target && target->details->online) { details 2581 lib/pengine/unpack.c if (node->details->online == FALSE) { details 2589 lib/pengine/unpack.c if(safe_str_eq(op_key, key) && safe_str_eq(uname, node->details->uname)) { details 2590 lib/pengine/unpack.c crm_trace("Skipping duplicate entry %s on %s", op_key, node->details->uname); details 2595 lib/pengine/unpack.c crm_trace("Adding entry %s on %s", op_key, node->details->uname); details 2596 lib/pengine/unpack.c crm_xml_add(op, XML_ATTR_UNAME, node->details->uname); details 2634 lib/pengine/unpack.c task, rsc->id, node->details->uname, services_ocf_exitcode_str(rc), details 2641 lib/pengine/unpack.c task, rsc->id, node->details->uname, services_ocf_exitcode_str(rc), details 2684 lib/pengine/unpack.c crm_warn("Compatibility handling for failed op %s on %s", key, node->details->uname); details 2700 lib/pengine/unpack.c node->details->unclean ? "true" : "false", details 2754 lib/pengine/unpack.c key, node->details->uname, details 2767 lib/pengine/unpack.c task, rsc->id, node->details->uname); details 2796 lib/pengine/unpack.c task, rsc->id, node->details->uname); details 2810 lib/pengine/unpack.c key, rsc->id, node->details->uname); details 2848 lib/pengine/unpack.c key, rc, node->details->uname); details 2884 lib/pengine/unpack.c if (remote_node && remote_node->details->remote_was_fenced == 0) { details 2934 lib/pengine/unpack.c key, node->details->id); details 2937 lib/pengine/unpack.c crm_trace("Ignoring rsc op %s/%s on node %s", rsc->id, key, node->details->id); details 2952 lib/pengine/unpack.c rsc->id, node->details->uname, clear_reason, clear_op->uuid); details 3053 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s active on %s", rsc->id, node->details->uname); details 3138 lib/pengine/unpack.c task_key, task, task_id, status, rc, node->details->uname, role2text(rsc->role)); details 3140 lib/pengine/unpack.c if (node->details->unclean) { details 3143 lib/pengine/unpack.c node->details->uname, rsc->id); details 3160 lib/pengine/unpack.c if ((node->details->shutdown == FALSE) || (node->details->online == TRUE)) { details 3169 lib/pengine/unpack.c if ((node->details->shutdown == FALSE) || (node->details->online == TRUE)) { details 3179 lib/pengine/unpack.c key, node->details->uname, details 3185 lib/pengine/unpack.c task_key, rc, magic, node->details->uname); details 3188 lib/pengine/unpack.c } else if(node->details->online && node->details->unclean == FALSE) { details 3190 lib/pengine/unpack.c task_key, rc, magic, node->details->uname); details 3216 lib/pengine/unpack.c } else if (safe_str_eq(task, CRMD_ACTION_MIGRATE) && node->details->unclean) { details 3242 lib/pengine/unpack.c pe_rsc_trace(rsc, "%s/%s completed on %s", rsc->id, task, node->details->uname); details 3251 lib/pengine/unpack.c task_key, status, rc, node->details->uname); details 3271 lib/pengine/unpack.c task_key, rc, node->details->uname); details 3274 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); details 3289 lib/pengine/unpack.c parent->id, node->details->uname, details 3314 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, details 3315 lib/pengine/unpack.c strdup(CRM_ATTR_UNAME), strdup(node->details->uname)); details 3317 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_ID), details 3318 lib/pengine/unpack.c strdup(node->details->id)); details 3319 lib/pengine/unpack.c if (safe_str_eq(node->details->id, data_set->dc_uuid)) { details 3321 lib/pengine/unpack.c node->details->is_dc = TRUE; details 3322 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, details 3325 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, details 3331 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_CLUSTER_NAME), details 3336 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, data_set->now); details 3342 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, details 3348 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, details 3453 lib/pengine/unpack.c if (this_node->details->online || is_set(data_set->flags, pe_flag_stonith_enabled)) { details 45 lib/pengine/utils.c pe_rsc_action_details_t *details; details 54 lib/pengine/utils.c details = (pe_rsc_action_details_t *) action->action_details; details 55 lib/pengine/utils.c if (details->versioned_parameters == NULL) { details 56 lib/pengine/utils.c details->versioned_parameters = create_xml_node(NULL, details 59 lib/pengine/utils.c if (details->versioned_meta == NULL) { details 60 lib/pengine/utils.c details->versioned_meta = create_xml_node(NULL, XML_TAG_OP_VER_META); details 62 lib/pengine/utils.c return details; details 68 lib/pengine/utils.c pe_rsc_action_details_t *details; details 74 lib/pengine/utils.c details = (pe_rsc_action_details_t *) action->action_details; details 76 lib/pengine/utils.c if (details->versioned_parameters) { details 77 lib/pengine/utils.c free_xml(details->versioned_parameters); details 79 lib/pengine/utils.c if (details->versioned_meta) { details 80 lib/pengine/utils.c free_xml(details->versioned_meta); details 117 lib/pengine/utils.c } else if(node->details->online) { details 118 lib/pengine/utils.c crm_notice("We can fence %s without quorum because they're in our membership", node->details->uname); details 122 lib/pengine/utils.c crm_trace("Cannot fence %s", node->details->uname); details 136 lib/pengine/utils.c crm_trace("Copying %p (%s) to %p", this_node, this_node->details->uname, new_node); details 141 lib/pengine/utils.c new_node->details = this_node->details; details 160 lib/pengine/utils.c other_node = pe_find_node_id(list, node->details->id); details 171 lib/pengine/utils.c other_node = pe_hash_table_lookup(result, node->details->id); details 177 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); details 192 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) n->details->id, n); details 230 lib/pengine/utils.c return strcmp(node_a->details->uname, node_b->details->uname); details 267 lib/pengine/utils.c comment, rsc->id, node->details->uname, score); details 269 lib/pengine/utils.c printf("%s: %s = %s\n", comment, node->details->uname, score); details 286 lib/pengine/utils.c node->details->uname, score); details 289 lib/pengine/utils.c node->details->uname, score); details 327 lib/pengine/utils.c len = strlen(comment) + strlen(": ") + strlen(node->details->uname) + strlen(" capacity:") + 1; details 329 lib/pengine/utils.c sprintf(dump_text, "%s: %s capacity:", comment, node->details->uname); details 331 lib/pengine/utils.c g_hash_table_foreach(node->details->utilization, append_dump_text, &dump_text); details 349 lib/pengine/utils.c + strlen(node->details->uname) + strlen(":") + 1; details 351 lib/pengine/utils.c sprintf(dump_text, "%s: %s utilization on %s:", comment, rsc->id, node->details->uname); details 448 lib/pengine/utils.c on_node ? on_node->details->uname : "<NULL>", g_list_length(possible_matches)); details 454 lib/pengine/utils.c on_node ? on_node->details->uname : "<NULL>"); details 462 lib/pengine/utils.c rsc ? rsc->id : "<NULL>", on_node ? on_node->details->uname : "<NULL>", optional); details 541 lib/pengine/utils.c action->node->details->attrs, details 559 lib/pengine/utils.c } else if (action->node->details->online == FALSE details 560 lib/pengine/utils.c && (!is_container_remote_node(action->node) || action->node->details->remote_requires_reset)) { details 563 lib/pengine/utils.c action->uuid, action->node->details->uname); details 566 lib/pengine/utils.c && action->node->details->unclean == FALSE) { details 570 lib/pengine/utils.c } else if (action->node->details->pending) { details 573 lib/pengine/utils.c action->uuid, action->node->details->uname); details 591 lib/pengine/utils.c crm_debug("%s\t%s (cancelled : quorum)", action->node->details->uname, action->uuid); details 599 lib/pengine/utils.c action->node->details->uname, action->uuid); details 1240 lib/pengine/utils.c print_node(const char *pre_text, node_t * node, gboolean details) details 1247 lib/pengine/utils.c CRM_ASSERT(node->details); details 1251 lib/pengine/utils.c node->details->online ? "" : "Unavailable/Unclean ", details 1252 lib/pengine/utils.c node->details->uname, node->weight, node->fixed ? "True" : "False"); details 1254 lib/pengine/utils.c if (details) { details 1256 lib/pengine/utils.c GListPtr gIter = node->details->running_rsc; details 1259 lib/pengine/utils.c g_hash_table_foreach(node->details->attrs, print_str_str, pe_mutable); details 1284 lib/pengine/utils.c print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details) details 1293 lib/pengine/utils.c if (details) { details 1351 lib/pengine/utils.c } else if (action->node->details != not_on_node->details) { details 1406 lib/pengine/utils.c } else if (on_node->details == action->node->details) { details 1435 lib/pengine/utils.c key, on_node->details->uname); details 1440 lib/pengine/utils.c } else if (on_node->details == action->node->details) { details 1441 lib/pengine/utils.c crm_trace("Action %s on %s matches", key, on_node->details->uname); details 1446 lib/pengine/utils.c key, action->node->details->uname, details 1447 lib/pengine/utils.c on_node->details->uname); details 1474 lib/pengine/utils.c } else if (safe_str_eq(on_node->details->id, action->node->details->id)) { details 1477 lib/pengine/utils.c crm_trace("Node mismatch: %s vs. %s", on_node->details->id, action->node->details->id); details 1506 lib/pengine/utils.c pe_rsc_trace(rsc, "Setting %s for %s on %s: %d", tag, rsc->id, node->details->uname, score); details 1507 lib/pengine/utils.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 1510 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); details 1543 lib/pengine/utils.c crm_info("Deallocating %s from %s", rsc->id, rsc->allocated_to->details->uname); details 1894 lib/pengine/utils.c data = g_hash_table_lookup(node->details->digest_cache, key); details 1919 lib/pengine/utils.c crm_trace("Fixed addr for %s on %s", rsc->id, node->details->uname); details 1945 lib/pengine/utils.c pe_rsc_action_details_t *details = pe_rsc_action_details(action); details 1946 lib/pengine/utils.c append_versioned_params(details->versioned_parameters, ra_version, data->params_all); details 1973 lib/pengine/utils.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); details 2008 lib/pengine/utils.c key, node->details->uname, details 2019 lib/pengine/utils.c key, node->details->uname, details 2061 lib/pengine/utils.c rsc->id, node->details->uname); details 2070 lib/pengine/utils.c rsc->id, node->details->uname, rsc->id, details 2148 lib/pengine/utils.c op_key = crm_strdup_printf("%s-%s-%s", CRM_OP_FENCE, node->details->uname, op); details 2157 lib/pengine/utils.c add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET, node->details->uname); details 2158 lib/pengine/utils.c add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET_UUID, node->details->id); details 2184 lib/pengine/utils.c crm_notice("Unfencing %s (remote): because the definition of %s changed", node->details->uname, match->id); details 2187 lib/pengine/utils.c fprintf(stdout, " notice: Unfencing %s (remote): because the definition of %s changed\n", node->details->uname, match->id); details 2233 lib/pengine/utils.c && node->details->online details 2234 lib/pengine/utils.c && node->details->unclean == FALSE details 2235 lib/pengine/utils.c && node->details->shutdown == FALSE) { details 2247 lib/pengine/utils.c if(node->details->online && node->details->unclean == FALSE && node->details->shutdown == FALSE) { details 145 pengine/allocate.c action->uuid, action->node ? action->node->details->uname : "[none]", details 183 pengine/allocate.c rsc->id, node->details->uname, attr_list[attr_lpc], details 224 pengine/allocate.c key, active_node->details->uname, reason ? reason : "unknown"); details 279 pengine/allocate.c pe_rsc_debug(rsc, "Orphan action detected: %s on %s", key, active_node->details->uname); details 288 pengine/allocate.c rsc->id, task, interval, active_node->details->uname); details 313 pengine/allocate.c rsc->id, task, interval, active_node->details->uname, details 407 pengine/allocate.c } else if (pe_find_node_id(rsc->running_on, node->details->id) == NULL) { details 412 pengine/allocate.c rsc->id, node->details->uname); details 416 pengine/allocate.c pe_rsc_trace(rsc, "Processing %s on %s", rsc->id, node->details->uname); details 456 pengine/allocate.c (is_set(rsc->flags, pe_rsc_maintenance) || node->details->maintenance)) { details 477 pengine/allocate.c rsc->id, node->details->uname, action_clear->uuid); details 565 pengine/allocate.c } else if (can_run_resources(node) == FALSE && node->details->maintenance == FALSE) { details 567 pengine/allocate.c node->details->uname); details 571 pengine/allocate.c crm_trace("Processing node %s", node->details->uname); details 572 pengine/allocate.c if (node->details->online || is_set(data_set->flags, pe_flag_stonith_enabled)) { details 682 pengine/allocate.c failed->id, node->details->uname, fail_count, details 686 pengine/allocate.c failed->id, countdown, node->details->uname); details 706 pengine/allocate.c node_t *current = pe_find_node_id(rsc->running_on, node->details->id); details 707 pengine/allocate.c node_t *match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 717 pengine/allocate.c node->details->uname, rsc->stickiness); details 723 pengine/allocate.c " and node %s is not explicitly allowed", rsc->id, node->details->uname); details 726 pengine/allocate.c crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight); details 848 pengine/allocate.c g_hash_table_foreach(node->details->attrs, calculate_system_health, &system_health); details 851 pengine/allocate.c node->details->uname, system_health); details 904 pengine/allocate.c if (node->details->online == FALSE) { details 906 pengine/allocate.c if (is_baremetal_remote_node(node) && node->details->remote_rsc details 913 pengine/allocate.c } else if (node->details->unclean) { details 916 pengine/allocate.c } else if (node->details->rsc_discovery_enabled == FALSE) { details 922 pengine/allocate.c action_t *probe_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_REPROBE, node->details->uname), details 954 pengine/allocate.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 981 pengine/allocate.c && node->details->online && node->details->type != node_ping) { details 1097 pengine/allocate.c r1_node = g_hash_table_lookup(r1_nodes, r1_node->details->id); details 1104 pengine/allocate.c r2_node = g_hash_table_lookup(r2_nodes, r2_node->details->id); details 1129 pengine/allocate.c r1_node = g_hash_table_lookup(r1_nodes, node->details->id); details 1137 pengine/allocate.c r2_node = g_hash_table_lookup(r2_nodes, node->details->id); details 1156 pengine/allocate.c resource1->id, r1_weight, r1_node ? r1_node->details->id : "n/a", details 1158 pengine/allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); details 1251 pengine/allocate.c if (node->details->online details 1264 pengine/allocate.c rsc->id, node->details->uname, clear_op->uuid); details 1416 pengine/allocate.c resource_t *container = node->details->remote_rsc->container; details 1453 pengine/allocate.c node->details->uname, stonith_op->id, stop->node->details->uname); details 1462 pengine/allocate.c node->details->uname, stonith_op->id, details 1466 pengine/allocate.c node->details->uname, stonith_op->id); details 1518 pengine/allocate.c if (node->details->remote_requires_reset && need_stonith) { details 1526 pengine/allocate.c if (node->details->unclean details 1530 pengine/allocate.c pe_warn("Scheduling Node %s for STONITH", node->details->uname); details 1534 pengine/allocate.c if (node->details->is_dc) { details 1549 pengine/allocate.c } else if (node->details->online && node->details->shutdown && details 1557 pengine/allocate.c crm_notice("Scheduling Node %s for shutdown", node->details->uname); details 1559 pengine/allocate.c down_op = custom_action(NULL, crm_strdup_printf("%s-%s", CRM_OP_SHUTDOWN, node->details->uname), details 1565 pengine/allocate.c if (node->details->is_dc) { details 1570 pengine/allocate.c if (node->details->unclean && stonith_op == NULL) { details 1572 pengine/allocate.c pe_warn("Node %s is unclean!", node->details->uname); details 1591 pengine/allocate.c dc_down->task, dc_down->node->details->uname); details 1600 pengine/allocate.c } else if (node_stop->node->details->is_dc) { details 1605 pengine/allocate.c node_stop->node->details->uname, details 1606 pengine/allocate.c dc_down->task, dc_down->node->details->uname); details 1834 pengine/allocate.c remote_rsc = action->node->details->remote_rsc; details 1921 pengine/allocate.c remote_rsc = node->details->remote_rsc; details 1936 pengine/allocate.c if (cluster_node && cluster_node->details->unclean) { details 1952 pengine/allocate.c && node->details->remote_was_fenced) { details 1970 pengine/allocate.c } else if(cluster_node->details->unclean == TRUE details 1971 pengine/allocate.c || cluster_node->details->online == FALSE) { details 2005 pengine/allocate.c remote_rsc = action->node->details->remote_rsc; details 2168 pengine/allocate.c remote = action->node->details->remote_rsc; details 2449 pengine/allocate.c && action->node->details->shutdown details 2462 pengine/allocate.c action->node->details->unclean ? "fence" : "shut down", details 2463 pengine/allocate.c action->node->details->uname, action->rsc->id, details 2496 pengine/allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); details 2498 pengine/allocate.c node_name = crm_strdup_printf("%s", action->node->details->uname); details 80 pengine/allocate.h extern void native_dump(resource_t * rsc, const char *pre_text, gboolean details); details 51 pengine/clone.c ret = pe_hash_table_lookup(rsc->parent->allowed_nodes, node->details->id); details 53 pengine/clone.c ret = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 120 pengine/clone.c node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); details 130 pengine/clone.c node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); details 231 pengine/clone.c g_hash_table_insert(hash1, (gpointer) n->details->id, n); details 234 pengine/clone.c g_hash_table_insert(hash2, (gpointer) n->details->id, n); details 282 pengine/clone.c node1 = g_hash_table_lookup(hash1, node1->details->id); details 285 pengine/clone.c node2 = g_hash_table_lookup(hash2, node2->details->id); details 387 pengine/clone.c crm_warn("%s cannot run on %s: node not allowed", rsc->id, node->details->uname); details 391 pengine/clone.c common_update_score(rsc, node->details->id, local_node->weight); details 393 pengine/clone.c rsc->id, node->details->uname); details 397 pengine/clone.c rsc->id, node->details->uname, local_node->count); details 402 pengine/clone.c rsc->id, node->details->uname, local_node->count, limit); details 407 pengine/clone.c common_update_score(rsc, node->details->id, -INFINITY); details 420 pengine/clone.c rsc->id, (prefer? prefer->details->uname: "none"), details 437 pengine/clone.c node_t *local_prefer = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); details 441 pengine/clone.c prefer->details->uname); details 452 pengine/clone.c if (prefer && chosen && chosen->details != prefer->details) { details 454 pengine/clone.c chosen->details->uname, prefer->details->uname); details 467 pengine/clone.c chosen->details->id, rsc->parent->id, details 546 pengine/clone.c child->id, child_node->details->uname, max - allocated, max); details 550 pengine/clone.c child_node->details->uname, child->id); details 555 pengine/clone.c child_node->details->uname); details 559 pengine/clone.c child_node->details->uname); details 576 pengine/clone.c child->id, child_node->details->uname); details 968 pengine/clone.c if (node && local_node && node->details == local_node->details) { details 972 pengine/clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, details 973 pengine/clone.c local_node->details->uname); details 1084 pengine/clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); details 1157 pengine/clone.c node ? node->details->uname : "none", child_action?child_action->uuid:"NA"); details 1299 pengine/clone.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { details 1326 pengine/clone.c if (node->details == known->details) { details 1355 pengine/clone.c node_t *allowed = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 1364 pengine/clone.c g_hash_table_remove(rsc->allowed_nodes, node->details->id); details 1394 pengine/clone.c if (local_node->details == node->details) { details 974 pengine/constraints.c rule, node->details->uname, score); details 979 pengine/constraints.c rule, node->details->uname, attr_score, score); details 1070 pengine/constraints.c accept = pe_test_rule_full(rule_xml, node->details->attrs, RSC_ROLE_UNKNOWN, data_set->now, match_data); details 1073 pengine/constraints.c node->details->uname); details 1081 pengine/constraints.c node_t *local = pe_find_node_id(match_L, node->details->id); details 1094 pengine/constraints.c crm_trace("node %s now has weight %d", node->details->uname, local->weight); details 1098 pengine/constraints.c node_t *delete = pe_find_node_id(match_L, node->details->id); details 1102 pengine/constraints.c crm_trace("node %s did not match", node->details->uname); details 34 pengine/container.c if(node->details == tuple->node->details) { details 106 pengine/container.c rsc->id, node->details->uname, fail_count, details 112 pengine/container.c rsc->id, countdown, node->details->uname); details 155 pengine/container.c INFINITY, tuple->remote, docker_host->details->remote_rsc, NULL, NULL, data_set); details 168 pengine/container.c if(node->details != tuple->node->details) { details 353 pengine/container.c rsc_lh->id, rsc->id, candidate->details->uname); details 360 pengine/container.c rsc_lh->id, tuple->docker->id, candidate->details->uname); details 490 pengine/container.c pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); details 545 pengine/container.c local_child->id, rsc->id, local_node->details->uname); details 553 pengine/container.c local_child->id, child_rsc->id, local_node->details->uname); details 575 pengine/container.c && node->details == tuple->node->details) { details 875 pengine/container.c if(tuple->child && node->details == tuple->node->details) { details 923 pengine/container.c tuple->remote->id, node->details->uname); details 531 pengine/graph.c pe_action_pseudo) ? "pseudo" : then->node ? then->node->details->uname : ""); details 569 pengine/graph.c crm_trace("First: Found node %s for %s", first_node->details->uname, first->uuid); details 576 pengine/graph.c crm_trace("Then: Found node %s for %s", then_node->details->uname, then->uuid); details 581 pengine/graph.c && (first_node->details != then_node->details)) { details 584 pengine/graph.c other->action->uuid, first_node->details->uname, details 585 pengine/graph.c then->uuid, then_node->details->uname); details 620 pengine/graph.c pe_action_pseudo) ? "pseudo" : then->node ? then->node->details-> details 625 pengine/graph.c pe_action_pseudo) ? "pseudo" : first->node ? first->node->details-> details 670 pengine/graph.c pe_action_pseudo) ? "pseudo" : first->node ? first->node->details-> details 695 pengine/graph.c pe_action_pseudo) ? "pseudo" : then->node ? then->node->details-> details 725 pengine/graph.c } else if (action->node->details != node->details) { details 730 pengine/graph.c } else if (node->details->maintenance) { details 732 pengine/graph.c action->uuid, node->details->uname); details 746 pengine/graph.c node->details->uname); details 791 pengine/graph.c CRM_ASSERT(action->node->details->remote_rsc != NULL); details 793 pengine/graph.c if (action->node->details->remote_rsc->running_on) { details 794 pengine/graph.c began_on = action->node->details->remote_rsc->running_on->data; details 796 pengine/graph.c ended_on = action->node->details->remote_rsc->allocated_to; details 803 pengine/graph.c } else if (began_on->details == ended_on->details) { details 869 pengine/graph.c add_node_to_xml_by_id(node->details->id, (xmlNode *) xml); details 890 pengine/graph.c struct node_shared_s *details = node->details; details 896 pengine/graph.c if (details->maintenance != details->remote_maintenance) { details 899 pengine/graph.c add_node_to_xml_by_id(node->details->id, maintenance), details 900 pengine/graph.c XML_NODE_IS_MAINTENANCE, details->maintenance?"1":"0"); details 950 pengine/graph.c add_node_to_xml_by_id(action->node->details->id, downed); details 959 pengine/graph.c add_node_to_xml_by_id(action->node->details->id, downed); details 1070 pengine/graph.c crm_xml_add(action_xml, XML_LRM_ATTR_TARGET, action->node->details->uname); details 1071 pengine/graph.c crm_xml_add(action_xml, XML_LRM_ATTR_TARGET_UUID, action->node->details->id); details 1073 pengine/graph.c crm_xml_add(action_xml, XML_LRM_ATTR_ROUTER_NODE, router_node->details->uname); details 1076 pengine/graph.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET), strdup(action->node->details->uname)); details 1077 pengine/graph.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID), strdup(action->node->details->id)); details 1214 pengine/graph.c crm_xml_add(args_xml, nodeattr, action->node->details->uname); details 1237 pengine/graph.c if(action->node->details->remote_rsc->container->running_on) { details 1238 pengine/graph.c host = action->node->details->remote_rsc->container->running_on->data; details 1246 pengine/graph.c if(action->node->details->remote_rsc->container->allocated_to) { details 1247 pengine/graph.c host = action->node->details->remote_rsc->container->allocated_to; details 1257 pengine/graph.c hash2metafield((gpointer)PCMK_ENV_PHYSICAL_HOST, (gpointer)host->details->uname, (gpointer)args_xml); details 1268 pengine/graph.c g_hash_table_foreach(action->node->details->attrs, hash2metafield, args_xml); details 1368 pengine/graph.c } else if(is_container_remote_node(action->node) && action->node->details->remote_requires_reset == FALSE) { details 1369 pengine/graph.c crm_trace("Assuming action %s for %s will be runnable", action->uuid, action->node->details->uname); details 1371 pengine/graph.c } else if (action->node->details->online == FALSE) { details 1379 pengine/graph.c } else if (action->node->details->unclean == FALSE) { details 1431 pengine/graph.c && wrapper->action->node->details->remote_rsc details 1432 pengine/graph.c && (wrapper->action->node->details->remote_rsc->container == action->rsc)) { details 1489 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", action->uuid, details 1490 pengine/graph.c action->node ? action->node->details->uname : ""); details 1503 pengine/graph.c || wrapper->action->node->details != action->rsc->allocated_to->details) { details 1511 pengine/graph.c || wrapper->action->node->details != action->node->details) { details 1527 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", details 1529 pengine/graph.c action->node ? action->node->details->uname : ""); details 1532 pengine/graph.c && wrapper->action->node->details != action->node->details) { details 1597 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", details 1599 pengine/graph.c action->node ? action->node->details->uname : "", details 1618 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", details 1620 pengine/graph.c action->node ? action->node->details->uname : "", details 1626 pengine/graph.c action->node ? action->node->details->uname : "", details 1628 pengine/graph.c init_action->node ? init_action->node->details->uname : ""); details 1664 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", details 1666 pengine/graph.c action->node ? action->node->details->uname : ""); details 1676 pengine/graph.c wrapper->action->node ? wrapper->action->node->details->uname : "", details 1678 pengine/graph.c action->node ? action->node->details->uname : ""); details 149 pengine/master.c cons_node = pe_find_node_id(cons->node_list_rh, chosen->details->id); details 155 pengine/master.c child->id, cons_node->details->uname, child->priority, details 198 pengine/master.c rsc->id, node->details->uname); details 209 pengine/master.c crm_trace("Node can't run any resources: %s", node->details->uname); details 214 pengine/master.c local_node = pe_hash_table_lookup(parent->allowed_nodes, node->details->id); details 217 pengine/master.c crm_err("%s cannot run on %s: node not allowed", rsc->id, node->details->uname); details 225 pengine/master.c pe_rsc_trace(rsc, "%s cannot be master on %s: node full", rsc->id, node->details->uname); details 308 pengine/master.c node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, chosen->details->id); details 313 pengine/master.c node->details->uname, child->id); details 385 pengine/master.c node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, chosen->details->id); details 413 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s active on %s: done", active->id, key, node->details->uname); details 417 pengine/master.c pe_rsc_trace(rsc, "Found %s for %s on %s: not %s", active->id, key, node->details->uname, rsc->id); details 421 pengine/master.c pe_rsc_trace(rsc, "%s on %s: not active", key, node->details->uname); details 439 pengine/master.c pe_rsc_trace(rsc, "Checking %s for %s on %s", rsc->id, key, node->details->uname); details 440 pengine/master.c if (g_hash_table_lookup(rsc->known_on, node->details->id)) { details 491 pengine/master.c pe_rsc_trace(rsc, "Anonymous clone %s is allowed on %s", rsc->id, node->details->uname); details 500 pengine/master.c node_t *known = pe_hash_table_lookup(rsc->known_on, node->details->id); details 502 pengine/master.c match = pe_find_node_id(rsc->running_on, node->details->id); details 505 pengine/master.c rsc->id, rsc->clone_name, node->details->uname); details 510 pengine/master.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 516 pengine/master.c rsc->id, match->details->uname, match->weight); details 529 pengine/master.c name, node->details->uname, crm_str(attr_value)); details 540 pengine/master.c name, node->details->uname, crm_str(attr_value)); details 588 pengine/master.c child_rsc->id, node->details->uname, node->weight, new_score); details 772 pengine/master.c (chosen? chosen->details->uname : "none"), score); details 777 pengine/master.c child_rsc->id, chosen ? chosen->details->uname : "none", score); details 808 pengine/master.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); details 983 pengine/master.c crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight); details 1028 pengine/master.c role2text(next_role), chosen->details->uname, constraint->score); details 112 pengine/native.c chosen = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); details 116 pengine/native.c prefer->details->uname, rsc->id); details 126 pengine/native.c chosen->details->uname, rsc->id); details 131 pengine/native.c chosen->details->uname, rsc->id); details 137 pengine/native.c chosen->details->uname, rsc->id, length); details 148 pengine/native.c chosen ? chosen->details->uname : "<none>", rsc->id, length); details 165 pengine/native.c rsc->id, running->details->uname); details 174 pengine/native.c if (tmp->details == running->details) { details 191 pengine/native.c chosen->details->uname, rsc->id, multiple, score); details 223 pengine/native.c best_node = node->details->uname; details 274 pengine/native.c node->details->uname, node->weight, factor, score); details 278 pengine/native.c node->details->uname, node->weight, factor, score); details 283 pengine/native.c node->details->uname, node->weight, factor, score); details 287 pengine/native.c node->details->uname, node->weight, factor, score); details 290 pengine/native.c crm_trace("%s: %d + %f*%d", node->details->uname, node->weight, factor, score); details 535 pengine/native.c (assign_to? assign_to->details->uname : "no node"), reason); details 545 pengine/native.c rsc->allocated_to->details->uname); details 556 pengine/native.c rsc->allocated_to->details->uname); details 568 pengine/native.c remote_node->details->id); details 569 pengine/native.c remote_node->details->online = TRUE; details 572 pengine/native.c if (remote_node->details->unseen == TRUE) { details 573 pengine/native.c remote_node->details->unclean = FALSE; details 578 pengine/native.c remote_node->details->id, role2text(rsc->next_role), details 580 pengine/native.c remote_node->details->shutdown = TRUE; details 652 pengine/native.c node ? node->details->uname : "n/a"); details 655 pengine/native.c node_uname = node->details->uname; details 784 pengine/native.c } else if (node == NULL || node->details->online == FALSE || node->details->unclean) { details 827 pengine/native.c (node == NULL || node->details->maintenance == FALSE)) { details 869 pengine/native.c node_uname = node->details->uname; details 934 pengine/native.c const char *stop_node_uname = stop_node->details->uname; details 980 pengine/native.c crm_trace("%s then %s on %s", probe->uuid, stopped_mon->uuid, stop_node->details->uname); details 1031 pengine/native.c if (stop_node->details->online == FALSE || stop_node->details->unclean) { details 1051 pengine/native.c (node == NULL || node->details->maintenance == FALSE)) { details 1073 pengine/native.c rsc->id, current->details->id, chosen->details->id, partial ? "TRUE" : "FALSE"); details 1117 pengine/native.c add_hash_param(migrate_to->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); details 1118 pengine/native.c add_hash_param(migrate_to->meta, XML_LRM_ATTR_MIGRATE_TARGET, chosen->details->uname); details 1135 pengine/native.c add_hash_param(migrate_from->meta, XML_LRM_ATTR_MIGRATE_SOURCE, current->details->uname); details 1136 pengine/native.c add_hash_param(migrate_from->meta, XML_LRM_ATTR_MIGRATE_TARGET, chosen->details->uname); details 1176 pengine/native.c (n->details == rsc->partial_migration_source->details)) { details 1188 pengine/native.c pe_rsc_trace(rsc, "Forcing a cleanup of %s on %s", rsc->id, current->details->uname); details 1201 pengine/native.c && (current->details == rsc->partial_migration_source->details) details 1202 pengine/native.c && (chosen->details == rsc->partial_migration_target->details)) { details 1208 pengine/native.c rsc->partial_migration_target->details->id, details 1209 pengine/native.c rsc->partial_migration_source->details->id); details 1216 pengine/native.c rsc->partial_migration_target->details->uname, details 1217 pengine/native.c rsc->partial_migration_source->details->uname); details 1243 pengine/native.c if (current && chosen && current->details != chosen->details) { details 1297 pengine/native.c pe_rsc_trace(rsc, "Role: Executing: %s->%s = (%s on %s)", role2text(role), role2text(next_role), rsc->id, chosen?chosen->details->uname:"NA"); details 1320 pengine/native.c if (rsc->partial_migration_target && (chosen == NULL || rsc->partial_migration_target->details != chosen->details)) { details 1328 pengine/native.c (current->details->unclean == TRUE) || details 1346 pengine/native.c if (node->details->remote_rsc) { details 1439 pengine/native.c char *load_stopped_task = crm_concat(LOAD_STOPPED, current->details->uname, '_'); details 1453 pengine/native.c char *load_stopped_task = crm_concat(LOAD_STOPPED, next->details->uname, '_'); details 1497 pengine/native.c if (node->details->remote_rsc != remote_rsc) { details 1594 pengine/native.c details_rh = rsc_rh->allocated_to ? rsc_rh->allocated_to->details : NULL; details 1595 pengine/native.c details_lh = rsc_lh->allocated_to ? rsc_lh->allocated_to->details : NULL; details 1715 pengine/native.c node->details->uname, constraint->score); details 1721 pengine/native.c node->details->uname, constraint->score, details 1891 pengine/native.c first->uuid, first->node ? first->node->details->uname : "[none]", details 1908 pengine/native.c && then->node->details == ((node_t *) then_rsc->running_on->data)->details) { details 2048 pengine/native.c then->uuid, then->node ? then->node->details->uname : "[none]", then->flags, details 2061 pengine/native.c first->uuid, first->node ? first->node->details->uname : "[none]", details 2107 pengine/native.c other_node = (node_t *) pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 2111 pengine/native.c node->details->uname, details 2112 pengine/native.c other_node->details->uname, node->weight, other_node->weight); details 2118 pengine/native.c pe_rsc_trace(rsc, "%s: %d (insert %d)", other_node->details->uname, other_node->weight, constraint->discover_mode); details 2119 pengine/native.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) other_node->details->id, other_node); details 2133 pengine/native.c pe_rsc_trace(rsc, "%s + %s : %d", rsc->id, node->details->uname, node->weight); details 2172 pengine/native.c if(current && current->details->unclean) { \ details 2190 pengine/native.c char *details = NULL; details 2211 pengine/native.c if(origin != NULL && destination != NULL && origin->details == destination->details) { details 2221 pengine/native.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), destination->details->uname); details 2225 pengine/native.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); details 2229 pengine/native.c details = crm_strdup_printf("%s", origin?origin->details->uname:destination->details->uname); details 2233 pengine/native.c details = crm_strdup_printf("%s %s", role2text(rsc->role), origin->details->uname); details 2237 pengine/native.c details = crm_strdup_printf("%s", origin->details->uname); details 2241 pengine/native.c details = crm_strdup_printf("%s -> %s %s", origin->details->uname, destination->details->uname, role2text(rsc->role)); details 2245 pengine/native.c details = crm_strdup_printf("%s -> %s", origin->details->uname, destination->details->uname); details 2249 pengine/native.c details = crm_strdup_printf("%s -> %s %s", role2text(rsc->role), role2text(rsc->next_role), origin->details->uname); details 2253 pengine/native.c details = crm_strdup_printf("%s %s -> %s %s", role2text(rsc->role), origin->details->uname, role2text(rsc->next_role), destination->details->uname); details 2256 pengine/native.c len = strlen(details); details 2275 pengine/native.c printf(" * %-8s %-*s ( %*s ) %s\n", change, rsc_width, rsc->id, detail_width, details, reason); details 2277 pengine/native.c crm_notice(" * %-8s %-*s ( %*s ) %s", change, rsc_width, rsc->id, detail_width, details, reason); details 2280 pengine/native.c free(details); details 2346 pengine/native.c if (current != NULL && next != NULL && safe_str_neq(current->details->id, next->details->id)) { details 2407 pengine/native.c next->details->uname); details 2500 pengine/native.c if (rsc->partial_migration_target->details == current->details) { details 2501 pengine/native.c pe_rsc_trace(rsc, "Filtered %s -> %s %s", current->details->uname, details 2502 pengine/native.c next->details->uname, rsc->id); details 2505 pengine/native.c pe_rsc_trace(rsc, "Forced on %s %s", current->details->uname, rsc->id); details 2510 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, current->details->uname); details 2531 pengine/native.c pe_proc_err("Stopping %s until %s can be unfenced", rsc->id, current->details->uname); details 2545 pengine/native.c pe_rsc_trace(rsc, "%s on %s %d %d", rsc->id, next ? next->details->uname : "N/A", optional, next ? next->weight : 0); details 2579 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, next->details->uname); details 2599 pengine/native.c pe_rsc_debug(rsc, "%s\tPromote %s (canceled)", next->details->uname, rsc->id); details 2627 pengine/native.c pe_rsc_trace(rsc, "%s on %s", rsc->id, next ? next->details->uname : "N/A"); details 2637 pengine/native.c crm_err("%s on %s", rsc->id, next ? next->details->uname : "N/A"); details 2654 pengine/native.c pe_rsc_trace(rsc, "Resource %s not deleted from %s: failed", rsc->id, node->details->uname); details 2661 pengine/native.c } else if (node->details->unclean || node->details->online == FALSE) { details 2663 pengine/native.c node->details->uname); details 2667 pengine/native.c crm_notice("Removing %s from %s", rsc->id, node->details->uname); details 2781 pengine/native.c running = pe_hash_table_lookup(peer->known_on, node->details->id); details 2828 pengine/native.c rsc->id, node->details->id); details 2833 pengine/native.c rsc->id, node->details->id); details 2838 pengine/native.c rsc->id, node->details->id); details 2866 pengine/native.c running = g_hash_table_lookup(rsc->known_on, node->details->id); details 2870 pengine/native.c running = g_hash_table_lookup(rsc->parent->known_on, node->details->id); details 2880 pengine/native.c pe_rsc_trace(rsc, "Skipping known: %s on %s", rsc->id, node->details->uname); details 2884 pengine/native.c allowed = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); details 2889 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, A", rsc->id, node->details->id); details 2894 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, B", rsc->id, node->details->id); details 2905 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, C", rsc->id, node->details->id); details 2911 pengine/native.c pe_rsc_trace(rsc, "Skipping probe for %s on node %s, discovery mode", rsc->id, node->details->id); details 2916 pengine/native.c resource_t *remote = node->details->remote_rsc->container; details 2935 pengine/native.c && g_hash_table_lookup(remote->known_on, remote->allocated_to->details->id) == NULL) { details 2947 pengine/native.c rsc->id, node->details->id, remote->id); details 2953 pengine/native.c } else if(node->details->remote_requires_reset details 2954 pengine/native.c || node->details->unclean details 2958 pengine/native.c && pe_find_node(remote->running_on, remote->allocated_to->details->uname) == NULL) details 2968 pengine/native.c rsc->id, node->details->id, remote->id); details 3002 pengine/native.c running = pe_find_node_id(rsc->running_on, node->details->id); details 3010 pengine/native.c crm_debug("Probing %s on %s (%s) %d %p", rsc->id, node->details->uname, role2text(rsc->role), details 3020 pengine/native.c crm_trace("Probing %s on %s (%s) as %s", rsc->id, node->details->uname, role2text(rsc->role), top->id); details 3074 pengine/native.c && NULL == pe_hash_table_lookup(rsc->known_on, target->details->id)) { details 3092 pengine/native.c target->details->uname); details 3125 pengine/native.c rsc->id, target->details->uname); details 3128 pengine/native.c action->uuid, target->details->uname); details 3142 pengine/native.c if (target->details->remote_rsc) { details 3220 pengine/native.c if (action->node->details->online == FALSE || action->node->details->unclean == TRUE details 3226 pengine/native.c rsc->id, target->details->uname); details 3229 pengine/native.c action->uuid, target->details->uname); details 72 pengine/notif.c return strcmp(entry_a->node->details->id, entry_b->node->details->id); details 106 pengine/notif.c if (node->details->uname == NULL) { details 109 pengine/notif.c len = 2 + strlen(node->details->uname); details 116 pengine/notif.c sprintf(node_list + existing_len, "%s%s", existing_len == 0 ? "":" ", node->details->uname); details 124 pengine/notif.c if(node->details->remote_rsc details 125 pengine/notif.c && node->details->remote_rsc->container details 126 pengine/notif.c && node->details->remote_rsc->container->running_on) { details 127 pengine/notif.c node = node->details->remote_rsc->container->running_on->data; details 130 pengine/notif.c if (node->details->uname == NULL) { details 133 pengine/notif.c len = 2 + strlen(node->details->uname); details 135 pengine/notif.c sprintf(metal_list + existing_len, "%s%s", existing_len == 0 ? "":" ", node->details->uname); details 211 pengine/notif.c uname = entry->node->details->uname; details 253 pengine/notif.c if (node->details->online == FALSE) { details 697 pengine/notif.c (current_node->details->unclean || current_node->details->remote_requires_reset) ) { details 759 pengine/notif.c strdup(action->node->details->uname)); details 99 pengine/ptest.c action_host = action->node->details->uname; details 48 pengine/utilization.c crm_parse_int(g_hash_table_lookup(data->node2->details->utilization, key), "0"); details 64 pengine/utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { details 90 pengine/utilization.c g_hash_table_foreach(node1->details->utilization, do_compare_capacity1, &data); details 91 pengine/utilization.c g_hash_table_foreach(node2->details->utilization, do_compare_capacity2, &data); details 149 pengine/utilization.c remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0"); details 156 pengine/utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); details 386 pengine/utilization.c rsc->id, node->details->uname); details 414 pengine/utilization.c rsc->id, node->details->uname); details 122 pengine/utils.c if (node->details->online == FALSE details 123 pengine/utils.c || node->details->shutdown || node->details->unclean details 124 pengine/utils.c || node->details->standby || node->details->maintenance) { details 126 pengine/utils.c node->details->uname, node->details->online, details 127 pengine/utils.c node->details->unclean, node->details->standby, node->details->maintenance); details 168 pengine/utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); details 174 pengine/utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); details 179 pengine/utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); details 189 pengine/utils.c node1->details->uname, node2->details->uname, result); details 193 pengine/utils.c node1->details->uname, node2->details->uname, result); details 199 pengine/utils.c if (node1->details->num_resources < node2->details->num_resources) { details 201 pengine/utils.c node1->details->uname, node1->details->num_resources, details 202 pengine/utils.c node2->details->uname, node2->details->num_resources); details 205 pengine/utils.c } else if (node1->details->num_resources > node2->details->num_resources) { details 207 pengine/utils.c node1->details->uname, node1->details->num_resources, details 208 pengine/utils.c node2->details->uname, node2->details->num_resources); details 212 pengine/utils.c if (active && active->details == node1->details) { details 214 pengine/utils.c node1->details->uname, node1->details->num_resources, details 215 pengine/utils.c node2->details->uname, node2->details->num_resources); details 217 pengine/utils.c } else if (active && active->details == node2->details) { details 219 pengine/utils.c node1->details->uname, node1->details->num_resources, details 220 pengine/utils.c node2->details->uname, node2->details->num_resources); details 224 pengine/utils.c crm_trace("%s = %s", node1->details->uname, node2->details->uname); details 225 pengine/utils.c return strcmp(node1->details->uname, node2->details->uname); details 234 pengine/utils.c crm_info("Deallocating %s from %s", rsc->id, old->details->uname); details 238 pengine/utils.c old->details->allocated_rsc = g_list_remove(old->details->allocated_rsc, rsc); details 239 pengine/utils.c old->details->num_resources--; details 241 pengine/utils.c calculate_utilization(old->details->utilization, rsc->utilization, TRUE); details 265 pengine/utils.c rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight); details 312 pengine/utils.c crm_debug("Assigning %s to %s", chosen->details->uname, rsc->id); details 315 pengine/utils.c chosen->details->allocated_rsc = g_list_prepend(chosen->details->allocated_rsc, rsc); details 316 pengine/utils.c chosen->details->num_resources++; details 318 pengine/utils.c calculate_utilization(chosen->details->utilization, rsc->utilization, FALSE); details 325 pengine/utils.c log_action(unsigned int log_level, const char *pre_text, action_t * action, gboolean details) details 340 pengine/utils.c node_uname = action->node->details->uname; details 341 pengine/utils.c node_uuid = action->node->details->id; details 382 pengine/utils.c if (details) { details 50 pengine/utils.h action_t * action, gboolean details); details 898 tools/crm_mon.c if (node->details->standby && node->details->online) { details 900 tools/crm_mon.c } else if (node->details->maintenance && node->details->online) { details 902 tools/crm_mon.c } else if (node->details->online) { details 905 tools/crm_mon.c mon_warn(" offline node: %s", node->details->uname); details 1034 tools/crm_mon.c fprintf(stream, " <node name=\"%s\">\n", node->details->uname); details 1589 tools/crm_mon.c if (node && node->details && node->details->online) { details 1758 tools/crm_mon.c print_attr_msg(data->stream, data->node, data->node->details->running_rsc, details 1952 tools/crm_mon.c CRM_ASSERT((node != NULL) && (node->details != NULL) && (node->details->uname != NULL)); details 1956 tools/crm_mon.c if (node->details->remote_rsc->running_on) { details 1961 tools/crm_mon.c node_t *host_node = (node_t *) node->details->remote_rsc->running_on->data; details 1963 tools/crm_mon.c if (host_node && host_node->details) { details 1964 tools/crm_mon.c node_host = host_node->details->uname; details 1973 tools/crm_mon.c if (print_clone_detail && safe_str_neq(node->details->uname, node->details->id)) { details 1974 tools/crm_mon.c node_id = node->details->id; details 1978 tools/crm_mon.c name_len = strlen(node->details->uname) + 1; details 1989 tools/crm_mon.c strcpy(node_name, node->details->uname); details 2036 tools/crm_mon.c location->id, location->rsc_lh->id, node->details->uname, node->weight, details 2167 tools/crm_mon.c if (data.node && data.node->details && data.node->details->online) { details 2169 tools/crm_mon.c g_hash_table_foreach(data.node->details->attrs, create_attr_list, NULL); details 2443 tools/crm_mon.c (dc_version_s? dc_version_s : ""), dc->details->uname, dc->details->id, details 2942 tools/crm_mon.c if (node->details->unclean) { details 2943 tools/crm_mon.c if (node->details->online) { details 2946 tools/crm_mon.c } else if (node->details->pending) { details 2953 tools/crm_mon.c } else if (node->details->pending) { details 2956 tools/crm_mon.c } else if (node->details->standby_onfail && node->details->online) { details 2959 tools/crm_mon.c } else if (node->details->standby) { details 2960 tools/crm_mon.c if (node->details->online) { details 2966 tools/crm_mon.c } else if (node->details->maintenance) { details 2967 tools/crm_mon.c if (node->details->online) { details 2973 tools/crm_mon.c } else if (node->details->online) { details 3014 tools/crm_mon.c print_rscs_brief(node->details->running_rsc, "\t", print_opts | pe_print_rsconly, details 3019 tools/crm_mon.c for (gIter2 = node->details->running_rsc; gIter2 != NULL; gIter2 = gIter2->next) { details 3113 tools/crm_mon.c switch (node->details->type) { details 3125 tools/crm_mon.c fprintf(stream, " <node name=\"%s\" ", node->details->uname); details 3126 tools/crm_mon.c fprintf(stream, "id=\"%s\" ", node->details->id); details 3127 tools/crm_mon.c fprintf(stream, "online=\"%s\" ", node->details->online ? "true" : "false"); details 3128 tools/crm_mon.c fprintf(stream, "standby=\"%s\" ", node->details->standby ? "true" : "false"); details 3129 tools/crm_mon.c fprintf(stream, "standby_onfail=\"%s\" ", node->details->standby_onfail ? "true" : "false"); details 3130 tools/crm_mon.c fprintf(stream, "maintenance=\"%s\" ", node->details->maintenance ? "true" : "false"); details 3131 tools/crm_mon.c fprintf(stream, "pending=\"%s\" ", node->details->pending ? "true" : "false"); details 3132 tools/crm_mon.c fprintf(stream, "unclean=\"%s\" ", node->details->unclean ? "true" : "false"); details 3133 tools/crm_mon.c fprintf(stream, "shutdown=\"%s\" ", node->details->shutdown ? "true" : "false"); details 3134 tools/crm_mon.c fprintf(stream, "expected_up=\"%s\" ", node->details->expected_up ? "true" : "false"); details 3135 tools/crm_mon.c fprintf(stream, "is_dc=\"%s\" ", node->details->is_dc ? "true" : "false"); details 3136 tools/crm_mon.c fprintf(stream, "resources_running=\"%d\" ", g_list_length(node->details->running_rsc)); details 3139 tools/crm_mon.c fprintf(stream, "id_as_resource=\"%s\" ", node->details->remote_rsc->container->id); details 3146 tools/crm_mon.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { details 3243 tools/crm_mon.c if (node->details->standby_onfail && node->details->online) { details 3245 tools/crm_mon.c } else if (node->details->standby && node->details->online) { details 3247 tools/crm_mon.c } else if (node->details->standby) { details 3249 tools/crm_mon.c } else if (node->details->maintenance && node->details->online) { details 3251 tools/crm_mon.c } else if (node->details->maintenance) { details 3253 tools/crm_mon.c } else if (node->details->online) { details 3260 tools/crm_mon.c print_rscs_brief(node->details->running_rsc, NULL, print_opts | pe_print_rsconly, details 3268 tools/crm_mon.c for (lpc2 = node->details->running_rsc; lpc2 != NULL; lpc2 = lpc2->next) { details 998 tools/crm_resource.c rc = cli_resource_clear(rsc_id, dest->details->uname, NULL, cib_conn); details 1015 tools/crm_resource.c rc = cli_resource_ban(rsc_id, dest->details->uname, NULL, cib_conn); details 1021 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); details 1039 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); details 1167 tools/crm_resource.c if (node->details->remote_rsc == NULL || node->details->remote_rsc->running_on == NULL) { details 1172 tools/crm_resource.c node = node->details->remote_rsc->running_on->data; details 1173 tools/crm_resource.c router_node = node->details->uname; details 73 tools/crm_resource_ban.c rc = cli_resource_ban(rsc_id, target->details->uname, NULL, cib_conn); details 228 tools/crm_resource_ban.c rsc_id, target->details->uname); details 96 tools/crm_resource_print.c host = tmp->details->uname; details 227 tools/crm_resource_print.c prefix ? prefix : " ", 71 - offset, node->details->uname, score, cons->id); details 38 tools/crm_resource_runtime.c fprintf(stdout, "%s\n", node->details->uname); details 45 tools/crm_resource_runtime.c fprintf(stdout, "resource %s is running on: %s %s\n", rsc, node->details->uname, state); details 476 tools/crm_resource_runtime.c if (node->details->remote_rsc == NULL || node->details->remote_rsc->running_on == NULL) { details 480 tools/crm_resource_runtime.c node = node->details->remote_rsc->running_on->data; details 481 tools/crm_resource_runtime.c router_node = node->details->uname; details 613 tools/crm_resource_runtime.c if (node->details->online) { details 614 tools/crm_resource_runtime.c cli_resource_delete(crmd_channel, node->details->uname, rsc, details 631 tools/crm_resource_runtime.c if (!node->details->rsc_discovery_enabled) { details 792 tools/crm_resource_runtime.c if(strcmp(host, node->details->uname) == 0) { details 795 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { details 1392 tools/crm_resource_runtime.c fprintf(stderr, "\ton %s", a->node->details->uname); details 1678 tools/crm_resource_runtime.c crm_trace("%s is already active on %s but not in correct state", rsc_id, dest->details->uname); details 1679 tools/crm_resource_runtime.c } else if (safe_str_eq(current->details->uname, dest->details->uname)) { details 1683 tools/crm_resource_runtime.c rsc_id, scope_master?"promoted":"active", dest->details->uname); details 1686 tools/crm_resource_runtime.c rsc_id, scope_master?"promoted":"active", dest->details->uname); details 1692 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib); details 1695 tools/crm_resource_runtime.c rc = cli_resource_prefer(rsc_id, dest->details->uname, cib); details 1698 tools/crm_resource_runtime.c rsc->id, scope_master?" (master)":"", dest->details->uname, do_force?"(forced)":""); details 1706 tools/crm_resource_runtime.c (void)cli_resource_ban(rsc_id, current->details->uname, NULL, cib); details 1710 tools/crm_resource_runtime.c rsc_id, scope_master?"promoted":"active", count, dest->details->uname); details 1760 tools/crm_resource_runtime.c const char* host_uname = node->details->uname; details 1761 tools/crm_resource_runtime.c GListPtr allResources = node->details->allocated_rsc; details 1762 tools/crm_resource_runtime.c GListPtr activeResources = node->details->running_rsc; details 1799 tools/crm_resource_runtime.c const char *host_uname = (node == NULL)? NULL : node->details->uname; details 101 tools/crm_simulate.c node_name = crm_strdup_printf("%s:%s", node->details->uname, node->details->remote_rsc->container->id); details 103 tools/crm_simulate.c node_name = crm_strdup_printf("%s", node->details->uname); details 106 tools/crm_simulate.c if (node->details->unclean) { details 107 tools/crm_simulate.c if (node->details->online && node->details->unclean) { details 110 tools/crm_simulate.c } else if (node->details->pending) { details 117 tools/crm_simulate.c } else if (node->details->pending) { details 120 tools/crm_simulate.c } else if (node->details->standby_onfail && node->details->online) { details 123 tools/crm_simulate.c } else if (node->details->standby) { details 124 tools/crm_simulate.c if (node->details->online) { details 130 tools/crm_simulate.c } else if (node->details->maintenance) { details 131 tools/crm_simulate.c if (node->details->online) { details 137 tools/crm_simulate.c } else if (node->details->online) { details 164 tools/crm_simulate.c } else if (safe_str_eq(node->details->uname, node->details->id)) { details 167 tools/crm_simulate.c printf("Node %s (%s): %s\n", node_name, node->details->id, node_mode); details 216 tools/crm_simulate.c action_host = action->node->details->uname; details 91 tools/crm_ticket.c print_ticket(ticket_t * ticket, gboolean raw, gboolean details) details 102 tools/crm_ticket.c if (details && g_hash_table_size(ticket->state) > 0) { details 139 tools/crm_ticket.c print_ticket_list(pe_working_set_t * data_set, gboolean raw, gboolean details) details 147 tools/crm_ticket.c print_ticket(ticket, raw, details); details 881 tools/crm_ticket.c gboolean details = FALSE; details 884 tools/crm_ticket.c details = TRUE; details 896 tools/crm_ticket.c rc = print_ticket(ticket, raw, details); details 899 tools/crm_ticket.c rc = print_ticket_list(&data_set, raw, details);