[openstack-dev] [metering] ceilometer installation / runtime question
doug.hellmann at dreamhost.com
Thu Sep 20 10:54:34 UTC 2012
On Sep 10, 2012, at 11:41 AM, Justin Simms <justin.simms at gmail.com> wrote:
> I have attempted to run ceilometer via devstack with a manual installation of ceilometer via setup.py. I have run ceiloemeter-api , but am not sure what else I need to run so that I can test the system and also view the metering and notification messages that are propagated throughout the system. I have done it this way first to familiarize myself with how ceilometer works before activating the magic in devstack for an automated install. Could one of the senior devs on the project please point me to the set of steps needed to run all of the collectors and pollsters so that I can test changes that I make to the code? Also, when everything is running, what should I expect from the runtime? Thanks.
This sort of info used to be in the online docs (http://ceilometer.readthedocs.org) but was removed when the devstack integration landed. There are 4 processes: the compute agent, the central agent, the collector, and the API. The collector writes information to the database. The agents poll different sources of information and emit messages for the collector. The API lets you read info back out of the database. As Julien said in his response, the services you need depend on what you want.
The devstack library script for ceilometer shows how to start each process (https://github.com/openstack-dev/devstack/blob/master/lib/ceilometer).
More information about the OpenStack-dev