blob: 7c8fbce42728d2db1b59e23fd07ed8fab3a959b0 [file] [log] [blame]
jpavlik8425d362015-06-09 15:23:27 +02001========
2CEPH RBD
3========
4
5Cephs RADOS provides you with extraordinary data storage scalabilitythousands of client hosts or KVMs accessing petabytes to exabytes of data. Each one of your applications can use the object, block or file system interfaces to the same RADOS cluster simultaneously, which means your Ceph storage system serves as a flexible foundation for all of your data storage needs.
6
7Install and configure the Ceph MON and ODS services
8
9
10
11Sample pillars
12==============
13
14Ceph OSDs: A Ceph OSD Daemon (Ceph OSD) stores data, handles data replication, recovery, backfilling, rebalancing, and provides some monitoring information to Ceph Monitors by checking other Ceph OSD Daemons for a heartbeat. A Ceph Storage Cluster requires at least two Ceph OSD Daemons to achieve an active + clean state when the cluster makes two copies of your data (Ceph makes 2 copies by default, but you can adjust it).
15
16.. code-block:: yaml
17
18 ceph:
19 osd:
20 config:
21 global:
22 fsid: 00000000-0000-0000-0000-000000000000
23 mon initial members: ceph1,ceph2,ceph3
24 mon host: 10.103.255.252:6789,10.103.255.253:6789,10.103.255.254:6789
25 osd_fs_mkfs_arguments_xfs:[]
26 osd_fs_mount_options_xfs: rw,noatime
27 network public: 10.0.0.0/24
28 network cluster: 10.0.0.0/24
29 osd_fs_type: xfs
30 osd:
31 osd journal size: 7500
32 filestore xattr use omap: true
33 mon:
34 mon debug dump transactions: false
35 keyring:
jan kaufman4f7757b2015-06-12 10:49:00 +020036 cinder:
37 key: 00000000000000000000000000000000000000==
38 glance:
39 key: 00000000000000000000000000000000000000==
jpavlik8425d362015-06-09 15:23:27 +020040
41Monitors: A Ceph Monitor maintains maps of the cluster state, including the monitor map, the OSD map, the Placement Group (PG) map, and the CRUSH map. Ceph maintains a history (called an epoch”) of each state change in the Ceph Monitors, Ceph OSD Daemons, and PGs.
42
43.. code-block:: yaml
44
45 ceph:
46 mon:
47 config:
48 global:
49 fsid: 00000000-0000-0000-0000-000000000000
50 mon initial members: ceph1,ceph2,ceph3
51 mon host: 10.103.255.252:6789,10.103.255.253:6789,10.103.255.254:6789
52 osd_fs_mkfs_arguments_xfs:[]
53 osd_fs_mount_options_xfs: rw,noatime
54 network public: 10.0.0.0/24
55 network cluster: 10.0.0.0/24
56 osd_fs_type: xfs
57 osd:
58 osd journal size: 7500
59 filestore xattr use omap: true
60 mon:
61 mon debug dump transactions: false
62 keyring:
jan kaufman4f7757b2015-06-12 10:49:00 +020063 cinder:
64 key: 00000000000000000000000000000000000000==
65 glance:
66 key: 00000000000000000000000000000000000000==
jpavlik8425d362015-06-09 15:23:27 +020067
68Client pillar - ussually located at cinder-volume or glance-registry.
69
70.. code-block:: yaml
71
72 ceph:
73 client:
74 config:
75 global:
76 fsid: 00000000-0000-0000-0000-000000000000
77 mon initial members: ceph1,ceph2,ceph3
78 mon host: 10.103.255.252:6789,10.103.255.253:6789,10.103.255.254:6789
79 osd_fs_mkfs_arguments_xfs:[]
80 osd_fs_mount_options_xfs: rw,noatime
81 network public: 10.0.0.0/24
82 network cluster: 10.0.0.0/24
83 osd_fs_type: xfs
84 osd:
85 osd journal size: 7500
86 filestore xattr use omap: true
87 mon:
88 mon debug dump transactions: false
89 keyring:
jan kaufman4f7757b2015-06-12 10:49:00 +020090 cinder:
91 key: 00000000000000000000000000000000000000==
92 glance:
93 key: 00000000000000000000000000000000000000==
jpavlik8425d362015-06-09 15:23:27 +020094
95Read more
96=========
97
98* https://github.com/cloud-ee/ceph-salt-formula
99* http://ceph.com/ceph-storage/
jan kaufman4f7757b2015-06-12 10:49:00 +0200100* http://ceph.com/docs/master/start/intro/