2012-07-03 01:03:02 +00:00
|
|
|
===============
|
|
|
|
Configuration
|
|
|
|
===============
|
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
Ceph can run with a cluster containing thousands of Object Storage Devices
|
|
|
|
(OSDs). A minimal system will have at least two OSDs for data replication. To
|
|
|
|
configure OSD clusters, you must provide settings in the configuration file.
|
|
|
|
Ceph provides default values for many settings, which you can override in the
|
|
|
|
configuration file. Additionally, you can make runtime modification to the
|
2012-05-03 03:31:35 +00:00
|
|
|
configuration using command-line utilities.
|
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
When Ceph starts, it activates three daemons:
|
2012-05-03 03:31:35 +00:00
|
|
|
|
|
|
|
- ``ceph-osd`` (mandatory)
|
|
|
|
- ``ceph-mon`` (mandatory)
|
|
|
|
- ``ceph-mds`` (mandatory for cephfs only)
|
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
Each process, daemon or utility loads the host's configuration file. A process
|
|
|
|
may have information about more than one daemon instance (*i.e.,* multiple
|
|
|
|
contexts). A daemon or utility only has information about a single daemon
|
2012-05-03 03:31:35 +00:00
|
|
|
instance (a single context).
|
|
|
|
|
|
|
|
.. note:: Ceph can run on a single host for evaluation purposes.
|
|
|
|
|
2012-08-30 07:38:01 +00:00
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<table cellpadding="10"><colgroup><col width="50%"><col width="50%"></colgroup><tbody valign="top"><tr><td><h3>Cluster Configuration</h3>
|
|
|
|
|
|
|
|
For general cluster configuration, refer to the following:
|
|
|
|
|
2012-05-03 03:31:35 +00:00
|
|
|
.. toctree::
|
|
|
|
|
2012-09-03 21:06:44 +00:00
|
|
|
Disks and Filesystems <file-system-recommendations>
|
|
|
|
ceph-conf
|
2012-08-30 07:38:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td><td><h3>Configuration Reference</h3>
|
|
|
|
|
|
|
|
To optimize the performance of your cluster, refer to the following:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
General Settings <general-config-ref>
|
|
|
|
Monitor Settings <mon-config-ref>
|
|
|
|
OSD Settings <osd-config-ref>
|
|
|
|
Filestore Settings <filestore-config-ref>
|
|
|
|
Metadata Server Settings <mds-config-ref>
|
2012-09-03 21:06:44 +00:00
|
|
|
RBD Settings <rbd-config-ref>
|
|
|
|
Log / Debug Settings <log-and-debug-ref>
|
2012-08-30 07:38:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td></tr><tr><td><h3>Manual Deployment</h3>
|
|
|
|
|
|
|
|
To deploy a cluster manually (this is recommended for testing and development only), refer to the following:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2012-05-30 21:29:10 +00:00
|
|
|
Deploy with mkcephfs <mkcephfs>
|
2012-08-30 07:38:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td><td><h3>Chef Deployment</h3>
|
|
|
|
|
|
|
|
To deploy a cluster with chef, refer to the following:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2012-05-18 20:54:51 +00:00
|
|
|
Deploy with Chef <chef>
|
2012-08-30 07:38:01 +00:00
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td></tr></tbody></table>
|