From b2cd5c7c9b24f6f9ca0d9441c36bf0f73f706c77 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Fri, 29 Jan 2016 16:40:48 +0100 Subject: doc/rgmanager-pacemaker.02.resources: prefer kind to score with order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- __root__/doc/rgmanager-pacemaker.02.resources.txt | 9 +++++++-- 1 file 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) -- cgit