summaryrefslogtreecommitdiffstats
path: root/docs/platform/administration.rst
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2017-11-10 10:14:52 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-10 10:14:52 +0000
commit6d9717b1696fd6594360dd9253ea7515e6174370 (patch)
tree1783d120c1dfdde78dae2a5fcdb59071d605b1ff /docs/platform/administration.rst
parentc78f7ec2de9f0339622a009b32e016f7f3222d05 (diff)
parent7db99a4c2fbd85a8cf45a89206e1bffe96226ee0 (diff)
Merge "Update usecase-ui document"
Diffstat (limited to 'docs/platform/administration.rst')
-rw-r--r--docs/platform/administration.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/platform/administration.rst b/docs/platform/administration.rst
new file mode 100644
index 00000000..977e024e
--- /dev/null
+++ b/docs/platform/administration.rst
@@ -0,0 +1,33 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+
+
+Administration
+--------------
+
+It is not hard to manage Holmes becasue it's been dockerized and split into two dockers. One is for rule management and the other for engine management.
+
+Processes / Dockers
+^^^^^^^^^^^^^^^^^^^
+
+For both of the dockers of Holmes, there's only one process running during the run time. But the rule management docker sort of relies on the enginemanagement docker. Once the engine management module is stopped, the whole Holmes will malfunction because the Drools engine which is managed by the engine management module is the core component of Holmes.
+
+Holmes mainly consists of two dockers:
+
+* Rule Management Docker
+
+* Engine Management Docker
+
+Actions
+^^^^^^^
+
+All actions performed on the Holmes modules are docker-based.
+
+* Create a Container: ``sudo docker run [OPTIONS] IMAGE [COMMAND] [ARG...]``
+
+* Kill a Container: ``sudo docker kill [OPTIONS] CONTAINER [CONTAINER...]``
+
+* Stop a Container: ``sudo docker stop [OPTIONS] CONTAINER [CONTAINER...]``
+
+* Start a Container: ``sudo docker start [OPTIONS] CONTAINER [CONTAINER...]``
+
+* Restart a Container: ``sudo docker restart [OPTIONS] CONTAINER [CONTAINER...]``