Install the Compute agent for Telemetry Telemetry is composed of an API service, a collector and a range of disparate agents. This section explains how to install and configure the agent that runs on the compute node. To configure prerequisites Install the package: # apt-get install ceilometer-agent-compute # yum install openstack-ceilometer-compute python-ceilometerclient python-pecan # zypper install openstack-ceilometer-agent-compute 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 Restart the Compute service: # service nova-compute restart # systemctl restart openstack-nova-compute.service On SLES: # service openstack-nova-compute restart On openSUSE: # systemctl restart openstack-nova-compute.service To configure the Compute agent for Telemetry Edit the /etc/ceilometer/ceilometer.conf file and complete the following actions: In the [publisher] section, set the secret key for Telemetry service nodes: [publisher] # Secret value for signing metering messages (string value) metering_secret = CEILOMETER_TOKEN Replace CEILOMETER_TOKEN with the ceilometer token that you created previously. In the [DEFAULT] section, configure RabbitMQ broker access: [DEFAULT] rabbit_host = controller rabbit_password = RABBIT_PASS Replace RABBIT_PASS with the password you chose for the guest account in RabbitMQ. In the [keystone_authtoken] section, configure Identity service access: [keystone_authtoken] auth_uri = http://controller:5000/v2.0 identity_uri = http://controller:35357 admin_tenant_name = service admin_user = ceilometer admin_password = CEILOMETER_PASS Replace CEILOMETER_PASS with the password you chose for the Telemetry module database. Comment out the auth_host, auth_port, and auth_protocol keys, since they are replaced by the identity_uri and auth_uri keys. In the [service_credentials] section, configure service credentials: [service_credentials] os_auth_url = http://controller:5000/v2.0 os_username = ceilometer os_tenant_name = service os_password = CEILOMETER_PASS os_endpoint_type = internalURL Replace CEILOMETER_PASS with the password you chose for the ceilometer user in the Identity service. In the [DEFAULT] section, configure the log directory: [DEFAULT] log_dir = /var/log/ceilometer To finish installation Restart the service with its new settings: # service ceilometer-agent-compute restart Start the service and configure it to start when the system boots: # systemctl enable openstack-ceilometer-compute.service # systemctl start openstack-ceilometer-compute.service On SLES: # service openstack-ceilometer-agent-compute start # chkconfig openstack-ceilometer-agent-compute on On openSUSE: # systemctl enable openstack-ceilometer-compute.service # systemctl start openstack-ceilometer-compute.service