cluster: RHEL63 - cman init: clarify better comments for FENCE_JOIN=no

Fabio M. Di Nitto fabbione at fedoraproject.org
Fri Aug 17 08:33:28 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=1e10d53231e4383fac90fc71584170797cbad9e8
Commit:        1e10d53231e4383fac90fc71584170797cbad9e8
Parent:        356cbad91438bf957e9ec9866e8863125d1b7dc5
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Jul 24 11:24:39 2012 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri Aug 17 10:31:22 2012 +0200

cman init: clarify better comments for FENCE_JOIN=no

(input from GSS)

Related: rhbz#849049

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie at redhat.com>
---
 cman/init.d/cman.in               |    7 ++++---
 cman/init.d/cman.init.defaults.in |    7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index f39a9aa..9a0d726 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -126,9 +126,10 @@ fi
 #     set to "yes", then the script will attempt to join the fence domain.
 #     If FENCE_JOIN is set to any other value, the default behavior is
 #     to join the fence domain (equivalent to "yes").
-#     When setting FENCE_JOIN to "no", it is important to check 
-#     DLM_CONTROLD_OPTS to reflect expected behavior regarding fencing
-#     and quorum.
+#     When setting FENCE_JOIN to "no", it is important to also set
+#     DLM_CONTROLD_OPTS="-f0" (at least) for correct operation.
+#     Please note that clusters without fencing are not 
+#     supported by Red Hat except for MRG installations.
 [ -z "$FENCE_JOIN" ] && FENCE_JOIN="yes"
 
 # FENCED_OPTS -- allow extra options to be passed to fence daemon.
diff --git a/cman/init.d/cman.init.defaults.in b/cman/init.d/cman.init.defaults.in
index 6e7f47f..1b7913e 100644
--- a/cman/init.d/cman.init.defaults.in
+++ b/cman/init.d/cman.init.defaults.in
@@ -50,9 +50,10 @@
 #     set to "yes", then the script will attempt to join the fence domain.
 #     If FENCE_JOIN is set to any other value, the default behavior is
 #     to join the fence domain (equivalent to "yes").
-#     When setting FENCE_JOIN to "no", it is important to check
-#     DLM_CONTROLD_OPTS to reflect expected behavior regarding fencing
-#     and quorum.
+#     When setting FENCE_JOIN to "no", it is important to also set
+#     DLM_CONTROLD_OPTS="-f0" (at least) for correct operation.
+#     Please note that clusters without fencing are not 
+#     supported by Red Hat except for MRG installations.
 #FENCE_JOIN="yes"
 
 # FENCED_OPTS -- allow extra options to be passed to fence daemon.


More information about the cluster-commits mailing list