All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cman init rework
Date: Tue, 31 Mar 2009 12:55:58 -0500	[thread overview]
Message-ID: <20090331175558.GA4017@redhat.com> (raw)
In-Reply-To: <1238476995.1961.69.camel@cerberus.int.fabbione.net>

On Tue, Mar 31, 2009 at 07:23:15AM +0200, Fabio M. Di Nitto wrote:
> On Mon, 2009-03-30 at 16:42 -0500, David Teigland wrote:
> > On Thu, Mar 26, 2009 at 02:50:31PM +0100, Fabio M. Di Nitto wrote:
> > > In our current startup sequence, we do start a daemon, we make sure it
> > > starts, but we never check if it's actually working properly.
> > 
> > If there's no groupd_compat setting in cluster.conf, or if it's set to 2, then
> > groupd does compat "detection" when it starts up, looking for old cluster2
> > nodes that require compat mode.  This detection phase can sometimes take a
> > while.  Other daemons have to ask groupd about the mode it chose after the
> > detection phase, and retry for a while if it's still pending.  It might be
> > nice for the init script to wait for this detection phase to complete after
> > starting groupd.  To do this we can run 'group_tool compat' and loop until
> > "pending" doesn't show up in a grep.  We should probably loop for somewhere
> > around 10 seconds, there's no good predictable number.  If groupd is still
> > pending after that time, the init script should just continue since it's most
> > likely taking longer than expected.  Other daemons are already prepared to
> > wait for groupd to pick a mode during their startup.
> 
> So far we specifically check for groupd_compat=0 to avoid starting
> groupd at all.
> 
> Is this still correct?
> 
> For other values of groupd_compat or none specified in the config, we
> start groupd.
> 
> Should we wait no matter what or only when none or 2 are specified?

Only when none or 2 are specified, there's no detection when set to 0 or 1.



  reply	other threads:[~2009-03-31 17:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 13:50 [Cluster-devel] cman init rework Fabio M. Di Nitto
2009-03-30 21:42 ` David Teigland
2009-03-31  5:23   ` Fabio M. Di Nitto
2009-03-31 17:55     ` David Teigland [this message]
2009-03-31  7:21   ` Fabio M. Di Nitto

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=20090331175558.GA4017@redhat.com \
    --to=teigland@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.