Post on 22-Jun-2018
transcript
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
Getting Started with OpenStack
David CostakosCloud Solution Architect, Red HatEmail: david.costakos@redhat.comTwitter: @davecostakos
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
What is OpenStack?
✔ Set of Open Source Software tools for building cloud computing platforms
✔ A Technology Framework (Not a product in itself)
✔ Provides Public Cloud-like capabilities inside your datacenter
✔ Overseen by the OpenStack Foundation✔ Technical Committee✔ Board of Directors✔ User Committee✔ Individual Members✔ Sponsored by Companies (like Red Hat and others)
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
Why use OpenStack
● Technical Reasons● Enable very large clusters● Choose technology vendors of choice ● Benefits of Open Source
● Business Reasons● Enable Business Agility (faster time to market)● Autonomy for development teams● Enable cloud-ready applications● Bring 'shadow it' back in house● Transform the business
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
OPENSTACK OVERVIEW
● Modular architecture● Designed to scale out● Based on (growing) set of core services● Needs an operating environment, hypervisor, services
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
OPENSTACK PROGRESSION
Enterprise hardened Red Hat OpenStack
technologyoptimized for
and integrated withRed Hat Enterprise Linux
Red Hat SupportRed Hat ecosystem
certifications3+ year lifecycle
Bleeding edge upstreamOpenStack source code
Unstable community Linux
No certificationsCommunity supportSix month lifecycle
Bleeding edge upstreamOpenStack packaged as
RPMs
Enterprise Linux distros(CentOS, RHEL, Fedora)
No certificationsCommunity supportSix month lifecycle
I want a VM!
Please authenticate
with your credentials!!
Keystone
Ok, we need to
find a place to build this VM.
Nova
Tag - you’re it!
Nova
Neutron, please set up the
network for a new VM
Neutron
I've enabled Network
policy for your VM, Here’s
your interface
Cinder, please create a block device for the
VM
Nova
Created! Don’t forget to mount it!
SwiftGlance
Hey Glance, can I get the
RHEL 6.5 image?
Nova
8)
A Simple Workflow
Thank you OpenStack
!!
8)
It’s ALIVE!
Credentials verified. Here's a
token to talk to other
OpenStack services
Keystone
Cinder
Horizon
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
OpenStack Components: Dashboard (“Horizon”)
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
● Simple self-service UI for end-users● Growing list of cloud-administrator functions
● Define Tenant/Project, User, Quota, Compute, Storage, Network and other resources● Limited infrastructure management
● Stateless client of OpenStack API's
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Identity (“Keystone”)
● Common Authentication/Authorization Framework● Manages users, tenants and roles● Supports pluggable backends (SQL, PAM, LDAP, etc.)● Also provides Catalog Registry for OpenStack Services
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Compute (“Nova”)
● Schedules, builds, runs and manages compute instances on underlying hypervisor● Exposes native OpenStack API and Amazon EC2 compatible API● Configures guest instances via Metadata injection or Config file
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Image Storage (“Glance”)
● Stores and retrieves Disk Images (VM templates)● Supports RAW, QCOW, VMDK, VHD, ISO, OVF and AMI/AKI images● Supports a variety of backend storage options, including local filesystem, Swift and Amazon S3
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Block/Volume Storage (“Cinder”)
● Provides Block Storage for VM's (Persistent disks)● Similar to Amazon EBS service● Plugin architecture for vendor extensions (e.g., Gluster driver for Red Hat Storage, NetApp driver, etc.)
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Object Storage (“Swift”)
● Modeled after Amazon S3 service● Provides simple service for storing and retrieving arbitrary data● Native API and S3 compatible API● Gluster/Ceph can provide Unified File and Object (UFO) storage and be a Swift backend
AM
QP
Mes
sag
e B
us
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Networking (“Neutron”)
● Framework for network connectivity● Plugin architecture enabling vendor extensibility and optional Software-Defined Networks (SDN) controller integration● Interconnect tenant compute instances via various overlay network types● L3-agent for external connectivity, DHCP-agent for IP address allocation● LoadBalancer-as-a-Service, Firewall-as-a-Service and VPN-as-a-Service
AM
QP
Mes
sag
e B
us
Tenant View
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Telemetry (“Ceilometer”)A
MQ
P M
essa
ge
Bu
s
● Measurement collection infrastructure for entire OpenStack deployment● Eliminates need for individual agents for each OpenStack service● Targets monitoring/metering, but flexible to collect for other use cases
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
ComputeCompute
StorageStorage
NetworkNetwork
IdentityIdentity
DashboardDashboard
OrchestrationOrchestration
TelemetryTelemetry
OpenStack Components: Orchestration (“Heat”)A
MQ
P M
essa
ge
Bu
s
● AWS CloudFormation implementation for OpenStack● Deploys composite cloud applications● Autoscaling of applications leveraging Ceilometer alarm events
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
PackStack: Installation
Red Hat developed OpenStack installer for RPM-based Linux Distributions
Deployment options
● Interactively
● Answer file
● Quick Start
● All-in-one
Features
● Single-host install
● Multi-host install
● RHOS, RDO, EPEL
● Fedora, CENTOS, RHEL
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
Packstack Demo
● Add a compute node to an existing all-in-one single-node cluster
● Modify packstack answers file● Modify “EXCLUDE_HOSTS” to ignore the existing host● Add the new host to CONFIG_COMPUTE_HOSTS● Rerun packstack
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
WHILE WE WAIT FOR PACKSTACK .... WHAT'S NEW IN VERSION ICEHOUSE NOVA
● OpenStack Compute (Nova)● Limited live upgrades. Enables upgrade of controller infrastructure and
subsequently upgrade individual compute nodes without requiring downtime
● Libvirt (KVM) driver updates● Improved scalability and performance with VirtIO SCSI (virtio-scsi)
instead of VirtIO Block (virtio-blk) for block device access● Virtio RNG device provides increased entropy
● Scheduler now supports server groups using anti-affinity and affinity filters
● Libvirt driver now includes watchdog support to automatically trigger guest lifecycle actions, in the event of a kernel panic or other system crash
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
WHILE WE WAIT FOR PACKSTACK .... WHAT'S NEW IN ICEHOUSE NEUTRON
● OpenStack Networking (Neutron)● Improved performance with new ML2 plugin for new L2 networking
technologies (SR-IOV PCI passthrough).
● Simplifies mixing networking infrastructure and plugins● New plugins for OpenDaylight, Nuage, IBM SDN-VE, OneConvergence
● Load-Balancing-as-a-Service drivers: Radware, NetScaler, Embrane
● Cisco CSR VPN driver support
● New Red Hat certification program for networking plugins
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
WHILE WE WAIT FOR PACKSTACK .... New Core Project (Incubating) SAHARA
● OpenStack Data Processing (Sahara)
● Provisioning and management of Hadoop clusters
● Help identify and improve utilization of unused compute power from general purpose OpenStack IaaS cloud
● Pluggable system of Hadoop installation engines for different distros
● Predefined templates of Hadoop configurations with ability to modify parameters.
Las Vegas Red Hat User Group – OpenStack Introduction and Overview
Resources
● RDO: http://openstack.redhat.com/
● Upstream Docs: http://www.openstack.org/
● Red Hat OpenStack Docs: http://docs.redhat.com/
● TryStack: http://trystack.org
● Example Heat Templates: https://github.com/openstack/heat-templates
● ManageIQ OpenSource Cloud Management Platform: http://www.manageiq.org/
● Ruby Fog Gem: http://fog.io/
Gartner Taxonomy - Cloud Management Platform