for the orchestrator module is needed.
+--------------------------------------+---------------------------------------+
-| host | hostname (not DNS name) of the |
+| *host* | hostname (not DNS name) of the |
| | physical host. Not the podname, |
| | container name, or hostname inside |
| | the container. |
+--------------------------------------+---------------------------------------+
-| service type | The type of the service. e.g., nfs, |
+| *service type* | The type of the service. e.g., nfs, |
| | mds, osd, mon, rgw, mgr, iscsi |
+--------------------------------------+---------------------------------------+
-| service | A logical service, Typically |
+| *service* | A logical service, Typically |
| | comprised of multiple service |
| | instances on multiple hosts for HA |
| | |
| | * ``rgw_zone`` for rgw type |
| | * ``ganesha_cluster_id`` for nfs type |
+--------------------------------------+---------------------------------------+
-| service instance | A single instance of a service. |
-| | Usually a daemon, but maybe not |
+| *daemon* | A single instance of a service. |
+| | Usually a daemon, but maybe not |
| | (e.g., might be a kernel service |
| | like LIO or knfsd or whatever) |
| | |
| | This identifier should |
| | uniquely identify the instance |
+--------------------------------------+---------------------------------------+
-| daemon | A running process on a host; use |
-| | “service instance” instead |
-+--------------------------------------+---------------------------------------+
The relation between the names is the following:
-* a service belongs to a service type
-* a service instance belongs to a service type
-* a service instance belongs to a single service group
-
-Configuration
-=============
-
-To enable the orchestrator, please select the orchestrator module to use
-with the ``set backend`` command::
-
- ceph orch set backend <module>
-
-For example, to enable the Rook orchestrator module and use it with the CLI::
-
- ceph mgr module enable rook
- ceph orch set backend rook
-
-You can then check backend is properly configured::
-
- ceph orch status
-
-Disable the Orchestrator
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-To disable the orchestrator again, use the empty string ``""``::
-
- ceph orch set backend ""
- ceph mgr module disable rook
-
-Usage
-=====
+* A *service* has a specfic *service type*
+* A *daemon* is a physical instance of a *service type*
-.. warning::
-
- The orchestrator CLI is unfinished and work in progress. Some commands will not
- exist, or return a different result.
.. note::
differ between implementations.
Status
-~~~~~~
+======
::
Also show any in-progress actions.
Host Management
-~~~~~~~~~~~~~~~
+===============
List hosts associated with the cluster::
ceph orch host rm <host>
OSD Management
-~~~~~~~~~~~~~~
+==============
List Devices
-^^^^^^^^^^^^
+------------
Print a list of discovered devices, grouped by host and optionally
filtered to a particular host:
Output form Ansible orchestrator
Create OSDs
-^^^^^^^^^^^
+-----------
Create OSDs on a group of devices on a single host::
Output form Ansible orchestrator
Decommission an OSD
-^^^^^^^^^^^^^^^^^^^
+-------------------
::
ceph orch osd rm <osd-id> [osd-id...]
Monitor and manager management
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+==============================
Creates or removes MONs or MGRs from the cluster. Orchestrator may return an
error if it doesn't know how to do this transition.
Service Status
-~~~~~~~~~~~~~~
+==============
Print a list of services known to the orchestrator. The list can be limited to
services on a particular host with the optional --host parameter and/or
Stateless services (MDS/RGW/NFS/rbd-mirror/iSCSI)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+=================================================
+
The orchestrator is not responsible for configuring the services. Please look into the corresponding
documentation for details.
ceph orch daemon {start,stop,reload} <type> <daemon-id>
+
+Configuring the Orchestrator CLI
+================================
+
+To enable the orchestrator, select the orchestrator module to use
+with the ``set backend`` command::
+
+ ceph orch set backend <module>
+
+For example, to enable the Rook orchestrator module and use it with the CLI::
+
+ ceph mgr module enable rook
+ ceph orch set backend rook
+
+Check the backend is properly configured::
+
+ ceph orch status
+
+Disable the Orchestrator
+------------------------
+
+To disable the orchestrator, use the empty string ``""``::
+
+ ceph orch set backend ""
+ ceph mgr module disable rook
Current Implementation Status
=============================