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

12.8. Configure RabbitMQ Message Broker Settings for the Telemetry Service


RabbitMQ is the default (and recommended) message broker. The RabbitMQ messaging service is provided by the rabbitmq-server package. All steps in the following procedure must be performed on the system hosting the Telemetry service, while logged in as the root user.

Procedure 12.6. Configuring the Telemetry Service to Use the RabbitMQ Message Broker

  1. Set RabbitMQ as the RPC back end:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rpc_backend rabbit
    Copy to Clipboard Toggle word wrap
  2. Set the Telemetry service to connect to the RabbitMQ host:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rabbit_host RABBITMQ_HOST
    Copy to Clipboard Toggle word wrap
    Replace RABBITMQ_HOST with the IP address or host name of the message broker.
  3. Set the message broker port to 5672:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rabbit_port 5672
    Copy to Clipboard Toggle word wrap
  4. Set the RabbitMQ user name and password created for the Telemetry service when RabbitMQ was configured:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rabbit_userid ceilometer
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rabbit_password CEILOMETER_PASS
    Copy to Clipboard Toggle word wrap
    Replace ceilometer and CEILOMETER_PASS with the RabbitMQ user name and password created for the Telemetry service.
  5. When RabbitMQ was launched, the ceilometer user was granted read and write permissions to all resources: specifically, through the virtual host /. Configure the Telemetry service to connect to this virtual host:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       DEFAULT rabbit_virtual_host /
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat