
17.4 Resource Operations
By default, the cluster will not ensure that your resources are still healthy. To instruct
the cluster to do this, you need to add a monitor operation to the resource’s definition.
Monitor operations can be added for all classes or resource agents.
Table 17.4
Resource Operations
Description
Operation
Your name for the action. Must be unique.
id
The action to perform. Common values:
monitor
,
start
,
stop
.
name
How frequently to perform the operation. Unit: seconds
interval
How long to wait before declaring the action has failed.
timeout
What conditions need to be satisfied before this action occurs.
Allowed values:
nothing
,
quorum
,
fencing
. The default
requires
depends on whether fencing is enabled and if the resource’s class
is
stonith
. For STONITH resources, the default is
nothing
.
The action to take if this action ever fails. Allowed values:
on-fail
•
ignore
: Pretend the resource did not fail.
•
block
: Do not perform any further operations on the re-
source.
•
stop
: Stop the resource and do not start it elsewhere.
•
restart
: Stop the resource and start it again (possibly on
a different node).
•
fence
: Bring down the node on which the resource failed
(STONITH).
198
High Availability Guide
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......