Skip to contentSkip to conversation

cman init: increse the default timeout waiting for quorum

PATCH New Fabio M. Di Nitto 2 participants 2 messages Mar 16, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cman init: increse the default timeout waiting for quorum

not all clusters can achieve quorum in 20 seconds. Bump to 45 by default.

Value is still tunable via sysconfig entry.

Resolves: rhbz#688201

---
 cman/init.d/cman.in               |    2 +-
 cman/init.d/cman.init.defaults.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
cman/init.d/cman.in +1 -1
index 7d9c7d1..12f428f 100644
@@ -84,7 +84,7 @@ fi
 #     startup quorum is needed by many other applications, so we may as
 #     well wait here.  If CMAN_QUORUM_TIMEOUT is zero, quorum will
 #     be ignored.
-[ -z "$CMAN_QUORUM_TIMEOUT" ] && CMAN_QUORUM_TIMEOUT=20
+[ -z "$CMAN_QUORUM_TIMEOUT" ] && CMAN_QUORUM_TIMEOUT=45
 
 # CMAN_SHUTDOWN_TIMEOUT -- amount of time to wait for cman to become a
 #     cluster member before calling cman_tool leave during shutdown.
cman/init.d/cman.init.defaults.in +1 -1
index 390e855..ac21c97 100644
@@ -10,7 +10,7 @@
 #     startup quorum is needed by many other applications, so we may as
 #     well wait here.  If CMAN_QUORUM_TIMEOUT is zero, quorum will
 #     be ignored.
-#CMAN_QUORUM_TIMEOUT=20
+#CMAN_QUORUM_TIMEOUT=45
 
 # CMAN_SHUTDOWN_TIMEOUT -- amount of time to wait for cman to become a
 #     cluster member before calling cman_tool leave during shutdown.
Signature · 1 line
1.7.4
#1 lore raw

PATCH 1/1 cman init: increse the default timeout waiting for quorum

Quoted 3 lines · Fabio M. Di Nitto

not all clusters can achieve quorum in 20 seconds. Bump to 45 by default.

Value is still tunable via sysconfig entry.

ACK

Signature · 1 line
Lon Hohberger - Red Hat, Inc.