Debian Codegraph @

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

raw
1 .. _install_rdo:
2
3 Install and configure for Red Hat Enterprise Linux and CentOS
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 install using
23 pip:
24
25 .. code-block:: console
26
27 # dnf 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 # dnf install uwsgi-plugin-common 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 #. Start the Gnocchi services and configure them to start when the
56 system boots:
57
58 .. code-block:: console
59
60 # systemctl enable gnocchi-api.service gnocchi-metricd.service
61 # systemctl start gnocchi-api.service gnocchi-metricd.service
62
63 Install and configure components
64 --------------------------------
65
66 #. Install the Ceilometer packages:
67
68 .. code-block:: console
69
70 # dnf install openstack-ceilometer-notification \
71 openstack-ceilometer-central
72
73 .. include:: install-base-config-common.inc
74
75 Finalize installation
76 ---------------------
77
78 #. Start the Telemetry services and configure them to start when the
79 system boots:
80
81 .. code-block:: console
82
83 # systemctl enable openstack-ceilometer-notification.service \
84 openstack-ceilometer-central.service
85 # systemctl start openstack-ceilometer-notification.service \
86 openstack-ceilometer-central.service