Debian Codegraph @

doc/source/install/install-compute-common.inc

raw
1 2. Edit the ``/etc/ceilometer/ceilometer.conf`` file and
2 complete the following actions:
3
4 * In the ``[DEFAULT]`` section, configure ``RabbitMQ``
5 message queue access:
6
7 .. code-block:: ini
8
9 [DEFAULT]
10 ...
11 transport_url = rabbit://openstack:RABBIT_PASS@controller
12
13 Replace ``RABBIT_PASS`` with the password you chose for the
14 ``openstack`` account in ``RabbitMQ``.
15
16 * In the ``[service_credentials]`` section, configure service
17 credentials:
18
19 .. code-block:: ini
20
21 [service_credentials]
22 ...
23 auth_url = http://controller:5000
24 project_domain_id = default
25 user_domain_id = default
26 auth_type = password
27 username = ceilometer
28 project_name = service
29 password = CEILOMETER_PASS
30 interface = internalURL
31 region_name = RegionOne
32
33 Replace ``CEILOMETER_PASS`` with the password you chose for
34 the ``ceilometer`` user in the Identity service.
35
36 Configure Compute to use Telemetry
37 ----------------------------------
38
39 * Edit the ``/etc/nova/nova.conf`` file and configure
40 notifications in the ``[DEFAULT]`` section:
41
42 .. code-block:: ini
43
44 [DEFAULT]
45 ...
46 instance_usage_audit = True
47 instance_usage_audit_period = hour
48
49 [notifications]
50 ...
51 notify_on_state_change = vm_and_task_state
52
53 [oslo_messaging_notifications]
54 ...
55 driver = messagingv2
56
57 Configure Compute to poll IPMI meters
58 -------------------------------------
59
60 .. note::
61
62 To enable IPMI meters, ensure IPMITool is installed and the host supports
63 IPMI.
64
65 * Edit the ``/etc/ceilometer/polling.yaml`` to include the required meters, for example:
66
67 .. code-block:: yaml
68
69 - name: ipmi
70 interval: 300
71 meters:
72 - hardware.ipmi.temperature