On 19/02/2016 3:09 AM, phot...@126.com wrote: > I install OpenStack Liberty follow the instruction of "Installation > Guide for Red Hat Enterprise Linux 7 and CentOS 7”. Then, I want to use > Gnocchi instead of MongoDB in ceilometer. I read the doc of gnocchi in > http://gnocchi.xyz . But in this doc, It only install gnocchi using > devstack. > > I want to know after I install Openstack Liberty follow the instruction > of “Installation Guide for Red Had Enterprise Linux 7 and CentOS 7”, how > can i use gnocchi instead of MongoDB in ceilometer. >
to start, i'd probably try using gnocchi2.0 to avoid/minimise any migration. i'm not familiar with the current state of packages so it's something to consider. gnocchi is also accessible via pypi. one possible way would be use create a test environment and install with devstack. you can see the user roles required, and a few other config settings if you understand bash, you can look at how it's setup in devstack[1]. if you run into issues you can always post them. from ceilometer pov, you should: - ensure gnocchi_archive_policy_map.yaml and gnocchi_resources.yaml config files are place alongside ceilometer.conf. - set dispatcher config option to gnocchi in ceilometer.conf - set [dispatcher_gnocchi]/url = gnocchi url - set [dispatcher_gnocchi]/archive_policy = <to whatever archive policy you create in gnocchi> - disable store_events (in liberty) NOTE: you might experience slow write performance from ceilometer->gnocchi in Liberty as we started to address that issue in Mitaka. [1] https://github.com/openstack/gnocchi/blob/master/devstack/plugin.sh cheers, -- gord __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev