-
Notifications
You must be signed in to change notification settings - Fork 198
Ceilometer Getting Started
woorea edited this page Jul 26, 2012
·
3 revisions
This document explains how to compile and install ceilometer-java
$git clone https://github.com/woorea/openstack-java-sdk $cd openstack-java-sdk/ceilometer-java $mvn clean compile assembly:assembly
The commands above will create the following artefacts:
- ceilometer-compute-agent-with-jar-dependencies.jar
- ceilometer-collector-with-jar-dependencies.jar
- ceilometer-api-with-jar-dependencies.jar
Ceilometer compute agent is should run on each compute node
$java -jar ceilometer-compute-agent-with-jar-dependencies.jar
You can configure the agent parameter under /etc/ceilometer/ceilometer-compute-agent.properties
The following is the default configuration
mq.host=localhost mq.username=guest mq.password=guest mq.ceilometer.exchange_name=metering mq.ceilometer.routing_key=ceilometer.compute_agent libvirt.uri=qemu:///system
Ceilometer collector is should run at least in one box
$java -jar ceilometer-collector-with-jar-dependencies.jar
You can configure the collector parameters under /etc/ceilometer/ceilometer-collector.properties
The following is the default configuration
mq.host=localhost mq.username=guest mq.password=guest mq.metering.exchange_name=metering mq.metering.routing_key=ceilometer.# mq.metering.queue_name=ceilometer_collector mongodb.host=localhost mongodb.port=27017 #mongodb.username= #mongodb.password=
Ceilometer API should run at least in one box
$java -jar ceilometer-api-with-jar-dependencies.jar
You can configure the api parameters under /etc/ceilometer/ceilometer-api.properties
The following is the default configuration
mongodb.host=localhost mongodb.port=27017 #mongodb.username= #mongodb.password=
TODO