Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / rados / operations / data-placement.rst
1 =========================
2  Data Placement Overview
3 =========================
4
5 Ceph stores, replicates and rebalances data objects across a RADOS cluster
6 dynamically.  With many different users storing objects in different pools for
7 different purposes on countless OSDs, Ceph operations require some data
8 placement planning.  The main data placement planning concepts in Ceph include:
9
10 - **Pools:** Ceph stores data within pools, which are logical groups for storing
11   objects. Pools manage the number of placement groups, the number of replicas,
12   and the ruleset for the pool. To store data in a pool, you must have
13   an authenticated user with permissions for the pool. Ceph can snapshot pools.
14   See `Pools`_ for additional details.
15
16 - **Placement Groups:** Ceph maps objects to placement groups (PGs).
17   Placement groups (PGs) are shards or fragments of a logical object pool
18   that place objects as a group into OSDs. Placement groups reduce the amount
19   of per-object metadata when Ceph stores the data in OSDs. A larger number of
20   placement groups (e.g., 100 per OSD) leads to better balancing. See
21   `Placement Groups`_ for additional details.
22
23 - **CRUSH Maps:**  CRUSH is a big part of what allows Ceph to scale without
24   performance bottlenecks, without limitations to scalability, and without a
25   single point of failure. CRUSH maps provide the physical topology of the
26   cluster to the CRUSH algorithm to determine where the data for an object
27   and its replicas should be stored, and how to do so across failure domains
28   for added data safety among other things. See `CRUSH Maps`_ for additional
29   details.
30
31 When you initially set up a test cluster, you can use the default values. Once
32 you begin planning for a large Ceph cluster, refer to pools, placement groups
33 and CRUSH for data placement operations.
34
35 .. _Pools: ../pools
36 .. _Placement Groups: ../placement-groups
37 .. _CRUSH Maps: ../crush-map