Upload
duongmien
View
219
Download
0
Embed Size (px)
Citation preview
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Who is Justin Clift?
● Senior Software Engineer @ Red Hat
● Generally works in technical Community Building roles
● Moved to OSAS (Open Source and Standards) team in
Red Hat ~1 month ago
● Expanding GlusterFS Community atm, by integrating it
with complimentary projects
● OpenStack is present focus, other projects upcoming
● Suggestions for more good integration targets welcome
:)
● @realjustinclift / [email protected] / [email protected]
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
So, what is this OpenStack thing all about?
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected] CC-BY-SA flicker user docsearls http://www.flickr.com/photos/52614599@N00/285501241/
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack view from the clouds...
● Building blocks for creating public / private clouds
● Massive scale
● Horizontally scalable services
● Illusion of infinite resources
● Rapid provisioning / tear down of resources
● Modular services with well defined APIs
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Node Node Node Node
Node Node Node Node Node
Node
OpenStack Web UI
OpenStack Core Services
REST API AMQP
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected] CC-BY-SA flicker user r-butler http://www.flickr.com/photos/r-butler/5092400656/
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
What makes up OpenStack?
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Schedules virtual machines to run on a set of nodes
● Similar in concept to Amazon EC2
● Multiple hypervisor support: KVM, Xen, LXC, + more
● Storage: iSCSI, NetApp, Nexenta, XenSM, SAN
● Native OpenStack API + EC2 API Support
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Nova
Compute Node
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack Compute (Nova)
API Compute, Volumes, EC2
API Compute, Volumes, EC2
API Compute, Volumes, EC2
QPID
Database
Scheduler
Scheduler
Scheduler
Volume AMQP
AMQP
AMQP
Compute libvirt KVM
Network
Compute libvirt KVM
Network
Compute libvirt KVM
Network
AMQP
REST
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Mechanism for storing and retrieving disk images
● Backends: Swift, S3, filesystem
● Image Types: raw, qcow2, vmdk, vhd, iso, ami/aki, ovf
● Public or private images & image sharing
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Glance
Image Service
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack Image Service (Glance)
Glance API Glance API Glance API
Glance Registry
REST
Glance Database
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Mechanism for storing arbitrary data
● Similar to Amazon S3 (and supports S3 API)
● Data replication/redundancy
● Commodity Hardware (RAID etc not required)
● Linear performance (optimised for scale)
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Swift
Object Store
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack Object Storage (Swift)
Swift API (Proxy Node)
Swift API (Proxy Node)
Swift API (Proxy Node)
REST
Storage Node Storage Node Storage Node
Replication (rsync based)
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Self-service web UI for managing OpenStack services
● Modular Django web application
● Provides end-user and administrator interface
● Plugin architecture (so can support non-core projects)
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Horizon Dashboard
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack Dashboard (Horizon)
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Common authorization framework based on tokens
● Manages users, tenants, roles
● Provides service catalogs & endpoints
● Pluggable backends: SQL, PAM, LDAP, KVS
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Quantum
Networking
Keystone
Identity Service
Horizon Dashboard
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack Identity Service (Keystone)
Keystone API
Token Identity Policy Catalog
REST
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Provides networking as a service
● Plugin architecture to allow integration with hardware
based networking solutions
● Implements Software Defined Networks (SDN)
● Will replace Nova's Network Service
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Quantum
Networking
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Created from the Nova Volume service
● Provides block storage for runtime of instances
● Enables ability to do live migration of instances
● Similar to Amazon EBS
● GlusterFS support added in Grizzly
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Cinder
Volume Service
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack related projects : Heat API
● Orchestration of OpenStack deployments
● Integrates with all OpenStack core projects
● Converts a JSON template into a cloud application
● Implements well known template and API (AWS
Cloudformation)
● Version your cloud applications like your software!
● Repeatable deployments, fully automated
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
● Provides AWS CloudFormation and native ReST API
● Abstract configuration of services to single-template
● Monitoring/HA/Autoscaling features
● Was in OpenStack “incubation”, now graduated
Nova
Compute Node
Glance
Image Service
Swift
Object Store
Cinder
Volume Service
Keystone
Identity Service
Horizon Dashboard
Quantum
Networking
Heat Orchestration
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
So who should use OpenStack?
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
OpenStack deployment
●Currently geared towards deployments managed by skilled in●Red Hat is introducing a fully supported OpenStack product –●Aiming to make OpenStack consumable by a much wider audience●For evaluation/development purposes it is actually really easy to get a simple demo deployment going...
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Austin Oct 2010
Bexar Feb 2011
Cactus Apr 2011
Diablo Sep 2011
Essex Apr 2012
Folsom Oct 2012
● Initial Release
● OpenStack Object Storage Production Ready
● OpenStack Compute in testing
● OpenStack Compute ready for deployment
● Initial release: OpenStack Image Service
● Installation & deployment enhancements, documentation
● Scaling enhancements
● Support: KVM/QEMU, XenServer, Xen, ESX, LXC
● Initial release: OpenStack Dashboard, OpenStack Identity
● New project: Quantum
● Quantum (Networking) full inclusion
● Cinder (Volume Service)
OpenStack Releases
● First “Production Ready” Release
Grizzly Apr 2013
Havana ~Oct 2013
● New projects in incubation: Heat (orchestration/HA) and
Ceilometer (metering)
● GlusterFS drivers for Cinder
RDO launched here too (April 2013)
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Getting Started the Easy Way - RDO
● Launched yesterday at the OpenStack Summit :)
● Website at openstack.redhat.com
● OpenStack Grizzly Community release, packaged for
Enterprise Linux 6
● Eg: RHEL 6.x, CentOS 6.x, Scientific Linux 6.x, etc.
● Working well with RHEL derivatives is a core feature
● Also available for Fedora 18/19
● The default OpenStack in Fedora 18 repos is the older
Folsom release. Use RDO if you use Fedora and want
the latest OpenStack.
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Getting Started the Easy Way – RDO Quickstart
● http://openstack.redhat.com/Quickstart
● Everything setup on one box for easy hands on experience
● Works fine in a VM, as long as nested virt is enabled
● Uses “PackStack” - OpenStack installer for EL6/Fedora
● 3 Step installation
● $ sudo yum install -y
http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-
release-grizzly-1.noarch.rpm
● $ sudo yum install -y openstack-packstack
● $ packstack --allinone
Introduction to OpenStack : OSDC.de 2013 : Justin Clift : [email protected]
Useful Links / Getting Started
● Main OpenStack website - http://openstack.org
● IRC: #openstack @ freenode.net
RDO - http://openstack.redhat.com
● QuickStart
● RDO Forums
● More in depth docs than just the QuickStart :)
● Links to useful extra pieces
● eg: How-to's for GlusterFS integration plus more