Updated docs
[holmes/rule-management.git] / docs / platform / administration.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3
4 Administration
5 --------------
6
7 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.
8
9 Processes / Dockers
10 ^^^^^^^^^^^^^^^^^^^
11
12 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.
13
14 Holmes mainly consists of two dockers:
15
16 * Rule Management Docker
17
18 * Engine Management Docker
19
20 Actions
21 ^^^^^^^
22
23 All actions performed on the Holmes modules are docker-based.
24
25 * Create a Container: ``sudo docker run [OPTIONS] IMAGE [COMMAND] [ARG...]``
26
27 * Kill a Container: ``sudo docker kill [OPTIONS] CONTAINER [CONTAINER...]``
28
29 * Stop a Container: ``sudo docker stop [OPTIONS] CONTAINER [CONTAINER...]``
30
31 * Start a Container: ``sudo docker start [OPTIONS] CONTAINER [CONTAINER...]``
32
33 * Restart a Container: ``sudo docker restart [OPTIONS] CONTAINER [CONTAINER...]``