diff options
author | Sage Weil <sage@redhat.com> | 2016-06-16 13:55:11 -0400 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2016-06-16 14:14:26 -0400 |
commit | 1a877660e912dd7d6219b54c8aa02ddc46afec70 (patch) | |
tree | e7ef02824c70834f5b6d88c3ed4a61818647bb8b /README.md | |
parent | 3b56a2e22ca87c7c2ca13dacb6a587d30288cb54 (diff) | |
download | ceph-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.md | 35 |
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 ========================== |