summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2016-06-16 13:55:11 -0400
committerSage Weil <sage@redhat.com>2016-06-16 14:14:26 -0400
commit1a877660e912dd7d6219b54c8aa02ddc46afec70 (patch)
treee7ef02824c70834f5b6d88c3ed4a61818647bb8b /README.md
parent3b56a2e22ca87c7c2ca13dacb6a587d30288cb54 (diff)
downloadceph-1a877660e912dd7d6219b54c8aa02ddc46afec70.tar.gz
README.md: document running a test cluster
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md35
1 files changed, 35 insertions, 0 deletions
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
==========================