cluster: RHEL61 - cman init: add extra documentation for FENCE_JOIN=""
Fabio M. Di Nitto
fabbione at fedoraproject.org
Fri Aug 17 08:36:51 UTC 2012
Gitweb: http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=371ed3e13b2a75d7844414349023b7ba253e6518
Commit: 371ed3e13b2a75d7844414349023b7ba253e6518
Parent: 11ea03948aa75bbf0ddc37029fc970e96755ef2d
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Tue May 15 16:37:13 2012 +0200
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri Aug 17 10:35:33 2012 +0200
cman init: add extra documentation for FENCE_JOIN=""
Related: rhbz#849047
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie at redhat.com>
---
cman/init.d/cman.in | 3 +++
cman/init.d/cman.init.defaults.in | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index cb548c6..8e6af45 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -123,6 +123,9 @@ 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.
[ -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 d6d010c..6e7f47f 100644
--- a/cman/init.d/cman.init.defaults.in
+++ b/cman/init.d/cman.init.defaults.in
@@ -50,6 +50,9 @@
# 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.
#FENCE_JOIN="yes"
# FENCED_OPTS -- allow extra options to be passed to fence daemon.
More information about the cluster-commits
mailing list