Professional Documents
Culture Documents
What is OpenStack
OpenStack: The Mission "To produce the ubiquitous Open Source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable."
History of OpenStack
Business Prerequisites
Technical Prerequisites
10
11
11
12
12
Object Storage
13
13
Object Storage
14
14
15
15
16
17
System Components
The Ring: Mapping of names to entities (accounts, containers, objects) on disk.
Stores data based on zones, devices, partitions, and replicas Weights can be used to balance the distribution of partitions Used by the Proxy Server for many background processes
Proxy Server: Request routing, exposes the public API Replication: Keep the system consistent, handle failures Updaters: Process failed or queued updates Auditors: Verify integrity of objects, containers, and accounts
18
18
19
Software Dependencies
Object Storage should work on most Linux platforms with the following software (main build target for Austin release is Ubuntu 10.04):
Python 2.6 rsync 3.0
20
21
22
23
System Components
API Server: Interface module for command and control requests
Designed to be modular to support multiple APIs In current release: OpenStack API, EC2 Compatibility Module Approved blueprint: Open Cloud Computing Interface (OCCI)
Scheduler: Determines the placement of a new resource requested via the API
Modular architecture to allow for optimization Base schedulers included in Austin: Round-robin, Least busy
25
Network Controller: Manage networking resources on compute hosts through commands received on the Message Queue via the API
Support for multiple network models Fixed (Static) IP addresses VLAN zones with NAT
26
Hypervisor Independence
Cloud applications should be designed and packaged, abstracted from the hypervisor, deploy and test for best fit for your workload Manage application definition and workload, not the machine image
Configuration management Abstract virtual machine definition
27
Network Models
Private VMs on Project VLANs or Public VMs on flat networks
28
Network Details
Security Group: Named collection of network access rules
Access rules specify which incoming network traffic should be delivered to all VM instances in the group Users can modify rules for a group at any time
New rules are automatically enforced for all running instances and instances launched from then on
29
Example of OpenStack
30
31
Apache CloudStack
IaaS
33
IaaS challenges
Not out of the box by itself Need a farm of hypervisors
Xen, KVM, VMware
Need storage
For image catalogue For volume/snapshot management
34
IaaS is really:
A Data Center Orchestrator
Data storage Data movement Data processing
That can:
Handle failures Support large scale Be programmed
35
DevOps
Bring your developers closer to the operations Make your sys admins develop the apps Move to Software Defined Data Center, Automate everything
Dev: Java IDE Ops: Shell CLI
36
38
Storage
Fiber Channel
NFS
Swift
SecondaryStorage
Network
http://www.slideshare.net/cloudstack/cloudstackarchitecture
39
Architecture / Language
Java application Tomcat6, Axis2, Maven build + ant
Ant going away in 4.1
40
Releases
Apache CloudStack 4.0 released in November, 2012 Time based releases
Rather slip features but guarantee release
41
Internet
Pod N
.
Cluster N
Secondary Storage
.
Cluster 1 Host 1 Host 2
Primary Storage
Oneormorezonesrepresent cloud
Platform Optimized Design (PODs) 42
Cloud Interactions
http://www.slideshare.net/cloudstack/cloudstackarchitecture
OVM Cluster
vcenter
Primary Storage
Monitori ng
End User UI Admin UI Domain Admin UI
CSAPI
CSAdmin&
EnduserAPI
XS Cluster
XAPI
Primary Storage
JSON
Primary
JuniperSRX Clouduser {APIclient(Fog/etc)} NitroAPI JSON JSON Netscaler Console Console Proxy y VM Proxy y VM {Proxied}SSH Router VM Router VM Router VM Sec Sec. Sec Sec. Storage Storage VM VM NFS VNC
ec2API
Clouduser {ec2APIclient}
MySQ L
HTTPS
Ajax Console
Clouduser
43
44
DevCloud
A Virtual box appliance packaged to provide a working CloudStack environment. Aimed at developers but has other use cases:
Xen PV hosts gives nested virtualization Local EC2/S3 Cloud on your laptop Networking experiments ?
45
Self-Contained
46
47
CloudMonkey
The CloudStack CLI, developed by Rohit Yadav ~600 lines of Python pip install cloudmonkey Lots of features:
Auto-completion Tabular output Help , scriptable, interactive shell
48
Info
Apache incubator project http://incubator.apache.org/cloudstack #cloudstack and #cloudstack-dev on irc.freenode.net @CloudStack on Twitter http://www.slideshare.net/cloudstack http://incubator.apache.org/cloudstack/mailinglists.html Collaboration Conference, Nov 30th -Dec 2nd
http://collab12.cloudstack.org/ http://www.youtube.com/diycloudcomputing
49
Open vSwitch is a production quality, multilayer virtual switch licensed under the open source Apache 2.0 license. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag).
50
What is Virtualization
Multiple virtual machines on the same physical host
Lowest layer is the hypervisor, which provides the illusion Built by OS people Historically, simple bridge Physical Switch
51
52
53
Centralized management Hardware off-loading Examples: Vmware vSwitch, Cisco Nexus 1000V, Open vSwitch
54
Packaging
Default networking stack for Xen Cloud Platform (XCP) Ships with Citrix XenServer and basis for their Distributed Virtual Switch (DVS) Distribution packaging
Debian Ubuntu SUSE Red Hat
57
Forwarding
LACP Portbonding
Source-MAC load--balancing TCP load-balancing Active/backup
Main Components
59
Forwarding Components
ovs-vswitchd (Slow Path)
Forwarding logic (learning, mirroring, VLANs, and bonding) Remote configuration and visibility
60
Centralized Control
One OpenFlow connection per datapath
Exports idealized view of swtichs datapath
Lookup based on L2L4 Full wildcarding and priorities Actions: forward, drop, modify, and queue Missed flows go to central controller
62
63
Performance
64
65
65
Thank you !