summaryrefslogtreecommitdiffstats
path: root/docs/configguide
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2016-01-28 17:51:39 +0900
committerRyota Mibu <r-mibu@cq.jp.nec.com>2016-01-30 13:23:36 +0000
commite036d0f69b14dcbe0711c1e46448f380912d794f (patch)
tree27a49b43d2e1b85035e5f655e3e615fb7ad1273b /docs/configguide
parent67a45e55d8cd3fbef20864034527f0f56a9464b1 (diff)
contents for OPNFV composite docs
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: I557819f8a67b8882de87c94bbca8177a89b55d6d (cherry picked from commit 1e95ffeaac59aee8decf3ccf6721330de19f491e)
Diffstat (limited to 'docs/configguide')
-rw-r--r--docs/configguide/configguide.rst46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/configguide/configguide.rst b/docs/configguide/configguide.rst
new file mode 100644
index 00000000..c3572901
--- /dev/null
+++ b/docs/configguide/configguide.rst
@@ -0,0 +1,46 @@
+Configuring Doctor features
+===========================
+
+..
+ This section will be compiled into OPNFV composite document.
+
+Doctor Inspector
+----------------
+
+Doctor Inspector is suggested to be placed in one of the controller nodes,
+but it can be put on any host where Doctor Monitor can reach and accessible
+to the OpenStack Controller (Nova).
+
+Make sure OpenStack env parameters are set properly, so that Doctor Inspector
+can issue admin actions such as compute host force-down and state update of VM.
+
+Then, you can configure Doctor Inspector as follows:
+
+.. code-block:: bash
+
+ git clone https://gerrit.opnfv.org/gerrit/doctor -b stable/brahmaputra
+ cd doctor/tests
+ INSPECTOR_PORT=12345
+ python inspector.py $INSPECTOR_PORT > inspector.log 2>&1 &
+
+Doctor Monitor
+--------------
+
+Doctor Monitors are suggested to be placed in one of the controller nodes,
+but those can be put on any host which is reachable to target compute host and
+accessible to the Doctor Inspector.
+You need to configure Monitors for all compute hosts one by one.
+
+Make sure OpenStack env parameters are set properly, so that Doctor Inspector
+can issue admin actions such as compute host force-down and state update of VM.
+
+Then, you can configure Doctor Monitor as follows:
+
+.. code-block:: bash
+
+ git clone https://gerrit.opnfv.org/gerrit/doctor -b stable/brahmaputra
+ cd doctor/tests
+ INSPECTOR_PORT=12345
+ COMPUTE_HOST='overcloud-novacompute-0'
+ sudo python monitor.py "$COMPUTE_HOST" \
+ "http://127.0.0.1:$INSPECTOR_PORT/events" > monitor.log 2>&1 &