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

12.4. Configure the Telemetry Service Database Connection


The database connection URL used by the Telemetry service is defined in the /etc/ceilometer/ceilometer.conf file. It must be updated to point to a valid database server before starting the Telemetry API service (openstack-ceilometer-api), Notification agent (openstack-ceilometer-notification), and Collector agent (openstack-ceilometer-collector).
All steps in this procedure must be performed on the server or servers hosting the openstack-ceilometer-api service and the openstack-ceilometer-collector service, while logged in as the root user.

Procedure 12.2. Configuring the Telemetry Service Database Connection

  • Set the database connection string:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       database connection mongodb://ceilometer:MONGOPASS@MONGOHOST/ceilometer
    Replace the following values:
    • Replace MONGOPASS with the password of the ceilometer user; it is required by the Telemetry service to log in to the database server. Supply these credentials only when required by the database server (for example, when the database server is hosted on another system or node).
    • Replace MONGOHOST with the IP address or host name and the port of the server hosting the database service.
    If MongoDB is hosted locally on the same host, use the following database connection string:
    mongodb://localhost:27017/ceilometer
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.