Skip to contentSkip to conversation

Installing and configuring ceph

DISCUSSION Peter W. Morreale 3 participants 4 messages Jan 6, 2011

lore
Share & tools
lore
#0 lore raw

I'm having a difficult time installing ceph for the first time by following the newdream wiki site. Can some kind soul help with the following?

I've built ceph 0.24 from the tarball on a pristine OpenSUSE 11.3 release, and performed:

% make
% make install
% make install-data (from reading the makefiles)

The goal is to install ceph on 3 identical machines, each with a dedicated partition, using btrfs. (yes, ssh access w/o passwords are configured among these machines)

1) /etc/init.d/ceph is not installed, nor are the sample confs installed in /etc/ceph. Is there some other make target I need to run? The INSTALL file in the source is not very helpful. Install manually? Where is the init.d script? (.../src/ceph is a binary.)

2) Do I need a kernel client? Its not clear to me from the wiki what
the role of the kernel module is. Do I need the kernel client for
client access only? From a previous post I inferred that one could use fuse for client access, is that correct?

3) I assume I need to install the user-space portion of ceph on all machines? Or do we differentiate between ceph user-space servers on on "server" machines and the kernel client for 'client' access.

4) Is there some other documentation that explains bringing up ceph for the first time? Everything I find is vectored to the wiki.

Clearly I am missing the larger picture on how to install. Thanks in advance for any info.

Best,
-PWM

#1 lore raw

Hi Peter,

Quoted 12 lines · Peter W. Morreale

I'm having a difficult time installing ceph for the first time by following the newdream wiki site. Can some kind soul help with the following?

I've built ceph 0.24 from the tarball on a pristine OpenSUSE 11.3 release, and performed:

% make
% make install
% make install-data (from reading the makefiles)

Quoted 8 lines

The goal is to install ceph on 3 identical machines, each with a dedicated partition, using btrfs. (yes, ssh access w/o passwords are configured among these machines)

1) /etc/init.d/ceph is not installed, nor are the sample confs installed in /etc/ceph. Is there some other make target I need to run? The INSTALL file in the source is not very helpful. Install manually? Where is the init.d script? (.../src/ceph is a binary.)

Currently the init.d script isn't installed by 'make install', only by the debian/redhat packaging. This is partly just ignorance on my part: I'm not sure to what extent the init.d script location is OS dependent. You can copy it yourself from src/init-ceph.

Quoted 4 lines

2) Do I need a kernel client? Its not clear to me from the wiki what
the role of the kernel module is. Do I need the kernel client for
client access only? From a previous post I inferred that one could use fuse for client access, is that correct?

Right. The kernel module is only for client access. You can use cfuse instead.

Quoted 3 lines

3) I assume I need to install the user-space portion of ceph on all machines? Or do we differentiate between ceph user-space servers on on "server" machines and the kernel client for 'client' access.

The daemons are only needed on the server machines. /sbin/mount.ceph is needed on the client side only if you want to mount by hostname instead of ip.

Quoted 5 lines

4) Is there some other documentation that explains bringing up ceph for the first time? Everything I find is vectored to the wiki.

Clearly I am missing the larger picture on how to install. Thanks in advance for any info.

The wiki is it. Any specific suggestions on what pieces of information (beyond the above) that would make it more helpful are welcome!

sage

#2 lore raw
Quoted 7 lines · Sage Weil

Hi Peter,

Quoted 4 lines · Peter W. Morreale

I'm having a difficult time installing ceph for the first time by following the newdream wiki site. Can some kind soul help with the following?

..

Quoted 7 lines
Quoted 3 lines

Clearly I am missing the larger picture on how to install. Thanks in advance for any info.

The wiki is it. Any specific suggestions on what pieces of information (beyond the above) that would make it more helpful are welcome!

Thanks Sage. I completely understand on where things stand and yes, I will make suggestions as I get further along.

Best,
-PWM

Quoted 5 lines

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

I use

./autogen.sh && CXXFLAGS="-g -O2" ./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc --with-debug

Maybe we should put that into a 1-line script and check it in; I don't know.

automake is a little wacky sometimes (in my opinion)... for example, I think the default sysconf dir is /usr/etc, which most people don't expect

Colin

Quoted 31 lines · Peter W. Morreale
Quoted 7 lines · Sage Weil

Hi Peter,

Quoted 4 lines · Peter W. Morreale

I'm having a difficult time installing ceph for the first time by following the newdream wiki site.  Can some kind soul help with the following?

..

Quoted 7 lines
Quoted 3 lines

Clearly I am missing the larger picture on how to install.  Thanks in advance for any info.

The wiki is it.  Any specific suggestions on what pieces of information (beyond the above) that would make it more helpful are welcome!

Thanks Sage.  I completely understand on where things stand and yes, I will make suggestions as I get further along.

Best,
-PWM

Quoted 5 lines

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html