From d6abf61815b5a98ea982f882c1a0f06ca56c5f25 Mon Sep 17 00:00:00 2001 From: Radoslaw Jablonski Date: Mon, 26 Nov 2018 07:52:56 +0000 Subject: 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 --- docs/release/userguide/docker.userguide.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 :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 ------------------------------------------ -- cgit 1.2.3-korg