
crm_failcount (8)
crm_failcount — Manage the counter recording each resource's failures
Synopsis
crm_failcount [-?|-V] -D -u|-U
node
-r
resource
crm_failcount [-?|-V] -G -u|-U
node
-r
resource
crm_failcount [-?|-V] -v
string
-u|-U
node
-r
resource
Description
Heartbeat implements a sophisticated method to compute and force failover of a resource
to another node in case that resource tends to fail on the current node. A resource carries
a
resource-stickiness
attribute to determine how much it prefers to run on a
certain node. It also carries a
migration-threshold
that determines the threshold
at which the resource should failover to another node.
The
failcount
attribute is added to the resource and increased on resource monitoring
failure. The value of
failcount
multiplied by the value of
migration-threshold
determines the failover score of this resource. If this
number exceeds the preference set for this resource, the resource is moved to another
node and not run again on the original node until the failure count is reset.
The
crm_failcount
command queries the number of failures per resource on a
given node. This tool can also be used to reset the failcount, allowing the resource to
run again on nodes where it had previously failed too many times.
Options
--help
,
-?
Print a help message.
--verbose
,
-V
Turn on debug information.
Cluster Management Tools
157
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......