Debian Codegraph @

doc/source/install/install-base-ubuntu.rst

raw
1 .. _install_ubuntu:
2
3 Install and configure for Ubuntu
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
6 This section describes how to install and configure the
7 Telemetry service, code-named ceilometer, on the controller node.
8
9 Prerequisites
10 -------------
11
12 Before you install and configure the Telemetry service, you must
13 configure a target to send metering data to. The recommended endpoint
14 is Gnocchi_.
15
16 .. _Gnocchi: https://gnocchi.osci.io
17 .. include:: install-base-prereq-common.inc
18
19 Install Gnocchi
20 ---------------
21
22 #. Install the Gnocchi packages. Alternatively, Gnocchi can be installed using
23 pip:
24
25 .. code-block:: console
26
27 # apt-get install gnocchi-api gnocchi-metricd python3-gnocchiclient
28
29 .. note::
30
31 Depending on your environment size, consider installing Gnocchi
32 separately as it makes extensive use of the cpu.
33
34 #. Install the uWSGI packages. The following method uses operating system
35 provided packages. Another alternative would be to use pip(or pip3,
36 depending on the distribution); using pip is not described in this doc:
37
38 .. code-block:: console
39
40 # apt-get install uwsgi-plugin-python3 uwsgi
41
42 .. note::
43
44 Since the provided gnocchi-api wraps around uwsgi, you need to
45 make sure that uWSGI is installed if you want to use gnocchi-api
46 to run Gnocchi API.
47 As Gnocchi API tier runs using WSGI, it can also alternatively
48 be run using Apache httpd and mod_wsgi, or any other HTTP daemon.
49
50 .. include:: install-gnocchi.inc
51
52 Finalize Gnocchi installation
53 -----------------------------
54
55 #. Restart the Gnocchi services:
56
57 .. code-block:: console
58
59 # service gnocchi-api restart
60 # service gnocchi-metricd restart
61
62 Install and configure components
63 --------------------------------
64
65 #. Install the ceilometer packages:
66
67 .. code-block:: console
68
69 # apt-get install ceilometer-agent-notification \
70 ceilometer-agent-central
71
72 .. include:: install-base-config-common.inc
73
74 Finalize installation
75 ---------------------
76
77 #. Restart the Telemetry services:
78
79 .. code-block:: console
80
81 # service ceilometer-agent-central restart
82 # service ceilometer-agent-notification restart