pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Structures | Macros | Enumerations
nodes.h File Reference

Scheduler API for nodes. More...

#include <glib.h>
#include <crm/common/scheduler_types.h>
Include dependency graph for nodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pe_node_shared_s
 Basic node information (all node objects for the same node share this) More...
 
struct  pe_node_s
 Implementation of pcmk_node_t. More...
 

Macros

#define PCMK_NODE_ATTR_TERMINATE   "terminate"
 

Enumerations

enum  node_type {
  pcmk_node_variant_cluster = 1, pcmk_node_variant_remote = 2, node_ping = 0, node_member = pcmk_node_variant_cluster,
  node_remote = pcmk_node_variant_remote
}
 Possible node types. More...
 
enum  pe_discover_e {
  pcmk_probe_always = 0, pcmk_probe_never = 1, pcmk_probe_exclusive = 2, pe_discover_always = pcmk_probe_always,
  pe_discover_never = pcmk_probe_never, pe_discover_exclusive = pcmk_probe_exclusive
}
 When to probe a resource on a node (as specified in location constraints) More...
 

Detailed Description

Scheduler API for nodes.

Definition in file nodes.h.

Macro Definition Documentation

◆ PCMK_NODE_ATTR_TERMINATE

#define PCMK_NODE_ATTR_TERMINATE   "terminate"

Definition at line 29 of file nodes.h.

Enumeration Type Documentation

◆ node_type

enum node_type

Possible node types.

Enumerator
pcmk_node_variant_cluster 

Cluster layer node.

pcmk_node_variant_remote 

Pacemaker Remote node.

node_ping 
Deprecated:
Do not use
node_member 
Deprecated:
Use pcmk_node_variant_cluster instead
node_remote 
Deprecated:
Use pcmk_node_variant_remote instead

Definition at line 33 of file nodes.h.

◆ pe_discover_e

When to probe a resource on a node (as specified in location constraints)

Enumerator
pcmk_probe_always 
pcmk_probe_never 

Always probe resource on node.

pcmk_probe_exclusive 

Never probe resource on node.

pe_discover_always 

Probe only on designated nodes.

Deprecated:
Use pcmk_probe_always instead
pe_discover_never 
Deprecated:
Use pcmk_probe_never instead
pe_discover_exclusive 
Deprecated:
Use pcmk_probe_exclusive instead

Definition at line 48 of file nodes.h.