1
- ================
2
- Cephadm & Kayobe
3
- ================
1
+ ====
2
+ Ceph
3
+ ====
4
4
5
5
This section describes how to use the Cephadm integration included in StackHPC
6
- Kayobe configuration since Xena to deploy Ceph.
6
+ Kayobe configuration to deploy Ceph.
7
7
8
8
The Cephadm integration takes the form of custom playbooks that wrap
9
9
around the Ansible `stackhpc.cephadm collection
@@ -19,10 +19,10 @@ create or modify Ceph cluster deployments. Supported features are:
19
19
Resources
20
20
=========
21
21
22
- - https://docs.ceph.com/en/pacific/cephadm/index.html
23
- - https://docs.ceph.com/en/pacific/
24
22
- https://docs.ceph.com/en/quincy/cephadm/index.html
25
23
- https://docs.ceph.com/en/quincy/
24
+ - https://docs.ceph.com/en/reef/cephadm/index.html
25
+ - https://docs.ceph.com/en/reef/
26
26
- https://github.com/stackhpc/ansible-collection-cephadm
27
27
28
28
Configuration
@@ -107,7 +107,7 @@ OSD specification
107
107
~~~~~~~~~~~~~~~~~
108
108
109
109
The following example is a basic OSD spec that adds OSDs for all
110
- available disks:
110
+ available disks with encryption at rest :
111
111
112
112
.. code :: yaml
113
113
@@ -118,9 +118,10 @@ available disks:
118
118
host_pattern : " *"
119
119
data_devices :
120
120
all : true
121
+ encrypted : true
121
122
122
123
More information about OSD service placement is available
123
- `here <https://docs.ceph.com/en/pacific /cephadm/services/osd/#advanced-osd-service-specifications >`__.
124
+ `here <https://docs.ceph.com/en/quincy /cephadm/services/osd/#advanced-osd-service-specifications >`__.
124
125
125
126
Container image
126
127
~~~~~~~~~~~~~~~
@@ -264,6 +265,24 @@ post-deployment configuration is applied. Commands in the
264
265
``cephadm_commands_post `` list are executed after the rest of the Ceph
265
266
post-deployment configuration is applied.
266
267
268
+ Messenger v2 encryption in transit
269
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270
+
271
+ Messenger v2 is the default on-wire protocol since the Nautilus release. It
272
+ supports `encryption of data in transit
273
+ <https://docs.ceph.com/en/quincy/rados/configuration/msgr2/#connection-mode-configuration-options> `_,
274
+ but this is not used by default. It may be enabled as follows:
275
+
276
+ .. code :: yaml
277
+
278
+ # A list of commands to pass to cephadm shell -- ceph. See stackhpc.cephadm.commands
279
+ # for format.
280
+ cephadm_commands_pre :
281
+ # Enable messenger v2 encryption in transit.
282
+ - " config set global ms_cluster_mode secure"
283
+ - " config set global ms_service_mode secure"
284
+ - " config set global ms_client_mode secure"
285
+
267
286
Manila & CephFS
268
287
~~~~~~~~~~~~~~~
269
288
0 commit comments