0% found this document useful (0 votes)
3 views

CCIS Chapter 6 Openstack new (1)

Uploaded by

Arhum Naveed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

CCIS Chapter 6 Openstack new (1)

Uploaded by

Arhum Naveed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 80

Cloud Computing: Infrastructure & Servi

OpenStack Overview

Chapter # 6 Sheheryar Malik, Ph.D. 1


Cloud Computing: Infrastructure & Servi

OpenStack Overview

Chapter # 6 Sheheryar Malik, Ph.D. 2


Cloud Computing: Infrastructure & Servi

The OpenStack Framework

WHAT GETS CALLED


OPENSTACK?

USING THE SAMPLE


CONFIGURATIONS

CORE SERVICES &


OPTIONAL SERVICES

Chapter # 6 Sheheryar Malik, Ph.D. 3


Cloud Computing: Infrastructure & Servi

OpenStack Modules

Chapter # 6 Sheheryar Malik, Ph.D. 4


Cloud Computing: Infrastructure & Servi

Modules in OpenStack Releases

Chapter # 6 Sheheryar Malik, Ph.D. 5


Cloud Computing: Infrastructure & Servi

Modules in OpenStack Releases


Release
Release Date Included Components
Name
Austin 21 October 2010 Nova, Swift
Bexar 3 February 2011 Nova, Glance, Swift
Cactus 15 April 2011 Nova, Glance, Swift
Diablo 22 September 2011 Nova, Glance, Swift
Essex 5 April 2012 Nova, Glance, Swift, Horizon, Keystone
Folsom 27 September 2012 Nova, Glance, Swift, Horizon, Keystone, Quantum, Cinder
Grizzly 4 April 2013 Nova, Glance, Swift, Horizon, Keystone, Quantum, Cinder
Havana 17 October 2013 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer
Icehouse 17 April 2014 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove
Juno 16 October 2014 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara
Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic,
Kilo 30 April 2015
Zaqar, Manila, Designate, Barbican
Liberty 16 October 2015 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic,
Zaqar, Manila, Designate, Barbican, Searchlight
Mitaka 7 April 2016 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic,
Zaqar, Manila, Designate, Barbican, Searchlight, Magnum
Newton 6 October 2016 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic,
Zaqar, Manila, Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral,
monasca-api, monasca-log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher

Chapter # 6 Sheheryar Malik, Ph.D. 6


Cloud Computing: Infrastructure & Servi

Modules in OpenStack Releases


Release
Release Date Included Components
Name
Ocata 22 February 2017 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic, Zaqar, Manila,
Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral, monasca-api, monasca-
log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher
Pike 30 August 2017 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic, Zaqar, Manila,
Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral, monasca-api, monasca-
log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher
Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic, Zaqar, Manila,
Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral, monasca-api, monasca-
Queens 28 February 2018
log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher, blazar, ceilometer-powervm, karbor, octavia,
storlets, tricircle, zun
Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic, Zaqar, Manila,
Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral, monasca-api, monasca-
Rocky 30 August 2018
log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher, blazar, ceilometer-powervm, karbor, octavia,
storlets, tricircle, zun, Cyborg, ec2-api, Masakari, Qinling (40 services)
Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer, Trove, Sahara, Ironic, Zaqar, Manila,
Designate, Barbican, Searchlight, Magnum, aodh, cloudkitty, congress, freezer, mistral, monasca-api, monasca-
Stein 10 April 2019 log-api, murano, panko, senlin, solum, tacker, vitrage, Watcher, blazar, ceilometer-powervm, karbor, octavia,
storlets, tricircle, zun, Cyborg, ec2-api, Masakari, Qinling, freezer, monasca-events-api, placement, searchlight
(44 services)

Chapter # 6 Sheheryar Malik, Ph.D. 7


Cloud Computing: Infrastructure & Servi

OpenStack Modules Functionality


• Nova Compute Service
• Swift Object Store
• Glance Image Service
• Horizon Dashboard
• Keystone Identity Service
• Cinder Block Storage
• Neutron Network Service
• Heat Orchestration
• Ceilometer Telemetry
• Trove Database Service

Chapter # 6 Sheheryar Malik, Ph.D. 8


Cloud Computing: Infrastructure & Servi

OpenStack Modules Functionality


• Mistral Workflow
• Sahara Elastic map reduce
• Ironic Bare metal
• Zaqar Messaging
• Manila Shared file system
• Designate DNS
• Searchlight Search
• Barbican Key manager
• Magnum Container orchestration
• Vitrage Root Cause Analysis
• Aodh Rule-based alarm actions
Chapter # 6 Sheheryar Malik, Ph.D. 9
Cloud Computing: Infrastructure & Servi

OpenStack Modules Functionality


• Compute • Object Store • Image Service • Dashboard • Identity • Block Storage • Network
Service Service Service

Nova Swift Glance Horizon Keystone Cinder Neutron

• Orchestration • Telemetry • Database • Workflow • Elastic map • Bare metal • Messaging


Service reduce

Heat
Ceilometer Trove Mistral Sahara Ironic Zaqar

• Shared file • DNS • Search • Key manager • Container • Root Cause • Rule-based
system orchestration Analysis alarm actions

Manila Designate Searchlight Barbican Magnum Vitrage Aodh

Chapter # 6 Sheheryar Malik, Ph.D. 10


Cloud Computing: Infrastructure & Servi

OpenStack Architecture
• OpenStack follows a modular structure
• Different projects have distinct roles and responsibilities
• Projects are further classified into sub-projects
• Different projects communicate with each other

Chapter # 6 Sheheryar Malik, Ph.D. 11


Cloud Computing: Infrastructure & Servi

OpenStack Architecture

Chapter # 6 Sheheryar Malik, Ph.D. 13


Cloud Computing: Infrastructure & Servi

OpenStack Conceptual Architecture

Chapter # 6 Sheheryar Malik, Ph.D. 14


Cloud Computing: Infrastructure & Servi

OpenStack Logical Architecture

Chapter # 6 Sheheryar Malik, Ph.D. 15


Cloud Computing: Infrastructure & Servi

OpenStack Logical Architecture

Chapter # 6 Sheheryar Malik, Ph.D. 16


Cloud Computing: Infrastructure & Servi

Horizon
(Dashboard)

Chapter # 6 Sheheryar Malik, Ph.D. 17


Cloud Computing: Infrastructure & Servi

Horizon (Dashboard)
• Provides the web interface for OpenStack services
• Makes connection with all OpenStack services to call relevant APIs
• Implemented in django framework (python)
• Manageable, extensible and flexible architecture

Chapter # 6 Sheheryar Malik, Ph.D. 18


Cloud Computing: Infrastructure & Servi

Horizon (Dashboard)

User Info
Branding

Dashboard

Panel Group

Panel

Sidebar

Chapter # 6 Sheheryar Malik, Ph.D. 19


Cloud Computing: Infrastructure & Servi

Horizon (Dashboard)

Entire Stack
Chapter # 6 Sheheryar Malik, Ph.D. 20
Cloud Computing: Infrastructure & Servi

Nova
(Compute)

Chapter # 6 Sheheryar Malik, Ph.D. 21


Cloud Computing: Infrastructure & Servi

Nova (Compute)

Chapter # 6 Sheheryar Malik, Ph.D. 22


Cloud Computing: Infrastructure & Servi

Nova (Compute)
• nova-api
o accepts and responds to end user compute API calls
o Supports OpenStack Compute API, Amazon's EC2 API and a special Admin API
(for privileged users to perform administrative actions)
o Initiates most of the orchestration activities (such as running an instance)
o Enforces some policy (mostly quota checks)
o Authentication is handled through middleware before getting to this daemon

Chapter # 6 Sheheryar Malik, Ph.D. 23


Cloud Computing: Infrastructure & Servi

Nova (Compute)
• nova-scheduler
o It is conceptually the simplest piece of code in OpenStack Nova
o Take a virtual machine instance request from the queue and determines
where it should run (specifically, which compute server host it should run on)
o Filtering & Weighing
o Communicates with Compute Manager of compute node via RPC calls

Chapter # 6 Sheheryar Malik, Ph.D. 24


Cloud Computing: Infrastructure & Servi

Nova (Compute)
• nova-compute
o Primarily a worker daemon that creates and terminates virtual machine
instances via hypervisor's APIs
o Consists of Hypervisor (Support for multiple hypervisors)

• nova-conductor
o Handles database operations for compute node
o RPC Server with client at the compute node

Chapter # 6 Sheheryar Malik, Ph.D. 25


Cloud Computing: Infrastructure & Servi

Nova (Compute)

Chapter # 6 Sheheryar Malik, Ph.D. 26


Cloud Computing: Infrastructure & Servi

Nova (Compute)

Chapter # 6 Sheheryar Malik, Ph.D. 27


Cloud Computing: Infrastructure & Servi

Neutron
(Networking)

Chapter # 6 Sheheryar Malik, Ph.D. 28


Cloud Computing: Infrastructure & Servi

Neutron (Networking)
• Neutron is responsible for providing networks for different VMs in
OpenStack system
• Neutron is a pluggable, scalable and API-driven system for managing
networks and IP addresses
• Provides API to make complex networking topologies
• Open to having plugins from different vendors

Chapter # 6 Sheheryar Malik, Ph.D. 29


Cloud Computing: Infrastructure & Servi

Neutron (Networking)
• Neutron relies on Keystone for authentication and authorization of all
API requests
• Nova interacts with Neutron through API calls
o As part of creating an instance, nova-compute communicates with the
Neutron API to plug each virtual NIC on the instance into a particular Neutron
network through the use of Open vSwitch

Chapter # 6 Sheheryar Malik, Ph.D. 30


Cloud Computing: Infrastructure & Servi

Neutron (Networking)

Chapter # 6 Sheheryar Malik, Ph.D. 31


Cloud Computing: Infrastructure & Servi

Neutron (Networking)

Neutron
Server

Neutron Neutron
Agent Queue Plugin

Network
Provider Database

Chapter # 6 Sheheryar Malik, Ph.D. 32


Cloud Computing: Infrastructure & Servi

Neutron (Networking)

Chapter # 6 Sheheryar Malik, Ph.D. 33


Cloud Computing: Infrastructure & Servi

Network Deployment - Use cases


• Single Flat Network

Chapter # 6 Sheheryar Malik, Ph.D. 34


Cloud Computing: Infrastructure & Servi

Network Deployment - Use cases


• Multiple Flat Network

Chapter # 6 Sheheryar Malik, Ph.D. 35


Cloud Computing: Infrastructure & Servi

Network Deployment - Use cases


• Mixed Flat and Private Network

Chapter # 6 Sheheryar Malik, Ph.D. 36


Cloud Computing: Infrastructure & Servi

Network Deployment - Use cases


• Provider Router with Private Networks

Chapter # 6 Sheheryar Malik, Ph.D. 37


Cloud Computing: Infrastructure & Servi

Network Deployment - Use cases


• Per Tenant Router with Private Networks

Chapter # 6 Sheheryar Malik, Ph.D. 38


Cloud Computing: Infrastructure & Servi

Keystone
(Identity)

Chapter # 6 Sheheryar Malik, Ph.D. 39


Cloud Computing: Infrastructure & Servi

Keystone (Identity)
• Keystone is the identity service used by OpenStack for authentication
and high-level authorization
• It supports token-based and user-service authorization
• Keystone is organized as a group of internal services exposed on one
or many endpoints
o Many of these services are used in a combined fashion by the frontend

Chapter # 6 Sheheryar Malik, Ph.D. 40


Cloud Computing: Infrastructure & Servi

Keystone (Identity)
• Provides 4 primary services
o Identity
 User information authentication
o Token
 After logged in, replace account-password
o Service catalog
 Provides an endpoint registry used for endpoint discovery
o Policies
 provides a rule-based authorization engine and the associated rule management
interface

Chapter # 6 Sheheryar Malik, Ph.D. 41


Cloud Computing: Infrastructure & Servi

Keystone (Identity)
• User
o has account credentials and is associated with one or more tenants
• Tenant
o unit of ownership in OpenStack, contains one or more users
• Role
o a first-class piece of metadata associated with many user-tenant pairs
• Rule
o describes a set of requirements for performing an action

Chapter # 6 Sheheryar Malik, Ph.D. 42


Cloud Computing: Infrastructure & Servi

Keystone (Identity)

Chapter # 6 Sheheryar Malik, Ph.D. 43


Cloud Computing: Infrastructure & Servi

Keystone (Identity)

Chapter # 6 Sheheryar Malik, Ph.D. 44


Cloud Computing: Infrastructure & Servi

Glance
(Imaging)

Chapter # 6 Sheheryar Malik, Ph.D. 45


Cloud Computing: Infrastructure & Servi

Glance (Imaging)
• Image as a Service: a concept for having on demand VM image having
following features as well:
o Catalogue of all available images
o Have real images stored in attached devices
o Have generic APIs so that any service can query them in simple language
o Support, store and provide any kind of image abstracting the storage and
other internal details
o Highly available for other components

• Glance supported image formats: Raw, qcow2, vhd, vmdk, iso, vdi, aki,
ari, ami

Chapter # 6 Sheheryar Malik, Ph.D. 46


Cloud Computing: Infrastructure & Servi

Glance (Imaging)
• It provides discovery, registration and delivery services for disk and
server images
o A storage repository for the actual image files
o Glance supports normal file systems, RADOS block devices, Amazon S3, HTTP
and Swift
o glance-api
 It accepts Image API calls for image discovery, image retrieval and image storage
o glance-registry
 It stores, processes and retrieves metadata about images (size, type, etc.)
o glance database
 A database to store the image metadata

Chapter # 6 Sheheryar Malik, Ph.D. 47


Cloud Computing: Infrastructure & Servi

Glance (Imaging)
• Architecture
o Glance API gets request from external components
o It will request the information from Glance Registry
o Glance Registry will have information cached and it will provide metadata
o If the information is not cached it will fetch it from Glance DB
o Glance Registry gives the data back to the Glance API (using REST API)
o The data store can be a anything to a Swift to a HTTP, reachable via Internet
o Once Glance API has the information on the image it can serve the other
components

Chapter # 6 Sheheryar Malik, Ph.D. 48


Cloud Computing: Infrastructure & Servi

Glance (Imaging)
• Architecture

Chapter # 6 Sheheryar Malik, Ph.D. 49


Cloud Computing: Infrastructure & Servi

Cinder
(Volume)

Chapter # 6 Sheheryar Malik, Ph.D. 50


Cloud Computing: Infrastructure & Servi

Cinder (Volume)
• Cinder is an OpenStack module to provide “block storage as a service”
• The block storage system manages the creation, attaching and
detaching of the block devices to servers
• Block storage volumes are fully integrated into OpenStack Compute
and the Dashboard
• Block storage is appropriate for performance sensitive scenarios such
as database storage, expandable file systems, or providing a server
with access to raw block level storage

Chapter # 6 Sheheryar Malik, Ph.D. 51


Cloud Computing: Infrastructure & Servi

Cinder (Volume)
• Component based architecture
o Quickly add new behaviors
• Highly available
o Scale to very serious workloads
• Fault-Tolerant
o Isolated processes avoid cascading failures
• Recoverable
o Failures are easy to diagnose, debug, and rectify
• Cinder strives to provide API-compatible with popular systems like
Amazon EC2

Chapter # 6 Sheheryar Malik, Ph.D. 52


Cloud Computing: Infrastructure & Servi

Cinder (Volume)
• Cinder manages persistent storage
o Data volumes that are attached to VM instances
o Boot from volume
o They can be detached from one instance and reattached to another, and the
data remains intact
o The storage resource outlives any other resource and is always available,
regardless of the state of a running instance
• For desktop user PCs internal disk drives are ephemeral
o persistent storage can be considered similar to an external USB drive

Chapter # 6 Sheheryar Malik, Ph.D. 53


Cloud Computing: Infrastructure & Servi

Cinder (Volume)
• Architecture
o Cinder API: CRUD Operations
o Cinder Volume: Actual Back-end
o Cinder Scheduler: picks the optimal storage node to create the volume on

Chapter # 6 Sheheryar Malik, Ph.D. 54


Cloud Computing: Infrastructure & Servi

Cinder (Volume)
• Flow for attach a volume to instance
o Volume driver returns connection information, which is passed to Nova
o Nova creates the connection to the storage using the returned information
o Nova passes the volume device/file to the hypervisor

Chapter # 6 Sheheryar Malik, Ph.D. 55


Cloud Computing: Infrastructure & Servi

Swift
(Object Storage)

Chapter # 6 Sheheryar Malik, Ph.D. 56


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)


• Object Storage is a robust, highly scalable and fault tolerant storage
platform for unstructured data such as objects
• Objects are stored bits, accessed through a RESTful, HTTP-based
interface
o You cannot access data at the block or file level
• Object Storage is commonly used to archive and back up data, with
use cases in virtual machine image, photo, video and music storage
• Object Storage provides a high degree of availability, throughput, and
performance with its scale out architecture

Chapter # 6 Sheheryar Malik, Ph.D. 57


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)


• Swift is Scalable Storage
o Scales as the cluster grows
o Designed to run on commodity hardware
o No single point of failure

• Maintains storage backup to ensure High Availability


• Creates eventually consistent replicas

Chapter # 6 Sheheryar Malik, Ph.D. 58


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)


• Architecture:
o The Ring
o Proxy Server
o Object Server
o Container Server
o Account Server
o Replication
o Updaters
o Auditors

Chapter # 6 Sheheryar Malik, Ph.D. 59


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)

Chapter # 6 Sheheryar Malik, Ph.D. 60


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)


• Each object is replicated across multiple servers, residing within the
same data center or across data centers, which mitigates the risk of
network and hardware failure
• In the event of hardware failure, Object Storage will automatically
copy objects to a new location to ensure that there are always three
copies available
• Object Storage is an eventually consistent distributed storage
platform; it sacrifices consistency for maximum availability and
partition tolerance
• Object Storage enables you to create a reliable platform by using
commodity hardware and inexpensive storage
Chapter # 6 Sheheryar Malik, Ph.D. 61
Cloud Computing: Infrastructure & Servi

Swift (Object Storage)


• How swift operates:
o User sends authentication request to Keystone
o Keystone responds with authentication token
o User sends a PUT or GET command to Swift Proxy Server
o Proxy server selects one of the storage nodes and performs the action
o Proxy server responds to the server with the response

• It is not directly integrated with other OpenStack components except


for Keystone and partly with Glance

Chapter # 6 Sheheryar Malik, Ph.D. 62


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)

Chapter # 6 Sheheryar Malik, Ph.D. 63


Cloud Computing: Infrastructure & Servi

Swift (Object Storage)

Chapter # 6 Sheheryar Malik, Ph.D. 64


Cloud Computing: Infrastructure & Servi

• What is the difference between Glance, Cinder, Swift?


Glance provides mirroring services, which are responsible for managing
images, such as discovery, registration, mirroring is the template for
generating virtual machine system disks, Glance does not save images, it
can be saved to Swift for saving.
Cinder provides block-level persistent volumes for virtual machines. Cinder
can implement volume creation, mounting, snapshots, etc. Cinder itself does
not save volumes, but it can take over various storages through Drivers and
use them to store The virtual machine provides space.
Swift is a distributed, persistent virtual object store that maintains space and
provides object storage services externally.
Glance function:
1. Complete the rapid creation of the VM and quickly get the business online.
2. Allow VMs to be created in batches, reducing deployment time.
3. Can maintain the consistency of the virtual host, OS, software, and
equivalent features.
Cinder function: Provides a block service to the VM and a virtual disk to the
VM.
Chapter # 6 Sheheryar Malik, Ph.D. 65
Cloud Computing: Infrastructure & Servi

Heat
(Orchestration)

Chapter # 6 Sheheryar Malik, Ph.D. 66


Cloud Computing: Infrastructure & Servi

Heat (Orchestration)
• Heat manages entire lifecycle of the application
• Launch multiple composite cloud applications based on templates
• Template based orchestration (text files treated as a form of code)
• Provide Autoscaling service which is integrated with OpenStack
Ceilometer

Chapter # 6 Sheheryar Malik, Ph.D. 67


Cloud Computing: Infrastructure & Servi

Heat (Orchestration)
• Allows you to spin up multiple instances, logical networks, and other
cloud services in an automated fashion
• Some important terms:
o Stack – Collection of objects or resources
o Template – Defines a stack
o Parameters – Detailed information like network or image ID etc..
o Resources – Objects created or deleted during stack operations
o Output – information passed to the user from heat-engine
o HOT – Heat Orchestration Template
o CFN – AWS CloudFormation

Chapter # 6 Sheheryar Malik, Ph.D. 68


Cloud Computing: Infrastructure & Servi

Heat (Orchestration)
• Architecture of OpenStack Heat
o python-heat-client
 The heat tool is a CLI which communicates with the heat-api to
execute AWS cloudFormation APIs
o heat-api
 The heat-api component provides an OpenStack-native ReST API
that processes API requests by sending them to the heat-engine
over RPC
o heat-api-cfn
 The heat-api-cfn component provides an AWS-style Query API
that is compatible with AWS CloudFormation
o heat-engine
 The heat engine does the main work of orchestrating the launch
of templates and providing events back to the API consumer

Chapter # 6 Sheheryar Malik, Ph.D. 69


Cloud Computing: Infrastructure & Servi

Heat – Workflow
• Collect interesting info from OpenStack components create meters
(or samples)
• Transform meters into other meters if needed
• Publish meters to any destination (including Ceilometer itself)
• Store received meters into data store
• Read data via Ceilometer REST API

Collect Transform Publish Store Read

Chapter # 6 Sheheryar Malik, Ph.D. 70


Cloud Computing: Infrastructure & Servi

Heat Auto Scaling

Consumed by Heat Engine interacts with

Instance Volume

Spins up

Chapter # 6 Sheheryar Malik, Ph.D. 71


Cloud Computing: Infrastructure & Servi

Heat Auto Scaling

Reports Load
Heat Engine

Instance

Push stats

Chapter # 6 Sheheryar Malik, Ph.D. 72


Cloud Computing: Infrastructure & Servi

Heat Auto Scaling

Reports Load
Heat Engine
Scales out
Stack

Instance
Instance
Instance
Instance

Chapter # 6 Sheheryar Malik, Ph.D. 73


Cloud Computing: Infrastructure & Servi

Ceilometer
(Telemetry)

Chapter # 6 Sheheryar Malik, Ph.D. 74


Cloud Computing: Infrastructure & Servi

Ceilometer (Telemetry)
• Provides a framework for metering and monitoring in Openstack
cloud
• Meters and Monitors all resources
• Generates Alarms to create more resources

Chapter # 6 Sheheryar Malik, Ph.D. 75


Cloud Computing: Infrastructure & Servi

Ceilometer (Telemetry)
• Metering
o Measure and record what's happening
o Ceilometer meters whether you ask it to or not
o You can query it later when you realize you need it

• Monitoring
o Notify ("alarm") when one of the meters reaches a threshold
• Alarm
o An alarm is a monitor of a statistic that will trigger when a threshold condition
is breached
 Threshold Alarms
 Combinational Alarms

Chapter # 6 Sheheryar Malik, Ph.D. 76


Cloud Computing: Infrastructure & Servi

Heat & Ceilometer – Together

Injects User
Metadata Create Alarms
API Service
Heat Engine

Trigger
s
Alarms
Alarm Evaluator Ceilometer

Instance

Monitor
Instances
Compute Agent

Chapter # 6 Sheheryar Malik, Ph.D. 77


Cloud Computing: Infrastructure & Servi

Heat & Ceilometer – Together

Injects User
Metadata Create Alarms
API Service
Heat Engine

Scales Out
Stack
Alarm Evaluator Ceilometer

Instance
Instance
Instance
Instance
Instance
Compute Agent

Chapter # 6 Sheheryar Malik, Ph.D. 78


Cloud Computing: Infrastructure & Servi

Heat & Ceilometer – Together

Provides
Alarm Rules
API Service
Heat Engine

Queries
Stats
Meter store
Ceilometer
Alarm evaluator
Instance Reports
Samples

Compute Agent

Chapter # 6 Sheheryar Malik, Ph.D. 79


Cloud Computing: Infrastructure & Servi

Become a Contributor
• Propose blueprints & help implement them
o https://wiki.openstack.org/wiki/Blueprints
o https://blueprints.launchpad.net/openstack

• Report bugs
o http://launchpad.net/openstack
• Help users
o http://ask.openstack.org
• Documentation / manuals
o http://docs.openstack.org

Chapter # 6 Sheheryar Malik, Ph.D. 80


Cloud Computing: Infrastructure & Servi

Contacts & Events


• IRC
o https://wiki.openstack.org/wiki/IRC
• Mailing lists
o https://wiki.openstack.org/wiki/MailingLists
• User groups and meetups
o http://meetup.com/openstack

Chapter # 6 Sheheryar Malik, Ph.D. 81

You might also like