summaryrefslogtreecommitdiff
path: root/doc/config-cluster/deploying-ceph-conf.rst
blob: c5bc485e1f1fb02302a78eb57ef9ccb35b3e4059 (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``::

	sudo mkdir srv/osd.0
	sudo mkdir srv/mon.a

On ``myserver02``::

	sudo mkdir srv/osd.1
	sudo mkdir srv/mon.b

On ``myserver03``::

	sudo mkdir srv/osd.2
	sudo mkdir srv/mon.c

On ``myserver04``::

	sudo mkdir srv/osd.3

.. important:: The ``host`` variable determines which host runs each instance of a Ceph daemon.