9.4. Tracking Node Health
A node may be functioning adequately as far as cluster membership is concerned, and yet be "unhealthy" in some respect that makes it an undesirable location for resources. For example, a disk drive may be reporting SMART errors, or the CPU may be highly loaded.
Pacemaker offers a way to automatically move resources off unhealthy nodes.
9.4.1. Node Health Attributes
Pacemaker will treat any node attribute whose name starts with #health
as an indicator of node health. Node health attributes may have one of the following values:
Table 9.2. Allowed Values for Node Health Attributes
Value | Intended significance |
---|
red
|
This indicator is unhealthy
|
yellow
|
This indicator is becoming unhealthy
|
green
|
This indicator is healthy
|
integer
|
A numeric score to apply to all resources on this node (0 or positive is healthy, negative is unhealthy)
|