-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed "Ceph Development Status" per Bryan
Modified title syntax per Tommi Modified paragraph width to 80-chars per Dan Moved "Build from Source" out of Install Renamed create_cluster to config-cluster Added config-ref with configuration reference tables Added a toc ref for man/1/obsync per Dan Removed redundant sections from Ops Deleted "Why use Ceph" and "Introduction to Storage Clusters" Signed-off-by: John Wilkins <[email protected]>
- Loading branch information
John Wilkins
committed
May 3, 2012
1 parent
ec99775
commit d49c3d2
Showing
40 changed files
with
352 additions
and
889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
11 changes: 6 additions & 5 deletions
11
doc/create_cluster/deploying_ceph_conf.rst → doc/config-cluster/deploying_ceph_conf.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
========================================= | ||
Hard Disk and File System Recommendations | ||
========================================= | ||
|
||
Ceph aims for data safety, which means that when the application receives notice | ||
that data was written to the disk, that data was actually written to the disk. | ||
For old kernels (<2.6.33), disable the write cache if the journal is on a raw | ||
disk. Newer kernels should work fine. | ||
|
||
Use ``hdparm`` to disable write caching on the hard disk:: | ||
|
||
$ hdparm -W 0 /dev/hda 0 | ||
|
||
|
||
Ceph OSDs depend on the Extended Attributes (XATTRs) of the underlying file | ||
system for: | ||
|
||
- Internal object state | ||
- Snapshot metadata | ||
- RADOS Gateway Access Control Lists (ACLs). | ||
|
||
Ceph OSDs rely heavily upon the stability and performance of the underlying file | ||
system. The underlying file system must provide sufficient capacity for XATTRs. | ||
File system candidates for Ceph include B tree and B+ tree file systems such as: | ||
|
||
- ``btrfs`` | ||
- ``XFS`` | ||
|
||
If you are using ``ext4``, enable XATTRs. :: | ||
|
||
filestore xattr use omap = true | ||
|
||
.. warning:: XATTR limits. | ||
|
||
The RADOS Gateway's ACL and Ceph snapshots easily surpass the 4-kilobyte limit | ||
for XATTRs in ``ext4``, causing the ``ceph-osd`` process to crash. Version 0.45 | ||
or newer uses ``leveldb`` to bypass this limitation. ``ext4`` is a poor file | ||
system choice if you intend to deploy the RADOS Gateway or use snapshots on | ||
versions earlier than 0.45. | ||
|
||
.. tip:: Use ``xfs`` initially and ``btrfs`` when it is ready for production. | ||
|
||
The Ceph team believes that the best performance and stability will come from | ||
``btrfs.`` The ``btrfs`` file system has internal transactions that keep the | ||
local data set in a consistent state. This makes OSDs based on ``btrfs`` simple | ||
to deploy, while providing scalability not currently available from block-based | ||
file systems. The 64-kb XATTR limit for ``xfs`` XATTRS is enough to accommodate | ||
RDB snapshot metadata and RADOS Gateway ACLs. So ``xfs`` is the second-choice | ||
file system of the Ceph team in the long run, but ``xfs`` is currently more | ||
stable than ``btrfs``. If you only plan to use RADOS and ``rbd`` without | ||
snapshots and without ``radosgw``, the ``ext4`` file system should work just fine. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
=============================== | ||
Configuring a Storage Cluster | ||
=============================== | ||
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 | ||
configuration using command-line utilities. | ||
|
||
When Ceph starts, it activates three daemons: | ||
|
||
- ``ceph-osd`` (mandatory) | ||
- ``ceph-mon`` (mandatory) | ||
- ``ceph-mds`` (mandatory for cephfs only) | ||
|
||
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 | ||
instance (a single context). | ||
|
||
.. note:: Ceph can run on a single host for evaluation purposes. | ||
|
||
.. toctree:: | ||
|
||
file_system_recommendations | ||
Configuration <ceph_conf> | ||
Deploy Config <deploying_ceph_conf> | ||
deploying_ceph_with_mkcephfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
========================= | ||
Configuration reference | ||
Configuration Reference | ||
========================= | ||
|
||
.. todo:: write me | ||
|
||
OSD (RADOS) | ||
=========== | ||
|
||
Monitor | ||
======= | ||
|
||
MDS | ||
=== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
config-ref/mon-config | ||
config-ref/osd-config | ||
config-ref/mds-config |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.