this_node 327 include/crm/pengine/internal.h pe_node_t *pe__copy_node(const pe_node_t *this_node); this_node 101 lib/pacemaker/pcmk_sched_nodes.c pe_node_t *this_node = (pe_node_t *) gIter->data; this_node 103 lib/pacemaker/pcmk_sched_nodes.c new_node = pe__copy_node(this_node); this_node 73 lib/pengine/unpack.c pe_node_t *this_node); this_node 77 lib/pengine/unpack.c pe_node_t *this_node, this_node 968 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, const xmlNode *state, this_node 979 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 982 lib/pengine/unpack.c crm_trace("Processing Pacemaker Remote node %s", pe__node_name(this_node)); this_node 985 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 987 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 988 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 989 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 990 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 993 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 995 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 996 lib/pengine/unpack.c crm_info("%s is shutting down", pe__node_name(this_node)); this_node 997 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1000 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 1001 lib/pengine/unpack.c crm_info("%s is in standby mode", pe__node_name(this_node)); this_node 1002 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1005 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 1007 lib/pengine/unpack.c crm_info("%s is in maintenance mode", pe__node_name(this_node)); this_node 1008 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1011 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1013 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1018 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1026 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1027 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1085 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1101 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1102 lib/pengine/unpack.c if (this_node == NULL) { this_node 1108 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1115 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1119 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); this_node 1124 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1125 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1128 lib/pengine/unpack.c pe__node_name(this_node), id); this_node 1129 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); this_node 1132 lib/pengine/unpack.c && this_node->details->online this_node 1138 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", this_node 1172 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1181 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1182 lib/pengine/unpack.c if (this_node == NULL) { this_node 1189 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1198 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node)) { this_node 1203 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1213 lib/pengine/unpack.c } else if (pe__is_remote_node(this_node)) { this_node 1219 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1236 lib/pengine/unpack.c && !this_node->details->online) { this_node 1242 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1243 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1244 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); this_node 1250 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1251 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); this_node 1313 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; this_node 1315 lib/pengine/unpack.c if (!pe__is_guest_or_remote_node(this_node)) { this_node 1318 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1319 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1320 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, RSC_ROLE_STOPPED, this_node 1323 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1324 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1334 lib/pengine/unpack.c pe_node_t *this_node) this_node 1353 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1361 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); this_node 1371 lib/pengine/unpack.c const xmlNode *node_state, pe_node_t *this_node) this_node 1380 lib/pengine/unpack.c const char *terminate = pe_node_attribute_raw(this_node, "terminate"); this_node 1402 lib/pengine/unpack.c pe__node_name(this_node), pcmk__s(in_cluster, "<null>"), this_node 1412 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1413 lib/pengine/unpack.c crm_debug("%s is shutting down", pe__node_name(this_node)); this_node 1419 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); this_node 1422 lib/pengine/unpack.c pe_fence_node(data_set, this_node, this_node 1429 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1430 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1431 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1435 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1440 lib/pengine/unpack.c crm_info("%s was just shot", pe__node_name(this_node)); this_node 1445 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); this_node 1448 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); this_node 1452 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); this_node 1455 lib/pengine/unpack.c crm_info("%s is active", pe__node_name(this_node)); this_node 1458 lib/pengine/unpack.c crm_info("%s is not ready to run resources", pe__node_name(this_node)); this_node 1459 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1460 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1463 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); this_node 1465 lib/pengine/unpack.c pe__node_name(this_node), pcmk__s(in_cluster, "<null>"), this_node 1468 lib/pengine/unpack.c this_node->details->shutdown); this_node 1475 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) this_node 1477 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1486 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1499 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1500 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1506 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1507 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1513 lib/pengine/unpack.c this_node->details->id); this_node 1514 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1515 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1519 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1520 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1526 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1527 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1528 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1533 lib/pengine/unpack.c this_node->details->id); this_node 1534 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1535 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1540 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1544 lib/pengine/unpack.c determine_online_status(const xmlNode *node_state, pe_node_t *this_node, this_node 1550 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1552 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1553 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1555 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1556 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1559 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1562 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1563 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1570 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); this_node 1573 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); this_node 1577 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1581 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1582 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1585 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1587 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1588 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1591 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1592 lib/pengine/unpack.c crm_info("%s is not a Pacemaker node", pe__node_name(this_node)); this_node 1594 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1595 lib/pengine/unpack.c pe_proc_warn("%s is unclean", pe__node_name(this_node)); this_node 1597 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1598 lib/pengine/unpack.c crm_info("%s is %s", pe__node_name(this_node), this_node 1599 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1600 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1601 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1602 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1605 lib/pengine/unpack.c crm_trace("%s is offline", pe__node_name(this_node)); this_node 4771 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 4785 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); this_node 4786 lib/pengine/unpack.c if(this_node == NULL) { this_node 4787 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 4790 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 4791 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 4794 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); this_node 4797 lib/pengine/unpack.c if (this_node->details->online this_node 89 lib/pengine/utils.c pe__copy_node(const pe_node_t *this_node) this_node 93 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 98 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 99 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 100 lib/pengine/utils.c new_node->fixed = this_node->fixed; // @COMPAT deprecated and unused this_node 101 lib/pengine/utils.c new_node->details = this_node->details;