mirror of
https://github.com/ceph/ceph
synced 2024-12-23 03:44:23 +00:00
812989bf35
doc/architecture.rst - removed broken reference. doc/config-cluster - cleanup and added chef doc/install - Made generic to add Chef, OpenStack and libvert installs doc/init - Created light start | stop and health section doc/source - Removed $ from code examples. Trimmed paras to 80 char doc/images - Added preliminary diagram for Chef. doc/rec - Added reference to hardware. Added filesystem info. Signed-off-by: John Wilkins <john.wilkins@dreamhost.com>
40 lines
1.1 KiB
ReStructuredText
40 lines
1.1 KiB
ReStructuredText
==============================
|
|
Deploying Ceph Configuration
|
|
==============================
|
|
Ceph's ``mkcephfs`` 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
|
|
if you are using ``mkcephfs`` to deploy Ceph.
|
|
|
|
::
|
|
|
|
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 does 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.
|