]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
README.md: document running a test cluster
authorSage Weil <sage@redhat.com>
Thu, 16 Jun 2016 17:55:11 +0000 (13:55 -0400)
committerSage Weil <sage@redhat.com>
Thu, 16 Jun 2016 18:14:26 +0000 (14:14 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
README.md

index 95ee410061bcd30567e99bf60a6a7ba079efe5bd..3d01421c7b1011ec388b8f9aecf3b99be9a6d6cf 100644 (file)
--- 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
 ==========================