SlideShare una empresa de Scribd logo
1 de 68
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
•Modular architecture
•Design to easily scale out
•Based on (growing) set of core services
OPENSTACK ARCHITECTURE
•OpenStack Dashboard (Horizon)
•Provides simple self-service user interface for end users
•Basic cloud administrator functions
OPENSTACK ARCHITECTURE
•OpenStack Identity (Keystone)
•Common authorization framework - manages users, tenants, roles and
endpoints
•Pluggable backends (SQL, PAM, LDAP, etc)
OPENSTACK ARCHITECTURE
•Telemetry (Ceilometer)
•Monitors, collects, and stores usage data for all OpenStack infrastructure
•Primary targets metering and monitoring with expandable framework
OPENSTACK ARCHITECTURE
•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
•OpenStack Block Storage (Cinder)
•Provides block storage for virtual machines (persistent disks)
•Similar to Amazon EBS service, plugin architecture for vendor extensions
OPENSTACK ARCHITECTURE
•OpenStack Networking (Neutron)
•Provides framework for Software Defined Networking (SDN)
•Plugin architecture allows integration of hardware and software based
network solutions
OPENSTACK ARCHITECTURE
•OpenStack Object Storage (Swift)
•Modeled after Amazon's S3 service
•Provides simple service for storing and retrieving arbitrary data
OPENSTACK ARCHITECTURE
•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
•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)
“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)
“CONTROLLER / COMPUTE”
•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.
REDHAT ENTERPRISE LINUXOPENSTACKPLATFORMDOC144908
●
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
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
• 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
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
COMPUTE CELL
•Each compute cell contains:
•Its own message queue and
database
•Its own scheduler, conductor,
compute nodes
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
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
EXAMPLE
EXAMPLE
EXAMPLE
EXAMPLE
EXAMPLE
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?

Más contenido relacionado

La actualidad más candente

Cloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodeCloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodePalak Sood
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackMicrosoft
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesJalal Mostafa
 
Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 minsDawood M.S
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack ArchitectureMirantis
 
Openstack training material
Openstack training materialOpenstack training material
Openstack training materialchenvi123
 
RedHat OpenStack Platform Overview
RedHat OpenStack Platform OverviewRedHat OpenStack Platform Overview
RedHat OpenStack Platform Overviewindevlab
 
Openstackoverview-DEC2013
Openstackoverview-DEC2013Openstackoverview-DEC2013
Openstackoverview-DEC2013Michael Lessard
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)Mirantis
 
OpenStack Telco Architecture: OpenStack Summit Boston 2017
OpenStack Telco Architecture: OpenStack Summit Boston 2017OpenStack Telco Architecture: OpenStack Summit Boston 2017
OpenStack Telco Architecture: OpenStack Summit Boston 2017Christian "kiko" Reis
 
Openstack 101
Openstack 101Openstack 101
Openstack 101POSSCON
 
Openstack Fundamentals by CloudZone @Back2School
Openstack Fundamentals by CloudZone @Back2SchoolOpenstack Fundamentals by CloudZone @Back2School
Openstack Fundamentals by CloudZone @Back2SchoolAsaf Abres
 
Getting started with OpenStack
Getting started with OpenStackGetting started with OpenStack
Getting started with OpenStackKnoldus Inc.
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureAlex Baretto
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack LibertyStephen Gordon
 
Mirantis OpenStack-DC-Meetup 17 Sept 2014
Mirantis OpenStack-DC-Meetup 17 Sept 2014Mirantis OpenStack-DC-Meetup 17 Sept 2014
Mirantis OpenStack-DC-Meetup 17 Sept 2014Mirantis
 
Open Stack compute-service-nova
Open Stack compute-service-novaOpen Stack compute-service-nova
Open Stack compute-service-novaGHANSHYAM MANN
 
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014mestery
 

La actualidad más candente (20)

Cloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute NodeCloud Computing Open Stack Compute Node
Cloud Computing Open Stack Compute Node
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: Openstack
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
 
Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 mins
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
Openstack nova
Openstack novaOpenstack nova
Openstack nova
 
Openstack training material
Openstack training materialOpenstack training material
Openstack training material
 
RedHat OpenStack Platform Overview
RedHat OpenStack Platform OverviewRedHat OpenStack Platform Overview
RedHat OpenStack Platform Overview
 
OpenStack 101 update
OpenStack 101 updateOpenStack 101 update
OpenStack 101 update
 
Openstackoverview-DEC2013
Openstackoverview-DEC2013Openstackoverview-DEC2013
Openstackoverview-DEC2013
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
OpenStack Telco Architecture: OpenStack Summit Boston 2017
OpenStack Telco Architecture: OpenStack Summit Boston 2017OpenStack Telco Architecture: OpenStack Summit Boston 2017
OpenStack Telco Architecture: OpenStack Summit Boston 2017
 
Openstack 101
Openstack 101Openstack 101
Openstack 101
 
Openstack Fundamentals by CloudZone @Back2School
Openstack Fundamentals by CloudZone @Back2SchoolOpenstack Fundamentals by CloudZone @Back2School
Openstack Fundamentals by CloudZone @Back2School
 
Getting started with OpenStack
Getting started with OpenStackGetting started with OpenStack
Getting started with OpenStack
 
Red Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud InfrastructureRed Hat OpenStack - Open Cloud Infrastructure
Red Hat OpenStack - Open Cloud Infrastructure
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack Liberty
 
Mirantis OpenStack-DC-Meetup 17 Sept 2014
Mirantis OpenStack-DC-Meetup 17 Sept 2014Mirantis OpenStack-DC-Meetup 17 Sept 2014
Mirantis OpenStack-DC-Meetup 17 Sept 2014
 
Open Stack compute-service-nova
Open Stack compute-service-novaOpen Stack compute-service-nova
Open Stack compute-service-nova
 
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
 

Similar a Deep Dive: OpenStack Compute Architecture

Gordonh0945deepdive openstackcompute-140417174059-phpapp02
Gordonh0945deepdive openstackcompute-140417174059-phpapp02Gordonh0945deepdive openstackcompute-140417174059-phpapp02
Gordonh0945deepdive openstackcompute-140417174059-phpapp02Công TÔ
 
Container Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher KubernetesContainer Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher KubernetesVishal Biyani
 
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
 
Big data architecture on cloud computing infrastructure
Big data architecture on cloud computing infrastructureBig data architecture on cloud computing infrastructure
Big data architecture on cloud computing infrastructuredatastack
 
HPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journeyHPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journeyPeter Clapham
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginnersJoseph Amirani
 
Chef for OpenStack December 2012
Chef for OpenStack December 2012Chef for OpenStack December 2012
Chef for OpenStack December 2012Matt Ray
 
StarlingX - Project Onboarding
StarlingX - Project OnboardingStarlingX - Project Onboarding
StarlingX - Project OnboardingShuquan Huang
 
Kubernetes Infra 2.0
Kubernetes Infra 2.0Kubernetes Infra 2.0
Kubernetes Infra 2.0Deepak Sood
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
 
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies Jakub Pavlik
 
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018Mandi Walls
 
Building a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStackBuilding a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStackAnimesh Singh
 
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
 
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
 
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014Jason Anderson
 
Community Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKCommunity Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKVMUG IT
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup
 

Similar a Deep Dive: OpenStack Compute Architecture (20)

Gordonh0945deepdive openstackcompute-140417174059-phpapp02
Gordonh0945deepdive openstackcompute-140417174059-phpapp02Gordonh0945deepdive openstackcompute-140417174059-phpapp02
Gordonh0945deepdive openstackcompute-140417174059-phpapp02
 
Container Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher KubernetesContainer Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher Kubernetes
 
OpenStack and Windows
OpenStack and WindowsOpenStack and Windows
OpenStack and Windows
 
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
 
Big data architecture on cloud computing infrastructure
Big data architecture on cloud computing infrastructureBig data architecture on cloud computing infrastructure
Big data architecture on cloud computing infrastructure
 
HPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journeyHPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journey
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginners
 
Chef for OpenStack December 2012
Chef for OpenStack December 2012Chef for OpenStack December 2012
Chef for OpenStack December 2012
 
StarlingX - Project Onboarding
StarlingX - Project OnboardingStarlingX - Project Onboarding
StarlingX - Project Onboarding
 
TechBeats #2
TechBeats #2TechBeats #2
TechBeats #2
 
Kubernetes Infra 2.0
Kubernetes Infra 2.0Kubernetes Infra 2.0
Kubernetes Infra 2.0
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
 
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
 
Building a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStackBuilding a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on 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
 
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
 
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
 
Community Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKCommunity Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UK
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 

Más de Stephen Gordon

Toronto RHUG: Container-native virtualization
Toronto RHUG: Container-native virtualizationToronto RHUG: Container-native virtualization
Toronto RHUG: Container-native virtualizationStephen Gordon
 
KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)Stephen Gordon
 
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...Stephen Gordon
 
Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleStephen Gordon
 
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...Stephen Gordon
 
Deploying Containers at Scale on OpenStack
Deploying Containers at Scale on OpenStackDeploying Containers at Scale on OpenStack
Deploying Containers at Scale on OpenStackStephen Gordon
 
A Container Stack for Openstack - OpenStack Silicon Valley
A Container Stack for Openstack - OpenStack Silicon ValleyA Container Stack for Openstack - OpenStack Silicon Valley
A Container Stack for Openstack - OpenStack Silicon ValleyStephen Gordon
 
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
 
Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Stephen Gordon
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Stephen Gordon
 
OpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateOpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateStephen Gordon
 
Divide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudDivide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudStephen Gordon
 
Deltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomDeltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomStephen Gordon
 

Más de Stephen Gordon (15)

Toronto RHUG: Container-native virtualization
Toronto RHUG: Container-native virtualizationToronto RHUG: Container-native virtualization
Toronto RHUG: Container-native virtualization
 
KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)KubeVirt (Kubernetes and Cloud Native Toronto)
KubeVirt (Kubernetes and Cloud Native Toronto)
 
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...
OpenStackTO: Friendly coexistence of Virtual Machines and Containers on Kuber...
 
KubeWHAT!?
KubeWHAT!?KubeWHAT!?
KubeWHAT!?
 
Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at Scale
 
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...
Containers for the Enterprise: Delivering OpenShift on OpenStack for Performa...
 
Deploying Containers at Scale on OpenStack
Deploying Containers at Scale on OpenStackDeploying Containers at Scale on OpenStack
Deploying Containers at Scale on OpenStack
 
A Container Stack for Openstack - OpenStack Silicon Valley
A Container Stack for Openstack - OpenStack Silicon ValleyA Container Stack for Openstack - OpenStack Silicon Valley
A Container Stack for Openstack - OpenStack Silicon Valley
 
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?
 
Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)
 
OpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateOpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community Update
 
Divide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudDivide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloud
 
Publican
PublicanPublican
Publican
 
Deltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomDeltacloud - Abstracting for Freedom
Deltacloud - Abstracting for Freedom
 

Último

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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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...
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 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...
 

Deep Dive: OpenStack Compute Architecture

  • 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 •Modular architecture •Design to easily scale out •Based on (growing) set of core services
  • 5. OPENSTACK ARCHITECTURE •OpenStack Dashboard (Horizon) •Provides simple self-service user interface for end users •Basic cloud administrator functions
  • 6. OPENSTACK ARCHITECTURE •OpenStack Identity (Keystone) •Common authorization framework - manages users, tenants, roles and endpoints •Pluggable backends (SQL, PAM, LDAP, etc)
  • 7. OPENSTACK ARCHITECTURE •Telemetry (Ceilometer) •Monitors, collects, and stores usage data for all OpenStack infrastructure •Primary targets metering and monitoring with expandable framework
  • 8. OPENSTACK ARCHITECTURE •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 •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 •OpenStack Networking (Neutron) •Provides framework for Software Defined Networking (SDN) •Plugin architecture allows integration of hardware and software based network solutions
  • 11. OPENSTACK ARCHITECTURE •OpenStack Object Storage (Swift) •Modeled after Amazon's S3 service •Provides simple service for storing and retrieving arbitrary data
  • 12. OPENSTACK ARCHITECTURE •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 •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)
  • 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)
  • 19. “CONTROLLER / COMPUTE” •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. REDHAT ENTERPRISE LINUXOPENSTACKPLATFORMDOC144908 ● 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
  • 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 • 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
  • 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
  • 43. COMPUTE CELL •Each compute cell contains: •Its own message queue and database •Its own scheduler, conductor, compute nodes
  • 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 …
  • 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
  • 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.

Notas del editor

  1. Core and Integrated projects circa Havana release. Basis for Red Hat Enterprise Linux OpenStack Platform 4.