On Mon, 9 Nov 2009, Jürgen Herrmann wrote:

> hi there!
> 
> i plan to set up a ceph fs for our mail cluster testing.
> initially i want to have 2 mds and 2 osds, one on each of the
> involved machines. each machine would mount the ceph fs.
> so in the non-failure case every client could read from
> the local osd, is there a way to assure that?

No, Ceph currently does not routing of requests to replicas based on how 
close they are.  You should also be careful running an OSD on the same 
node as the kernel client, as there are theoretical deadlocks possible 
when memory is low.

For a simple two node setup, you may be better off with something like 
OCFS2 and a shared block device (DRDB?).

> is the requirement to have at least 3 mons in clustered mode
> still in effect? reading
> http://ceph.newdream.net/wiki/Monitor_cluster_expansion
> one could come to the conclusion that having 2 mons is
> working too.

It's possible to have two monitors, and it improves durability in that the 
total loss of a single node won't permanently kill the monitor's data, but 
availability is worse because the failure of either node will deactivate 
the cluster (a majority of monitor nodes must be online to be active).  
3 monitors is better.

sage


> 
> thanks in andvance,
> jürgen
> --
> >> XLhost.de - eXperts in Linux hosting ® <<
> 
> XLhost.de GmbH
> Jürgen Herrmann, Geschäftsführer
> Boelckestrasse 21, 93051 Regensburg, Germany
> 
> Geschäftsführer: Volker Geith, Jürgen Herrmann
> Registriert unter: HRB9918
> Umsatzsteuer-Identifikationsnummer: DE245931218
> 
> Fon:  +49 (0)800 XLHOSTDE [0800 95467833]
> Fax:  +49 (0)800 95467830
> 
> WEB:  http://www.XLhost.de
> IRC:  #xlh...@irc.quakenet.org
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Ceph-devel mailing list
> Ceph-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ceph-devel
> 
> 
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to