此内容没有您所选择的语言版本。

12.9. Configure the Compute Node


The Telemetry service monitors each node by collecting usage data from the Compute agent (openstack-ceilometer-compute) installed on that node. You can configure a node's Compute agent by replicating the /etc/ceilometer/ceilometer.conf file from another host whose Telemetry components have already been configured.
You must also configure the Compute node itself to enable notifications.

Procedure 12.7. Enabling Notifications on a Compute Node

  1. Install openstack-ceilometer-compute, python-ceilometer and python-ceilometerclient on the node:
    # yum install openstack-ceilometer-compute python-ceilometer python-ceilometerclient
    Copy to Clipboard Toggle word wrap
  2. Enable auditing on the node:
    # openstack-config --set /etc/nova/nova.conf \
       DEFAULT instance_usage_audit True
    Copy to Clipboard Toggle word wrap
  3. Configure the audit frequency:
    # openstack-config --set /etc/nova/nova.conf \
       DEFAULT instance_usage_audit_period hour
    Copy to Clipboard Toggle word wrap
  4. Configure what type of state changes should trigger a notification:
    # openstack-config --set /etc/nova/nova.conf \
       DEFAULT notify_on_state_change vm_and_task_state
    Copy to Clipboard Toggle word wrap
  5. Set the node to use the correct notification drivers. Open the /etc/nova/nova.conf file in a text editor, and add the following lines in the DEFAULT section:
    notification_driver = messagingv2
    notification_driver = ceilometer.compute.nova_notifier
    Copy to Clipboard Toggle word wrap
    The Compute node requires two different notification drivers, which are defined using the same configuration key. You cannot use openstack-config to set these values.
  6. Start the Compute agent:
    # systemctl start openstack-ceilometer-compute.service
    Copy to Clipboard Toggle word wrap
  7. Configure the agent to start at boot time:
    # systemctl enable openstack-ceilometer-compute.service
    Copy to Clipboard Toggle word wrap
  8. Restart the openstack-nova-compute service to apply all changes to /etc/nova/nova.conf:
    # systemctl restart openstack-nova-compute.service
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat