SlideShare ist ein Scribd-Unternehmen logo
1 von 68
Downloaden Sie, um offline zu lesen
DEEP DIVE: OPENSTACK COMPUTE
Stephen Gordon <sgordon@redhat.com>
Technical Product Manager, Red Hat
@xsgordon
AGENDA
•OpenStack architecture refresher
•Compute architecture
•Instance life cycle
•Scaling compute
•Segregating compute
•Upcoming features
OPENSTACK MISSION STATEMENT
“To produce the ubiquitous Open Source Cloud Computing
platform that will meet the needs of public and private clouds
regardless of size, by being simple to implement and
massively scalable.”
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•Modular architecture
•Design to easily scale out
•Based on (growing) set of core services
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Dashboard (Horizon)
•Provides simple self-service user interface for end users
•Basic cloud administrator functions
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Identity (Keystone)
•Common authorization framework - manages users, tenants, roles and
endpoints
•Pluggable backends (SQL, PAM, LDAP, etc)
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•Telemetry (Ceilometer)
•Monitors, collects, and stores usage data for all OpenStack infrastructure
•Primary targets metering and monitoring with expandable framework
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•Orchestration (Heat)
•Template-based deployment orchestrator for cloud applications
•Automates deployment of compute, storage, and networking resources
•Provides AWS CloudFormation implementation for OpenStack
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Block Storage (Cinder)
•Provides block storage for virtual machines (persistent disks)
•Similar to Amazon EBS service, plugin architecture for vendor extensions
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Networking (Neutron)
•Provides framework for Software Defined Networking (SDN)
•Plugin architecture allows integration of hardware and software based
network solutions
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Object Storage (Swift)
•Modeled after Amazon's S3 service
•Provides simple service for storing and retrieving arbitrary data
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Image Service (Glance)
•Stores and retrieves disk images (virtual machine templates)
•Supports Raw, QCOW, VMDK, VHD, ISO, OVF & AMI/AKI
•Backend storage : Filesystem, Swift, Amazon S3
OPENSTACK ARCHITECTURE
NOVA
IMAGE
SERVICE
OBJECT
STORE
VOLUME
SERVICE
IDENTITY
SERVICE
GLANCE SWIFT CINDER
KEYSTONE
OPST0005
COMPUTE NETWORKING
NEUTRON HEAT
Orchestration
CEILOMETER
Telemetry
DASHBOARD
HORIZON
•OpenStack Compute (Nova)
•Schedules, and manages the life cycle of virtual machine instances on
supported hypervisors
•Native OpenStack API and Amazon EC2 compatible API
COMPUTE ARCHITECTURE
COMPONENTS
OTHER COMPONENTS
•Certificate manager for x509 certificates - nova-cert
•Metadata service - nova-metadata-api
•Traditional networking model – nova-network
•L2 agent – e.g.:
•neutron-openvswitch-agent
•neutron-linuxbridge-agent
•Ceilometer agent – openstack-ceilometer-compute
“ALL IN ONE”
•All compute services co-reside with:
•Shared services (Identity, Image Service,
Block Storage, Networking)
•Support services (database, message
broker)
nova-api
nova-compute
nova-conductor
nova-scheduler
“CONTROLLER / COMPUTE”
•All compute control services (API,
scheduler, conductor) co-reside with:
•Shared services (Identity, Image Service,
Block Storage, Networking)
•Support services (database, message
broker)
•Compute agent runs on dedicated
node as well as:
•L2 networking agent
•Ceilometer compute agent (optional)
nova-api
nova-conductor
nova-scheduler
nova-compute
Controller Node
Compute Node
“CONTROLLER / COMPUTE”
nova-api
nova-conductor
nova-scheduler
nova-compute
Controller Node
Compute Node
nova-compute
Compute Node
•Expand by adding more compute
nodes
•Typical deployments start breaking off
into dedicated:
•Network nodes
•Storage nodes
•Etc.
ARCHITECTURE
•OpenStack Compute itself can also be broken off into dedicated:
•API nodes
•Conductors
•Schedulers
•Compute Nodes
•Etc.
•Same approach applies to other projects.
RED HAT ENTERPRISE LINUX OPENSTACK PLATFORMDOC144908
●
Assurance that 3rd
party products have been tested with and supported
on Red Hat Enterprise Linux OpenStack Platform
●Documented Best practices, Installation, configuration, known issues
●Collaborative support agreements between Red Hat and partners to
jointly solve customer issues
●Alignment on SLA, Lifecycle, roadmap and upstream engagement
SUPPORTED DRIVERS
SUPPORTED DRIVERS
SUPPORTED DRIVERS – KVM
Nova Controller Nodes
RHEL-OSP
API
KVM
Compute
Nodes
SUPPORTED DRIVERS – VMware vCenter
Nova Controller Nodes
RHEL-OSP
vCenter Server
API
ESXi
Compute
Clusters
with VMware NSX
INSTANCE LIFE CYCLE
AUTHENTICATION
•Nova obtains an authentication token on your behalf from
Keystone
•Credentials provided when user logs in to dashboard or via
environment variables for command line:
$ source keystonerc_admin
AUTHENTICATION
INSTANCE REQUEST
•Initiating creation of an instance using the command line client:
$ nova boot ­­flavor 2 
            ­­image 174e7a3a... 
            "My Instance"
•Flavor “2” correlates to m1.small:
•1 vCPU 2 G RAM, 10 G root disk, 20 G ephemeral disk
INSTANCE REQUEST
Instance Name
Flavor
Image
INSTANCE FLAVORS
•Flavors define instance sizes:
•Number of vCPUs
•Memory
•Root disk space
•Ephemeral disk space
•Arbitrary extra specifications
•Five default flavors available, are customizable or more can be
added.
API
•Initial request hits Compute API in XML or JSON format:
•Endpoint like http://192.168.122.161:8774/v2/%(tenant_id)s 
•Parameters are extracted from API call for basic validation
•Some nova extensions are called (e.g. os­config­drive)
•Retrieves a reference to the selected flavor
API
•Identifies boot media:
•Retrieves a reference to the selected image using Glance client; OR
•Retrieves a reference to the selected volume using Cinder client
•Performs further parameter validation and applies defaults to
optional parameters
•Saves instance state to database
•Puts a message on the queue for the scheduler
SCHEDULER
•Defaults to filter scheduler
•Applies filters and weights based on nova.conf settings
•Filters, e.g.:
• Compute filter – is this host on?
• Core filter – does this host have enough vCPUs available?
•Weights, e.g.:
• RAM weigher – give more preference to hosts with more or less RAM free
FILTER SCHEDULER
Host 1
Host 2
Host 3
F
I
L
T
E
R
S
W
E
I
G
H
T
S Host 1
Host 3
SCHEDULER
•Updates instance data in database
•Puts a message on the queue for the compute agent on the
selected compute node
COMPUTE NODE
•Updates instance state in database
•Retrieve the boot media information
•Decode any injected files
•Calls Neutron to get network and security group information and
“plug” virtual interfaces
•Calls Cinder to attach volume if necessary
•Sets up configuration drive if necessary
COMPUTE NODE
•Use hypervisor APIs to create virtual machine!
SCALING COMPUTE
COMPONENTS
• So compute is simple to implement,
but how to make it massively
scalable?
SCALING LOAD BALANCER
MESSAGE
QUEUE
SCHEDULER
API
DATABASE
COMPUTE
HYPERVISOR
KVMCONDUCTOR
AMQP
OPST0007
• Add a load balancer in front of
the API.
• Add additional:
• Conductors
• Schedulers
• Compute agents/hypervisors
• Scale out message brokers and
databases using documented
mechanisms
CELLS
•Maintains a single compute
endpoint
•Relieve pressure on queues
database at scale (000's of
nodes)
•Few OpenStack projects are
“cell aware”
•Introduces the cells scheduler
MESSAGE
QUEUE
API CELL
COMPUTE
CELL
COMPUTE
CELL
...
OPST0008
API CELL
•Adds a load balancer in front of
multiple instances of the API service
•Has its own message queue
•Includes a new service, nova-cells
•Handles cell scheduling
•Packaged as openstack-nova-cells
•Required in every cell
MESSAGE
QUEUE
API
CELLS
nova-cells
LOAD BALANCER
nova-api
OPST0009
COMPUTE CELL
•Each compute cell contains:
•Its own message queue and
database
•Its own scheduler, conductor,
compute nodes
MESSAGE
QUEUE
SCHEDULER
CELLS
DATABASE
COMPUTE
HYPERVISOR
KVM
CONDUCTOR
nova-conductor
nova-scheduler
nova-cells
nova-compute
OPST0010
SEGREGATING COMPUTE
WHY SEGREGATE COMPUTE?
•Expose logical groupings of compute resources
•Geographical region, data center, rack, power source, network, etc.
•Expose special capabilities of compute resources
•Faster NICs or storage, special devices, etc.
•The divisions mean whatever you want them to mean!
REGIONS
•Complete OpenStack deployments
•Share a Keystone and Horizon installation
•Implement their own targetable API endpoints,
networks, and compute
•By default all services in one region -
•$ keystone endpoint­create ­­region 
“RegionTwo” …
•Target actions at a region's endpoint:
•$ nova ­­os­region­name “RegionTwo” 
boot …
REGIONS
Region A Region B
Keystone
Horizon
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
HOST AGGREGATES
•Logical groupings of hosts based on metadata
•Typically metadata describes capabilities hosts expose:
•SSD hard disks for ephemeral data storage
•PCI devices for passthrough
•Etc.
•Hosts can be in multiple host aggregates:
•“Hosts that have SSD storage and 10G interfaces”
HOST AGGREGATES
•Implicitly user targetable:
•Admin defines host aggregate with metadata, and a flavor that matches it
• $ nova aggregate­create hypervisors­with­SSD
• $ nova aggregate­set­metadata 1 SSDs=true
• $ nova aggregate­add­host 1 hypervisor­1
• $ nova flavor­key 1 set SSDs=true
•User selects flavor when requesting instance
•Scheduler places on host aggregate matching host aggregate(s)
• AggregateInstanceExtraSpecsFilter
AVAILABILITY ZONES
•Logical groupings of hosts based on arbitrary factors like:
•Location (country, data center, rack, etc.)
•Network layout
•Power source
•Explicitly user targetable:
•$ nova boot ­­availability­zone “rack­1”
AVAILABILITY ZONES
Availability Zone
AVAILABILITY ZONES
•Host aggregates are made explicitly user targetable by creating
them as an AZ:
•$ nova aggregate­create tier­1 us­east­tier­1 
•tier­1 is the aggregate name, us­east­tier­1 is the AZ name
•Host aggregate is the availability zone in this case
•Hosts can not be in multiple availability zones
•Hosts can be in multiple host aggregates
EXAMPLE
Region A Region B
Keystone
Horizon
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
EXAMPLE
Region A Region B
Keystone
Horizon
AZ 1 AZ 2
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
AZ 3 AZ 4
EXAMPLE
Region A Region B
Keystone
Horizon
AZ 1 AZ 2
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
AZ 3 AZ 4
Hosts with SSDs
EXAMPLE
Region A Region B
Keystone
Horizon
AZ 1 AZ 2
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
AZ 3 AZ 4
Hosts with SSDs
Hosts with 10G NICs
EXAMPLE
Region A Region B
Keystone
Horizon
AZ 1 AZ 2
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
AZ 3 AZ 4
Hosts with SSDs
Hosts with 10G NICs
Hosts with GPUs
EXAMPLE
Region A Region B
Keystone
Horizon
AZ 1 AZ 2
Glance
Cinder
Nova
Neutron
Swift
Glance
Cinder
Nova
Neutron
Swift
AZ 3 AZ 4
Hosts with SSDs
Hosts with 10G NICs
Hosts with GPUs
NEW FEATURES
ROLLING UPGRADES
•Improved version interoperability
•Facilitates “rolling upgrades”
•Upgrade control services independently of compute nodes
•Allows operators to take a more gradual approach to upgrading
an OpenStack cloud.
INSTANCE GROUPS API
•Allows cloud users to create and apply policies to groups of
instances (also referred to as server groups)
•Allows intelligent placement of workloads that interact with each
other
•Apply scheduling policies to instance groups:
•Affinity
•Anti-Affinity
NOTIFICATIONS
•Additional notifications for:
•Compute host lifecycle operations:
• Shutdown
• Reboot
• Maintenance mode (in/out)
•Creation and deletion of keypairs.
•Support enhanced monitoring from Telemetry (Ceilometer)
VIRTIO RNG
•Para-virtualized random number generator.
•Default entropy pool is /dev/random on compute node
•Use of a hardware random number generator (RNG) or entropy gathering
daemon (EGD) also supported
•Allows cloud users to run workloads requiring random data (E..g.
cryptographic applications) while avoiding guest entropy
starvation
VIRTIO WATCHDOG
•Triggers instance lifecycle events for Linux guests on crash or
panic
•Enabled using hw_watchdog_action image property.
•hw_watchdog_action=<disabled|poweroff|reset|pause|none>
•Defaults to disabled
•Allows users to:
•Automatically reset or power off crashed instances, resuming quota
•Automatically pause crashed instances, for debugging
VIRTIO SCSI
•Para-virtualized SCSI controller.
•Designed as a future successor to VirtIO Block:
•Improved scalability – instances can connect to more storage devices
•Standard command set – uses standard SCSI command, simplifies
expansion
•Standard device naming – disks use same paths as bare-metal
•Enabled using hw_disk_bus_model image property:
•hw_disk_bus_model=virtio-scsi
VCENTER DRIVER
•Now supports boot from ISO
•Now supports diagnostics API:
•Returns a variety of details and statistics over and above those from 
`nova show`
•$ nova diagnostics <instance>
COMING UP
● Red Hat Cloud Infrastructure networking deep dive
– Cloud Deep Dive
– 11:00 a.m. - 12:00 p.m.
QUESTIONS?

Weitere ähnliche Inhalte

Was ist angesagt?

Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.Nagios
 
Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 minsDawood M.S
 
OpenStack 101 Presentation
OpenStack 101 PresentationOpenStack 101 Presentation
OpenStack 101 PresentationEVault
 
Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Stephen Gordon
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1Jinho Shin
 
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerOpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerYongyoon Shin
 
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G coreTối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G coreVietnam Open Infrastructure User Group
 
Architecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseArchitecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseKeith Tobin
 
Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Matt Ray
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureRandy Bias
 
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment Options
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment OptionsNagios Conference 2014 - Mike Weber - Nagios Rapid Deployment Options
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment OptionsNagios
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack CinderRenuka Apte
 
Openstack Overview
Openstack OverviewOpenstack Overview
Openstack Overviewrajdeep
 
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...Nagios
 
Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXNGINX, Inc.
 
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!![OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!OpenStack Korea Community
 

Was ist angesagt? (20)

Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
 
Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 mins
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
OpenStack 101 Presentation
OpenStack 101 PresentationOpenStack 101 Presentation
OpenStack 101 Presentation
 
Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?
 
Openstack nova
Openstack novaOpenstack nova
Openstack nova
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1
 
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerOpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
 
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G coreTối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
Tối ưu hiệu năng đáp ứng các yêu cầu của hệ thống 4G core
 
Architecture Openstack for the Enterprise
Architecture Openstack for the EnterpriseArchitecture Openstack for the Enterprise
Architecture Openstack for the Enterprise
 
Cloud data center and openstack
Cloud data center and openstackCloud data center and openstack
Cloud data center and openstack
 
Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking Architecture
 
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment Options
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment OptionsNagios Conference 2014 - Mike Weber - Nagios Rapid Deployment Options
Nagios Conference 2014 - Mike Weber - Nagios Rapid Deployment Options
 
OpenStack HA
OpenStack HAOpenStack HA
OpenStack HA
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
 
Openstack Overview
Openstack OverviewOpenstack Overview
Openstack Overview
 
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
 
Load Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINXLoad Balancing Apps in Docker Swarm with NGINX
Load Balancing Apps in Docker Swarm with NGINX
 
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!![OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!
[OpenStack Day in Korea 2015] Track 1-4 - VDI OpenStack? It Works!!!
 

Ähnlich wie Gordonh0945deepdive openstackcompute-140417174059-phpapp02

What is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootWhat is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootKangaroot
 
Quick overview of Openstack architecture
Quick overview of Openstack architectureQuick overview of Openstack architecture
Quick overview of Openstack architectureToni Ramirez
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewrajdeep
 
Webinar: Unlock the Power of Streaming Data with Kinetica and Confluent
Webinar: Unlock the Power of Streaming Data with Kinetica and ConfluentWebinar: Unlock the Power of Streaming Data with Kinetica and Confluent
Webinar: Unlock the Power of Streaming Data with Kinetica and ConfluentKinetica
 
Openstack Architecture
Openstack ArchitectureOpenstack Architecture
Openstack ArchitectureSrbIT
 
Openstack presentation
Openstack presentationOpenstack presentation
Openstack presentationSankalp Jain
 
VMworld 2013: VMware NSX Integration with OpenStack
VMworld 2013: VMware NSX Integration with OpenStack VMworld 2013: VMware NSX Integration with OpenStack
VMworld 2013: VMware NSX Integration with OpenStack VMworld
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitLew Tucker
 
Cloud orchestration major tools comparision
Cloud orchestration major tools comparisionCloud orchestration major tools comparision
Cloud orchestration major tools comparisionRavi Kiran
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Raul Leite
 
Secure Multi Tenant Cloud with OpenContrail
Secure Multi Tenant Cloud with OpenContrailSecure Multi Tenant Cloud with OpenContrail
Secure Multi Tenant Cloud with OpenContrailPriti Desai
 
Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)sriram_rajan
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesJalal Mostafa
 
Améliorer OpenStack avec les technologies Intel
Améliorer OpenStack avec les technologies IntelAméliorer OpenStack avec les technologies Intel
Améliorer OpenStack avec les technologies IntelOdinot Stanislas
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIJoel W. King
 
OpenStack- A ringside view of Services and Architecture
OpenStack- A ringside view of Services and ArchitectureOpenStack- A ringside view of Services and Architecture
OpenStack- A ringside view of Services and ArchitectureRitesh Somani
 

Ähnlich wie Gordonh0945deepdive openstackcompute-140417174059-phpapp02 (20)

OpenStack 101 update
OpenStack 101 updateOpenStack 101 update
OpenStack 101 update
 
What is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootWhat is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - Kangaroot
 
Quick overview of Openstack architecture
Quick overview of Openstack architectureQuick overview of Openstack architecture
Quick overview of Openstack architecture
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overview
 
Webinar: Unlock the Power of Streaming Data with Kinetica and Confluent
Webinar: Unlock the Power of Streaming Data with Kinetica and ConfluentWebinar: Unlock the Power of Streaming Data with Kinetica and Confluent
Webinar: Unlock the Power of Streaming Data with Kinetica and Confluent
 
Openstack Architecture
Openstack ArchitectureOpenstack Architecture
Openstack Architecture
 
Openstack presentation
Openstack presentationOpenstack presentation
Openstack presentation
 
OpenStack and Windows
OpenStack and WindowsOpenStack and Windows
OpenStack and Windows
 
VMworld 2013: VMware NSX Integration with OpenStack
VMworld 2013: VMware NSX Integration with OpenStack VMworld 2013: VMware NSX Integration with OpenStack
VMworld 2013: VMware NSX Integration with OpenStack
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
 
Cloud orchestration major tools comparision
Cloud orchestration major tools comparisionCloud orchestration major tools comparision
Cloud orchestration major tools comparision
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
Secure Multi Tenant Cloud with OpenContrail
Secure Multi Tenant Cloud with OpenContrailSecure Multi Tenant Cloud with OpenContrail
Secure Multi Tenant Cloud with OpenContrail
 
Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
 
CloudStackFinalProject
CloudStackFinalProjectCloudStackFinalProject
CloudStackFinalProject
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
 
Améliorer OpenStack avec les technologies Intel
Améliorer OpenStack avec les technologies IntelAméliorer OpenStack avec les technologies Intel
Améliorer OpenStack avec les technologies Intel
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACI
 
OpenStack- A ringside view of Services and Architecture
OpenStack- A ringside view of Services and ArchitectureOpenStack- A ringside view of Services and Architecture
OpenStack- A ringside view of Services and Architecture
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Gordonh0945deepdive openstackcompute-140417174059-phpapp02

  • 1. DEEP DIVE: OPENSTACK COMPUTE Stephen Gordon <sgordon@redhat.com> Technical Product Manager, Red Hat @xsgordon
  • 2. AGENDA •OpenStack architecture refresher •Compute architecture •Instance life cycle •Scaling compute •Segregating compute •Upcoming features
  • 3. OPENSTACK MISSION STATEMENT “To produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable.”
  • 4. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •Modular architecture •Design to easily scale out •Based on (growing) set of core services
  • 5. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Dashboard (Horizon) •Provides simple self-service user interface for end users •Basic cloud administrator functions
  • 6. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Identity (Keystone) •Common authorization framework - manages users, tenants, roles and endpoints •Pluggable backends (SQL, PAM, LDAP, etc)
  • 7. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •Telemetry (Ceilometer) •Monitors, collects, and stores usage data for all OpenStack infrastructure •Primary targets metering and monitoring with expandable framework
  • 8. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •Orchestration (Heat) •Template-based deployment orchestrator for cloud applications •Automates deployment of compute, storage, and networking resources •Provides AWS CloudFormation implementation for OpenStack
  • 9. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Block Storage (Cinder) •Provides block storage for virtual machines (persistent disks) •Similar to Amazon EBS service, plugin architecture for vendor extensions
  • 10. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Networking (Neutron) •Provides framework for Software Defined Networking (SDN) •Plugin architecture allows integration of hardware and software based network solutions
  • 11. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Object Storage (Swift) •Modeled after Amazon's S3 service •Provides simple service for storing and retrieving arbitrary data
  • 12. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Image Service (Glance) •Stores and retrieves disk images (virtual machine templates) •Supports Raw, QCOW, VMDK, VHD, ISO, OVF & AMI/AKI •Backend storage : Filesystem, Swift, Amazon S3
  • 13. OPENSTACK ARCHITECTURE NOVA IMAGE SERVICE OBJECT STORE VOLUME SERVICE IDENTITY SERVICE GLANCE SWIFT CINDER KEYSTONE OPST0005 COMPUTE NETWORKING NEUTRON HEAT Orchestration CEILOMETER Telemetry DASHBOARD HORIZON •OpenStack Compute (Nova) •Schedules, and manages the life cycle of virtual machine instances on supported hypervisors •Native OpenStack API and Amazon EC2 compatible API
  • 16. OTHER COMPONENTS •Certificate manager for x509 certificates - nova-cert •Metadata service - nova-metadata-api •Traditional networking model – nova-network •L2 agent – e.g.: •neutron-openvswitch-agent •neutron-linuxbridge-agent •Ceilometer agent – openstack-ceilometer-compute
  • 17. “ALL IN ONE” •All compute services co-reside with: •Shared services (Identity, Image Service, Block Storage, Networking) •Support services (database, message broker) nova-api nova-compute nova-conductor nova-scheduler
  • 18. “CONTROLLER / COMPUTE” •All compute control services (API, scheduler, conductor) co-reside with: •Shared services (Identity, Image Service, Block Storage, Networking) •Support services (database, message broker) •Compute agent runs on dedicated node as well as: •L2 networking agent •Ceilometer compute agent (optional) nova-api nova-conductor nova-scheduler nova-compute Controller Node Compute Node
  • 19. “CONTROLLER / COMPUTE” nova-api nova-conductor nova-scheduler nova-compute Controller Node Compute Node nova-compute Compute Node •Expand by adding more compute nodes •Typical deployments start breaking off into dedicated: •Network nodes •Storage nodes •Etc.
  • 20. ARCHITECTURE •OpenStack Compute itself can also be broken off into dedicated: •API nodes •Conductors •Schedulers •Compute Nodes •Etc. •Same approach applies to other projects.
  • 21. RED HAT ENTERPRISE LINUX OPENSTACK PLATFORMDOC144908 ● Assurance that 3rd party products have been tested with and supported on Red Hat Enterprise Linux OpenStack Platform ●Documented Best practices, Installation, configuration, known issues ●Collaborative support agreements between Red Hat and partners to jointly solve customer issues ●Alignment on SLA, Lifecycle, roadmap and upstream engagement SUPPORTED DRIVERS
  • 23. SUPPORTED DRIVERS – KVM Nova Controller Nodes RHEL-OSP API KVM Compute Nodes
  • 24. SUPPORTED DRIVERS – VMware vCenter Nova Controller Nodes RHEL-OSP vCenter Server API ESXi Compute Clusters with VMware NSX
  • 26. AUTHENTICATION •Nova obtains an authentication token on your behalf from Keystone •Credentials provided when user logs in to dashboard or via environment variables for command line: $ source keystonerc_admin
  • 28. INSTANCE REQUEST •Initiating creation of an instance using the command line client: $ nova boot ­­flavor 2              ­­image 174e7a3a...              "My Instance" •Flavor “2” correlates to m1.small: •1 vCPU 2 G RAM, 10 G root disk, 20 G ephemeral disk
  • 30. INSTANCE FLAVORS •Flavors define instance sizes: •Number of vCPUs •Memory •Root disk space •Ephemeral disk space •Arbitrary extra specifications •Five default flavors available, are customizable or more can be added.
  • 31. API •Initial request hits Compute API in XML or JSON format: •Endpoint like http://192.168.122.161:8774/v2/%(tenant_id)s  •Parameters are extracted from API call for basic validation •Some nova extensions are called (e.g. os­config­drive) •Retrieves a reference to the selected flavor
  • 32. API •Identifies boot media: •Retrieves a reference to the selected image using Glance client; OR •Retrieves a reference to the selected volume using Cinder client •Performs further parameter validation and applies defaults to optional parameters •Saves instance state to database •Puts a message on the queue for the scheduler
  • 33. SCHEDULER •Defaults to filter scheduler •Applies filters and weights based on nova.conf settings •Filters, e.g.: • Compute filter – is this host on? • Core filter – does this host have enough vCPUs available? •Weights, e.g.: • RAM weigher – give more preference to hosts with more or less RAM free
  • 34. FILTER SCHEDULER Host 1 Host 2 Host 3 F I L T E R S W E I G H T S Host 1 Host 3
  • 35. SCHEDULER •Updates instance data in database •Puts a message on the queue for the compute agent on the selected compute node
  • 36. COMPUTE NODE •Updates instance state in database •Retrieve the boot media information •Decode any injected files •Calls Neutron to get network and security group information and “plug” virtual interfaces •Calls Cinder to attach volume if necessary •Sets up configuration drive if necessary
  • 37. COMPUTE NODE •Use hypervisor APIs to create virtual machine!
  • 39. COMPONENTS • So compute is simple to implement, but how to make it massively scalable?
  • 40. SCALING LOAD BALANCER MESSAGE QUEUE SCHEDULER API DATABASE COMPUTE HYPERVISOR KVMCONDUCTOR AMQP OPST0007 • Add a load balancer in front of the API. • Add additional: • Conductors • Schedulers • Compute agents/hypervisors • Scale out message brokers and databases using documented mechanisms
  • 41. CELLS •Maintains a single compute endpoint •Relieve pressure on queues database at scale (000's of nodes) •Few OpenStack projects are “cell aware” •Introduces the cells scheduler MESSAGE QUEUE API CELL COMPUTE CELL COMPUTE CELL ... OPST0008
  • 42. API CELL •Adds a load balancer in front of multiple instances of the API service •Has its own message queue •Includes a new service, nova-cells •Handles cell scheduling •Packaged as openstack-nova-cells •Required in every cell MESSAGE QUEUE API CELLS nova-cells LOAD BALANCER nova-api OPST0009
  • 43. COMPUTE CELL •Each compute cell contains: •Its own message queue and database •Its own scheduler, conductor, compute nodes MESSAGE QUEUE SCHEDULER CELLS DATABASE COMPUTE HYPERVISOR KVM CONDUCTOR nova-conductor nova-scheduler nova-cells nova-compute OPST0010
  • 45. WHY SEGREGATE COMPUTE? •Expose logical groupings of compute resources •Geographical region, data center, rack, power source, network, etc. •Expose special capabilities of compute resources •Faster NICs or storage, special devices, etc. •The divisions mean whatever you want them to mean!
  • 46. REGIONS •Complete OpenStack deployments •Share a Keystone and Horizon installation •Implement their own targetable API endpoints, networks, and compute •By default all services in one region - •$ keystone endpoint­create ­­region  “RegionTwo” … •Target actions at a region's endpoint: •$ nova ­­os­region­name “RegionTwo”  boot …
  • 47. REGIONS Region A Region B Keystone Horizon Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift
  • 48. HOST AGGREGATES •Logical groupings of hosts based on metadata •Typically metadata describes capabilities hosts expose: •SSD hard disks for ephemeral data storage •PCI devices for passthrough •Etc. •Hosts can be in multiple host aggregates: •“Hosts that have SSD storage and 10G interfaces”
  • 49. HOST AGGREGATES •Implicitly user targetable: •Admin defines host aggregate with metadata, and a flavor that matches it • $ nova aggregate­create hypervisors­with­SSD • $ nova aggregate­set­metadata 1 SSDs=true • $ nova aggregate­add­host 1 hypervisor­1 • $ nova flavor­key 1 set SSDs=true •User selects flavor when requesting instance •Scheduler places on host aggregate matching host aggregate(s) • AggregateInstanceExtraSpecsFilter
  • 50. AVAILABILITY ZONES •Logical groupings of hosts based on arbitrary factors like: •Location (country, data center, rack, etc.) •Network layout •Power source •Explicitly user targetable: •$ nova boot ­­availability­zone “rack­1”
  • 52. AVAILABILITY ZONES •Host aggregates are made explicitly user targetable by creating them as an AZ: •$ nova aggregate­create tier­1 us­east­tier­1  •tier­1 is the aggregate name, us­east­tier­1 is the AZ name •Host aggregate is the availability zone in this case •Hosts can not be in multiple availability zones •Hosts can be in multiple host aggregates
  • 53. EXAMPLE Region A Region B Keystone Horizon Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift
  • 54. EXAMPLE Region A Region B Keystone Horizon AZ 1 AZ 2 Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift AZ 3 AZ 4
  • 55. EXAMPLE Region A Region B Keystone Horizon AZ 1 AZ 2 Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift AZ 3 AZ 4 Hosts with SSDs
  • 56. EXAMPLE Region A Region B Keystone Horizon AZ 1 AZ 2 Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift AZ 3 AZ 4 Hosts with SSDs Hosts with 10G NICs
  • 57. EXAMPLE Region A Region B Keystone Horizon AZ 1 AZ 2 Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift AZ 3 AZ 4 Hosts with SSDs Hosts with 10G NICs Hosts with GPUs
  • 58. EXAMPLE Region A Region B Keystone Horizon AZ 1 AZ 2 Glance Cinder Nova Neutron Swift Glance Cinder Nova Neutron Swift AZ 3 AZ 4 Hosts with SSDs Hosts with 10G NICs Hosts with GPUs
  • 60. ROLLING UPGRADES •Improved version interoperability •Facilitates “rolling upgrades” •Upgrade control services independently of compute nodes •Allows operators to take a more gradual approach to upgrading an OpenStack cloud.
  • 61. INSTANCE GROUPS API •Allows cloud users to create and apply policies to groups of instances (also referred to as server groups) •Allows intelligent placement of workloads that interact with each other •Apply scheduling policies to instance groups: •Affinity •Anti-Affinity
  • 62. NOTIFICATIONS •Additional notifications for: •Compute host lifecycle operations: • Shutdown • Reboot • Maintenance mode (in/out) •Creation and deletion of keypairs. •Support enhanced monitoring from Telemetry (Ceilometer)
  • 63. VIRTIO RNG •Para-virtualized random number generator. •Default entropy pool is /dev/random on compute node •Use of a hardware random number generator (RNG) or entropy gathering daemon (EGD) also supported •Allows cloud users to run workloads requiring random data (E..g. cryptographic applications) while avoiding guest entropy starvation
  • 64. VIRTIO WATCHDOG •Triggers instance lifecycle events for Linux guests on crash or panic •Enabled using hw_watchdog_action image property. •hw_watchdog_action=<disabled|poweroff|reset|pause|none> •Defaults to disabled •Allows users to: •Automatically reset or power off crashed instances, resuming quota •Automatically pause crashed instances, for debugging
  • 65. VIRTIO SCSI •Para-virtualized SCSI controller. •Designed as a future successor to VirtIO Block: •Improved scalability – instances can connect to more storage devices •Standard command set – uses standard SCSI command, simplifies expansion •Standard device naming – disks use same paths as bare-metal •Enabled using hw_disk_bus_model image property: •hw_disk_bus_model=virtio-scsi
  • 66. VCENTER DRIVER •Now supports boot from ISO •Now supports diagnostics API: •Returns a variety of details and statistics over and above those from  `nova show` •$ nova diagnostics <instance>
  • 67. COMING UP ● Red Hat Cloud Infrastructure networking deep dive – Cloud Deep Dive – 11:00 a.m. - 12:00 p.m.