10 #ifndef PCMK__CRM_COMMON_NODES__H    11 #  define PCMK__CRM_COMMON_NODES__H    29 #define PCMK_NODE_ATTR_TERMINATE    "terminate"    38 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)    53 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)   144 #endif // PCMK__CRM_COMMON_NODES__H GHashTable * attrs
Node attributes. 
 
gboolean unseen
Whether node has never joined cluster. 
 
node_type
Possible node types. 
 
Type aliases needed to define scheduler objects. 
 
int count
Counter reused by assignment and promotion code. 
 
gboolean pending
Whether controller membership is pending. 
 
pcmk_scheduler_t * data_set
Cluster that node is part of. 
 
Always probe resource on node. 
 
gboolean remote_was_fenced
 
Implementation of pcmk_scheduler_t. 
 
gboolean remote_requires_reset
 
gboolean remote_maintenance
 
gboolean is_dc
Whether node is cluster's DC. 
 
int weight
Node score for a given resource. 
 
Implementation of pcmk_resource_t. 
 
Probe only on designated nodes. 
 
gboolean unpacked
Whether node history has been unpacked. 
 
struct pe_node_shared_s * details
Basic node information. 
 
const char * uname
Node name in cluster. 
 
Never probe resource on node. 
 
gboolean standby
Whether in standby mode. 
 
gboolean expected_up
Whether expected join state is member. 
 
Implementation of pcmk_node_t. 
 
int rsc_discover_mode
Probe mode (enum pe_discover_e) 
 
const char * id
Node ID at the cluster layer. 
 
GList * running_rsc
List of resources active on node. 
 
gboolean rsc_discovery_enabled
Whether probes are allowed on node. 
 
Basic node information (all node objects for the same node share this) 
 
pe_discover_e
When to probe a resource on a node (as specified in location constraints) 
 
GHashTable * utilization
Node utilization attributes. 
 
gboolean shutdown
Whether shutting down. 
 
gboolean maintenance
Whether in maintenance mode. 
 
GHashTable * digest_cache
Cache of calculated resource digests. 
 
GList * allocated_rsc
List of resources assigned to node. 
 
gboolean standby_onfail
Whether in standby mode due to on-fail. 
 
gboolean unclean
Whether node requires fencing. 
 
enum node_type type
Node variant. 
 
gboolean online
Whether online. 
 
pcmk_resource_t * remote_rsc
Remote connection resource for node, if it is a Pacemaker Remote node.