From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Question about /etc/init.d/cman start
Date: Mon, 29 Aug 2011 08:36:31 +0200 [thread overview]
Message-ID: <4E5B336F.4020908@redhat.com> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F75377CB339@lisa.maurer-it.com>
On 08/29/2011 08:02 AM, Dietmar Maurer wrote:
> Hi all,
>
> the current startup script simply exit if there is no quorum, so fenced and dlm_controld are not started. Even cmannotifyd is not started, so you can't react to quorum changes with cmannotifyd.
>
It is actually configurable via /etc/sysconfig/cman (or
/etc/defaults/cman on debian based systems)
# CMAN_QUORUM_TIMEOUT -- amount of time to wait for a quorate cluster on
# 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=45
Setting CMAN_QUORUM_TIMEOUT=0 will simply stop waiting for quorum and
continue the execution of the init script.
Assuming you want to retain the default behavior, once quorum is gained,
it is enough to execute /etc/init.d/cman start again. The script is
clever enough to start only what is necessary.
You have a good point regarding cmannotifyd. In theory it could be used
to trigger a "/etc/init.d/cman start" once quorum is achieved and
notification dispatched. I can fix this upstream, but for any RHEL6
changes, I'll need you to go via support channels.
Fabio
next prev parent reply other threads:[~2011-08-29 6:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 6:02 [Cluster-devel] Question about /etc/init.d/cman start Dietmar Maurer
2011-08-29 6:36 ` Fabio M. Di Nitto [this message]
2011-08-29 7:01 ` Dietmar Maurer
2011-08-29 7:38 ` Fabio M. Di Nitto
2011-08-29 7:55 ` Dietmar Maurer
2011-08-29 9:36 ` Fabio M. Di Nitto
2011-08-29 9:51 ` Dietmar Maurer
2011-08-29 10:11 ` Dietmar Maurer
2011-08-29 10:23 ` Fabio M. Di Nitto
2011-08-29 10:38 ` Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5B336F.4020908@redhat.com \
--to=fdinitto@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.