this_node 310 include/crm/pengine/internal.h pe_node_t *pe__copy_node(const pe_node_t *this_node); this_node 132 lib/pacemaker/pcmk_sched_utils.c pe_node_t *this_node = (pe_node_t *) gIter->data; this_node 134 lib/pacemaker/pcmk_sched_utils.c new_node = pe__copy_node(this_node); this_node 57 lib/pengine/unpack.c pe_node_t *this_node); this_node 60 lib/pengine/unpack.c static void determine_online_status(xmlNode *node_state, pe_node_t *this_node, this_node 961 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) this_node 971 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 974 lib/pengine/unpack.c crm_trace("Processing remote node id=%s, uname=%s", this_node->details->id, this_node->details->uname); this_node 977 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 979 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 980 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 981 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 982 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 985 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 987 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 988 lib/pengine/unpack.c crm_info("Node %s is shutting down", this_node->details->uname); this_node 989 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 992 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 993 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); this_node 994 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 997 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 999 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); this_node 1000 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1003 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1005 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1008 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); this_node 1015 lib/pengine/unpack.c crm_info("Node %s has resource discovery disabled", this_node->details->uname); this_node 1016 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1073 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1089 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1090 lib/pengine/unpack.c if (this_node == NULL) { this_node 1096 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1103 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1107 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); this_node 1112 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1113 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1116 lib/pengine/unpack.c this_node->details->uname, id); this_node 1117 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); this_node 1120 lib/pengine/unpack.c && this_node->details->online this_node 1126 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", this_node 1159 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1168 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1169 lib/pengine/unpack.c if (this_node == NULL) { this_node 1176 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1185 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node)) { this_node 1190 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1200 lib/pengine/unpack.c } else if (pe__is_remote_node(this_node)) { this_node 1206 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1223 lib/pengine/unpack.c && !this_node->details->online) { this_node 1229 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1230 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1231 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); this_node 1237 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1238 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); this_node 1300 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; this_node 1302 lib/pengine/unpack.c if (!pe__is_guest_or_remote_node(this_node)) { this_node 1305 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1306 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1307 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, RSC_ROLE_STOPPED, this_node 1310 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1311 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1320 lib/pengine/unpack.c pe_node_t * this_node) this_node 1338 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1345 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); this_node 1354 lib/pengine/unpack.c pe_node_t * this_node) this_node 1363 lib/pengine/unpack.c const char *terminate = pe_node_attribute_raw(this_node, "terminate"); this_node 1385 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1394 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1395 lib/pengine/unpack.c crm_debug("%s is shutting down", this_node->details->uname); this_node 1401 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); this_node 1404 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer failed the pacemaker membership criteria", FALSE); this_node 1409 lib/pengine/unpack.c crm_info("- Node %s is not ready to run resources", this_node->details->uname); this_node 1410 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1411 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1414 lib/pengine/unpack.c crm_trace("%s is down or still coming up", this_node->details->uname); this_node 1419 lib/pengine/unpack.c crm_info("Node %s was just shot", this_node->details->uname); this_node 1424 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); this_node 1427 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); this_node 1431 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); this_node 1434 lib/pengine/unpack.c crm_info("Node %s is active", this_node->details->uname); this_node 1437 lib/pengine/unpack.c crm_info("Node %s is not ready to run resources", this_node->details->uname); this_node 1438 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1439 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1442 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); this_node 1444 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1445 lib/pengine/unpack.c crm_str(join), crm_str(exp_state), do_terminate, this_node->details->shutdown); this_node 1452 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) this_node 1454 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1463 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1476 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1477 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1483 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1484 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1490 lib/pengine/unpack.c this_node->details->id); this_node 1491 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1492 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1496 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1497 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1503 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1504 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1505 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1510 lib/pengine/unpack.c this_node->details->id); this_node 1511 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1512 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1517 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1521 lib/pengine/unpack.c determine_online_status(xmlNode * node_state, pe_node_t * this_node, pe_working_set_t * data_set) this_node 1526 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1528 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1529 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1531 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1532 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1535 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1538 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1539 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1546 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); this_node 1549 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); this_node 1553 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1557 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1558 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1561 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1563 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1564 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1567 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1568 lib/pengine/unpack.c crm_info("Node %s is not a pacemaker node", this_node->details->uname); this_node 1570 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1571 lib/pengine/unpack.c pe_proc_warn("Node %s is unclean", this_node->details->uname); this_node 1573 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1574 lib/pengine/unpack.c crm_info("Node %s is %s", this_node->details->uname, this_node 1575 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1576 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1577 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1578 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1581 lib/pengine/unpack.c crm_trace("Node %s is offline", this_node->details->uname); this_node 4051 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 4065 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); this_node 4066 lib/pengine/unpack.c if(this_node == NULL) { this_node 4067 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 4070 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 4071 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 4074 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); this_node 4077 lib/pengine/unpack.c if (this_node->details->online this_node 142 lib/pengine/utils.c pe__copy_node(const pe_node_t *this_node) this_node 146 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 151 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 152 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 153 lib/pengine/utils.c new_node->fixed = this_node->fixed; this_node 154 lib/pengine/utils.c new_node->details = this_node->details;