日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

OpenStack Ceilometer簡介

系統(tǒng) 3086 0

Ceilometer項目創(chuàng)建時最初的目的是實現(xiàn)一個能為計費系統(tǒng)采集數(shù)據(jù)的框架。在G版的開發(fā)中,社區(qū)已經(jīng)更新了他們的目標(biāo),新目標(biāo)是希望Ceilometer成為OpenStack里數(shù)據(jù)采集(監(jiān)控數(shù)據(jù)、計費數(shù)據(jù))的唯一基礎(chǔ)設(shè)施,采集到的數(shù)據(jù)提供給監(jiān)控、計費、面板等項目使用。

Project Goal

For Grizzly, the new objective is The project aims to become the infrastructure to collect measurements within OpenStack so that no two agents would need to be written to collect the same data. It's primary targets are monitoring and metering, but the framework should be easily expandable to collect for other needs. To that effect, Ceilometer should be able to share collected data with a variety of consumers .


In the 0.1 (folsom) release its goal was just to deliver a unique point of contact for billing systems to aquire all meters they need to establish customer billing, across all current and future OpenStack core components.


Wiki地址 https://wiki.openstack.org/wiki/Ceilometer
代碼地址 https://github.com/openstack/ceilometer
文檔地址 http://docs.openstack.org/developer/ceilometer/

社區(qū)現(xiàn)狀

目前Ceilometer項目有11000+ lines代碼,16位貢獻者,最近的活躍貢獻者有7位。社區(qū)的Roadmap如下:

  • v1 delivered with Folsom with all functions required to collect base metering info and provide standard API access
  • v2 delivered with G as an incubated project with (subject to variation)
    End-User API access to own metering information
    Integration of information summary as an Horizon plugin
    New agents for other OpenStack components (Quantum Engines? Heat? etc...)
    Multi publisher to handle other usage for data collection
    Individual frequency per meter
  • Move to core for H



Ceilometer架構(gòu)介紹

Ceilometer項目主要由Agent,Collector,DataStore,API和消息隊列組成。

Agent

Agent的主要職責(zé)是周期性的從它管理的Plugin中輪詢,觸發(fā)查詢,Plugin中有具體獲取數(shù)據(jù)的邏輯。Ceilometer中的Agent分為Central Agent和Compute Agent。
Central Agent負(fù)責(zé)管理除了Compute(Nova)之外所有的Plugin,例如Swift,Cinder的Plugin。這些Plugin通過RPC調(diào)用相關(guān)服務(wù)的API并獲取數(shù)據(jù),然后將數(shù)據(jù)publish到Message Queue。Central Agent作為一個中心的數(shù)據(jù)采集調(diào)度器,之需要部署一個即可。
Compute Agent負(fù)責(zé)Compute節(jié)點的數(shù)據(jù)采集,在每一個Compute節(jié)點都需要部署一個Compute Agent。它一方主要負(fù)責(zé)周期性的采集Compute相關(guān)的數(shù)據(jù)并發(fā)布到MQ。
目前所規(guī)劃的監(jiān)控指標(biāo): http://docs.openstack.org/developer/ceilometer/measurements.html

Plugin

Ceilometer實現(xiàn)的Plugin框架依賴setuptools的 Dynamic Discovery of Services and Plugins 實現(xiàn)。這是Ceilometer能進行擴展的基礎(chǔ)。Ceilometer中有四種類型的Plugin:Poller,Publisher,Notification和Transformer。

  • Poller主要負(fù)責(zé)被Agent調(diào)用去查詢數(shù)據(jù),返回Counter類型的結(jié)果給Agent框架;
  • Notification負(fù)責(zé)在MQ中監(jiān)聽相關(guān)topic的消息(虛擬機創(chuàng)建等),并把他轉(zhuǎn)換成Counter類型的結(jié)果給Agent框架。
  • Transformer負(fù)責(zé)轉(zhuǎn)換Counter(目前在代碼中還沒有發(fā)現(xiàn)具體用li)
  • Publisher負(fù)責(zé)將Agent框架中Counter類型的結(jié)果轉(zhuǎn)換成消息(包括簽名),并將消息發(fā)送到MQ;

Agent的Pipeline定義了這些插件之間的數(shù)據(jù)流。Agent的Plugin框架就向一個流水線,每個Plugin就像流水線上的工人。

Collector

Collector負(fù)責(zé)監(jiān)聽消息隊列,將Publisher發(fā)布的消息(Meter Message)存儲到DataStore。

DataStore

由MongoDB實現(xiàn)。

API

負(fù)責(zé)為其它項目提供數(shù)據(jù),例如計費、面板等。

總結(jié)

Ceilometer和Kanyun很像(kanyun我只聽過幾次分享),能滿足計費數(shù)據(jù)的采集的需求。從架構(gòu)上來看,他的擴展性很強,實現(xiàn)方式也很優(yōu)美。

原文地址? http://alexyang.sinaapp.com/?p=300

OpenStack Ceilometer簡介


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 文安县| 廉江市| 武夷山市| 辰溪县| 都江堰市| 南昌县| 章丘市| 连州市| 博罗县| 万载县| 芜湖县| 台南市| 新化县| 绥中县| 兴和县| 哈巴河县| 玉林市| 于田县| 兴国县| 会泽县| 高碑店市| 通城县| 中西区| 西乡县| 绥棱县| 黄梅县| 弥渡县| 澄江县| 炉霍县| 余庆县| 兴海县| 甘谷县| 香港 | 嘉义县| 若尔盖县| 丹寨县| 安岳县| 雷州市| 基隆市| 隆回县| 慈溪市|