From 1a877660e912dd7d6219b54c8aa02ddc46afec70 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Jun 2016 13:55:11 -0400 Subject: [PATCH] README.md: document running a test cluster Signed-off-by: Sage Weil --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 95ee410061b..3d01421c7b1 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 ========================== -- 2.39.5