From: Joao Eduardo Luis <joao.luis@inktank.com>
To: Adam Nielsen <a.nielsen@shikadi.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Newbie questions
Date: Mon, 01 Oct 2012 14:20:24 +0100 [thread overview]
Message-ID: <50699898.2050506@inktank.com> (raw)
In-Reply-To: <k4c2dj$s3i$1@ger.gmane.org>
Hello Adam,
On 10/01/2012 01:30 PM, Adam Nielsen wrote:
> Hi all,
>
> I've been investigating cluster filesystems for a while now, and I have
> a few questions about Ceph I hope you don't mind me asking here. This
> is in the context of using Ceph as a POSIX filesystem and alternative to
> something like NFS.
>
> 1. Is Ceph stable enough for "real" use yet? I read that upgrading to
> v0.48 required a reformat, which I imagine would be a bit of an issue in
> a production system. Is this how upgrades are normally done? Is anyone
> running Ceph in a production environment with real data yet?
The rbd and radosgw are considered stable. CephFS on the other hand is
not advised for production.
With 0.48 (aka argonaut) came big changes, and that made the upgrade a
one-way street: upgrading to 0.48 was possible, but going back was not.
Argonaut's release notes made that bit clear
(http://ceph.com/releases/v0-48-argonaut-released/)
And yes, there are production systems backed up by Ceph. Probably the
one with most visibility is Dreamhost's DreamObjects
(http://dreamhost.com/cloud/dreamobjects/) which is now on an open
public beta.
> 2. Why does the wiki say that you can run one or three monitor
> daemons, but running two is worse than one? Wouldn't running two be
> less work than running three?
First of all, a better source for update documentation would be
http://ceph.com/docs/master/
The monitors must reach a quorum, thus it is advised to have an
odd-number of monitors. Having an even-number of monitors may result in
some confusion if both halves disagree on something such as "what's the
most recent version of a given map". Hence, running an odd-number of
monitors is advised.
> 3. If I have multiple disks in a machine that I can dedicate to Ceph,
> is it better to RAID them and present Ceph with a single filesystem, or
> do you get better results by giving Ceph a filesystem on each disk and
> letting it look after the striping and any faulty disks?
I'm sure someone else will be able to address this better than I am!
>
> 4. How resilient is the system? I can find a lot of information
> saying one node can go away without any data loss, but does that mean
> losing a second node will take everything down? Can you configure it
> such that every node has a complete copy of the cluster, so as long as
> any one node survives, all the data is available?
Depending on the replication level, how the data is placed across the
cluster and how many nodes you have in place, I would say it is fairly
certain that you wouldn't lose any data. I, for one, haven't got to
configure and deal with such a system (although other have), but ceph is
all about avoiding such data loss.
See, data is replicated across the cluster osds. As long as the
surviving nodes also have the data that was lost on the other two,
three, ..., servers, your cluster should be up and running.
You can configure how data is placed across the cluster by configuring
the crush map (http://ceph.com/docs/master/cluster-ops/crush-map/). I
don't know if having a complete copy of the cluster in each node is the
best idea ever, unless you are aiming for either a small-ish aggregated
storage capacity or massive servers.
> 5. Given that the cluster filesystem contains files, which are then
> stored as other files in a different filesystem, does this affect
> performance much? I'm thinking of something like a git repository which
> accesses file metadata a lot, and seems to suffer a bit if it's not
> running off a local disk.
Well, yes. Adding an extra layer of abstraction is bound to result in
performance loss. But on the other hand, using those native file systems
simplify ceph's task, design and also allows ceph to leverage certain
capabilities those file systems offer and that would otherwise need to
be supported by ceph itself (btrfs snapshots come to mind). So, I
suppose there's a trade-off here.
How much it affects performance? Well, there are a couple of recent
threads in the mailing list regarding such issues (feel free to skim
over them), and how they are being address.
>
> Hopefully I'm not asking questions which are already covered in the
> documentation - if so please point me in the right direction.
http://ceph.com/docs/master/
Cheers,
-Joao
>
> Many thanks,
> Adam.
next prev parent reply other threads:[~2012-10-01 13:20 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 12:30 Newbie questions Adam Nielsen
2012-10-01 13:20 ` Joao Eduardo Luis [this message]
2012-10-01 16:13 ` Sage Weil
2012-10-06 15:05 ` Adam Nielsen
-- strict thread matches above, loose matches on Subject: below --
2021-06-18 16:31 Ethy H. Brito
2021-06-18 17:40 ` Jesper Dangaard Brouer
2021-06-18 20:37 ` Ethy H. Brito
2021-06-22 1:28 ` Ethy H. Brito
2021-06-22 9:18 ` Jesper Dangaard Brouer
2015-08-31 0:30 newbie questions Pierre-Louis Bossart
2015-08-31 7:43 ` Johannes Berg
2015-08-31 12:50 ` Pierre-Louis Bossart
2015-08-31 12:54 ` Johannes Berg
2015-08-31 13:21 ` Pierre-Louis Bossart
2015-08-31 13:33 ` Johannes Berg
2015-08-31 14:26 ` Pierre-Louis Bossart
2015-08-31 14:38 ` Johannes Berg
2012-10-06 15:31 Newbie questions Mark Kampe
2012-10-07 0:08 ` Adam Nielsen
2012-10-07 0:34 ` Mark Kampe
2005-11-01 17:33 Larry Alkoff
2005-11-02 5:41 ` Justin Zygmont
2005-11-03 0:55 ` Ralph Alvy
2005-11-03 4:12 ` Larry Alkoff
2005-11-03 6:17 ` Ralph Alvy
2005-11-03 7:32 ` John R. Sowden
2005-11-03 19:02 ` Larry Alkoff
2005-11-03 21:26 ` John R. Sowden
2005-11-04 3:45 ` Justin Zygmont
2005-11-05 17:06 ` Ralph Alvy
2005-11-05 19:25 ` Larry Alkoff
2005-11-06 0:42 ` Ralph Alvy
[not found] ` <436F5554.2030304@pobox.com>
[not found] ` <200511070723.31259.ralvy@warpmail.net>
2005-11-07 16:36 ` Alain
2005-11-09 7:46 ` Ralph Alvy
2005-10-06 18:17 Gaurav Poothia
2005-10-06 21:04 ` Ivan Gyurdiev
2005-10-06 22:05 ` Luke Kenneth Casson Leighton
2005-10-06 18:12 Gaurav Poothia
2005-01-19 15:07 Scott Miller
2005-01-19 15:10 ` Geert Uytterhoeven
2005-01-19 20:53 ` Scott Miller
2004-12-15 19:49 Newbie Questions Joseph Swaminathan
2004-12-15 20:23 ` Marco Gerards
2004-12-15 20:51 ` Joseph Swaminathan
2004-12-15 20:56 ` Marco Gerards
2004-03-25 21:32 Newbie questions Jan Rychter
2004-03-26 2:26 ` Steven Hand
2004-04-07 21:08 ` Jan Rychter
2004-03-26 2:35 ` Ian Pratt
2002-08-03 4:10 Gustavo Sverzut Barbieri
[not found] ` <20020803041040.10310.qmail-L8+/D2FWflyA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-08-03 12:49 ` Axel Siebenwirth
[not found] <200204070157.g371vDs24544@superglide.netfx-2000.net>
2002-04-25 8:10 ` Newbie Questions Daniel
2002-04-09 21:39 Gyzmobro
2002-04-09 22:14 ` Glynn Clements
2001-12-11 23:44 Slightly confuzed Charles Steinkuehler
2001-12-12 14:59 ` Newbie questions Charles Steinkuehler
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=50699898.2050506@inktank.com \
--to=joao.luis@inktank.com \
--cc=a.nielsen@shikadi.net \
--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.