2012-05-03 03:31:35 +00:00
|
|
|
==============================
|
|
|
|
Deploying Ceph Configuration
|
|
|
|
==============================
|
2012-05-03 17:15:21 +00:00
|
|
|
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)
|
2012-05-01 02:03:53 +00:00
|
|
|
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
|
2012-05-03 17:15:21 +00:00
|
|
|
|
|
|
|
|
2012-05-01 02:03:53 +00:00
|
|
|
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
|
2012-05-03 17:15:21 +00:00
|
|
|
|
2012-05-01 02:03:53 +00:00
|
|
|
The current deployment script may not create the default server directories. Create
|
|
|
|
server directories for each instance of a Ceph daemon.
|
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
Using the exemplary ``ceph.conf`` file, you would perform the following:
|
2012-05-01 02:03:53 +00:00
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
On ``myserver01``::
|
2012-05-01 02:03:53 +00:00
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
mkdir srv/osd.0
|
2012-05-01 02:03:53 +00:00
|
|
|
mkdir srv/mon.a
|
|
|
|
|
|
|
|
On ``myserver02``::
|
|
|
|
|
|
|
|
mkdir srv/osd.1
|
|
|
|
mkdir srv/mon.b
|
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
On ``myserver03``::
|
2012-05-01 02:03:53 +00:00
|
|
|
|
|
|
|
mkdir srv/osd.2
|
|
|
|
mkdir srv/mon.c
|
2012-05-03 17:15:21 +00:00
|
|
|
|
2012-05-01 02:03:53 +00:00
|
|
|
On ``myserver04``::
|
|
|
|
|
|
|
|
mkdir srv/osd.3
|
|
|
|
|
|
|
|
.. important:: The ``host`` variable determines which host runs each instance of a Ceph daemon.
|