1- ================
2- Cephadm & Kayobe
3- ================
1+ ====
2+ Ceph
3+ ====
44
55This 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.
77
88The Cephadm integration takes the form of custom playbooks that wrap
99around the Ansible `stackhpc.cephadm collection
@@ -19,10 +19,10 @@ create or modify Ceph cluster deployments. Supported features are:
1919Resources
2020=========
2121
22- - https://docs.ceph.com/en/pacific/cephadm/index.html
23- - https://docs.ceph.com/en/pacific/
2422- https://docs.ceph.com/en/quincy/cephadm/index.html
2523- https://docs.ceph.com/en/quincy/
24+ - https://docs.ceph.com/en/reef/cephadm/index.html
25+ - https://docs.ceph.com/en/reef/
2626- https://github.com/stackhpc/ansible-collection-cephadm
2727
2828Configuration
@@ -107,7 +107,7 @@ OSD specification
107107~~~~~~~~~~~~~~~~~
108108
109109The following example is a basic OSD spec that adds OSDs for all
110- available disks:
110+ available disks with encryption at rest :
111111
112112.. code :: yaml
113113
@@ -118,9 +118,10 @@ available disks:
118118 host_pattern : " *"
119119 data_devices :
120120 all : true
121+ encrypted : true
121122
122123 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 >`__.
124125
125126Container image
126127~~~~~~~~~~~~~~~
@@ -264,6 +265,24 @@ post-deployment configuration is applied. Commands in the
264265``cephadm_commands_post `` list are executed after the rest of the Ceph
265266post-deployment configuration is applied.
266267
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+
267286 Manila & CephFS
268287~~~~~~~~~~~~~~~
269288
0 commit comments