]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docs: add docs for the lvm_osds OSD scenario
authorAndrew Schoen <aschoen@redhat.com>
Wed, 19 Jul 2017 19:15:44 +0000 (14:15 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 4 Aug 2017 11:13:09 +0000 (06:13 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
docs/source/index.rst
docs/source/osds/scenarios.rst [new file with mode: 0644]

index 4239ead35bd7a0acadb842e36ca41ad8d34ea633..b4d53b9f03b32db0a14e69322eda6c89c700b4bc 100644 (file)
@@ -18,6 +18,12 @@ Testing
 OSDs
 ====
 
+.. toctree::
+   :maxdepth: 1
+
+   osds/scenarios
+    
+
 MONs
 ====
 
diff --git a/docs/source/osds/scenarios.rst b/docs/source/osds/scenarios.rst
new file mode 100644 (file)
index 0000000..03c46a2
--- /dev/null
@@ -0,0 +1,27 @@
+OSD Scenarios
+=============
+
+lvm_osds
+--------
+This OSD scenario uses ``ceph-volume`` to create OSDs from logical volumes and
+is only available when the ceph release is Luminous or greater.
+
+.. note::
+   The creation of the logical volumes is not supported by ceph-ansible, ceph-volume
+   only creates OSDs from existing logical volumes.
+
+Use ``lvm_osds:true`` to enable this scenario. Currently we only support dedicated journals
+when using lvm, not collocated journals.
+
+To configure this scenario use the ``lvm_volumes`` config option. ``lvm_volumes``  is a dictionary whose
+key/value pairs represent a data lv and a journal pair. Journals can be either a lv, device or partition.
+You can not use the same journal for many data lvs.
+
+For example, a configuration to use ``lvm_osds`` would look like::
+    
+    lvm_osds: true
+
+    lvm_volumes:
+      data-lv1: journal-lv1
+      data-lv2: /dev/sda
+      data:lv3: /dev/sdb1