pacemaker 2.1.7-2.1.7
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
Data Fields
pe_node_shared_s Struct Reference

Basic node information (all node objects for the same node share this) More...

#include <include/crm/common/nodes.h>

Collaboration diagram for pe_node_shared_s:
Collaboration graph
[legend]

Data Fields

const char * id
 Node ID at the cluster layer.
 
const char * uname
 Node name in cluster.
 
enum node_type type
 Node variant.
 
gboolean online
 Whether online.
 
gboolean standby
 Whether in standby mode.
 
gboolean standby_onfail
 Whether in standby mode due to on-fail.
 
gboolean pending
 Whether controller membership is pending.
 
gboolean unclean
 Whether node requires fencing.
 
gboolean unseen
 Whether node has never joined cluster.
 
gboolean shutdown
 Whether shutting down.
 
gboolean expected_up
 Whether expected join state is member.
 
gboolean is_dc
 Whether node is cluster's DC.
 
gboolean maintenance
 Whether in maintenance mode.
 
gboolean rsc_discovery_enabled
 Whether probes are allowed on node.
 
gboolean remote_requires_reset
 
gboolean remote_was_fenced
 
gboolean remote_maintenance
 
gboolean unpacked
 Whether node history has been unpacked.
 
int num_resources
 
pcmk_resource_tremote_rsc
 Remote connection resource for node, if it is a Pacemaker Remote node.
 
GList * running_rsc
 List of resources active on node.
 
GList * allocated_rsc
 List of resources assigned to node.
 
GHashTable * attrs
 Node attributes.
 
GHashTable * utilization
 Node utilization attributes.
 
GHashTable * digest_cache
 Cache of calculated resource digests.
 
int priority
 
pcmk_scheduler_tdata_set
 Cluster that node is part of.
 

Detailed Description

Basic node information (all node objects for the same node share this)

Definition at line 66 of file nodes.h.

Field Documentation

◆ allocated_rsc

GList* pe_node_shared_s::allocated_rsc

List of resources assigned to node.

Definition at line 114 of file nodes.h.

◆ attrs

GHashTable* pe_node_shared_s::attrs

Node attributes.

Definition at line 115 of file nodes.h.

◆ data_set

pcmk_scheduler_t* pe_node_shared_s::data_set

Cluster that node is part of.

Definition at line 126 of file nodes.h.

◆ digest_cache

GHashTable* pe_node_shared_s::digest_cache

Cache of calculated resource digests.

Definition at line 117 of file nodes.h.

◆ expected_up

gboolean pe_node_shared_s::expected_up

Whether expected join state is member.

Definition at line 79 of file nodes.h.

◆ id

const char* pe_node_shared_s::id

Node ID at the cluster layer.

Definition at line 67 of file nodes.h.

◆ is_dc

gboolean pe_node_shared_s::is_dc

Whether node is cluster's DC.

Definition at line 80 of file nodes.h.

◆ maintenance

gboolean pe_node_shared_s::maintenance

Whether in maintenance mode.

Definition at line 81 of file nodes.h.

◆ num_resources

int pe_node_shared_s::num_resources

Number of resources active on this node (valid after CIB status section has been unpacked, as long as pcmk_sched_no_counts was not set)

Definition at line 108 of file nodes.h.

◆ online

gboolean pe_node_shared_s::online

Whether online.

Definition at line 72 of file nodes.h.

◆ pending

gboolean pe_node_shared_s::pending

Whether controller membership is pending.

Definition at line 75 of file nodes.h.

◆ priority

int pe_node_shared_s::priority

Sum of priorities of all resources active on node and on any guest nodes connected to this node, with +1 for promoted instances (used to compare nodes for priority-fencing-delay)

Definition at line 124 of file nodes.h.

◆ remote_maintenance

gboolean pe_node_shared_s::remote_maintenance

Whether this is a Pacemaker Remote node previously marked in its node state as being in maintenance mode

Definition at line 100 of file nodes.h.

◆ remote_requires_reset

gboolean pe_node_shared_s::remote_requires_reset

Whether this is a guest node whose guest resource must be recovered or a remote node that must be fenced

Definition at line 88 of file nodes.h.

◆ remote_rsc

pcmk_resource_t* pe_node_shared_s::remote_rsc

Remote connection resource for node, if it is a Pacemaker Remote node.

Definition at line 111 of file nodes.h.

◆ remote_was_fenced

gboolean pe_node_shared_s::remote_was_fenced

Whether this is a Pacemaker Remote node that was fenced since it was last connected by the cluster

Definition at line 94 of file nodes.h.

◆ rsc_discovery_enabled

gboolean pe_node_shared_s::rsc_discovery_enabled

Whether probes are allowed on node.

Definition at line 82 of file nodes.h.

◆ running_rsc

GList* pe_node_shared_s::running_rsc

List of resources active on node.

Definition at line 113 of file nodes.h.

◆ shutdown

gboolean pe_node_shared_s::shutdown

Whether shutting down.

Definition at line 78 of file nodes.h.

◆ standby

gboolean pe_node_shared_s::standby

Whether in standby mode.

Definition at line 73 of file nodes.h.

◆ standby_onfail

gboolean pe_node_shared_s::standby_onfail

Whether in standby mode due to on-fail.

Definition at line 74 of file nodes.h.

◆ type

enum node_type pe_node_shared_s::type

Node variant.

Definition at line 69 of file nodes.h.

◆ uname

const char* pe_node_shared_s::uname

Node name in cluster.

Definition at line 68 of file nodes.h.

◆ unclean

gboolean pe_node_shared_s::unclean

Whether node requires fencing.

Definition at line 76 of file nodes.h.

◆ unpacked

gboolean pe_node_shared_s::unpacked

Whether node history has been unpacked.

Definition at line 102 of file nodes.h.

◆ unseen

gboolean pe_node_shared_s::unseen

Whether node has never joined cluster.

Definition at line 77 of file nodes.h.

◆ utilization

GHashTable* pe_node_shared_s::utilization

Node utilization attributes.

Definition at line 116 of file nodes.h.


The documentation for this struct was generated from the following file: