Atom feed of this document
  
 

 Install the Compute agent for Telemetry

Telemetry provides an API service that provides a collector and a range of disparate agents. This procedure details how to install the agent that runs on the compute node.

  1. Install the Telemetry service on the compute node:

    # apt-get install ceilometer-agent-compute
  2. Edit the /etc/nova/nova.conf file and add the following lines to the [DEFAULT] section:

    [DEFAULT]
    ...
    instance_usage_audit = True
    instance_usage_audit_period = hour
    notify_on_state_change = vm_and_task_state
    notification_driver = nova.openstack.common.notifier.rpc_notifier
    notification_driver = ceilometer.compute.nova_notifier
  3. Restart the Compute service:

    # service nova-compute restart
  4. You must set the secret key that you defined previously. The Telemetry service nodes share this key as a shared secret:

    Edit the /etc/ceilometer/ceilometer.conf file and change these lines in the [publisher] section. Replace CEILOMETER_TOKEN with the ceilometer token that you created previously:

    [publisher]
    # Secret value for signing metering messages (string value)
    metering_secret = CEILOMETER_TOKEN
  5. Configure the RabbitMQ access:

    Edit the /etc/ceilometer/ceilometer.conf file and update the [DEFAULT] section:

    [DEFAULT]
    rabbit_host = controller
    rabbit_password = RABBIT_PASS
  6. Add the Identity service credentials:

    Edit the /etc/ceilometer/ceilometer.conf file and change the [keystone_authtoken] section:

    [keystone_authtoken]
    auth_host = controller
    auth_port = 35357
    auth_protocol = http
    admin_tenant_name = service
    admin_user = ceilometer
    admin_password = CEILOMETER_PASS

    Also set the [service_credentials] section:

    [service_credentials]
    os_auth_url = http://controller:5000/v2.0
    os_username = ceilometer
    os_tenant_name = service
    os_password = CEILOMETER_PASS
  7. Configure the log directory.

    Edit the /etc/ceilometer/ceilometer.conf file and update the [DEFAULT] section:

    [DEFAULT]
    log_dir = /var/log/ceilometer
  8. Restart the service with its new settings:

    # service ceilometer-agent-compute restart
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...