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 14.3. Options for a Primitive Resource
|
Option |
Description |
|---|---|
|
|
If not all resources can be active, the cluster will stop lower priority resources in order to keep higher priority ones active. |
|
|
What state should the cluster attempt to keep this resource in?
Allowed values: |
|
|
Is the cluster allowed to start and stop the resource? Allowed
values: |
|
|
How much does the resource prefer to stay where it is? Defaults to
the value of |
|
|
How many failures should occur for this resource on a node before
making the node ineligible to host this resource? Default:
|
|
|
What should the cluster do if it ever finds the resource active on
more than one node? Allowed values: |
|
|
How many seconds to wait before acting as if the failure had not
occurred (and potentially allowing the resource back to the node on
which it failed)? Default: |