this_node 142 include/crm/pengine/internal.h pcmk_node_t *pe__copy_node(const pcmk_node_t *this_node); this_node 176 lib/pacemaker/pcmk_sched_nodes.c pcmk_node_t *this_node = iter->data; this_node 178 lib/pacemaker/pcmk_sched_nodes.c new_node = pe__copy_node(this_node); this_node 74 lib/pengine/unpack.c pcmk_node_t *this_node); this_node 78 lib/pengine/unpack.c pcmk_node_t *this_node, this_node 1083 lib/pengine/unpack.c unpack_handle_remote_attrs(pcmk_node_t *this_node, const xmlNode *state, this_node 1094 lib/pengine/unpack.c if ((this_node == NULL) || !pcmk__is_pacemaker_remote_node(this_node)) { this_node 1098 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1101 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 1103 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 1104 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 1105 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1106 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1110 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, scheduler); this_node 1112 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1113 lib/pengine/unpack.c crm_info("%s is shutting down", pcmk__node_name(this_node)); this_node 1114 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1117 lib/pengine/unpack.c if (crm_is_true(pcmk__node_attr(this_node, PCMK_NODE_ATTR_STANDBY, NULL, this_node 1119 lib/pengine/unpack.c crm_info("%s is in standby mode", pcmk__node_name(this_node)); this_node 1120 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1123 lib/pengine/unpack.c if (crm_is_true(pcmk__node_attr(this_node, PCMK_NODE_ATTR_MAINTENANCE, NULL, this_node 1126 lib/pengine/unpack.c crm_info("%s is in maintenance mode", pcmk__node_name(this_node)); this_node 1127 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1130 lib/pengine/unpack.c discovery = pcmk__node_attr(this_node, this_node 1140 lib/pengine/unpack.c if (pcmk__is_remote_node(this_node) this_node 1146 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1154 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1155 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1220 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1243 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1244 lib/pengine/unpack.c if (this_node == NULL) { this_node 1250 lib/pengine/unpack.c if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 1257 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1261 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, scheduler); this_node 1266 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1267 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1270 lib/pengine/unpack.c pcmk__node_name(this_node), id); this_node 1271 lib/pengine/unpack.c determine_online_status(state, this_node, scheduler); this_node 1274 lib/pengine/unpack.c && this_node->details->online this_node 1280 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "cluster does not have quorum", this_node 1316 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1325 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1326 lib/pengine/unpack.c if (this_node == NULL) { this_node 1333 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1342 lib/pengine/unpack.c } else if (pcmk__is_guest_or_bundle_node(this_node)) { this_node 1347 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1357 lib/pengine/unpack.c } else if (pcmk__is_remote_node(this_node)) { this_node 1363 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1381 lib/pengine/unpack.c && !this_node->details->online) { this_node 1387 lib/pengine/unpack.c if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 1388 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1389 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, scheduler); this_node 1395 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1396 lib/pengine/unpack.c unpack_node_lrm(this_node, state, scheduler); this_node 1459 lib/pengine/unpack.c pcmk_node_t *this_node = gIter->data; this_node 1461 lib/pengine/unpack.c if (!pcmk__is_pacemaker_remote_node(this_node)) { this_node 1464 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1465 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1466 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, pcmk_role_stopped, this_node 1469 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1470 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1589 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1598 lib/pengine/unpack.c crm_trace("Node %s is %sdown", pcmk__node_name(this_node), this_node 1606 lib/pengine/unpack.c pcmk__node_name(this_node), join); this_node 1609 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1612 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1617 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer is unexpectedly down", FALSE); this_node 1619 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1661 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1663 lib/pengine/unpack.c bool termination_requested = unpack_node_terminate(this_node, node_state); this_node 1688 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1692 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1693 lib/pengine/unpack.c crm_debug("%s is shutting down", pcmk__node_name(this_node)); this_node 1700 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1706 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1712 lib/pengine/unpack.c crm_info("%s was fenced as requested", pcmk__node_name(this_node)); this_node 1715 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "fencing was requested", false); this_node 1720 lib/pengine/unpack.c if (pending_too_long(scheduler, this_node, when_member, when_online)) { this_node 1721 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1727 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1728 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1729 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1733 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1738 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1742 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1748 lib/pengine/unpack.c crm_info("%s is active", pcmk__node_name(this_node)); this_node 1753 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1754 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1755 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1758 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer was in an unknown state", this_node 1767 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1769 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1778 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1791 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1792 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1800 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1801 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1807 lib/pengine/unpack.c this_node->details->id); this_node 1808 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1809 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1813 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1814 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1821 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1822 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1823 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1828 lib/pengine/unpack.c this_node->details->id); this_node 1829 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1830 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1835 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1839 lib/pengine/unpack.c determine_online_status(const xmlNode *node_state, pcmk_node_t *this_node, this_node 1845 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1847 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1848 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1850 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1851 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1854 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1857 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1858 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1866 lib/pengine/unpack.c this_node); this_node 1870 lib/pengine/unpack.c this_node); this_node 1874 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1878 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1879 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; this_node 1882 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1884 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1885 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; this_node 1888 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1889 lib/pengine/unpack.c crm_info("%s is not a Pacemaker node", pcmk__node_name(this_node)); this_node 1891 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1892 lib/pengine/unpack.c pcmk__sched_warn("%s is unclean", pcmk__node_name(this_node)); this_node 1894 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1895 lib/pengine/unpack.c crm_info("%s is %s", pcmk__node_name(this_node), this_node 1896 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1897 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1898 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1899 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1902 lib/pengine/unpack.c crm_trace("%s is offline", pcmk__node_name(this_node)); this_node 5141 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 5157 lib/pengine/unpack.c this_node = pcmk_find_node(scheduler, uname); this_node 5158 lib/pengine/unpack.c if(this_node == NULL) { this_node 5159 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 5162 lib/pengine/unpack.c } else if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 5163 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 5166 lib/pengine/unpack.c determine_online_status(node_state, this_node, scheduler); this_node 5169 lib/pengine/unpack.c if (this_node->details->online this_node 89 lib/pengine/utils.c pe__copy_node(const pcmk_node_t *this_node) this_node 93 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 97 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 98 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 99 lib/pengine/utils.c new_node->fixed = this_node->fixed; // @COMPAT deprecated and unused this_node 100 lib/pengine/utils.c new_node->count = this_node->count; this_node 101 lib/pengine/utils.c new_node->details = this_node->details;