-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from sabaini/doc-cluster-cmds
Doc: cluster commands
- Loading branch information
Showing
1 changed file
with
208 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
=========== | ||
``cluster`` | ||
=========== | ||
|
||
Manages the MicroCeph cluster. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster [flags] | ||
microceph cluster [command] | ||
Available commands: | ||
|
||
.. code-block:: none | ||
add Generates a token for a new server | ||
bootstrap Sets up a new cluster | ||
config Manage Ceph Cluster configs | ||
join Joins an existing cluster | ||
list List servers in the cluster | ||
migrate Migrate automatic services from one node to another | ||
remove Removes a server from the cluster | ||
sql Runs a SQL query against the cluster database | ||
Global options: | ||
|
||
.. code-block:: none | ||
-d, --debug Show all debug messages | ||
-h, --help Print help | ||
--state-dir Path to store state information | ||
-v, --verbose Show all information messages | ||
--version Print version number | ||
``add`` | ||
------- | ||
|
||
Generates a token for a new server | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster add <NAME> [flags] | ||
``bootstrap`` | ||
------------- | ||
|
||
Sets up a new cluster | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster bootstrap [flags] | ||
``config`` | ||
---------- | ||
|
||
Manages Ceph Cluster configs. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster config [flags] | ||
microceph cluster config [command] | ||
Available Commands: | ||
|
||
.. code-block:: none | ||
get Get specified Ceph Cluster config | ||
list List all set Ceph level configs | ||
reset Clear specified Ceph Cluster config | ||
set Set specified Ceph Cluster config | ||
``config get`` | ||
-------------- | ||
|
||
Gets specified Ceph Cluster config. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster config get <key> [flags] | ||
``config list`` | ||
--------------- | ||
|
||
Lists all set Ceph level configs. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster config list [flags] | ||
``config reset`` | ||
---------------- | ||
|
||
Clears specified Ceph Cluster config. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster config reset <key> [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--wait Wait for required ceph services to restart post config reset. | ||
``config set`` | ||
-------------- | ||
|
||
Sets specified Ceph Cluster config. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster config set <Key> <Value> [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--wait Wait for required ceph services to restart post config set. | ||
``join`` | ||
-------- | ||
|
||
Joins an existing cluster. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster join <TOKEN> [flags] | ||
``list`` | ||
-------- | ||
|
||
Lists servers in the cluster. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster list [flags] | ||
``migrate`` | ||
----------- | ||
|
||
Migrates automatic services from one node to another. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster migrate <SRC> <DST [flags] | ||
``remove`` | ||
---------- | ||
|
||
Removes a server from the cluster. | ||
|
||
Syntax: | ||
|
||
.. code-block:: none | ||
microceph cluster remove <NAME> [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
-f, --force Forcibly remove the cluster member | ||
``sql`` | ||
------- | ||
|
||
Runs a SQL query against the cluster database. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph cluster sql <query> [flags] |