All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: problems with ceph.init / etc/hosts and ceph.conf
Date: Wed, 20 Jun 2012 10:59:54 +0200	[thread overview]
Message-ID: <4FE1910A.3020708@profihost.ag> (raw)

Hello list,

i've some problems to find the correct combination of ceph.conf, 
/etc/hosts for the init script to work correctly.

My systems are named:
ssdstor000i
ssdstor001i
ssdstor002i

These names point to the public external IP.

These systems also have an alias (ssdstor000,ssdstor001) pointing to the 
internal IP which should be used by ceph.

My ceph.conf looks like this:

...
[osd.10]
         host= ssdstor000
[osd.11]
         host= ssdstor000
...

The ceph.init Script looks now for an entry called ssdstor000i but can't 
find one and so it does not start or stop any services.

My /etc/hosts file:
192.168.0.100    ssdstor000.XYZ.de       ssdstor000i

10.0.255.100    ssdstor000

What is the correct way to archieve that the default hostname is still 
the public one but ceph uses the internal one?

Greets
Stefan

             reply	other threads:[~2012-06-20  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20  8:59 Stefan Priebe - Profihost AG [this message]
2012-06-20  9:13 ` problems with ceph.init / etc/hosts and ceph.conf Wido den Hollander
2012-06-20  9:20   ` Stefan Priebe - Profihost AG
2012-06-20  9:40     ` Stefan Priebe - Profihost AG
2012-06-20 13:46     ` Wido den Hollander
2012-06-20 16:39     ` Tommi Virtanen
2012-06-20 16:46       ` Stefan Priebe
2012-06-20 17:08         ` 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=4FE1910A.3020708@profihost.ag \
    --to=s.priebe@profihost.ag \
    --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.