From: Sage Weil Date: Tue, 2 Nov 2021 14:23:56 +0000 (-0400) Subject: doc/cephadm/operations: document daemon commands X-Git-Tag: v18.0.0~39^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae45f1ec37f2f31e289428b4ed0762de0462ecf3;p=ceph.git doc/cephadm/operations: document daemon commands Signed-off-by: Sage Weil --- diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index 3641ccd1c858..4d6f033f24c7 100644 --- a/doc/cephadm/operations.rst +++ b/doc/cephadm/operations.rst @@ -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 + ceph orch daemon start + ceph orch daemon restart + +You can also do the same for all daemons for a service with: + +.. prompt:: bash # + + ceph orch stop + ceph orch start + ceph orch restart + + +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 [--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 + + Ceph daemon logs ================