Field | Description |
---|---|
id | A unique name for the constraint |
rsc | The colocation source. If the constraint cannot be satisfied, the cluster may decide not to allow the resource to run at all. |
with-rsc | The colocation target. The cluster will decide where to put this resource first and then decide where to put the resource in the rsc field |
score |
Positive values indicate the resource should run on the same node. Negative values indicate the resources should not run on the same node. Values of +/- INFINITY change "should" to "must".
|
[8] While the human brain is sophisticated enough to read the constraint in any order and choose the correct one depending on the situation, the cluster is not quite so smart. Yet.