
17.3 Resource Options
For each resource you add, you can define options. Options are used by the cluster to
decide how your resource should behave—they tell the CRM how to treat a specific
resource. Resource options can be set with the
crm_resource --meta
command
or with the GUI as described in .
Table 17.3
Options for a Primitive Resource
Description
Option
If not all resources can be active, the cluster will stop
lower priority resources in order to keep higher prior-
ity ones active.
priority
In what state should the cluster attempt to keep this
resource? Allowed values:
Stopped
,
Started
.
target-role
Is the cluster allowed to start and stop the resource?
Allowed values:
true
,
false
.
is-managed
How much does the resource prefer to stay where it
is? Defaults to the value of
default-
resource-stickiness
.
resource-stickiness
How many failures should occur for this resource on
a node before making the node ineligible to host this
resource? Default:
none
.
migration-threshold
What should the cluster do if it ever finds the resource
active on more than one node? Allowed values:
multiple-active
block
(mark the resource as unmanaged),
stop_only
,
stop_start
.
How many seconds to wait before acting as if the
failure had not occurred (and potentially allowing the
failure-timeout
resource back to the node on which it failed)? Default:
never
.
Cluster Resources
197
Содержание 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: ......