]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm/service-management: Move Deployment of Daemons
authorSebastian Wagner <sewagner@redhat.com>
Tue, 14 Sep 2021 14:43:17 +0000 (16:43 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:17 +0000 (10:01 +0100)
.. into "Daemon Placement"

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit b68c99cd739d8f92784a3398e238e3ed6903046f)

doc/cephadm/service-management.rst

index eaf0be9060f6987b7734343e04e29fd21050b94c..10d0280e4a51279c6d5cafc85d68cb8f58a9f7b7 100644 (file)
@@ -172,8 +172,8 @@ specification.
 
 .. _orchestrator-cli-placement-spec:
 
-Placement Specification
-=======================
+Daemon Placement
+================
 
 For the orchestrator to deploy a *service*, it needs to know where to deploy
 *daemons*, and how many to deploy.  This is the role of a placement
@@ -346,8 +346,8 @@ Or in YAML:
       host_pattern: "*"
 
 
-Changing the number of monitors
--------------------------------
+Changing the number of daemons
+------------------------------
 
 By specifying ``count``, only the number of daemons specified will be created:
 
@@ -389,31 +389,11 @@ YAML can also be used to specify limits on hosts:
         - host2
         - host3
 
-.. _orch-rm:
-
-Removing a Service
-==================
-
-In order to remove a service including the removal
-of all daemons of that service, run
-
-.. prompt:: bash
-
-  ceph orch rm <service-name>
-
-For example:
-
-.. prompt:: bash
-
-  ceph orch rm rgw.myrgw
-
-    
-Deployment of Daemons
-=====================
+Algorithm description
+---------------------
 
-Cephadm uses a declarative state to define the layout of the cluster. This
-state consists of a list of service specifications containing placement
-specifications (See :ref:`orchestrator-cli-service-spec` ). 
+Cephadm's declarative state consists of a list of service specifications
+containing placement specifications.
 
 Cephadm continually compares a list of daemons actually running in the cluster
 against the list in the service specifications. Cephadm adds new daemons and
@@ -456,12 +436,29 @@ Finally, cephadm removes daemons on hosts that are outside of the list of
 candidate hosts.
 
 .. note::
-    
+
    There is a special case that cephadm must consider.
 
-   If there are fewer hosts selected by the placement specification than 
+   If there are fewer hosts selected by the placement specification than
    demanded by ``count``, cephadm will deploy only on the selected hosts.
 
+.. _orch-rm:
+
+Removing a Service
+==================
+
+In order to remove a service including the removal
+of all daemons of that service, run
+
+.. prompt:: bash
+
+  ceph orch rm <service-name>
+
+For example:
+
+.. prompt:: bash
+
+  ceph orch rm rgw.myrgw
 
 .. _cephadm-spec-unmanaged: