Skip to content

Commit

Permalink
README.md: document running a test cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Jun 16, 2016
1 parent 3b56a2e commit 1a87766
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
==================

Expand Down Expand Up @@ -142,6 +176,7 @@ CMake

???


Building the Documentation
==========================

Expand Down

0 comments on commit 1a87766

Please sign in to comment.