一、安装和配置compute services
这一部分的话,假设你已经安装好了openstack的工作环境,至少安装了以下几个组件:compute,image service,identity。
需要注意的是,不同的平台安装和配置是不一样的
enable compute service meters for openSUSE and SUSE Linux Enterprise
enable compute service meters for Red Hat Enterprise Linux and CentOS
二、安装和配置Controller Services
这一部分的话,假设你已经安装好了openstack的工作环境,至少安装了以下几个组件:compute,image service,identity。
需要注意的是,不同的平台安装和配置是不一样的
Ceilometer
Install and configure for openSUSE and SUSE Linux Enterprise
Install and configure for Red Hat Enterprise Linux and CentOS
如果要做到和ceilometer交互的话,还需要一些额外的配置
Cinder
Enable Block Storage meters for openSUSE and SUSE Linux Enterprise
Enable Block Storage meters for Red Hat Enterprise Linux and CentOS
Glance
Enable Image service meters for openSUSE and SUSE Linux Enterprise
Enable Image service meters for Red Hat Enterprise Linux and CentOS
Heat
Enable Orchestration service meters for openSUSE and SUSE Linux Enterprise
Enable Orchestration service for Red Hat Enterprise Linux and CentOS
Keystone
Keystone提供了中间件能够抓取向某个服务发起的API请求,然后将这些数据送给Ceilometer。这篇文章里面指导你怎么安装Keystone(Keystone's developer documentation)。ceilometer会以audit.http.*事件的形式抓取到这些信息
Neutron
Enable Networking service meters for openSUSE and SUSE Linux Enterprise
Enable Networking service meters for Red Hat Enterprise Linux and CentOS
Swift
Enable Object Storage meters for openSUSE and SUSE Linux Enterprise
Enable Object Storage meters for Red HAt Enterprise Linux and CentOS
按照上面的步骤,你的openstack环境已经安装了ceilometer服务。