Skip to contentSkip to conversation

prefering local reads?

DISCUSSION Jürgen Herrmann 2 participants 2 messages Nov 9, 2009

lore
Share & tools
lore
#0 lore raw

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?

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.

thanks in andvance,
jürgen
--

Quoted 1 line
Quoted 1 line

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:  #[email protected]

------------------------------------------------------------------------------
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

#1 lore raw
Quoted 7 lines · Jürgen Herrmann

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?).

Quoted 5 lines

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

Quoted 21 lines

thanks in andvance,
jürgen
--

Quoted 1 line
Quoted 1 line

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:  #[email protected]
Quoted 11 lines

------------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ceph-devel