Nel funzionamento del cluster sono integrati punteggi di ogni tipo. Praticamente qualsiasi decisione, dallo spostamento di una risorsa sino a quale risorsa fermare in un cluster degradato, è ottenuta manipolando in qualche forma i punteggi.
Scores are calculated on a per-resource basis and any node with a negative score for a resource can’t run that resource. After calculating the scores for a resource, the cluster then chooses the node with the highest one.
6.1.1. Il valore INFINITY
INFINITY
is currently defined as 1,000,000 and addition/subtraction with it follows these three basic rules:
Qualsiasi valore + INFINITY
= INFINITY
Qualsiasi valore - INFINITY
= -INFINITY
INFINITY
- INFINITY
= -INFINITY