From 4cf7ff9fa22fa4f38ddde5df1b8ad17c7475f0a2 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Fri, 14 Feb 2020 15:24:06 +0000 Subject: Introduce influxdb_datadir_volume This allows you to tune the performance of InfluxDB by locating the volume on a drive that is separate to the default docker storage. Change-Id: Iea555a2702b225b30f5d7035b8a703d4f3376ee7 --- tools/cleanup-host | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/cleanup-host') diff --git a/tools/cleanup-host b/tools/cleanup-host index dfffa6157..25dfc176a 100755 --- a/tools/cleanup-host +++ b/tools/cleanup-host @@ -63,6 +63,11 @@ if [[ "$gnocchi_metric_datadir_volume" != "gnocchi" && -d "$gnocchi_metric_datad rm -rfv $gnocchi_metric_datadir_volume fi +if [[ "$influxdb_datadir_volume" != "influxdb" && -d "$influxdb_datadir_volume" ]]; then + echo "Removing influxdb volume if it is customzied" + rm -rfv $influxdb_datadir_volume +fi + FOLDER_PATH="/etc/kolla/" if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then -- cgit v1.2.3