an intro to openstack

Upload: subbarao-appanabhotla

Post on 24-Feb-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 An Intro to Openstack

    1/43

    Stack Attackan Openstack primer

    Jacob MeltonVTLUUG Treasurer

  • 7/25/2019 An Intro to Openstack

    2/43

    Project origins

  • 7/25/2019 An Intro to Openstack

    3/43

    Project origins

    Feb 2!" First release o#Openstack" $o%enameAustin

  • 7/25/2019 An Intro to Openstack

    4/43

    O&er ! %e&elopers

  • 7/25/2019 An Intro to Openstack

    5/43

    'esign an% $o%ing Stan%ar%s

    Scalabilit( an% elasticit(As(nc)ronous

    *ori+ontall( scalable S)are,not)ing -or s)ar%ing. 'istribute e&er(t)ingAccept e&entual consistenc( Test e&er(t)ing /n#orce P/P,0

  • 7/25/2019 An Intro to Openstack

    6/43

    1elease Structure

  • 7/25/2019 An Intro to Openstack

    7/43

    Project Structure

  • 7/25/2019 An Intro to Openstack

    8/43

  • 7/25/2019 An Intro to Openstack

    9/43

    'as)boar% -*ori+on.

    )ttps334445(outube5com34atc)6&7p8e9:0g*#$g

    'jango base% 4eb #ronten% #or t)erest o# t)e Openstack components

    Utili+es t)e AP; inter#aces an%presents t)em in a simple 4ebpanel5

    Out,o#,t)e,bo< support #or all coreOpenStack projects5

    https://www.youtube.com/watch?v=p4eW78gHfCghttps://www.youtube.com/watch?v=p4eW78gHfCg
  • 7/25/2019 An Intro to Openstack

    10/43

    S)are% Ser&ices

    ;%entit( Ser&ice -=e(stone. ;mage Ser&ice -Glance.Telemetr( Ser&ice-$eilometer.

    Orc)estration Ser&ice -*eat.

  • 7/25/2019 An Intro to Openstack

    11/43

    ;%entit( Ser&ice -=e(stone.

    Pro&i%es ;%entit(" Token" $atalog an%Polic( ser&ices

    Pro&i%es user management" keepstrack o# permissions an% t)e like Pro&i%es Ser&ice catalog

    9)at ser&ices are a&ailable 9)ere are t)eir AP; en%points 9)o can access t)e ser&ice

  • 7/25/2019 An Intro to Openstack

    12/43

    =e(stone Arc)itecture

    9)( make a sli%e 4)en t)ere is a4on%er#ul 4ebpage alrea%( in e

    )ttp33%ocs5openstack5org3%e&eloper3ke(stone3arc)itecture5)tml

    =e(stone 9ork#lo4)ttp33%ocs5openstack5org3)a&ana3install,gui%e3install3apt3content3#igures3?3#igures3S$*@?2@V@UA$,=

    e(stone5png

    http://docs.openstack.org/developer/keystone/architecture.htmlhttp://docs.openstack.org/developer/keystone/architecture.htmlhttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.pnghttp://docs.openstack.org/developer/keystone/architecture.htmlhttp://docs.openstack.org/developer/keystone/architecture.html
  • 7/25/2019 An Intro to Openstack

    13/43

    S)are% Ser&ices

    ;%entit( Ser&ice -=e(stone. ;mage Ser&ice -Glance.Telemetr( Ser&ice-$eilometer.

    Orc)estration Ser&ice -*eat.

  • 7/25/2019 An Intro to Openstack

    14/43

    ;mage Ser&ice -Glance.

    Pro&i%es %isco&er(" registration an% %eli&er(ser&ices #or %isk an% ser&er images

    A%ministrators can create base templates#rom 4)ic) t)eir users can start ne4 compute

    instances Users can c)oose #rom a&ailable images" or

    create t)eir o4n #rom e

  • 7/25/2019 An Intro to Openstack

    15/43

    ;mage Ser&ice -Glance.

  • 7/25/2019 An Intro to Openstack

    16/43

    S)are% Ser&ices

    ;%entit( Ser&ice -=e(stone. ;mage Ser&ice -Glance.Telemetr( Ser&ice-$eilometer.

    Orc)estration Ser&ice -*eat.

  • 7/25/2019 An Intro to Openstack

    17/43

    Telemetr( Ser&ice -$eilometer.

    T)e OpenStack Telemetr( ser&ice aggregates usagean% per#ormance %ata across t)e ser&ices %eplo(e%in an OpenStack clou%

    Pro&i%e e##icient collection o# metering %ata" in termso# $PU an% net4ork costs5

    Allo4 %eplo(ers to integrate 4it) t)e metering s(stem%irectl( or b( replacing components5

    'ata ma( be collecte% b( monitoring noti#ications sent#rom e

  • 7/25/2019 An Intro to Openstack

    18/43

    $eilometer Arc)itecture

    9oop 4oop #or %ocumentation5)ttp33%ocs5openstack5org3%e&eloper3ceilometer3arc)itecture5)tml

    http://docs.openstack.org/developer/ceilometer/architecture.htmlhttp://docs.openstack.org/developer/ceilometer/architecture.htmlhttp://docs.openstack.org/developer/ceilometer/architecture.htmlhttp://docs.openstack.org/developer/ceilometer/architecture.html
  • 7/25/2019 An Intro to Openstack

    19/43

    S)are% Ser&ices

    ;%entit( Ser&ice -=e(stone. ;mage Ser&ice -Glance.Telemetr( Ser&ice-$eilometer.

    Orc)estration Ser&ice -*eat.

  • 7/25/2019 An Intro to Openstack

    20/43

    Orc)estration Ser&ice -*eat. *eat is a ser&ice to orc)estrate multiple composite

    clou% applications using t)e A9S $lou%Formationtemplate #ormat" t)roug) bot) an OpenStack,nati&e1/ST AP; an% a $lou%Formation,compatible Cuer(

    AP;5

    *eat primaril( manages in#rastructure" but t)etemplates integrate 4ell 4it) so#t4are con#igurationmanagement tools suc) as Puppet an% $)e#5

    Multiple components )eat D $L; tool #or communicating to )eat,api

    )eat,api D OpenStack,nati&e 1/ST AP; t)atprocesses AP; reBuests b( sen%ing t)em to t)e )eat,engine o&er 1P$5

    )eat,engine D orc)estrate t)e launc)ing o# templatesan% pro&i%e e&ents back to t)e AP; consumer5

  • 7/25/2019 An Intro to Openstack

    21/43

    *eat e

  • 7/25/2019 An Intro to Openstack

    22/43

    S)are% Ser&ices

    ;%entit( Ser&ice -=e(stone. ;mage Ser&ice -Glance.Telemetr( Ser&ice-$eilometer.

    Orc)estration Ser&ice -*eat.

  • 7/25/2019 An Intro to Openstack

    23/43

    All t)ose ot)er ser&ices

    $ompute Ser&ice -o&a.et4orking Ser&ice -eutron.lock Storage -$in%er.Object Storage -S4i#t.

  • 7/25/2019 An Intro to Openstack

    24/43

    $ompute Ser&ice -o&a.

    $omponent base% arc)itecture Cuickl( a%% ne4be)a&iors

    *ig)l( a&ailable Scale to &er( serious 4orkloa%s Fault,Tolerant ;solate% processes a&oi% casca%ing

    #ailures 1eco&erable Failures s)oul% be eas( to %iagnose"%ebug" an% recti#(

    Open Stan%ar%s e a re#erence implementation #ora communit(,%ri&en api

    AP; $ompatibilit( o&a stri&es to pro&i%e AP;,compatible 4it) popular s(stems like Ama+on /$2

  • 7/25/2019 An Intro to Openstack

    25/43

    $ompute Ser&ice -o&a.

  • 7/25/2019 An Intro to Openstack

    26/43

    o&a Arc)itecture

    )ttp33%ocs5openstack5org3%e&eloper3no&a3%e&re#3arc)itecture5)tml

    Virtual Mac)ine States an%Transitions

    )ttp33%ocs5openstack5org3%e&elop

    er3no&a3%e&re#3&mstates5)tml

  • 7/25/2019 An Intro to Openstack

    27/43

    All t)ose ot)er ser&ices

    $ompute Ser&ice -o&a.et4orking Ser&ice -eutron.lock Storage -$in%er.Object Storage -S4i#t.

  • 7/25/2019 An Intro to Openstack

    28/43

    et4orking Ser&ice -eutron.

    Pro&i%e net4ork connecti&it( as a ser&iceH bet4eeninter#ace %e&ices -e5g5" &;$s. manage% b( ot)erOpenstack ser&ices -e5g5" no&a.

    eutron is relati&el( ne4 to t)e project

    o&a use% to pro&i%e simple net4orking an% still can"eutron is meant to replace t)at #unctionalit(Allo4s #or more comple< net4ork topologies )ttps334iki5openstack5org34iki3eutronIUsing@eutro

    n

    https://wiki.openstack.org/wiki/Neutron#Using_Neutronhttps://wiki.openstack.org/wiki/Neutron#Using_Neutronhttps://wiki.openstack.org/wiki/Neutron#Using_Neutronhttps://wiki.openstack.org/wiki/Neutron#Using_Neutron
  • 7/25/2019 An Intro to Openstack

    29/43

    eutron Arc)itecture

  • 7/25/2019 An Intro to Openstack

    30/43

    All t)ose ot)er ser&ices

    $ompute Ser&ice -o&a.et4orking Ser&ice -eutron.lock Storage -$in%er.Object Storage -S4i#t.

  • 7/25/2019 An Intro to Openstack

    31/43

    lock Storage -$in%er.

    Pro&i%es an in#rastructure #or managing &olumes inOpenStack

    Time to steal some sli%es )ttps334iki5openstack5org343images33b3$in%er,gri

    ++l(,%eep,%i&e,pub5p%#

    https://wiki.openstack.org/w/images/3/3b/Cinder-grizzly-deep-dive-pub.pdfhttps://wiki.openstack.org/w/images/3/3b/Cinder-grizzly-deep-dive-pub.pdfhttps://wiki.openstack.org/w/images/3/3b/Cinder-grizzly-deep-dive-pub.pdfhttps://wiki.openstack.org/w/images/3/3b/Cinder-grizzly-deep-dive-pub.pdf
  • 7/25/2019 An Intro to Openstack

    32/43

    All t)ose ot)er ser&ices

    $ompute Ser&ice -o&a.et4orking Ser&ice -eutron.lock Storage -$in%er.Object Storage -S4i#t.

  • 7/25/2019 An Intro to Openstack

    33/43

    Object Storage -S4i#t.

    S4i#t is not a tra%itional #ile s(stem" but rat)er a%istribute% storage s(stem #or static %ata suc) as&irtual mac)ine images" p)oto storage" emailstorage" backups an% arc)i&es

    Objects an% #iles are 4ritten to multiple %isk %ri&essprea% t)roug)out ser&ers in t)e %ata center" 4it)t)e OpenStack so#t4are responsible #or ensuring%ata replication an% integrit( across t)e cluster

    Storage clusters scale )ori+ontall( simpl( b( a%%ing

    ne4 ser&ers )ttp33%ocs5openstack5org3training,gui%es3content3mo

    %ule,c),obj,store,capabilities5)tml

    http://docs.openstack.org/training-guides/content/module003-ch003-obj-store-capabilities.htmlhttp://docs.openstack.org/training-guides/content/module003-ch003-obj-store-capabilities.htmlhttp://docs.openstack.org/training-guides/content/module003-ch003-obj-store-capabilities.htmlhttp://docs.openstack.org/training-guides/content/module003-ch003-obj-store-capabilities.html
  • 7/25/2019 An Intro to Openstack

    34/43

    Object Storage -S4i#t.

    ; %ont totall( un%erstan% S4i#t (et5 So (outube to t)e rescue" i# (ou are intereste% in t)e

    )o4 an% 4)at o# S4i#t 4)atc) t)e &i%eo belo45 )ttps334445(outube5com34atc)6&7G++Ka)jn/

    https://www.youtube.com/watch?v=G0zz6ahZjnEhttps://www.youtube.com/watch?v=G0zz6ahZjnE
  • 7/25/2019 An Intro to Openstack

    35/43

    All t)ose ot)er ser&ices

    $ompute Ser&ice -o&a.et4orking Ser&ice -eutron.lock Storage -$in%er.Object Storage -S4i#t.

    T)e big picture

  • 7/25/2019 An Intro to Openstack

    36/43

    T)e big picture

    )ttp33%ocs5openstack5org3training,gui%es3content3#igures3?3#igures3image!5jpg

    http://docs.openstack.org/training-guides/content/figures/5/figures/image31.jpghttp://docs.openstack.org/training-guides/content/figures/5/figures/image31.jpghttp://docs.openstack.org/training-guides/content/figures/5/figures/image31.jpg
  • 7/25/2019 An Intro to Openstack

    37/43

    9)at t)e #uture )ol%s

    'atabase Ser&ice -Tro&e." coming out 4it);ce)ouse release5

    are Metal -;ronic." un%er %e&elopment

    Cueue Ser&ice -Marcconi." 'ata Processing -Sa&anna)." See )ttps334445openstack5org3so#t4are3roa%map3 Status on ne

  • 7/25/2019 An Intro to Openstack

    38/43

    9)at t)e( are using

  • 7/25/2019 An Intro to Openstack

    39/43

    9)at t)e( are using

  • 7/25/2019 An Intro to Openstack

    40/43

    9)at t)e( are using

  • 7/25/2019 An Intro to Openstack

    41/43

    9)at t)e( are using

  • 7/25/2019 An Intro to Openstack

    42/43

    ;nstalling Openstack

    Lots o# %ocumentation" lots o# gui%es 'e&stack Links

    )ttp33%ocs5openstack5org3)a&ana3install,gui%e3install3(um3content3 )ttp33%e&stack5org3

    http://docs.openstack.org/havana/install-guide/install/yum/content/http://docs.openstack.org/havana/install-guide/install/yum/content/http://devstack.org/http://devstack.org/http://docs.openstack.org/havana/install-guide/install/yum/content/http://docs.openstack.org/havana/install-guide/install/yum/content/
  • 7/25/2019 An Intro to Openstack

    43/43

    Cuestions3$omments