From 8bcd9a20c4b1a12d254bcdd024d6a06581b67460 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Fri, 20 Oct 2017 17:59:47 +0100 Subject: docs: Update post install instructions. Change-Id: Id619067b4d828518ba4b526feab44db42ffc9a0a Signed-off-by: Maryam Tahhan --- docs/release/configguide/postinstall.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/release/configguide/postinstall.rst b/docs/release/configguide/postinstall.rst index 45a79ffb..7112e269 100644 --- a/docs/release/configguide/postinstall.rst +++ b/docs/release/configguide/postinstall.rst @@ -25,6 +25,31 @@ Platform components validation ------------------------------ The following steps describe how to perform a simple "manual" testing of the Barometer components: +On the controller: + +You will need update the archive policy rule for gnocchi via the command line. +The default is low, which means that you only get a metric every +5 minutes. To do this: + +.. code:: bash + + $ openstack metric archive-policy rule delete default + $ openstack metric archive-policy-rule create -a bool -m '*' default + +Using the ``bool`` archive policy reduces the number of aggregation methods run +to one (last), and it keeps all metrics at a 1 second interval. +In order to query this you need to explicitly choose an aggregation method to +display (by default, ``measures show`` uses mean). You may have to update the +command for checking the metrics, this is the CLI command: + +.. code:: bash + + $ watch –n2 –d openstack metric measures show --aggregation last + +More on testing and displaying metrics is shown below. + +On the compute: + 1. Connect to any compute node and ensure that the collectd service is running. The log file ``collectd.log`` should contain no errors and should indicate that each plugin was successfully loaded. For example, from the Jump Host: -- cgit 1.2.3-korg