All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: ceph-devel@vger.kernel.org
Subject: Ceph distributed over slow link: possible?
Date: Fri, 21 Jan 2011 19:55:33 +0000 (UTC)	[thread overview]
Message-ID: <ihcobl$bal$1@dough.gmane.org> (raw)

Hello ceph people,

My situation is this: my Ceph cluster is distributed over multiple
sites. The links between sites are rather slow. :-/

Storing one copy of a file at each site should not be a problem with
a reasonable crushmap, but ..:

* how can I verify on which devices a file is stored?

* is it possible to teach clients to read/write from "their", i.e.
  the local site's, copy of a file, instead of pulling stuff from
  a remote site? Or does ceph notice the speed difference by itself?

* My crushmap looks like this:
type 0  device
type 1  host
type 2  site
type 3  root
... (root => 2 sites => 2 hosts each => 3 devices each)
rule  data {
        ruleset 0
        type replicated
        min_size 2
        max_size 2
        step take  root
        step chooseleaf firstn 2 type site
        step emit
}

but when only one site is reachable, will there be one or two
copies of a file? If the former, how do I fix that? If the latter,
will the copy be redistributed when (the link to) the second site
comes back?

-- 


             reply	other threads:[~2011-01-22  7:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21 19:55 Matthias Urlichs [this message]
2011-01-22  8:45 ` Ceph distributed over slow link: possible? DongJin Lee
2011-01-22  9:58 ` Ravi Pinjala
2011-01-22 11:06   ` Matthias Urlichs
2011-01-23  3:09     ` Gregory Farnum

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='ihcobl$bal$1@dough.gmane.org' \
    --to=matthias@urlichs.de \
    --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.