diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-03-14 00:34:51 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-03-14 00:34:51 +0100 |
commit | b12d4c6034afe19122a7ad53331fa2ab60882a42 (patch) | |
tree | 55ba6313bbc92f0da9cc6b6e84fc927b162b6993 /doc | |
parent | c77d41b284bf8a7208628ad17a45cc67d306e91f (diff) | |
download | clufter-b12d4c6034afe19122a7ad53331fa2ab60882a42.tar.gz clufter-b12d4c6034afe19122a7ad53331fa2ab60882a42.tar.xz clufter-b12d4c6034afe19122a7ad53331fa2ab60882a42.zip |
doc/rgmanager-pacemaker.resources: STICKY+EXCLUSIVE cleanup
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rgmanager-pacemaker.resources.txt | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/doc/rgmanager-pacemaker.resources.txt b/doc/rgmanager-pacemaker.resources.txt index 04a99e4..15bfb19 100644 --- a/doc/rgmanager-pacemaker.resources.txt +++ b/doc/rgmanager-pacemaker.resources.txt @@ -107,32 +107,49 @@ Resource-node assignment properties Resource stickiness property (not moving back to preferred location) -------------------------------------------------------------------- -STICKY ::= STICKY(RESOURCE, STICKINESS), STICKINESS in {0, 1, ...} +STICKY ::= STICKY(RESOURCE, FALSE) + | STICKY(RESOURCE, TRUE) + | STICKY(RESOURCE, STICKINESS) in {0, 1, 2, ...}, 0 ~ FALSE + +STICKY(RESOURCE, FALSE) ... unsticky/cruising resource +STICKY(RESOURCE, TRUE) ... sticky resource (flat model) +STICKY(RESOURCE, STICKINESS) ... sticky resource (prioritized model) A1, A2 in NODES B in RUNNABLE(A1) AND B in RUNNABLE(A2) SCORE(B, A1) < SCORE(B, A2) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + [1. model of unsticky/cruising resource] +STICKY(RESOURCE, FALSE) +~~~~~~~~~~~~~~~~~~~~~~~ a AND b -> X c [2. model of sticky resource] +STICKY(RESOURCE, TRUE) +~~~~~~~~~~~~~~~~~~~~~~ a AND b -> X a . a ... RUNNING(A1, B) . b ... ACTIVE(A2) . c ... RUNNING(A2, B) resource X running (relocation if A1 != A2) +[3. model of sticky resource with priorities] +STICKY(RESOURCE, STICKINESS) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +TBD + R: driven by /cluster/rm/failoverdomains/failoverdomain/@nofailback - note: only applies to service/vm (not primitive resources) - 1. unsticky resource model - default (@nofailback=0) - 2. sticky resource model - when @nofailback is a positive number + - 3. XXX not supported unless a way to emulate this + using ordered failover domains(?) P: driven by stickiness parameter - 1. unsticky resource model - default (stickiness = 0) - - 2. sticky resource model + - 2.,3. sticky resource model (with priorities) - when stickiness specified as positive number - group is a sum of stickiness values of underlying resources @@ -142,10 +159,10 @@ Node-exclusiveness resource property (optionally with priority-based preemption) EXCLUSIVE ::= EXCLUSIVE(RESOURCE, FALSE) | EXCLUSIVE(RESOURCE, TRUE) - | EXCLUSIVE(RESOURCE, PRIORITY), PRIORITY in {0, 1, ...} + | EXCLUSIVE(RESOURCE, PRIORITY), PRIORITY in {0, 1, ...}, 0 ~ FALSE . EXCLUSIVE(RESOURCE, FALSE) ... non-exclusive resource . EXCLUSIVE(RESOURCE, TRUE) ... exclusive (flat model) -. EXCLUSIVE(RESOURCE, PRIORITY) ... exclusive (prioritize pre-emptive model) +. EXCLUSIVE(RESOURCE, PRIORITY) ... exclusive (prioritized pre-emptive model) [1. model of non-node-exclusive/co-occurence-positive resource, based on 2.] A in NODES |