openstack nova
play

OpenStack/Nova Infrastructure as a Service (IaaS) Unix - PowerPoint PPT Presentation

Virtual Compu:ng Laboratory* Ins:tute for Digital Research and Educa:on (IDRE) OpenStack/Nova Infrastructure as a Service (IaaS) Unix Users Associa:on of


  1. Virtual ¡Compu:ng ¡Laboratory* ¡ Ins:tute ¡for ¡Digital ¡Research ¡and ¡Educa:on ¡(IDRE) ¡ OpenStack/Nova ¡ Infrastructure ¡as ¡a ¡Service ¡(IaaS) ¡ Unix ¡Users ¡Associa:on ¡of ¡Southern ¡California ¡– ¡LA ¡ Media ¡Temple, ¡Culver ¡City, ¡CA ¡ Prakashan ¡Korambath ¡ March ¡7, ¡2013 ¡ ppk@idre.ucla.edu ¡ ¡ Essex ¡Distribu:on ¡ Ubuntu ¡12.04 ¡LTS ¡ * ¡Funded ¡by ¡UCLA ¡Cyberinfrastructure ¡Grant ¡hYps://cyber.oit.ucla.edu ¡

  2. Resources ¡ Compute ¡Nodes ¡ • 16 ¡IBM ¡iDataplex ¡2U ¡units ¡– ¡Intel ¡Nehalem ¡–E5530 ¡ • 2 ¡sockets ¡per ¡node ¡ • 4 ¡cores ¡per ¡socket ¡ • 8 ¡cores ¡per ¡node ¡ • 24 ¡GB ¡memory ¡per ¡node ¡ ¡ • Total ¡256 ¡cores ¡and ¡768 ¡GB ¡memory ¡ Controller ¡Node ¡ • AMD ¡Opteron ¡ • Six ¡Core ¡Opteron ¡2431 ¡ • 12 ¡cores ¡in ¡total ¡and ¡32 ¡GB ¡memory ¡ Network ¡Switches ¡= ¡2 ¡ ¡

  3. Design ¡and ¡Development ¡Team ¡ ¡ • Meets ¡every ¡Tuesday ¡between ¡9:30 ¡and ¡10:30 ¡am ¡in ¡room ¡ 3909 ¡MSA ¡ ¡ ¡ • Presenta:ons ¡on ¡Cloud ¡compu:ng ¡and ¡storage, ¡Grid ¡ Compu:ng ¡and ¡Grid ¡Data ¡Transfer ¡using ¡Globus ¡Online. ¡ • Architecture ¡design ¡discussions, ¡deployment ¡and ¡support ¡ • Sobware ¡development ¡updates ¡and ¡issues ¡ • Web ¡Resources ¡and ¡Documenta:on ¡ – hYp://storage1.ats.ucla.edu/mediawiki/index.php/Main_Page ¡ – hYps://service.vcl.ucla.edu/dev/ ¡ – hYps://sites.google.com/site/hpccloud/ ¡ – hYps://sites.google.com/site/hpcconsultantguide/ ¡ – hYps://sites.google.com/site/hpcconsultantguide/ virtualiza:on/kvm-­‑on-­‑ubuntu-­‑12-­‑04 ¡

  4. AYributes ¡of ¡Cloud ¡ • On-­‑demand ¡self-­‑service ¡-­‑ ¡A ¡cloud ¡should ¡enable ¡self-­‑service, ¡so ¡that ¡ users ¡can ¡provision ¡servers ¡and ¡networks ¡with ¡liYle ¡human ¡ interven:on. ¡ • Network ¡access ¡-­‑ ¡Any ¡compu:ng ¡capabili:es ¡are ¡available ¡over ¡the ¡ network ¡and ¡you ¡can ¡use ¡many ¡different ¡devices ¡through ¡ standardized ¡mechanisms. ¡ • Resource ¡pooling ¡-­‑ ¡Clouds ¡can ¡serve ¡mul:ple ¡consumers ¡according ¡ to ¡demand. ¡ • Elas:city ¡-­‑ ¡Provisioning ¡is ¡rapid ¡and ¡scales ¡out ¡or ¡in ¡based ¡on ¡need. ¡ • Metered ¡or ¡measured ¡service ¡-­‑ ¡Just ¡like ¡u:li:es ¡that ¡are ¡paid ¡for ¡by ¡ the ¡hour, ¡clouds ¡should ¡op:mize ¡resource ¡use ¡and ¡control ¡it ¡for ¡the ¡ level ¡of ¡service ¡or ¡type ¡of ¡servers ¡such ¡as ¡storage ¡or ¡processing. ¡ SaaS, ¡PaaS, ¡IaaS ¡ Examples: ¡Salesforce, ¡Google ¡Docs ¡(SaaS), ¡Google ¡AppEngine, ¡Vmware ¡Cloud ¡Foundry ¡(PaaS), ¡ ¡ EC2, ¡OpenNebula, ¡OpenStack, ¡Eucalyptus,CloudStack ¡(IaaS) ¡ ¡

  5. OpenStack ¡ Global ¡collabora:on ¡of ¡developers ¡and ¡cloud ¡compu:ng ¡experts ¡in ¡producing ¡an ¡ • open ¡source ¡plaiorm ¡for ¡private ¡and ¡public ¡clouds. ¡ Technology ¡ • Web ¡ – REST ¡ – HTTP ¡ – Python ¡ – Services ¡ • Compute ¡(Nova) ¡ – Object ¡Storage ¡(Swib) ¡ – Image ¡Service ¡(Glance) ¡ – Iden:ty ¡(Keystone) ¡ – Dashboard ¡(Horizon) ¡ – Each ¡service ¡is ¡a ¡webApp ¡ • REST ¡API ¡server ¡(front ¡end) ¡ • One ¡or ¡more ¡back ¡end ¡servers ¡ • Messaging ¡interface ¡between ¡them ¡ • API’s ¡use ¡HTTP ¡+ ¡json ¡(or ¡xml) ¡ – Use ¡curl ¡or ¡wget ¡or ¡browser ¡plugins ¡ • Any ¡programming ¡language ¡via ¡HTTP ¡libraries ¡ • Use ¡the ¡Python ¡novaclient ¡library ¡ •

  6. Concepts ¡ • Users ¡and ¡Projects, ¡Cloud ¡Admins, ¡Project ¡Manager ¡etc. ¡(Role ¡Based ¡Access) ¡ – access ¡to ¡images ¡is ¡limited ¡by ¡project ¡ – access/secret ¡are ¡per ¡user ¡ – keypairs ¡are ¡per ¡user ¡ – quotas ¡are ¡per ¡project ¡ Virtualiza:on ¡ ¡-­‑ ¡Hypervisors ¡ • – KVM ¡ – Xen ¡ – HyperV ¡ – LXC ¡ ¡(User ¡space ¡chrooted ¡install) ¡ – Qemu ¡ Images ¡and ¡Instances ¡ • – A ¡virtual ¡machine ¡running ¡inside ¡a ¡cloud ¡environment ¡ System ¡Architecture ¡– ¡Shared ¡Nothing, ¡messaging ¡ • – Cloud ¡Controller ¡ – Compute ¡Controller ¡ – Object ¡Store ¡ – Volume ¡Controller ¡ – Auth ¡Manager ¡ – Network ¡Controller ¡ – Scheduler ¡ Communica:on ¡through ¡HTTP ¡GET ¡POST ¡ ¡ •

  7. Installing ¡from ¡DevStack ¡for ¡a ¡Single ¡Node ¡Tes:ng ¡ • Follow ¡the ¡instruc:ons ¡at ¡hYp://devstack.org/ ¡for ¡Ubuntu ¡ 12.04 ¡ ¡ • sudo ¡apt-­‑get ¡install ¡git ¡ • git ¡clone ¡git://github.com/openstack-­‑dev/devstack.git ¡ • cd ¡devstack; ¡./stack.sh ¡ • Answer ¡few ¡ques:ons: ¡ ENTER ¡A ¡PASSWORD ¡TO ¡USE ¡FOR ¡RABBIT. ¡ ENTER ¡A ¡SERVICE_TOKEN ¡TO ¡USE ¡FOR ¡THE ¡SERVICE ¡ADMIN ¡TOKEN. ¡ ENTER ¡A ¡SERVICE_PASSWORD ¡TO ¡USE ¡FOR ¡THE ¡SERVICE ¡AUTHENTICATION. ¡ ENTER ¡A ¡PASSWORD ¡TO ¡USE ¡FOR ¡HORIZON ¡AND ¡KEYSTONE ¡(20 ¡CHARS ¡OR ¡LESS). ¡ • Default ¡Account ¡is ¡‘admin’ ¡and ¡the ¡project ¡is ¡‘demo’ ¡. ¡ ¡Use ¡the ¡ Horizon/Keystone ¡password ¡to ¡login. ¡ • hYps://sites.google.com/site/hpccloud/devstack_installa:on ¡ ¡ ¡

  8. Dashboard ¡

  9. Cloud ¡Provider ¡Conceptual ¡Architecture ¡

  10. Early ¡Architecture ¡ ¡

  11. Service ¡Architecture ¡

  12. OpenStack ¡Compute ¡– ¡Logical ¡view ¡ • nova-­‑api ¡supports ¡OpenStack ¡API, ¡EC2 ¡API ¡ • nova-­‑compute ¡creates ¡and ¡terminate ¡virtual ¡machine ¡instances ¡via ¡libvirt ¡for ¡KVM ¡and ¡others ¡ • nova-­‑volume ¡manages ¡the ¡crea:on, ¡aYaching ¡and ¡detaching ¡of ¡persistent ¡volumes ¡to ¡compute ¡ Instances ¡ • nova-­‑network ¡sets ¡up ¡bridging ¡interfaces ¡and ¡iptables ¡rules ¡ • Queue ¡– ¡AMQP ¡– ¡RabbitMQ ¡ • MySQL ¡DB ¡ ¡

  13. Conceptual ¡Architecture ¡

  14. Logical ¡Architecture ¡ ( Folsom ¡and ¡Grizzly ) ¡

  15. Hardware ¡for ¡Building ¡a ¡IaaS ¡Cloud ¡Plaiorm ¡ ¡I ¡

  16. Hardware ¡for ¡Building ¡a ¡IaaS ¡Cloud ¡Plaiorm ¡ ¡I ¡I ¡

  17. Hardware ¡for ¡Building ¡a ¡IaaS ¡Cloud ¡Plaiorm ¡ ¡III ¡

  18. What ¡is ¡happening ¡during ¡Instance ¡deployment? ¡ (nova-­‑volume ¡has ¡a ¡similar ¡func:on ¡to ¡EBS) ¡ Ini:al ¡State ¡ Instance ¡Launching ¡

  19. Networking ¡ • Flat ¡Mode ¡ – Fixed ¡IB ¡through ¡the ¡bridged ¡network ¡(br100) ¡ configured ¡manually ¡(/etc/network/interfaces) ¡ • Flat ¡DHCP ¡ – Runs ¡dnsmasq ¡as ¡dhcp ¡server ¡listening ¡on ¡the ¡bridge. ¡ Instances ¡s:ll ¡get ¡fixed ¡IP ¡addresses ¡through ¡dhcp. ¡ • VLAN ¡DHCP ¡ – Needs ¡a ¡switch ¡that ¡supports ¡VLAN ¡tagging. ¡VLAN ¡and ¡ bridge ¡for ¡each ¡project. ¡Private ¡IPs ¡are ¡accessible ¡only ¡ inside ¡the ¡VLAN ¡

  20. Flat ¡network, ¡all-­‑in ¡one ¡server ¡installa:on ¡

  21. Single ¡adaptor ¡hosts, ¡first ¡route ¡ Single ¡adaptor ¡hosts, ¡second ¡route ¡

  22. Flat ¡network, ¡mul:ple ¡interfaces, ¡mul:ple ¡servers ¡ • eth1 ¡is ¡used ¡for ¡physical ¡maintenance ¡of ¡host ¡opera:ng ¡system ¡ • eth0 ¡is ¡used ¡for ¡deploying ¡the ¡virtual ¡instances ¡and ¡network ¡traffic ¡to ¡the ¡instances ¡

  23. Flat ¡DHCP ¡network, ¡mul:ple ¡interfaces, ¡mul:ple ¡servers ¡with ¡libvirt ¡driver ¡

  24. Underlying ¡Technologies ¡ Circles ¡are ¡Linux ¡services ¡that ¡are ¡part ¡of ¡OpenStack ¡compute ¡ Rectangles ¡are ¡external ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend