summaryrefslogtreecommitdiff
path: root/doc/source/install/install-base-ubuntu.rst
blob: ffab6013b60bd4d9a48728157bac532b6587870e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.. _install_ubuntu:

Install and configure for Ubuntu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This section describes how to install and configure the
Telemetry service, code-named ceilometer, on the controller node.

Prerequisites
-------------

Before you install and configure the Telemetry service, you must
configure a target to send metering data to. The recommended endpoint
is Gnocchi_.

.. _Gnocchi: https://gnocchi.osci.io
.. include:: install-base-prereq-common.inc

Install Gnocchi
---------------

#. Install the Gnocchi packages. Alternatively, Gnocchi can be installed using
   pip:

   .. code-block:: console

      # apt-get install gnocchi-api gnocchi-metricd python-gnocchiclient

   .. note::

      Depending on your environment size, consider installing Gnocchi
      separately as it makes extensive use of the cpu.

.. include:: install-gnocchi.inc

Finalize Gnocchi installation
-----------------------------

#. Restart the Gnocchi services:

   .. code-block:: console

      # service gnocchi-api restart
      # service gnocchi-metricd restart

Install and configure components
--------------------------------

#. Install the ceilometer packages:

   .. code-block:: console

      # apt-get install ceilometer-agent-notification \
        ceilometer-agent-central

.. include:: install-base-config-common.inc

Finalize installation
---------------------

#. Restart the Telemetry services:

   .. code-block:: console

      # service ceilometer-agent-central restart
      # service ceilometer-agent-notification restart