ceph/doc/config-cluster/deploying-ceph-conf.rst
Tommi Virtanen 5465e81097 doc: Whitespace cleanup.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2012-05-03 10:15:21 -07:00

48 lines
1.4 KiB
ReStructuredText

==============================
Deploying Ceph Configuration
==============================
Ceph's current deployment script does not copy the configuration file you
created from the Administration host to the OSD Cluster hosts. Copy the
configuration file you created (*i.e.,* ``mycluster.conf`` in the example below)
from the Administration host to ``etc/ceph/ceph.conf`` on each OSD Cluster host.
::
ssh myserver01 sudo tee /etc/ceph/ceph.conf <mycluster.conf
ssh myserver02 sudo tee /etc/ceph/ceph.conf <mycluster.conf
ssh myserver03 sudo tee /etc/ceph/ceph.conf <mycluster.conf
The current deployment script doesn't copy the start services. Copy the ``start``
services from the Administration host to each OSD Cluster host. ::
ssh myserver01 sudo /etc/init.d/ceph start
ssh myserver02 sudo /etc/init.d/ceph start
ssh myserver03 sudo /etc/init.d/ceph start
The current deployment script may not create the default server directories. Create
server directories for each instance of a Ceph daemon.
Using the exemplary ``ceph.conf`` file, you would perform the following:
On ``myserver01``::
mkdir srv/osd.0
mkdir srv/mon.a
On ``myserver02``::
mkdir srv/osd.1
mkdir srv/mon.b
On ``myserver03``::
mkdir srv/osd.2
mkdir srv/mon.c
On ``myserver04``::
mkdir srv/osd.3
.. important:: The ``host`` variable determines which host runs each instance of a Ceph daemon.