diff options
| author | Will Szumski <will@stackhpc.com> | 2020-02-14 15:24:06 +0000 |
|---|---|---|
| committer | Will Szumski <will@stackhpc.com> | 2020-02-19 16:08:33 +0000 |
| commit | 4cf7ff9fa22fa4f38ddde5df1b8ad17c7475f0a2 (patch) | |
| tree | 7758963778a34eb7aa0de6ba71ea248ad1edd7ec /tools/cleanup-host | |
| parent | 35c3f333e9ade47e70fff4c05b4a46102aadfbbf (diff) | |
| download | kolla-ansible-4cf7ff9fa22fa4f38ddde5df1b8ad17c7475f0a2.tar.gz kolla-ansible-4cf7ff9fa22fa4f38ddde5df1b8ad17c7475f0a2.zip | |
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
Diffstat (limited to 'tools/cleanup-host')
| -rwxr-xr-x | tools/cleanup-host | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
