Skip to content

Commit

Permalink
Merge pull request ceph#44801 from sebastian-philipp/doc-cephadm-coun…
Browse files Browse the repository at this point in the history
…t-per-host

doc/cephadm: Co-location of daemons

Reviewed-by: Adam King <[email protected]>
Reviewed-by:Anthony D'Atri <[email protected]>
  • Loading branch information
sebastian-philipp authored Jan 28, 2022
2 parents ebabf9b + bae07a4 commit 39f972a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
24 changes: 24 additions & 0 deletions doc/cephadm/services/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,30 @@ YAML can also be used to specify limits on hosts:
- host2
- host3
.. _cephadm_co_location:

Co-location of daemons
----------------------

Cephadm supports the deployment of multiple daemons on the same host:

.. code-block:: yaml
service_type: rgw
placement:
label: rgw
count-per-host: 2
The main reason for deploying multiple daemons per host is an additional
performance benefit for running multiple RGW and MDS daemons on the same host.

See also:

* :ref:`cephadm_mgr_co_location`.
* :ref:`cephadm-rgw-designated_gateways`.

This feature was introduced in Pacific.

Algorithm description
---------------------

Expand Down
8 changes: 7 additions & 1 deletion doc/cephadm/services/mgr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ example spec file (leveraging a default placement):
networks:
- 192.169.142.0/24
.. _cephadm_mgr_co_location:

Allow co-location of MGR daemons
================================

In deployment scenarios with just a single host, cephadm still needs
to deploy at least two MGR daemons. See ``mgr_standby_modules`` in
to deploy at least two MGR daemons in order to allow an automated
upgrade of the cluster. See ``mgr_standby_modules`` in
the :ref:`mgr-administrator-guide` for further details.

See also: :ref:`cephadm_co_location`.


Further Reading
===============

Expand Down
4 changes: 4 additions & 0 deletions doc/cephadm/services/rgw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ under the arbitrary service id *foo*:

ceph orch apply rgw foo

.. _cephadm-rgw-designated_gateways:

Designated gateways
-------------------

Expand All @@ -49,6 +51,8 @@ ports 8000 and 8001:
ceph orch host label add gwhost2 rgw
ceph orch apply rgw foo '--placement=label:rgw count-per-host:2' --port=8000

See also: :ref:`cephadm_co_location`.

.. _cephadm-rgw-networks:

Specifying Networks
Expand Down

0 comments on commit 39f972a

Please sign in to comment.