Julien Danjou
jd__@Freenode // @juldanjou julien@danjou.info
Ceilometer Heat
Alarming
Alarming
Nick Barcet
nijaba@Freenode // @nijaba nick@enovance.com
Eoghan Glynn
eglynn@Freenode eglynn@redhat.com
Alarming Alarming Julien Danjou Nick Barcet Eoghan Glynn - - PowerPoint PPT Presentation
Ceilometer Heat ceilometer Alarming Alarming Julien Danjou Nick Barcet Eoghan Glynn jd__@Freenode // @juldanjou nijaba@Freenode // @nijaba eglynn@Freenode julien@danjou.info nick@enovance.com eglynn@redhat.com Speakers Nick
Julien Danjou
jd__@Freenode // @juldanjou julien@danjou.info
Nick Barcet
nijaba@Freenode // @nijaba nick@enovance.com
Eoghan Glynn
eglynn@Freenode eglynn@redhat.com
Folsom summit and led the project through incubation
from the outset, taking over the PTL reins for Havana
feature to Ceilometer over the Havana cycle
○ automates complex deployments via declarative configuration
○ collects data measuring resource usage and performance
Ceilometer itself)
Collect Transform Publish Store Aggregate
{ "AWSTemplateFormat" : "2010-09-09", "Parameters": { "VolumeSize" : { … } } "Mappings": { "Flavor2Arch" : { "tiny": {"Arch" : "64" }, ... }, "Resources": { "MyInstance" : { "Type" : "AWS::EC2::Instance", "Properties" : { “Volumes” : […] } } } }, "Outputs": { "DNS" : { "Value" : { … } } } } my_stack.template
consumed by
Heat Engine
consumed by
Heat Engine
interacts with
{ "AWSTemplateFormat" : "2010-09- 09", "Parameters": { "VolumeSize" : { … } } "Mappings": { "Flavor2Arch" : { "tiny": {"Arch" : "64" }, ... }, "Resources": { "MyInstance" : { "Type" : "AWS::EC2::Instance", "Properties" : { “Volumes” : […] } } } }, "Outputs": { "DNS" : { "Value" : { … } } } }consumed by
Heat Engine
interacts with spins up Instance Volume my_stack
reports load push-stats CW-lite my_stack
Heat Engine
my_stack reports load scales out stack Instance Instance Instance
Heat Engine
my_stack reports load scales out stack Instance Instance Instance Instance
relevant stats from outside the instance
evaluation window
against their defined rules
notifications when alarms fire
added to template ● alarms bounding busy/idleness of
instances
represented via user metadata
up/down policies
& cooldown period
"CPUAlarmHigh": { "Type": "OS::Metering::Alarm", "Properties": { "meter_name": "cpu_util", "description": "Scale-up if CPU > 50%", "evaluation_periods": "1", "period": "60", "statistic": "avg", "comparison_operator": "gt", "alarm_actions":[…"ScaleUpPolicy", "AlarmUrl"…], "matching_metadata": { "metadata.user_metadata.server_group": "WebServerGroup" }}}
Heat Engine
injects user metadata Instance my_stack
Heat Engine
injects user metadata Instance my_stack
API service
creates alarms
Ceilometer
Heat Engine
injects user metadata Instance my_stack
API service Compute Agent
creates alarms monitors instances
Ceilometer
Heat Engine
injects user metadata Instance my_stack
API service Compute Agent
creates alarms
Alarm evaluator
monitors instances triggers alarm
Ceilometer
Heat Engine
injects user metadata my_stack
API Compute Alarms
alarming scales out stack Instance Instance Instance
Ceilometer
Heat Engine
injects user metadata my_stack
API Compute Alarms
alarming scales out stack Instance Instance Instance Instance Instance
Ceilometer
Heat Engine
my_stack Instance
API service Compute Agent Alarm evaluator
reports samples provides alarm rules queries stats Meter store
Ceilometer
Keys to successful intra-project interactions:
the development cycle
consumable chunks
○ #openstack-metering ○ #heat
○ openstack-dev@lists.openstack.org
○ https://launchpad.net/ceilometer/+filebug