Sunteți pe pagina 1din 30

An Introduction to OpenStack and its use of KVM

Daniel P. Berrang <berrange@redhat.com>


KVM Forum 2013: Edinbur!
About me

"ontributor to mu#tip#e $irt pro%ects

&ib$irt 'e$e#oper ( Arc!itect ) *ears

OpenStack contributor 1 *ear

+o$a "ore ,eam -e$ie.er

Focused on +o$a #ib$irt / KVM interation


KVM Forum 2013: Edinbur!
,a#k Structure

Introduction to OpenStack ser$ices

"ompute ser$ice arc!itecture

0uest boot se1uence

-ecent de$e#opments
KVM Forum 2013: Edinbur!
2!at is OpenStack 3

4ub#ic or pri$ate c#oud

Se#f5ser$ice user A4I and das!board

Apac!e 260 #icensed

7road communit* contribution


KVM Forum 2013: Edinbur!
2!at is in OpenStack 3

"ompute 8+o$a9

+et.ork 8+eutron9

Imae storae 80#ance9

7#ock storae 8"inder9

Ob%ect storae 8S.ift9:

Identit* 8Ke*stone9:

Meterin 8"ei#ometer9:

Orc!estration 8;eat9:

'as!board 8;ori<on9:
: not discussed in t!is presentation
KVM Forum 2013: Edinbur!
2!at is +o$a3

E=ecution of compute .ork#oads

,ec!no#o* anostic

Virtua# mac!ine or container $irt

Virtua#i<ation anostic

&ib$irt 8KVM> ?EM@> Aen> &A"9> AenA4I> ;*per5V>


VM.are ESA> 4o.erVM> 'ocker> 7are5meta#
KVM Forum 2013: Edinbur!
2!at is 0#ance3

2rite5once> read5man* storae of imaes

Imae copied on use b* +o$a

Format anostic

e ra.> 1co.2> etc

Metadata properties

e specif* $irtua# !ard.are preferences


KVM Forum 2013: Edinbur!
2!at is "inder3

4ersistent b#ock storae

Mu#tip#e storae backends

e &VM> -7'> 0#uster> S!eepdo> 666/ more666

E=posed to compute !ost $ia iS"SI

Optiona# direct access b* compute

0#uster

4re5re1uisite for #i$e miration


KVM Forum 2013: Edinbur!
2!at is +eutron3

+et.ork infastructure manaement

"oncepts

+et.orks

-outers

Subnets

4orts

Mu#tip#e tec!no#oies

OpenVS.itc!> &inu= 7ride> Vendor p#uins


KVM Forum 2013: Edinbur!
+o$a arc!itecture

"oncepts

Instances

F#a$ours

Virt dri$ers

Securit* roup

'ua# A4Is

OpenStack -ES,

E"2 compatib#e -ES,


KVM Forum 2013: Edinbur!
+o$a arc!itecture 8simp#e9
no$a5api
AM?4
no$a5compute
&ib$irt/KVM
'7
no$a5sc!edu#er
no$a5conductor
-ES, A4I
KVM Forum 2013: Edinbur!
+o$a arc!itecture 8sca#in9
no$a5api
AM?4
no$a5compute
no$a5sc!edu#er
&ib$irt/KVM
'7
no$a5conductor
no$a5sc!edu#er
no$a5conductor
no$a5sc!edu#er
no$a5conductor
&ib$irt/KVM
&ib$irt/KVM
no$a5compute
no$a5compute
no$a5api
no$a5api
&oad 7a#ancer
-ES, A4I
KVM Forum 2013: Edinbur!
+o$a ce##s

4artition c#oud infrastructure

-esi#ience .it!in a data center

Sca#e out across data centers

,ec!no#o* $ariation 8e KVM $s ;*per5V9


KVM Forum 2013: Edinbur!
+o$a ce##s arc!itecture 84art 19
A4I "e##
"ompute "e## "ompute "e## "ompute "e##
666
AM?4
KVM Forum 2013: Edinbur!
+o$a ce##s arc!itecture 84art 29
AM?4
no$a5compute
no$a5sc!edu#er
&ib$irt/KVM
'7
no$a5conductor
no$a5sc!edu#er
no$a5conductor
no$a5sc!edu#er
no$a5conductor
&ib$irt/KVM
&ib$irt/KVM
no$a5compute
no$a5compute
Compute Cell
no$a5ce##s
KVM Forum 2013: Edinbur!
+o$a ce##s arc!itecture 84art 39
AM?4
'7
API Cell
no$a5ce##s
no$a5ce##s
no$a5ce##s
no$a5api
&oad 7a#ancer
-ES, A4I
KVM Forum 2013: Edinbur!
+o$a sc!edu#ar

4#aces instances on compute !osts

4#uab#e fi#terin ru#es

"4@ mode# ( arc!itecture

Virtua#i<ation t*pe

4"I de$ice a$ai#abi#it*

"4@> -AM> 'isk usae

,rusted boot 8,A,9

/more666
KVM Forum 2013: Edinbur!
+o$a conductor

Mediates database access

+o database access from compute !osts

"ompute !osts re#ati$e#* untrusted ( !i! risk

Sca#abi#it* bott#eneck for database

"ompute !osts issues -4" ca##s

"onductor updates database state


KVM Forum 2013: Edinbur!
+o$a rap!ics pro=*

+o direct compute access for V+"(S4I"E

+o$a V+"(S4I"E .ebsockets pro=*

;,M&B V+"(S4I"E bro.ser c#ients

Obtain aut! token $ia -ES, A4I

4ass to .ebsockets pro=* to aut!enticate

'ata pro=ied bet.een compute C pro=*


KVM Forum 2013: Edinbur!
Instance boot step 1
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1
KVM Forum 2013: Edinbur!
Instance boot step 2
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1 2
KVM Forum 2013: Edinbur!
Instance boot step 3
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1 2
3
KVM Forum 2013: Edinbur!
Instance boot step D
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1 2
3
D
KVM Forum 2013: Edinbur!
Instance boot step B
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1 2
3
D
B
KVM Forum 2013: Edinbur!
Instance boot step E
"ompute
'as!board
Imae
Ser$ice
Identit*
Ob%ect
Storae
Meterin Orc!estration
+et.orkin
7#ock
Storae
1 2
3
D
B
6
KVM Forum 2013: Edinbur!
+o$a KVM confi part 1

"4@

+amed mode# or !ost mode# or !ost passt!rou!

+I" mode#

'isk bus t*pe

4"I de$ice assinment

Seria# conso#e =2 81= #o> 1= interacti$e9

'isk de$ices
KVM Forum 2013: Edinbur!
+o$a KVM confi part 2

SM7ios info

"4@ pinnin

V+" or S4I"E

?EM@ / S4I"E aents

"#ock 84I,> -,"9 parameters

Sc!edu#ar> disk> net.ork tunab#es


KVM Forum 2013: Edinbur!
+e. in ;a$ana

-e#eased ,!ursda* 1F
t!
Oct

+otab#e features

7#ock storae backend miration

Store imaes in -7'

0#uster nati$e boot

?EM@ uest aent assisted snaps!ots

4"I de$ice assinment


KVM Forum 2013: Edinbur!
"omin in Ice!ouse

,aret 1F
t!
Oct / E mont!s

4#annin summit in ;on Kon +o$ D


t!
5)
t!

+otab#e b#ueprints

VM ensemb#es

VM miration .it! storae

&i$e snaps!ots 8disk / -AM9

;ost reser$ation 8user re1uest entire !ost9


http://openstack.org/

S-ar putea să vă placă și