All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Székelyi Szabolcs" <szekelyi@niif.hu>
To: ceph-devel@vger.kernel.org
Subject: Re: ceph init script does not start
Date: Sun, 15 Jul 2012 20:05:02 +0200	[thread overview]
Message-ID: <3046989.AgMSmANe5F@mranderson> (raw)
In-Reply-To: <alpine.DEB.2.00.1207140741070.3898@cobra.newdream.net>

On 2012. July 14. 07:42:34 Sage Weil wrote:
> On Sat, 14 Jul 2012, Xiaopong Tran wrote:
> > I'm getting this funny issue. I had setup two test clusters, and
> > mkcephfs and the ceph start up script worked just fine. We are
> > now ready to go production, we have 6 nodes, with 10 disks
> > each, and one osd per disk, with 3 mds and 3 mons.
> > 
> > The script mkcephfs ran without problem, everything was created
> > properly. See attached log file. However, when I run
> > 
> > /etc/init.d/ceph start
> > 
> > nothing happens, not even a line of message, not on concole,
> > neither in system log.
> > 
> > But can I manually start up each individual osd, mds, and mon.
> 
> This is usually related to the 'host = ...' lines in ceph.conf.  They need
> to match the output of the `hostname` command in order for that daemon to
> be automatically started or stopped.

Just a humble remark here: actually the host= setting has to match the 
hostname *until the first dot*. If your hostname contains a dot, this will not 
work. This can be useful in a number of cases, like setting the hostname to 
indicate the group of a hierarchy level in the name so that the administrator 
can extactly know what he's working on after logging in (I mean hostnames like 
node<X>.rack<Y> in a datacenter or node<X>.<site> when running a 
geographically distributed cluster).

From this comes my request: do you think it's possible to change (I mean, in 
the repository) ceph_common.sh not to cut the output of `hostname` at the first 
dot? I'm running a cluster with hostnames like that, and now I have to edit 
that file after each upgrade.

-- 
cc



  reply	other threads:[~2012-07-15 18:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14  8:16 ceph init script does not start Xiaopong Tran
2012-07-14 14:42 ` Sage Weil
2012-07-15 18:05   ` Székelyi Szabolcs [this message]
2012-07-15 23:06     ` Sage Weil
2012-07-16  2:09       ` Xiaopong Tran
2012-07-16 15:50     ` Tommi Virtanen

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=3046989.AgMSmANe5F@mranderson \
    --to=szekelyi@niif.hu \
    --cc=ceph-devel@vger.kernel.org \
    /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.