Skip to content

Commit

Permalink
doc/cephadm/operations: document daemon commands
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas authored and rzarzynski committed Sep 12, 2022
1 parent 48f8c8a commit ae45f1e
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions doc/cephadm/operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
================

Expand Down

0 comments on commit ae45f1e

Please sign in to comment.