Blame SOURCES/0002-test-README-testing-provide-pcs-configuration-altern.patch

e7e33b
From 917429b09dcca7c7049b703a005119817a7e749a Mon Sep 17 00:00:00 2001
e7e33b
From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= <jpokorny@redhat.com>
e7e33b
Date: Fri, 27 May 2016 22:54:40 +0200
e7e33b
Subject: [PATCH 2/4] test: README-testing: provide pcs configuration
e7e33b
 alternatives
e7e33b
e7e33b
---
e7e33b
 README-testing | 6 ++++++
e7e33b
 1 file changed, 6 insertions(+)
e7e33b
e7e33b
diff --git a/README-testing b/README-testing
e7e33b
index 81c4158..ffde9bf 100644
e7e33b
--- a/README-testing
e7e33b
+++ b/README-testing
e7e33b
@@ -48,15 +48,21 @@ This is a sample pacemaker configuration for a single-node
e7e33b
 cluster:
e7e33b
 
e7e33b
     primitive booth ocf:pacemaker:booth-site
e7e33b
+    (pcs resource create booth ocf:pacemaker:booth-site)
e7e33b
     primitive d-src1 ocf:heartbeat:Dummy
e7e33b
+    (pcs resource create d-src1 ocf:heartbeat:Dummy)
e7e33b
     rsc_ticket global-d-src1 ticket-A: d-src1
e7e33b
+    (pcs constraint ticket add ticket-A d-src1 id=global-d-src1)
e7e33b
 
e7e33b
 Additionally, you may also add an ocf:booth:sharedrsc resource to
e7e33b
 also check that the ticket is granted always to only one site:
e7e33b
 
e7e33b
     primitive shared ocf:booth:sharedrsc \
e7e33b
             params dir="10.2.13.82:/var/tmp/boothtestdir"
e7e33b
+    (pcs resource create shared ocf:booth:sharedrsc \
e7e33b
+            dir="10.2.13.82:/var/tmp/boothtestdir")
e7e33b
     rsc_ticket global-shared ticket-A: shared
e7e33b
+    (pcs constraint ticket add ticket-A shared id=global-shared)
e7e33b
 
e7e33b
 Please adjust to your environment.
e7e33b
 
e7e33b
-- 
e7e33b
2.4.11
e7e33b