summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2016-01-29 16:40:48 +0100
committerJan Pokorný <jpokorny@redhat.com>2016-02-01 23:54:28 +0100
commitb2cd5c7c9b24f6f9ca0d9441c36bf0f73f706c77 (patch)
tree015fe2775f0c095428e7871c0dbd8764daa266d4
parent407547b4605664416e013f7102f7e7a6e594d666 (diff)
downloadclufter-b2cd5c7c9b24f6f9ca0d9441c36bf0f73f706c77.tar.gz
clufter-b2cd5c7c9b24f6f9ca0d9441c36bf0f73f706c77.tar.xz
clufter-b2cd5c7c9b24f6f9ca0d9441c36bf0f73f706c77.zip
doc/rgmanager-pacemaker.02.resources: prefer kind to score with order
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--__root__/doc/rgmanager-pacemaker.02.resources.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/__root__/doc/rgmanager-pacemaker.02.resources.txt b/__root__/doc/rgmanager-pacemaker.02.resources.txt
index cc4fecc..185b322 100644
--- a/__root__/doc/rgmanager-pacemaker.02.resources.txt
+++ b/__root__/doc/rgmanager-pacemaker.02.resources.txt
@@ -98,7 +98,9 @@ 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`
+P: driven by specifying `kind` as `Optional` (or `score` as `0`)
+ # pcs constraint order B then C kind=Optional
+ or
# pcs constraint order B then C score=0
ORDERING(B, C, STRONG) [3. strong ordering]
@@ -110,10 +112,13 @@ 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)
+P: driven by omitting both `kind` and `score` (or specifying `kind` as
+ `Mandatory` or `score` 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 kind=Mandatory
+ or
# pcs constraint order B then C score=1
# XXX pcs constraint order set B C
- (b)