]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm/operations: document daemon commands
authorSage Weil <sage@newdream.net>
Tue, 2 Nov 2021 14:23:56 +0000 (10:23 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Sep 2022 16:15:58 +0000 (16:15 +0000)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit ae45f1ec37f2f31e289428b4ed0762de0462ecf3)

doc/cephadm/operations.rst

index 9ec8371c89ad0805bbc9657e47cd173ce3444ba3..a342ce983adfbb5537a65d83c1d995c3f06cd42d 100644 (file)
@@ -40,6 +40,53 @@ monitor hosts as well as to the monitor daemons' stderr.
 
 .. _cephadm-logs:
 
+
+Ceph daemon control
+===================
+
+Starting and stopping daemons
+-----------------------------
+
+You can stop, start, or restart a daemon with:
+
+.. prompt:: bash #
+
+   ceph orch daemon stop <name>
+   ceph orch daemon start <name>
+   ceph orch daemon restart <name>
+
+You can also do the same for all daemons for a service with:   
+
+.. prompt:: bash #
+
+   ceph orch stop <name>
+   ceph orch start <name>
+   ceph orch restart <name>
+
+
+Redeploying or reconfiguring a daemon
+-------------------------------------
+
+The container for a daemon can be stopped, recreated, and restarted with
+the ``redeploy`` command:
+
+.. prompt:: bash #
+
+   ceph orch daemon redeploy <name> [--image <image>]
+
+A container image name can optionally be provided to force a
+particular image to be used (instead of the image specified by the
+``container_image`` config value).
+
+If only the ceph configuration needs to be regenerated, you can also
+issue a ``reconfig`` command, which will rewrite the ``ceph.conf``
+file but will not trigger a restart of the daemon.
+
+.. prompt:: bash #
+
+   ceph orch daemon reconfig <name>
+
+
 Ceph daemon logs
 ================