[docs] Minor edits

Adds minor changes
Fixes links
Edits the new section (Advanced configuration)

Change-Id: Ia87b7a1b9e1bc11ebcd8a322eec8a66c31abba0f
(cherry picked from commit 16c7496f7e)
This commit is contained in:
Maria Zlatkova 2016-07-21 20:46:25 +03:00
parent ec6f51c301
commit 3becac0b1a
6 changed files with 80 additions and 85 deletions

View File

@ -47,11 +47,11 @@ Plugin configuration
#. Specify the Nagios server URL, username, and password if you have chosen
to send alerts to an external Nagios server.
#. Configure your environment as described in `Configure your Environment
#. Configure your environment as described in `Configure your environment
<http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/configure-environment.html>`__.
.. note:: By default, StackLight is configured to use the *management
network*, of the so-called *default node network group* created by Fuel.
network* of the so-called *default node network group* created by Fuel.
While this default setup may be appropriate for small deployments or
evaluation purposes, it is recommended that you not use the default
*management network* for StackLight. Instead, create a dedicated network
@ -65,10 +65,9 @@ Plugin configuration
.. note:: The StackLight Collector Plugin is a *hot-pluggable* plugin.
Therefore, it is possible to install and deploy the *collector* in an
environment that is already deployed. After the installation of the
StackLight Collector Plugin, you will need to define the settings of the
plugin and then run the command shown below from the *Fuel master node*
for every node of your deployment. You need to start with
*the controller node(s)*:
StackLight Collector Plugin, define the settings of the plugin and
run the command shown below from the *Fuel master node* for every
node of your deployment starting with *the controller node(s)*:
.. code-block:: console
@ -207,75 +206,71 @@ On the OpenStack nodes, the diagnostic results are stored in ``/var/lma_diagnost
.. _advanced_configuration:
Advanced Configuration
Advanced configuration
----------------------
Reconfiguring the StackLight Collector after you have removed a node
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Due to a current limitation in Fuel, when a node is removed from an OpenStack
environment through the Fuel web UI or CLI, the services that were running on
that node are not automatically removed from the database. Therefore,
StackLight reports these services as failed. To resolve this issue, remove
these services manually.
There is currently a limitation in Fuel in that when a
node is removed from an OpenStack environment (via the Fuel Web UI
or CLI), the services that were running on that node are not
automatically removed from the database and as such, are reported
failed by StackLight. To remedy to this problem, you need to remove
those services manually.
**To reconfigure the StackLight Collector after removing a node:**
#. From a controller node, list the services that are reported failed.
In the example below 'node-7'.
#. From a controller node, list the services that are reported failed. In the
example below, it is ``node-7``.
.. code-block:: console
root@node-6:~# source ./openrc
root@node-6:~# neutron agent-list
+--------------------------------------+--------------------+-------------------+-------------------+-------+-----+
| id | agent_type | host | availability_zone | alive | ... |
+--------------------------------------+--------------------+-------------------+-------------------+-------+-----+
| 08a69bad-cc5d-4e85-a9d0-50467d480259 | Metadata agent | node-8.domain.tld | | :-) | ... |
| 11b6dca6-ab86-47bf-ae38-2ec2de07a90d | Metadata agent | node-7.domain.tld | | xxx | ... |
| 22ea82e3-dbbc-4e57-9d41-3dbf1720b708 | DHCP agent | node-6.domain.tld | nova | :-) | ... |
| 2d82849e-7ddd-4d1a-857e-0ad255c58eb0 | L3 agent | node-6.domain.tld | nova | :-) | ... |
| 3221ec18-2b65-4696-8ae1-49856023767a | Open vSwitch agent | node-6.domain.tld | | :-) | ... |
| 84bfd240-379f-40f3-a1fa-eaa266debe0d | Open vSwitch agent | node-7.domain.tld | | xxx | ... |
| 9452e8f0-8d53-40bb-b0ae-fe9932c00963 | Open vSwitch agent | node-9.domain.tld | | :-) | ... |
| 97136b09-96a4-4887-89ed-e5ad5bae24f4 | Open vSwitch agent | node-8.domain.tld | | :-) | ... |
| c198bc94-38a6-427d-ab04-fbad26affb9e | DHCP agent | node-7.domain.tld | nova | xxx | ... |
| c76c4ed4-75e7-426b-9a04-823b00caadc4 | L3 agent | node-7.domain.tld | nova | xxx | ... |
| d0fd8bb5-5f6f-4286-a959-7eb70f0f836a | L3 agent | node-8.domain.tld | nova | :-) | ... |
| d21f9cea-2719-49a4-adee-9810d51f431b | DHCP agent | node-8.domain.tld | nova | :-) | ... |
| f6f871b7-67ad-4b70-88cc-66e51c2a7b1d | Metadata agent | node-6.domain.tld | | :-) | ... |
+--------------------------------------+--------------------+-------------------+-------------------+-------+-----+
+--------------+-------------------+-------------------+-------------------+-------+
| id | agent_type | host | availability_zone | alive |
+--------------+-------------------+-------------------+-------------------+-------+
| 08a69bad-... | Metadata agent | node-8.domain.tld | | :-) |
| 11b6dca6-... | Metadata agent | node-7.domain.tld | | xxx |
| 22ea82e3-... | DHCP agent | node-6.domain.tld | nova | :-) |
| 2d82849e-... | L3 agent | node-6.domain.tld | nova | :-) |
| 3221ec18-... | Open vSwitch agent| node-6.domain.tld | | :-) |
| 84bfd240-... | Open vSwitch agent| node-7.domain.tld | | xxx |
| 9452e8f0-... | Open vSwitch agent| node-9.domain.tld | | :-) |
| 97136b09-... | Open vSwitch agent| node-8.domain.tld | | :-) |
| c198bc94-... | DHCP agent | node-7.domain.tld | nova | xxx |
| c76c4ed4-... | L3 agent | node-7.domain.tld | nova | xxx |
| d0fd8bb5-... | L3 agent | node-8.domain.tld | nova | :-) |
| d21f9cea-... | DHCP agent | node-8.domain.tld | nova | :-) |
| f6f871b7-... | Metadata agent | node-6.domain.tld | | :-) |
+--------------+-------------------+-------------------+-------------------+-------+
root@node-6:~# nova service-list
+----+------------------+-------------------+----------+---------+-------+----------------------------+-----+
| Id | Binary | Host | Zone | Status | State | Updated_at | ... |
+----+------------------+-------------------+----------+---------+-------+----------------------------+-----+
| 1 | nova-consoleauth | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43:07.000000 | ... |
| 4 | nova-scheduler | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43:21.000000 | ... |
| 7 | nova-cert | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43:07.000000 | ... |
| 10 | nova-conductor | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:42:52.000000 | ... |
| 22 | nova-cert | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43:04.000000 | ... |
| 25 | nova-consoleauth | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43:04.000000 | ... |
| 28 | nova-scheduler | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43:36.000000 | ... |
| 31 | nova-cert | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43:04.000000 | ... |
| 34 | nova-consoleauth | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43:04.000000 | ... |
| 37 | nova-conductor | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:42:51.000000 | ... |
| 43 | nova-scheduler | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43:35.000000 | ... |
| 49 | nova-conductor | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:42:48.000000 | ... |
| 64 | nova-compute | node-9.domain.tld | nova | enabled | up | 2016-07-19T11:42:47.000000 | ... |
+----+------------------+-------------------+----------+---------+-------+----------------------------+-----+
+----+------------------+-------------------+----------+---------+-------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at |
+----+------------------+-------------------+----------+---------+-------+-----------------+
| 1 | nova-consoleauth | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 4 | nova-scheduler | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 7 | nova-cert | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 10 | nova-conductor | node-6.domain.tld | internal | enabled | up | 2016-07-19T11:42|
| 22 | nova-cert | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43|
| 25 | nova-consoleauth | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43|
| 28 | nova-scheduler | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:43|
| 31 | nova-cert | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 34 | nova-consoleauth | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 37 | nova-conductor | node-7.domain.tld | internal | enabled | down | 2016-07-19T11:42|
| 43 | nova-scheduler | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:43|
| 49 | nova-conductor | node-8.domain.tld | internal | enabled | up | 2016-07-19T11:42|
| 64 | nova-compute | node-9.domain.tld | nova | enabled | up | 2016-07-19T11:42|
+----+------------------+-------------------+----------+---------+-------+-----------------+
root@node-6:~# cinder service-list
+------------------+-------------------------------+------+---------+-------+----------------------------+-----+
| Binary | Host | Zone | Status | State | Updated_at | ... |
+------------------+-------------------------------+------+---------+-------+----------------------------+-----+
| cinder-backup | node-9.domain.tld | nova | enabled | up | 2016-07-19T11:44:01.000000 | ... |
| cinder-scheduler | node-6.domain.tld | nova | enabled | up | 2016-07-19T11:43:56.000000 | ... |
| cinder-scheduler | node-7.domain.tld | nova | enabled | down | 2016-07-19T11:43:59.000000 | ... |
| cinder-scheduler | node-8.domain.tld | nova | enabled | up | 2016-07-19T11:44:00.000000 | ... |
| cinder-volume | node-9.domain.tld@LVM-backend | nova | enabled | up | 2016-07-19T11:44:00.000000 | ... |
+------------------+-------------------------------+------+---------+-------+----------------------------+-----+
+------------------+-------------------------------+------+---------+-------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at |
+------------------+-------------------------------+------+---------+-------+-----------------+
| cinder-backup | node-9.domain.tld | nova | enabled | up | 2016-07-19T11:44|
| cinder-scheduler | node-6.domain.tld | nova | enabled | up | 2016-07-19T11:43|
| cinder-scheduler | node-7.domain.tld | nova | enabled | down | 2016-07-19T11:43|
| cinder-scheduler | node-8.domain.tld | nova | enabled | up | 2016-07-19T11:44|
| cinder-volume | node-9.domain.tld@LVM-backend | nova | enabled | up | 2016-07-19T11:44|
+------------------+-------------------------------+------+---------+-------+-----------------+
#. Remove the services and / or agents that are reported failed on that node.
#. Remove the services and/or agents that are reported failed on that node:
.. code-block:: console
@ -283,9 +278,9 @@ those services manually.
root@node-6:~# cinder service-disable <hostname> <binary>
root@node-6:~# neutron agent-delete <id of agent to delete>
#. Then, restart the Collector on all the controller nodes.
#. Restart the Collector on all the controller nodes:
.. code-block:: console
[root@node-1 ~]# crm resource restart log_collector
[root@node-1 ~]# crm resource restart metric_collector
[root@node-1 ~]# crm resource restart metric_collector

View File

@ -1,6 +1,6 @@
======================================================
The StackLight Collector plugin for Fuel documentation
======================================================
==================================================================
Welcome to the StackLight Collector plugin for Fuel documentation!
==================================================================
Overview
~~~~~~~~

View File

@ -45,12 +45,12 @@ customize the plugin.
.. note:: Running a Fuel plugin that you built yourself is at your own risk
and will not be supported.
To install the StackLight Collector Plugin from source, you first need to
prepare an environement to build the RPM file.
The recommended approach is to build the RPM file directly onto the Fuel Master
node so that you will not have to copy that file later on.
To install the StackLight Collector Plugin from source, first prepare
an environement to build the RPM file. The recommended approach is to
build the RPM file directly onto the Fuel Master node so that you
will not have to copy that file later on.
**To prepare an environment:**
**To prepare an environment and build the plugin:**
#. Install the standard Linux development tools:
@ -73,9 +73,8 @@ node so that you will not have to copy that file later on.
.. note:: You may also need to build the Fuel Plugin Builder if the package
version of the plugin is higher than the package version supported by the
Fuel Plugin Builder you get from ``pypi``. For instructions on how to
build the Fuel Plugin Builder, see the *Preparing an environment for
plugin development* section of the
`Fuel plugins Wiki <https://wiki.openstack.org/wiki/Fuel/Plugins>`_.
build the Fuel Plugin Builder, see the *Install Fuel Plugin Builder*
section of the `Fuel Plugin SDK Guide <http://docs.openstack.org/developer/fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-plugin/install-plugin-builder.html>`_.
#. Clone the plugin repository:

View File

@ -14,8 +14,8 @@ as the **StackLight Collector**, or just **the Collector**.
than a mere data *collector*.
The Collector is the key component of the so-called
`Logging, Monitoring and Alerting toolchain of Mirantis OpenStack
<https://launchpad.net/lma-toolchain>`_ also known as StackLight.
`Logging, Monitoring, and Alerting toolchain of Mirantis OpenStack
<https://launchpad.net/lma-toolchain>`_, also known as StackLight.
.. image:: ../../images/toolchain_map.png
:align: center

View File

@ -16,9 +16,12 @@ There are two installation options:
#. Install the back-end services automatically within a Fuel environment using
the following Fuel plugins:
* `StackLight Elasticsearch-Kibana Fuel Plugin Installation Guide <http://fuel-plugin-elasticsearch-kibana.readthedocs.io/en/latest/installation.html#installation-guide>`_
* `StackLight InfluxDB-Grafana Fuel Plugin Installation Guide <http://fuel-plugin-influxdb-grafana.readthedocs.io/en/latest/installation.html#installation-guide>`_
* `StackLight Infrastructure Alerting Fuel Plugin Installation Guide <http://fuel-plugin-lma-infrastructure-alerting.readthedocs.io/en/latest/installation.html#installation-guide>`_
* `StackLight Elasticsearch-Kibana plugin
<http://fuel-plugin-elasticsearch-kibana.readthedocs.io/en/latest>`__
* `StackLight InfluxDB-Grafana plugin
<http://fuel-plugin-influxdb-grafana.readthedocs.io/en/latest>`__
* `StackLight Infrastructure Alerting plugin
<http://fuel-plugin-lma-infrastructure-alerting.readthedocs.io/en/latest/>`__
#. Install the back-end services manually outside of a Fuel environment.
In this case, the installation must comply with the

View File

@ -45,10 +45,8 @@ contains the following updates:
A diagnostic tool is now available to help diagnose issues. The diagnostic
tool checks that the toolchain is properly installed and configured across
the entire LMA toolchain. For more information, see the
`Diagnostic Tool
<http://fuel-plugin-lma-collector.readthedocs.io/en/latest/configuration.html#diagnostic>`_
section of the User Guide.
the entire LMA toolchain. For more information, see
:ref:`Diagnostic tool <diagnostic>`.
Version 0.9.0
+++++++++++++