From: Sage Weil Date: Thu, 16 Jun 2016 17:55:11 +0000 (-0400) Subject: README.md: document running a test cluster X-Git-Tag: v11.0.0~145^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1a877660e912dd7d6219b54c8aa02ddc46afec70;p=ceph.git README.md: document running a test cluster Signed-off-by: Sage Weil --- diff --git a/README.md b/README.md index 95ee410061bc..3d01421c7b10 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,40 @@ For RPM-based systems (Red Hat, SUSE, etc.), rpmbuild + +Running a test cluster +====================== + +Autotools +--------- + +To run a functional test cluster, + + cd src + ./vstart.sh -d -n -x -l + ./ceph -s + +Almost all of the usual commands are available in the src/ directory. +For example, + + ./rados -p rbd bench 30 write + ./rbd create foo --size 1000 + +To shut down the test cluster, + + ./stop.sh + +To start or stop individual daemons, the sysvinit script should work: + + ./init-ceph restart osd.0 + ./init-ceph stop + +CMake +----- + +??? + + Running unit tests ================== @@ -142,6 +176,7 @@ CMake ??? + Building the Documentation ==========================