From f4da007a24a1190e8ffb09e417bfd4456d79db32 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: I4a56b38404468363b2d58bb621999a5b5fb22f09 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 7ec047da..602a8d5c 100644 --- a/docs/release/configguide/postinstall.rst +++ b/docs/release/configguide/postinstall.rst @@ -25,6 +25,31 @@ Platform components validation - Apex ------------------------------------- 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