Skip to contentSkip to conversation

is it possible to set up debug env for ceph?

DISCUSSION Sage Weil 1 participant 1 message Aug 27, 2013 1 message not in the archive

lore
Share & tools
lore

Sage Weil

author
#1 lore raw
In reply to a message not in the archive

[adding ceph-devel]

Quoted 8 lines · ??

hi, sage,

Sorry to trouble you, recently I started to use ceph to deploy a TB cluster, and it works with 10 osds and I love the S3 APIs! Thank god for your job and hope this project long live!
I wonder if it is possible to set up a env to debug the source code? first I am not so familiar with c++, can you point me out to some solutions with tools or some docs, or some blogs? :)

You can build from source and get a test cluster going with

git clone git://github.com/ceph/ceph
cd ceph
git submodule update --init
./do_autogen.sh
make
cd src
mkdir out dev
./vstart.sh -d -n

vstart sets up a simple cluster in the current directory which is suitable for development and testing. Commands like

./init-ceph restart osd
./ceph -s

all work.

Good luck!
sage