ããããOpenStackã«ã€ããŠèããããšãããã§ãããã ãããã¯ãã圌ãã¯å€ããå°ãªããé¢é£ããã€ãã³ãã§åœŒã«ã€ããŠè©±ããŸãã OpenStackãæ¯æãããã¹ãŠã®äººã ãã¡ãã·ã§ããã«ãªè¥è ããã¹ãŠããã§ã«ããã«ããããªãŒãã³ãœãŒã¹ãç§ãã¡ã«åå ããŠãã ããã ãããŠã倧éã®ããŒã±ãã£ã³ã°ã®åŒŸäžžãèããŠãããªãã¯æ±ºããïŒOpenStackãã€ã³ã¹ããŒã«ããïŒ
ç§ã¯ãã®äž»é¡ã«é¢ããç¹å¥ãªç 究ãè¡ã£ãŠããŸããããå°ãªããšããã·ã¢èªã§ã¯ãããã«ã€ããŠã®åŠå®çãªã¬ãã¥ãŒã¯ããã»ã©å€ããªãããã§ãã äžèŠãããšããããã¹ãŠãçŽ æŽãããèŠããŸãã ãããããã°ãç§ã®å人çãªææªã®æçš¿ãOpenStackã«éä¿¡ããŠãã ããã
èæ¯
2012幎é ã®OSSã«é¢ããäŒè°ã§OpenStackã«ã€ããŠåŠã³ãŸããã åœæãç§ã¯å€§èŠæš¡ãªã¯ã©ã¹ã¿ãŒïŒ100å°ä»¥äžã®ãã·ã³ïŒãç©æ¥µçã«äœ¿çšããŠããäŒç€Ÿã§åããŠããŸããããä»®æ³åããªãŒã±ã¹ãã¬ãŒã·ã§ã³ïŒkickstarter + IBM CSMïŒïŒã䜿çšãããäž»ã«ã¿ã¹ã¯ã®ãããå®è¡ãè¡ããŸããã ã¯ã©ãŠããšã¯äœãããªãã¯ã©ãŠããå¿ èŠãªã®ããå®å šã«ç解ããããšã¯ã§ããŸããã§ããããé¢å¿ãçããŸããã ãã¡ãããããã«æ°ããã¯ãŒã«ãªãã®ãå±éããããšããèŠæããããŸããããä»ã¯ãã¹ãŠãããŸããããŸãã
åã幎ã®å°ãåŸããã§ã«ã¹ã¿ãŒãã¢ããã®äžéšãšããŠããã®ãããªæ©äŒãçŸããŸããã ã¯ã©ã¹ã¿ãªã³ã°ãšæ°Žå¹³ã¹ã±ãŒãªã³ã°ã䜿çšããŠãããžã§ã¯ããå±éããå¿ èŠããããŸããããç°å¢ãåé¢ãã1å°ã®ãã·ã³ã®ãªãœãŒã¹ãè€æ°ã®ãµãŒãã¹ãšå ±æããå¿ èŠããããŸãã-äºç®ã¯ãŸã ãŽã ã§ã¯ãããŸããã
äžè¬ã«ã2012幎ã«OpenStackãå±éããŸãããåœæã¯Essexã§ãããããããžã§ã¯ããéå§ãã2014幎ãŸã§ãã®ãããªã¯ã©ãŠãã€ã³ãã©ã¹ãã©ã¯ãã£ã䜿çšããŠããŸãããGrizzlyããªãªãŒã¹ããããŸã§ã§ãã 圌ãããã«ãµããŒãããåãšæ¬²æ±ã¯ãªããOpenStackã¯æ¥ãããããã«é ã£ãŠããŸããã
ãããããããäœãæ¢ãã¹ããã«ã€ããŠã®ã³ã¡ã³ããä»ããŠããããæ£ãã眮ãæ¹æ³ã«é¢ããèšäºãæžãããšããèããŸããã ããããããªãã¯ç¥ã£ãŠãããç§ã¯ç§ã®å¿ãå€ããŸããã ãŸã£ããè¯ãããªãã§ãã ããã æ··ä¹±ããªãã§ãã ããã ã»ãšãã©ã®æé²ã¯å€ããªã£ãŠããå¯èœæ§ããããç§ãã©ããªäººã§ãããã«ã€ããŠã®ã³ã¡ã³ããæžããäœãç解ããŠããŸããããå šäœçã«ç¶æ³ãåçã«å€ãã£ããšã¯æããŸããã
ããã§ã¯ãOpenstackã«ã€ããŠç§ã奜ãã§ã¯ãªããã®ããå§ããŸãããã
圌ã¯è€éããã
ãããããã 圌ã*****ã MONSTERY ã ããããèªåã§èŠãŠãã ããã
ããããããããšã»ãã¯ã¹ãèšçœ®ãããšãããã¹ãŠãæ¯èŒçã·ã³ãã«ã§æ確ã§ããã KeystoneïŒæ¿èªãµãŒãã¹ïŒãGlanceïŒç»åä¿åãµãŒãã¹ïŒãNovaïŒãã€ããŒãã€ã¶ãŒç®¡çãµãŒãã¹ïŒã ããã«ããŸã HorizoâânïŒããã·ã¥ããŒãïŒããããå°ãããŠããŸãäŸåããŠããŸããã§ããã ã·ã¹ãã ã®åããŒãã¯ãã»ãŒæ°åã®è£å©ããŒã¢ã³ã«å²ãŸããŠããŸãã ãã°ãããããšãã³ã³ãããŒã©ãŒããŒããèŠãã®ãæããªããŸãã
ãã®ãããä»®æ³ã¯ã©ã¹ã¿ãŒã20å°ã®ãµãŒããŒã«è¿ã¥ããšãäœããã®çç±ã§ã³ã³ãããŒã©ãŒããŒããæ¥ç¥ããã«ã¹ããŒããŠã³ãå§ããŸããã ãŸããããæ£ç¢ºã«ç解ã§ããŸããããªãIDãµãŒãã¹ãããã»ããµã100ïŒ èªã¿èŸŒãã ã®ãã¯ããããŸãããïŒ
è€éãããã次ã®æ¬ ç¹ãçããŸãã
圌ã¯æ··ä¹±ããŠããŸã
OpenStackã®ã¢ãŒããã¯ãã£ã¯éåžžã«æçåãããŠããŸãã éåžžã«å€ãã®ãå¯åéšåããããããããã®éã®é¢ä¿ã¯åžžã«çµ¶å¯Ÿã«æ確ã§ã¯ãããŸããã äœãå£ããŠããŸããïŒ ããŠãäœããå£ããå Žæãšãã®çç±ãç解ããŠãã ããã OpenStack Foundationã¯ãOpenStackã®ãµã€ãã®ã¡ã€ã³ããŒãžã§ãã2,000äžè¡ãè¶ ããã³ãŒããèªã£ãŠããããã§ãã ãããã£ãŠã ãã®NIFIGAã¯å°å³ã§ã¯ãããŸãã ã
ã»ãšãã©ã®ã³ãŒãã¯Pythonã§æžãããŠããŸãã ããããšããOpenStackãããªãã®ãããã§ãç§ã¯Pythonãšããã«é¢é£ãããã¹ãŠã®ãã®ãå«ã£ãŠããŸããã ããããä»ã§ã¯ããã¥ã¡ã³ãã®æ¹ãåªããŠããŸãããå®éã«ã¯ååšããŠããŸããã§ããã ããžãã¯ã¯1ã€ã®ããŒã¢ã³ã§éå§ãããå¯èœæ§ãé«ãããã®åŸãRabbitMQãä»ããã¯ãšãªã®å©ããåããŠããŸã£ããç°ãªããã·ã³ã§ãããã«ã¯å¥ã®ãã·ã³ã§å®è¡ãããŸãã èšããŸã§ããªããOpenStackçšã®ç¬èªã®æ¡åŒµæ©èœãäœæããã®ã¯ç°¡åã§ã¯ãããŸããã ãããåãªãå°ããªããã¯ã§ããå Žåãããã¯æ°ããæ©èœãåããæ¬æ Œçãªãã©ã°ã€ã³ã§ããå Žåãå¥ã®ããšã§ãã 絶察ã«ã§ããªã5è¡ã®ã³ãŒãã
ããã§äœãèµ·ãã£ãŠããã®ããç解ããããã«å éšãååŸããå¿ èŠãããå Žå...
äºå®ãOpenStackã¯OSSãšããŠäžçš®ã®unix-wayãç®æããŠããŸãã ããªãã¡ å éšã§ã¯ããããã®å·šå€§ãªãµãŒãã¹ã¯ãã¹ãŠãç¬èªã®ããžãã¯ã«åŸã£ãŠæ°åããæ°çŸã®UNIXãŠãŒãã£ãªãã£ãå®éã«ãã«ããŸãã ããã¥ã¡ã³ããŒã·ã§ã³ã§ã¯ãå°ãªããšã以åã¯ããã¹ãŠãæªãã£ãã ãã¹ãã«è¿œå ããiptablesã«ãŒã«ãšãã®çç±ãæ£ç¢ºã«æããŠãã ããã ç§ãã¡ã«ã¯ããã¹ãŠãåç¬ã§å®è¡ãããŠãŒã¶ãŒã®ä»å ¥ãå¿ èŠãšããªããéåžžã«ã¯ãŒã«ãªã¢ããªã±ãŒã·ã§ã³ããããŸãã ç¬èªã®ã«ãŒã«ãè¿œå ãããã§ããïŒ å¹žéãªããšã«ããœãŒã¹ã³ãŒãã¯å ¬éãããŠããŸãã
èè ã«ãã£ãŠææ¡ãããã·ããªãªã«å€å°é©åããŸããããã¹ãŠã¯å€ããå°ãªãã倧äžå€«ã§ãã ããªããåŽã«äžæ©ãèžã¿åºãå¿ èŠãããå Žåãå°é£ãæåŸ ããŠãã ããã ããããã®å¿èãå¿èããã¶ããã¿ã¹ã¯ã«çŽæ¥é¢ä¿ããªãããã€ãã®åé¡ãããšãã°ãRabbitMQãã©ã®ããã«æ©èœããããä»ã«äœãå¿ èŠããå匷ããå¿ èŠããããŸããïŒ
ããã«ããã次ã®åé¡ãçºçããŸãã
圌ã¯ä¿¡é Œã§ããªã
ã·ã¹ãã ãè€éã«ãªãã»ã©ãã·ã¹ãã ã®ä¿¡é Œæ§ã¯äœããªããŸãã ããããã©ããããã®çå®ã¯äžäººåãã§ã¯ãããŸããã ã¢ã³ããŒã°ã©ãŠã³ãããã¯ã®ãœãŒã¹ãæ€çŽ¢ããæºåãæŽãã æ£ããã·ãŒã±ã³ã¹ã§ããŒã¢ã³ãèµ·åããããããã®googleãå®è¡ããŠãã°ãèªã¿ããœãŒã¹ãã¡ã€ã«ãæãäžããŠãã ããã
ç§ã®æèŠã§ã¯ãããã€ãã®æ±ºå®ã¯åçŽã«ç©è°ãéžããŠããŸãã iptablesãä»ããŠãšãã¥ã¬ãŒããããä»®æ³IPã¢ãã¬ã¹ã®ã¡ã¿ããŒã¿ãµãŒãã¹ïŒ ã»ããšïŒ IPä»®æ³ãã·ã³ã®çºè¡ã«é¢ããdnsmasqã®éåžžã«ãä¿¡é Œã§ãããäœæ¥ã æ°å人ã
ãããŠããã¯ã...
圌ã¯å€§ãããªã£ãŠããŸã
ç§ãèšã£ãããã«ãç§ãã¡ãã¡ããã©ããã䜿ãå§ãããšããããã€ãã®åé¡ããã§ã«ããã«ãã£ãããã©ããå€ãã®ãµãŒãã¹ããããŸããã§ããã ãããããµãŒãã¹ã®ãªãªãŒã¹ããšã«ãããã¯ããã«å€ããªããŸãã
ããšãã°ãçŸåšã®ãµãŒãã¹ã®ãªã¹ããèŠãŠãã ãããåãµãŒãã¹ã¯ããã·ã³ã«ããã«ããã€ãã®ããŒã¢ã³ãè¿œå ããŸãã
- ã¢ã€ãã³ãã£ãã£ãµãŒãã¹ïŒããŒã¹ããŒã³ïŒ
- ã€ã¡ãŒãžãµãŒãã¹ïŒäžç®ïŒ
- èšç®ãµãŒãã¹ïŒnovaïŒ
- ãããã¯ãŒãã³ã°ãµãŒãã¹ïŒäžæ§åïŒ
- ããã·ã¥ããŒãïŒæ°Žå¹³ç·ïŒ
- ãããã¯ã¹ãã¬ãŒãžãµãŒãã¹ïŒcinderïŒ
- ãã¢ã¡ã¿ã«ãµãŒãã¹ïŒironicïŒ
- ã³ã³ããã€ã³ãã©ã¹ãã©ã¯ãã£ç®¡çãµãŒãã¹ïŒãã°ãã ïŒ
- ããŒã¿ããŒã¹ãµãŒãã¹ïŒtroveïŒ
- DNSãµãŒãã¹ïŒæå®ïŒ
- ããŒãããŒãžã£ãŒãµãŒãã¹ïŒããŒãã«ã³ïŒ
- ã¡ãã»ãŒãžã³ã°ãµãŒãã¹ïŒzaqarïŒ
- ãªããžã§ã¯ãã¹ãã¬ãŒãžãµãŒãã¹ïŒSwiftïŒ
- ãªãŒã±ã¹ãã¬ãŒã·ã§ã³ãµãŒãã¹ïŒç±ïŒ
- å ±æãã¡ã€ã«ã·ã¹ãã ãµãŒãã¹ïŒããã©ïŒ
- ãã¬ã¡ããªã¢ã©ãŒã ãµãŒãã¹ïŒaodhïŒ
- ãã¬ã¡ããªãŒããŒã¿åéãµãŒãã¹ïŒceilometerïŒ
ã¯ããæ£åŒã«ãã¹ãŠã®ãµãŒãã¹ãå®å šã«ã€ã³ã¹ããŒã«ããå¿ èŠã¯ãããŸããã ãã ããã¡ã€ã³ãµãŒãã¹ã«å«ãŸããŠããªãäºçŽ°ãªããšãã€ã³ãã©ã¹ãã©ã¯ãã£ã«ç°¡åãã€ç°¡åã«è¿œå ã§ãããšã¯æããªãã§ãã ããã
ããšãã°ããšã»ãã¯ã¹ã®æ代ã«ã¯ãæ°ããä»®æ³ãã·ã³ã«é¢ãããšã³ããªãDNSãµãŒãã¹ã«è¿œå ããç°¡åãªæ¹æ³ã¯ãããŸããã§ããã æ-ãé¡ãããŸãã ããã¯ïŒ ããããèããŠããŸããã æå®ã®èªçãåŸ ããªãã£ãã
ãããŠãããªãã¯äœãç¥ã£ãŠããŸããïŒ
圌ã¯æ éãã
ãªãªãŒã¹ãããªãªãŒã¹ãžã ããªãã¡ ããŠãããªãã¯æçµçã«å€¢ã®ã€ã³ãã©ã¹ãã©ã¯ãã£ãåãè£ãããã¹ãŠãäœããã®åœ¢ã§æåŸ ã©ããã«æ©èœããŸããã1ã€ã®å°ããªè©³çŽ°ãæ¬ èœããŠããŸãã ãããŠãæ°ãããªãªãŒã¹ã§ã¯ããã§ãã ãŸããå°ãªããšããªãªãŒã¹ããŒãã
OK GoogleãOpenStackãæŽæ°ããŸãããã ãããŠãããªããåãã§äœ¿ã£ãŠããæ©èœãåãåãããããšãããããŸããã ãŸãã ããã ãŸãã圌ã¯ãããäžè¬çã«ãç§ãã¡ã¯ãæ£çŽã«ãæ£çŽã«ãããè¯ãããã§ãããã 次ã®ãªãªãŒã¹ã ãã¶ãã ãããŸã§ã®éãããã§ã¯ç°¡åã«ãªããŸããããããŸããããŸããïŒ ãŸããããªãã®ã±ãŒã¹ã«ãªããã®ã¯æ°ã«ããŸããããããã¯åäœããŸãïŒ
ç§ãã¡ã®å Žåãããã¯æ©èœçãªãããã¯ãŒã¯ã§ããã ãããã¯ãŒã¯ã¯äžè¬ã«åé¡ã§ãããOpenStackã§æãèŠçããããããŸãã äžè¬çã«ããã®ã¢ããªã±ãŒã·ã§ã³ã¯ã€ã³ã¿ãŒãããããã®ãã©ãã£ãã¯ãæ¶è²»ããŸãããéåžžã«éäžçã«äœ¿çšããããšããããŸãã ãã¡ãããããã¯å®å šã«æšæºçãªèŠä»¶ã§ã¯ãããŸããããä»®æ³ãã·ã³ãç¬èªã®ãã¹ããã«ãŒã¿ãŒãšããŠäœ¿çšãããã¹ãèªäœãçŽæ¥ãããã€ããŒã«ãã©ãã£ãã¯ãéä¿¡ããå Žåã«æé©ãªãªãã·ã§ã³ã§ãã ãããŠãããã¯ãšã»ãã¯ã¹ã§è¡ãããšãã§ããŸãã ãããŠããã¯ã©ããããããããŸããã£ãã
ãããŠã次ã®ãªãªãŒã¹ã§ã¯ãOpenStackã®æ åœè ã¯çŽ æŽããããšå€æããŸããããããã¯ãŒã¯æ©èœãå¥ã®ã¢ãžã¥ãŒã«ïŒå°æ¥ã®NeutronïŒã«ã«ããããä»®æ³ãããã¯ãŒã¯äžã®1ã€ã®ã«ãŒã¿ãŒã®ãããªåçŽãªãã®ãå®è£ ããŸãã ããªãã¡ ã¯ã©ã¹ã¿ãŒå šäœã®ãã¹ãŠã®ãã©ãã£ãã¯ããããã¯ãŒã¯ã®åäžããŒãã«éãå¿ èŠãããããããããã«ããã¯ã«ãªããŸãã
ãã®ãããOpenStackã¯æ¬åœã«æ©èœãããã®ãªã®ã§ã觊ããªãã§ãã ããã ããã«å°ããªæãåºãããšããããªãã§ãã ãããn ** pã äžãäžã«åããŠãã¹ããåèµ·åããªãæ¹ãè¯ãã§ããããããããªããšãåã³èµ·åããŸãããïŒ æŽæ°ã¯ç·æ¥ãç¥çµãææªã§ãã
圌ã¯çã ããŠãã
ãããŠãæ©èœãããšãã°ãŸãŒã³ãžã®åå²ãå¿ èŠãªãšããããªãã¯ãšãŠãçŽ æŽãããæ°æã¡ãæããŸãã ããŠã倧ããªããžã®ãããã·ã³ãSSDããããªã«ãŒãããããŸããã¯ã©ã¹ã¿ãŒããŸãŒã³ã«åå²ããŠãå¿ èŠãªãªãœãŒã¹ãæã€ãã·ã³ã«ä»®æ³ãã·ã³ãåé¡ãããããã«ããŸãã ããŠãOKãããã¯ãèªãã§ãã¢ãã€ã©ããªãã£ãŒãŸãŒã³ãé©ããŠããããã§ãã èšå®ãæå¹åã ãããŠäœããªãã ããã¯ã¯ããã¹ãŠããã¹ãã§ãããšèšã£ãŠããŸãããå®éã«ã¯äœããããŸããã ç§ãã¡ã¯ã³ãŒãã«ç»ããŸãã
å®è£ ãããŸãã 次ã®ãªãªãŒã¹ã ãã¶ãã ããŠãããªãã¯ãã€ã³ããåŸãã åã®æ®µèœãåç §ããŠãã ããã
å©ç¹ã¯ãããŸãããçµè«ã¯äœã§ããïŒ
ç§ã«ãšã£ãŠãçµè«ã¯ç°¡åã§ãã OpenStackã®ããã©ããŒãžã§ã³ã¯é¿ããã®ãæåã§ãã ãã³ããŒããŒãžã§ã³ããã¿ãŒã³ããŒã€ã³ã¹ããŒã«ã販売ãããªãã£ã¹ã§ã®ç¶æ³ã¯ããããŸããããç§ã«ãšã£ãŠã¯ãããã¯ãç¡æã¯ã©ãŠããã®ã€ããªãã®ãŒã«ããããççŸããŠããŸãã å¥ã®ãœãŒã¹ã§ã®ã¿ããã³ããŒã®ããã¯ã€ã³ãå床ååŸããŸãã
Vanilla OpenStackã§éè©ŠããããŠã¿ãŸãããïŒ ãããããŸããäžè¬ã«ãé¡ãããŸãã å€ãã®ãã©ã°ã€ã³ããããã³ãã¥ããã£ã¯å€§ãããããŒã±ãã£ã³ã°ã®åŒŸäžžã¯äžè¬ã«å±æ ¹ãããé«ããªã£ãŠããŸãã äžè¬çã«é 匵ã£ãŠãã ããã ãã ããå°èŠæš¡ããã³äžèŠæš¡ã®ã€ã³ã¹ããŒã«ã®å Žåã¯ããå§ãããŸããã
ç§ã®æèŠã§ã¯ãOpenStackã®äž»ãªåé¡ã®1ã€ã¯ãå®å šã«æ£ããã¢ãŒããã¯ãã£ã¡ãã»ãŒãžã§ã¯ãªãããšã«èµ·å ããŠããŸãã ãšã³ããŠãŒã¶ãŒã ãã®ããã«åªåããŠãçµæãè€éã«ããããŸããã ããã¯ã®ãããªåçŽã§å¹³å¡ãªãã®ã§ããã€ãã³ãã«é ä¿¡ãããªãã£ãããã誰ãã圌ã®ããŒãºã«å¿ããŠæªå€¢ã«å€ãããŸããã ãããŠãããã¯å€ãã®ããšã®å®è£ ãã©ã®ããã«ç°¡çŽ åããŸãã...
äžè¬ã«ãOpenStackãšã®1幎åã®éäºã®åŸãç§ãã¡ã¯ãããæŸæ£ããå¥ã®ã¯ã©ãŠãã«åãæ¿ããŸããã ã€ã³ãã©ã¹ãã©ã¯ãã£ã®ç®¡çã¯ç°¡åã§æ¥œãããããŒãžã§ã³ã®æŽæ°ã¯apt dist-upgradeãšåããããç°¡åã§ãã
ããã¯ã©ã®ãããªã¯ã©ãŠãã§ããªãOpenStackããã䟿å©ãªã®ãã次ã®èšäºã§èª¬æããŸãã ïŒãã¿ãã¬ïŒããã¯OpenNebulaã§ãïŒã