Table of Contents
| Field | Description |
|---|---|
| role | Limits the rule to only apply when the resource is in that role. Allowed values: Started, Slave, Master. NOTE: A rule with role="Master" can not determine the initial location of a clone instance. It will only affect which of the active instances will be promoted. |
| score | The score to apply if the rule evaluates to "true". Limited to use in rules that are part of location constraints. |
| score-attribute | The node attribute to look up and use as a score if the rule evaluates to "true". Limited to use in rules that are part of location constraints. |
| boolean-op | How to combine the result of multiple expression objects. Allowed values: and, or |
#uname that can also be used.
| Field | Description |
|---|---|
| value | User supplied value for comparison |
| attribute | The node attribute to test |
| type | Determines how the value(s) should be tested. Allowed values: integer, string, version |
| operation |
The comparison to perform. Allowed values:
|