forked from canonical/microceph
-
Notifications
You must be signed in to change notification settings - Fork 0
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 canonical#250 from sabaini/doc/command-ref
Doc: add commands reference
- Loading branch information
Showing
7 changed files
with
261 additions
and
10 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
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,29 @@ | ||
=========== | ||
``disable`` | ||
=========== | ||
|
||
Disables a feature on the cluster | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph disable [flags] | ||
microceph disable [command] | ||
Available Commands: | ||
|
||
.. code-block:: none | ||
rgw Disable the RGW service on this node | ||
Global flags: | ||
|
||
.. 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 | ||
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
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,111 @@ | ||
========== | ||
``enable`` | ||
========== | ||
|
||
Enables a feature or service on the cluster. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph enable [flags] | ||
microceph enable [command] | ||
Available commands: | ||
|
||
.. code-block:: none | ||
mds Enable the MDS service on the --target server (default: this server) | ||
mgr Enable the MGR service on the --target server (default: this server) | ||
mon Enable the MON service on the --target server (default: this server) | ||
rgw Enable the RGW service on the --target server (default: this server) | ||
Global flags: | ||
|
||
.. 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 | ||
``mds`` | ||
------- | ||
|
||
Enables the MDS service on the --target server (default: this server). | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph enable mds [--target <server>] [--wait <bool>] [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--target string Server hostname (default: this server) | ||
--wait Wait for mds service to be up. (default true) | ||
``mgr`` | ||
------- | ||
|
||
Enables the MGR service on the --target server (default: this server). | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph enable mgr [--target <server>] [--wait <bool>] [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--target string Server hostname (default: this server) | ||
--wait Wait for mgr service to be up. (default true) | ||
``mon`` | ||
------- | ||
|
||
Enables the MON service on the --target server (default: this server). | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph enable mon [--target <server>] [--wait <bool>] [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--target string Server hostname (default: this server) | ||
--wait Wait for mon service to be up. (default true) | ||
``rgw`` | ||
------- | ||
|
||
Enables the RGW service on the --target server (default: this server). | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph enable rgw [--port <port>] [--target <server>] [--wait <bool>] [flags] | ||
Flags: | ||
|
||
.. code-block:: none | ||
--port int Service port (default: 80) (default 80) | ||
--target string Server hostname (default: this server) | ||
--wait Wait for rgw service to be up. (default true) |
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,22 @@ | ||
======== | ||
``help`` | ||
======== | ||
|
||
Help provides help for any command in the application. | ||
Simply type microceph help [path to command] for full details. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph help [command] [flags] | ||
Global flags: | ||
|
||
.. 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 |
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,21 @@ | ||
======== | ||
``init`` | ||
======== | ||
|
||
Initialises MicroCeph (in interactive mode). | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph init [flags] | ||
Global flags: | ||
|
||
.. 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 |
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,22 @@ | ||
========== | ||
``status`` | ||
========== | ||
|
||
Reports the status of the cluster. | ||
|
||
Usage: | ||
|
||
.. code-block:: none | ||
microceph status [flags] | ||
Global flags: | ||
|
||
.. 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 | ||