All of lore.kernel.org
 help / color / mirror / Atom feed
* Ceph distributed over slow link: possible?
@ 2011-01-21 19:55 Matthias Urlichs
  2011-01-22  8:45 ` DongJin Lee
  2011-01-22  9:58 ` Ravi Pinjala
  0 siblings, 2 replies; 5+ messages in thread
From: Matthias Urlichs @ 2011-01-21 19:55 UTC (permalink / raw)
  To: ceph-devel

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?

-- 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-23  3:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21 19:55 Ceph distributed over slow link: possible? Matthias Urlichs
2011-01-22  8:45 ` DongJin Lee
2011-01-22  9:58 ` Ravi Pinjala
2011-01-22 11:06   ` Matthias Urlichs
2011-01-23  3:09     ` Gregory Farnum

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.