summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-03-26 22:49:52 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-03-26 22:49:52 +0100
commitfd4c91d6ac9a0555afcbf6e266f683903f31cb9c (patch)
treed4648f2c290fe297384799e410e44ddf1dabcf36 /doc
parent1dd2475bb772cdfa103c027eff2caff3c717d319 (diff)
downloadclufter-fd4c91d6ac9a0555afcbf6e266f683903f31cb9c.tar.gz
clufter-fd4c91d6ac9a0555afcbf6e266f683903f31cb9c.tar.xz
clufter-fd4c91d6ac9a0555afcbf6e266f683903f31cb9c.zip
doc/rgmanager-pacemaker.resources: extend ordering a bit
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/rgmanager-pacemaker.resources.txt26
1 files changed, 24 insertions, 2 deletions
diff --git a/doc/rgmanager-pacemaker.resources.txt b/doc/rgmanager-pacemaker.resources.txt
index beb44fa..be32d9d 100644
--- a/doc/rgmanager-pacemaker.resources.txt
+++ b/doc/rgmanager-pacemaker.resources.txt
@@ -147,11 +147,21 @@ propositional variables:
. c ... intention RUNNING(A1, B)
. d ... intention RUNNING(A2, C)
+R: driven by
+ XXX implicit and explicit ordering
+
+P: driven by `order` constraint (or `group` arrangement)
+
ORDERING(B, C, WEAK) [2. weak ordering]
~~~~~~~~~~~~~~~~~~~~
~a AND ~b AND c AND d -> (X a OR TRUE) AND X X b [start: B, then C]
a AND b AND ~c AND ~d -> X ~b AND X X ~a [stop: C, then B]
+R: TBD
+
+P: driven by specifying `score` as `0`
+ # pcs constraint order B then C score=0
+
ORDERING(B, C, STRONG) [3. strong ordering]
~~~~~~~~~~~~~~~~~~~~~~
~a AND ~b AND c AND d -> X a AND X X b [see weak ordering]
@@ -159,14 +169,26 @@ ORDERING(B, C, STRONG) [3. strong ordering]
a AND b AND ~c AND ~d -> X ~b AND X X ~a [see weak ordering]
a AND b AND ~c -> a AND b AND ~c AND ~d [stronger, follows as per previous]
+R: TBD
+
+P: driven by omitting `score` (or specifying it as non-zero)
+ or (b) using `group` (which implies also `colocation` constraint)
+ - (a)
+ # pcs constraint order B then C
+ # pcs constraint order B then C score=1
+ # XXX pcs constraint order set B C
+ - (b)
+ # XXX pcs resource group add SOMENAME C/RESOURCE2 B/RESOURCE1
+
ORDERING(B, C, ASYMMETRIC) [4. asymmetric ordering]
~~~~~~~~~~~~~~~~~~~~~~~~~~
~a AND ~b AND c AND d -> X a AND X X b [see weak ordering]
~a AND ~b AND d -> ~a AND ~b AND c AND d [stronger, follows as per previous???]
+R: TBD
-R:
-XXX implicit and explicit ordering
+P: driven by specifying `symmetrical` as `true`
+ # pcs constraint order B then C symmetrical=true
Cooccurence (location-based interaction dependence of the resources)