Product SiteDocumentation Site

6.2. Decidere quale nodo può erogare una risorsa

There are two alternative strategies for specifying which nodes a resources can run on. One way is to say that by default they can run anywhere and then create location constraints for nodes that are not allowed. The other option is to have nodes "opt-in"… to start with nothing able to run anywhere and selectively enable allowed nodes.

6.2.1. Opzioni

Tabella 6.1. Opzioni per semplici vincoli di locazione (location constraints)

Campo Descrizione
id
A unique name for the constraint
rsc
A resource name
node
A node’s name
score
Positive values indicate the resource should run on this node. Negative values indicate the resource should not run on this node.
Values of +/- INFINITY change "should"/"should not" to "must"/"must not".