summaryrefslogtreecommitdiff
path: root/doc/config-cluster/deploying-ceph-conf.rst
blob: be9258f0bb5a79cc6c452f3a5a022a7c97240b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
==================================
 Deploying the 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.