aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release
diff options
context:
space:
mode:
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-11-26 07:52:56 +0000
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-12-04 13:08:19 +0000
commitd6abf61815b5a98ea982f882c1a0f06ca56c5f25 (patch)
tree89a2673f5f4ebb7f0d514834c627f480cb66de0a /docs/release
parente59cf7e82c810eaf74a651ec9e52393b736fc19f (diff)
docker.userguide: Add chapter about cleanup influxdb/grafana
Added chapter about cleaning influxdb and grafana configurations. Config files for both are stored in folders that are shared between container and Host machine - it is good to remove them when removing barometer docker containers in case of re-installation or changing active setup. Change-Id: If84c0f0ee91560275b4834bc98dbdff518a059a8 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Diffstat (limited to 'docs/release')
-rw-r--r--docs/release/userguide/docker.userguide.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index 9b928cb8..2b559f8f 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -859,6 +859,30 @@ To make some changes when the container is running run:
Connect to <host_ip>:3000 with a browser and log into grafana: admin/admin
+Cleanup of influxdb/grafana configuration
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+When user wants to remove current grafana and influxdb configuration,
+folowing actions have to be performed
+
+1. Stop and remove running influxdb and grafana containers
+
+.. code:: bash
+
+ sudo docker rm -f bar-grafana bar-influxdb
+
+2. Remove shared influxdb and grafana folders from the Host
+
+.. code:: bash
+
+ sudo rm -rf /var/lib/grafana
+ sudo rm -rf /var/lib/influxdb
+
+.. note::
+ Shared folders are storing configuration of grafana and influxdb
+ containers. In case of changing influxdb or grafana configuration
+ (e.g. moving influxdb to another host) it is good to perform cleanup
+ on shared folders to not affect new setup with an old configuration.
Build and Run VES and Kafka Docker Images
------------------------------------------