All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@dreamhost.com>
To: "Hemingway, Graham Stuart" <graham.hemingway@Vanderbilt.Edu>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Add OSD and hard drives
Date: Wed, 29 Jun 2011 18:25:06 -0700	[thread overview]
Message-ID: <4E0BD072.30109@dreamhost.com> (raw)
In-Reply-To: <ED302AD9DFBE5045BC354B53A8AD5FB10332831071@its-hcwnem05.ds.Vanderbilt.edu>

Hi Graham,

On 06/29/2011 12:23 PM, Hemingway, Graham Stuart wrote:
> Hello,
>
> I have a simple ceph installation working.  My cluster has 7 hardware nodes.  5 OSDs (1 2TB drive each) and two MDSs.  I have one monitor which is on the same machine as one of the MDSs.  Running on Ubuntu 10.10 and v0.30 I have things working.  Yeah.
> So, my questions are:
>
> 1) Would you recommend adding a second monitor on the same machine as the other MDS?  Therefore two nodes each with MON and MDS.  Does ceph still want monitors in odd numbers?

Generally the monitors don't need much cpu or memory, and it's a good 
idea to run 3, so your cluster continues working if one fails. An even 
number doesn't improve reliability since a majority of monitors need to 
be active to make progress.

> 2) What is the procedure for adding an additional hard drive to each OSD?  I have a second 2TB drive physically on each OSD node that I would like to bring up and I did not find ready documentation on just adding drives.

The simplest way to add a drive is to start a new OSD for the new drive. 
Instructions for this are on the wiki:

http://ceph.newdream.net/wiki/OSD_cluster_expansion/contraction

Since your new drive is the same size as the others, you wouldn't need 
to adjust your crush map to get an even distribution of data.

The downside of running one OSD per disk is increased memory and cpu 
usage, but this shouldn't be a problem with a small cluster and few PGs.

Josh

  reply	other threads:[~2011-06-30  1:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 19:23 Add OSD and hard drives Hemingway, Graham Stuart
2011-06-30  1:25 ` Josh Durgin [this message]
2011-06-30 12:45   ` Wido den Hollander

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=4E0BD072.30109@dreamhost.com \
    --to=josh.durgin@dreamhost.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=graham.hemingway@Vanderbilt.Edu \
    /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.