Skip to content

Commit fe09a6e

Browse files
committed
docs: Add an example of Ceph messenger v2 encryption at rest
1 parent 3340b41 commit fe09a6e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/source/configuration/cephadm.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,24 @@ post-deployment configuration is applied. Commands in the
265265
``cephadm_commands_post`` list are executed after the rest of the Ceph
266266
post-deployment configuration is applied.
267267

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+
268286
Manila & CephFS
269287
~~~~~~~~~~~~~~~
270288

0 commit comments

Comments
 (0)