ceph/doc/ops/manage/grow/osd.rst
Tommi Virtanen b162696b32 doc: Fix reStructuredText syntax errors.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2012-03-30 11:11:12 -07:00

44 lines
802 B
ReStructuredText

============================
Resizing the RADOS cluster
============================
Adding a new OSD to the cluster
===============================
Briefly...
#. Allocate a new OSD id::
$ ceph osd create
123
#. Make sure ceph.conf is valid for the new OSD.
#. Initialize osd data directory::
$ ceph-osd -i 123 --mkfs --mkkey
#. Register the OSD authentication key::
$ ceph auth add osd.123 osd 'allow *' mon 'allow rwx' -i /var/lib/ceph/osd-data/123/keyring
#. Adjust the CRUSH map to allocate data to the new device (see :ref:`adjusting-crush`).
Removing OSDs
=============
Briefly...
#. Stop the daemon
#. Remove it from the CRUSH map::
$ ceph osd crush remove osd.123
#. Remove it from the osd map::
$ ceph osd rm 123
See also :ref:`failures-osd`.