Pro Yearly is on sale from $80 to $50! »

UbuntuとOpenStack

 UbuntuとOpenStack

Ubuntu 16.04 LTSリリース記念オフラインミーティング16.06でのネタです。(大修正済み)

0296c22065aaa2b11a9c0322f5d8bc98?s=128

masafumi_ohta

June 26, 2016
Tweet

Transcript

  1. UbuntuͱOpenStack ͓͓ͨɹ·͞;Έˏ͍ͬͺΜ͡Μʢ͑ʁ͍͏ͳʂʣ

  2. ࣗݾ঺հ ͓͓ͨɹ·͞;Έ ͍ͬͺΜ͡ΜͰ͢ɻී௨ ͷਓͰ͢ɻϚαΧϦ౤͛ Δͳɻ ໨తɿ౜༲͛৯΂ʹདྷ· ͨ͠ɻ Χχ͓͍͍͠Ͱ͢ɻ

  3. ͓ΊͰͱʔ͍͟͝·͢ʂʂ

  4. ౜༲͛େࣄͰ͢ʂ͍͖ͨͩ·͢ʂʂ

  5. Q:OpenStackͬͯԿ͔͢ʁ

  6. A:Ϋϥ΢υιϑτΒ͍ͬ͢͠ɻ

  7. Q:OpenStackͬͯ৯΂ΒΕ·͔͢ʁ

  8. A:͍ͬͺ͍৯΂Δͱ͓ෲյ͠·͢ɻ

  9. ৯΂ա͗ͨ຤࿏͸..

  10. None
  11. None
  12. None
  13. ·ͣ͸͜ΕͰे෼

  14. None
  15. ༻ҙ͢Δ΋Μ ҰԠ16GB͙Β͍͸ϝϞϦ͋ͬͨ΄͏͕͍͍ɺ࢖͍ࠐ Έ͔ͨͬͨ͠Β32GBҎ্ͳɻ ͏ͿΜͭαʔόʢࠓ͸༷ࢠݟͰɺ14.04LTSͰ) gitͭͳ͛Δ؀ڥɺωοτ͸େલఏɻ ./stack.shͱ͍͏ढ͍

  16. ͍͍ͩͩ͜ΕͰे෼ ࠓ࣌CPU͸े෼ίΞ͋Δ͠ૣ͍ϝϞϦੵΊΔ͠ ॳΊͯͰ෼ࢄ؀ڥͳΜͯ…ʁ OpenStackΛ࢖ͬͨιϦϡʔγϣϯ΍ϕϯμʔϓϥά Πϯͷ΄ͱΜͲ͸͜ͷ؀ڥͰΦʔϧΠϯϫϯ؀ڥͰ ͔͠ςετΛ͍ͯ͠ͳ͍͜ͱ͕ଟ͍ɺ͜ΕϙΠϯτɻ

  17. ·ͣ͸΍ͬͱ͚ OpenStack͸ͦΕͰ΋όάͩΒ͚ɻόά௚͢͜ͱΑΓ ৽ػೳ༏ઌɺ͜Θ͍΋ͷΈͨ͞Ͱ΍ͬͯΈΑ͎ɻ ಛʹϓϥάΠϯܥ͸ͻͲ͍ɺίʔυϨϏϡʔͯ͠Δ Μ͔͓·͍ʁͱ͍͏͘Β͍෗ͬͯΔɻಈ͔ͳ͍ͱ͖ ʹ͜͜ʹཱͪ໭Δ͜ͱΛ͠ͳ͍ͱμϝɻ ਖ਼௚ʹ΍ͬͯ·ͤΜɺ͍ͬͯͬͨϕϯμʔ͋Γɻ

  18. ࣍͸͜ͷఔ౓Ͱ·ͣ΍Εɻ

  19. None
  20. ༻ҙ͢Δ΋Μ αʔό̎୆(Controller,Compute֤ϊʔυҰ୆ͣͭ) ϝϞϦ32-64GBఔ౓ɺΠϯςϧܥNIC L3εΠον OpenStackͷDistro(Mirantis͕͓͢͢Ί..͝ΊΜͷ) VirtualboxͷεΫϦϓτ..Α͘όάͬͯΔ͚Ͳͳww

  21. ϦϑΝϨϯεΞʔΩςΫνϟʔ جຊతͳ෼ࢄߏ੒͸ͪ͜ΒͰ͢ɻ OpenStackϕϯμʔ͔ΒඞͣݴΘΕΔ͓ݴ༿ αϙʔτͷࡍɺมଶߏ੒Λ૊Ήͱɺͦͷ࣌఺Ͱ੾ ΒΕ·͢ɻ ૿΍͢ʹͯ͠΋֎͞ͳ͍ߏ੒Ͱ

  22. υॳ৺ऀΉ͚Mirantis ͍Μָ͕͛͐͢͜͢ ϦϑΝϨϯεߏ੒͔Β͍͡Βͳ͍खݎ͍ͷͰ͋Ε͹ Ұ൪ָ ӳޠ͕ཧղͰ͖ΔਓͳΒ30daysͷtrial supportΛ࢖ͬ ͯࠜ΄Γ༿΄Γฉ͚Δ(·ͩ͋ΔΑͶʁ..Mࣾ͞Μ?)

  23. ͨͩϝϯυΫηʔ Ͱ͖Ε͹บͷͳ͍αʔόͰ΍Βͳ͍ͱυπϘʹͳΔ Hࣾͱ͔BIOS͕ϨΨγʔ͡ΌͶʔͱͩΊͩ͠ ඪ४Ͱೖͬͯ͘ΔυϥΠόͰͳ͍ݶΓɺΠϯεί͕ ࠔ೉ۃΊΔ͠… αʔόϕϯμʔ͸มʹಠ࣮ࣗ૷ଟ͍ͷͰ஫ҙͳʂ

  24. ͘͠͡ΓઌੜΛٞ࿦͠Α͏ͥ

  25. ʰ͘͠͡Γઌੜʱ΍Ζ͏ͣ OpenStack͸ࣦഊྫͷํ͕ଟ͍͸ͣͳͷͰ࿦ٞͲΜ ͲΜ͢΂͖ɻίϨδϟφΠϩϘ΋͏΍ΊΑ͏Αɻ ίετμ΢ϯͱ͔ͰಋೖτϥΠˠେࣦഊ.. ΤϯυϢʔβʹ͸ͦΕ૬౰ͷ֮ޛ͕ඞཁͱ஌Δ΂͠

  26. ͡Ό͋..ࣦഊ͠ͳ͍ͨΊʹ..

  27. ϓϩμΫγϣϯߟ͑Α͏Ͷ

  28. ৽ػೳ..ϜϦʂ OpenStackͰ͋ͨΒ͠ΊͷϓϩδΣΫτ͸ͪΌΜͱݕ ূͯ͠൑அ͠·͠ΐ͏Ͷɻ౰ͨΓલͰ͢ɻ େ఍͸ಈ͍ͯ͘Ε·ͤΜ͠όάͩΒ͚Ͱ͢Αɻ OpenStackͷιʔεಡΜͰղੳɾίʔυमਖ਼ʹ͋ͨΔ ͱ͔Ͱ͖Ͷʔͷ͸࢖͏ͳ ؙ౤͛͢Ε͹…..ແཧͰ͢ɻ

  29. ΞʔΩઃܭ͸৻ॏʹͳ γεςϜߏ੒ɾNWߏ੒͸ेೋ෼ʹݕ౼͢Δ ϕϯμʔ͔Βͷ’possible’͸Ͱ͖ͳ͍ͱߟ͑Δ΂͖ ϓϥάΠϯؔ܎͸े෼ͳௐࠪͱݕূΛ େ఍͸ಋೖ؀ڥͰ͸ಈ͔ͳ͍ ݐલͱ࣮ࡍ͕࣮ࡍຊ౰ʹଟ͍

  30. ౔୆ߟ͑ΖΑ..

  31. ౔୆ͷ஌ࣝͳ͖ΌϜϦ OpenStack͸ͦΕͰ΋όΪʔͰΤϥʔͳͲͰΑ͘ಈ͔ ͳ͘ͳΔ͜ͱ͕ଟ͘ɺͦͷݪҼ͸͓͓ΑͦͰ౔୆OS Ͱͳ͖Όίϯϙʔωϯτͷόά.. Τϥʔ͕Ͱͯ΋Θ͔Βͳ͍ɺΤϥʔ͢Β΋Ͱͳ͍ ౔୆ͱͳΔαʔόOSͷ໰୊͕ҙ֎ʹ΋ଟ͍ͷͰ஫ҙ

  32. ୯ͳΔࣗಈԽπΫʔϧ ੈ༷͕ؒএ͑ΔΑ͏ͳOpenStack͸ຐ๏ͷπʔϧͰͳ ͘ɺ୯ʹLinux্ͷԾ૝؀ڥʹVM΍SDNΛࣗಈͰ࡞Δ ࣗಈԽπΫʔϧͰ͔͠ͳ͍ɻ OpenStackΨΨΨ..Ͱͳͯ͘LinuxͰ͢ʂ

  33. ίʔυՇ

  34. ͍͍ՃݮίʔυՇ OpenStack͸࣮ʹ୯७ͳpythonͰॻ͍ͯ͘Ε͓ͯΓಡ Έ΍͍͢ɻ ͦ͜Β΁ΜͷখɾதֶੜͰ΋ॻ͔ͳ͍Α͏ͳஓ੿ͳ ίʔυ΋͋ΔͷͰɺ࣮ʹಡΈ΍͍͢ɻ OpenStack͸͠ΐ͏΋ͳ͍ͱ͜ΖͰόάͬͯΔ͜ͱ͕ ଟ͍ͷͰϓϧϦΫͯ͠ΈΜͳ΋ίϛολʹͳΓ·ͦʔɻ

  35. ʰϋοΫͯ͠Ͷʱ ࣮ࡍͱ͋Δϕϯμʔ༷͔ΒݴΘΕ͓ͨݴ༿ɻ ࣮ࡍϋοΫΛ͠·͘Δ͜ͱଟ͍Ͱ͢ɻOpenStackࣗମ ͔ΒOSɺ͋ͱΞϓϦ΋ɻ Έͳ͞ʔΜɺ͕Μ͹Γ·͠ΐʔʂ

  36. ϑϧελοΫΤϯδχΞʁ

  37. ͍ΒͶɺͦΜͳͷ OpenStackʹຊ౰ʹඞཁͳ஌ࣝ͸OpenStackຊମ΁ͷ ஌ࣝͱLinuxͷμϝͬ΀ΓΛཧղ͢Δ͜ͱɻ ͲͪΒ͔ͱ͍͏ͱLinuxͷ࣮૷໰୊ͰৼΓճ͞ΕΔ͜ ͱ͕ଟ͍ͷͰͪΌΜͱਖ਼͘͠ཧղ͠·͠ΐ͏ɻ ଟ෼ϑϧελοΫͱ͍͏ͷ͸OS্ͰͷϏϔΠϏΞͷ ໰୊ͷ͜ͱ͔ͱ..͔ͩΒ͍ΒͶʔɺਖ਼௚

  38. νΣϯδχΞͳSE͞Μ΁ ܅ʹOpenStackΛ΍Δͷ͸౸ఈΉΓͰ͢ɻ ͋Δҙຯ௒ࣗྗήʔϜͰ͢ɻؙ౤͛͢Δ૬ख͕͍· ͤΜɻ ϕϯμʔʹΫϨʔϜͬͯ΋τϥϒϧ͸ղܾ͠·ͤΜ ϕϯμʔౖ໐Γ͚ͭͯ΋ͳʹ΋ى͖·ͤΜɻ

  39. OpenStackͱΞδϟΠϧ

  40. ͔ͳΓΞδϟΠϧͰ͢ɻ όάϑΟοΫεΑΓ৽ػೳͷಋೖ͕༏ઌ ൒೥ʹ͍ͬ΃ΜͷϝδϟʔϦϦʔεͰ͢ɻ2ͭલͷ͕ ಉ࣌ʹEOSʹͳΓ·͢ɻ͸΍ͬɻ ೔ຊاۀ͸֓ͯ͠΢ΥʔλʔϑΥʔϧతΞϓϩʔνश ੑ͕͔ͳΓڧ͍ͷͰಋೖʹ͸े෼ͳݕ౼͕ඞཁͰ͢ɻ ׂΓ੾Γ͕NGͰͳ͍ํ͸࢖Θͳ͍͜ͱΛקΊ·͢ɻ

  41. ݁࿦:௒ࣗྗήʔϜ&๖͑ʙ

  42. ʰۤ೰ʱͷΞϓϦ ਖ਼௚͔ͳΓόΪʔͱ͔͍͍͠Α͏͕ͳ͘ɺ௒ࣗྗήʔ ϜʹؕΔ͜ͱຬࡌ OpenStack๖͑ʙͱ๊͔͖ປʹग़དྷΔϠπ͔͠ແཧ ΢ΥʔλʔϑΥʔϧɾνΣϯδχΞମ࣭ʹ͸͖͍ͭɻ

  43. ೔ຊͷITۀքʹ͸Ωοπ͌ PMࢸ্ओٛͷ೔ຊͷITۀքʹͱͬͯ͸ɺߏ଄վֵͰ ΋͠ͳ͍ݶΓ͖͍ͭɻ ӕ͖ͭITΞʔΩςΫτͱ͔࣮͸͙͢όϥͯ͘͠ΕΔɺ ͳʹͤOpenStack͸ଟ֯తࢥߟΛಥ͖͚ͭΔɻ ͜ͷ೉͕͠͞ཧղͯ͠΋Β͑Δ͔…

  44. ͓͠·͍ɻ