
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
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: ......