From ae45f1ec37f2f31e289428b4ed0762de0462ecf3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 2 Nov 2021 10:23:56 -0400 Subject: [PATCH] doc/cephadm/operations: document daemon commands Signed-off-by: Sage Weil --- doc/cephadm/operations.rst | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index 3641ccd1c85..4d6f033f24c 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 ================ -- 2.47.3