æåã®OpenStackã€ã³ãã©ã¹ãã©ã¯ãã£ãéçºããŠãããšãããã®å€ãã®ã³ã³ããŒãã³ããããŒããŠã§ã¢ã«åæ£ããæ¹æ³ã«é¢ããæ å ±ãèŠã€ããã®ãå°é£ã§ããã Rackspace Architecture ReferenceïŒä»¥åã«referencearchitecture.orgã«æçš¿ãããŠããŸããããçŸåšã¯å€ããªã£ãŠããããã§ãïŒãå«ãå€ãã®ããã¥ã¡ã³ãã調ã¹ãŸããã OpenStackã®ããã¥ã¡ã³ãã®èšèšå³ã確èªããŸããã åœæã¯ã³ã³ããŒãã³ãã®çžäºäœçšã«é¢ããåºæ¬çãªç¥èãããªãã£ããããAPIãµãŒãã¹ãnova-schedulerãGlanceãªã©ã®ãã¹ãŠã®ã³ã³ããŒãã³ããå«ããã³ã³ãããŒã«ããŒãããšããéåžžã«åçŽãªã¹ããŒã ã«æ±ºããŸããã KeystoneãããŒã¿ããŒã¹ãããã³RabbitMQã ããŒãã®å¶åŸ¡äžã§ãã³ã³ãã¥ãŒãã£ã³ã°ããŒããšãããäž»å補åãã®ãã¡ãŒã ãé 眮ããŸããã ãŸãããã©ã€ããŒãïŒåºå®IPã¢ãã¬ã¹ãšãµãŒããŒç®¡çã®ãã©ãã£ãã¯çšïŒããããªãã¯ïŒåçIPã¢ãã¬ã¹ã®ãã©ãã£ãã¯çšïŒãã¹ãã¬ãŒãžïŒnova-volume iSCSIãããã³ã«ã䜿çšãããã©ãã£ãã¯çšïŒã®3ã€ã®ãããã¯ãŒã¯ãç·šæããŸããã
ãã©ã³ãã£ã¹ã§åãå§ãããšããç§ã¯ã¢ãããŒãã倧ããå€ããŸããã 1ã€ãŸãã¯2ã€ã®ã³ã³ãããŒã«ããŒããæã€å°çšã®ã³ã³ãã¥ãŒãã£ã³ã°ããŒããã¡ãŒã ãäœæããããã®ç§ã®ã¢ã€ãã¢ã¯ãã¹ãŠééã£ãŠããããšã«æ°ä»ããŸããã äžæ¹ã§ãç§ã®ã¢ãããŒãã¯ã³ã³ããŒãã³ãã®åé¢ãšããç¹ã§ã¯åªããŠããŸããããå®éã«ã¯ãOpenStackã«éè² è·ããããããšãªãã皌åäžã®ã³ã³ããŒãã³ããç°¡åã«æ··åããã³çµã¿ç«ãŠãããšãã§ããŸãïŒããšãã°ãåãããŒãã§nova-computeãµãŒãã¹ãšnova-schedulerãµãŒãã¹ãçµã¿åãããŸãïŒã OpenStackã®ãå¶åŸ¡ããŒãããšãã³ã³ãã¥ãŒãã£ã³ã°ããŒããã®æå³ã¯ãOpenStackã³ã³ããŒãã³ãã®æè»ãªåæ£ã«å¿ããŠç°ãªãå ŽåããããŸãã
äžè¬ã«ãåOpenStackã€ã³ã¹ããŒã«ã«ã¯å°ãªããšã3çš®é¡ã®ããŒãïŒããã³å Žåã«ãã£ãŠã¯4çªç®ïŒãå¿ èŠã§ãããšæ³å®ã§ããŸããç§ã®ååã®Oleg Gelbukhã¯æ¬¡ã®ããã«èª¬æããŸããã
- ã¿ãŒããã«ããŒã ã ãã®ãµã€ãã¯ãè² è·åæ£ããã³çšŒåæéãµãŒãã¹ãå®è¡ããŸããããã«ã¯ãè² è·åæ£ããã³ã¯ã©ã¹ã¿ãŒæ§ç¯ã®ããã®ãœãããŠã§ã¢ãå«ãŸããå ŽåããããŸãã è² è·ã®ãã©ã³ã¹ãåãããã«èšèšããããããã¯ãŒã¯å ã®ããŒããŠã§ã¢ãšãœãããŠã§ã¢ã®è€åäœã¯ãã¿ãŒããã«ããŒããšããŠæ©èœã§ããŸãã åé·æ§ãæäŸããããã«ãã¯ã©ã¹ã¿ãŒå ã«å°ãªããšã2ã€ã®ãšã³ãããŒããäœæããããšããå§ãããŸãã
- å¶åŸ¡ããŒã ã ãã®ãµã€ãã¯ããã¥ãŒãµãŒããŒãããŒã¿ããŒã¹ãHorizoâânã³ã³ãããŒã«ããã«ãç£èŠã·ã¹ãã ãªã©ãã¯ã©ãŠãå šäœã®æäœãæäŸããéä¿¡ãµãŒãã¹ããã¹ãããŸãã ãã®ããŒãã«ã¯ããªãã·ã§ã³ã§nova-schedulerãµãŒãã¹ãšAPIãµãŒããŒãé 眮ã§ããŸãããããã®ãµãŒããŒã¯ãè² è·åæ£ã®ãã©ã³ã¹ããšãããšã«ããããšã³ãããŒãã«ãã£ãŠå¶åŸ¡ãããŸãã åé·æ§ãæäŸããã«ã¯ãã¯ã©ã¹ã¿ãŒå ã«å°ãªããšã2ã€ã®å¶åŸ¡ããŒããäœæããå¿ èŠããããŸãã 管çããŒããšãšã³ãããŒãã¯åãç©çãµãŒããŒäžã§çµã¿åãããããšãã§ããŸãããnovaãµãŒãã¹ã®æ§æãå€æŽããå¿ èŠããããŸã-ããŒããã©ã³ãµãŒã䜿çšããããŒããããããã転éããå¿ èŠããããŸãã
- èšç®ããŒã ã ãã®ããŒãã¯ããã®ã³ã³ãã¥ãŒãã£ã³ã°ãã¯ãŒã䜿çšãããã€ããŒãã€ã¶ãŒãšä»®æ³ã€ã³ã¹ã¿ã³ã¹ããã¹ãããŸãã ãã«ããã¹ãã¹ããŒã ã䜿çšãããŠããå Žåãã³ã³ãã¥ãŒãã£ã³ã°ããŒãã¯ããã®äžã«ããä»®æ³ã€ã³ã¹ã¿ã³ã¹ã®ãããã¯ãŒã¯ã³ã³ãããŒã©ãŒãšããŠãæ©èœããŸãã ãŸããããŒãã¯ããã©ã³ãµãŒãglance-apiãªã©ãå€ãã®ãªãœãŒã¹ãå¿ èŠãšããªãå éšOpenStackãµãŒãã¹ããã¹ãã§ããŸãã
- ã¹ãã¬ãŒãžããŒãã nova-volumeãµãŒãã¹ã䜿çšããå Žåã«å¿ èŠã§ãã ãã®ããŒãã¯ãnova-volumeãµãŒãã¹ããã¹ãããŸãã ãã®ããŒãã¯ãiSCSIãã©ãã£ãã¯ã®åä¿¡è ã§ããããŸãã
ãšã³ãããŒãã®åœ¹å²ã¯æããã§ãããéåžžãOpenStackã³ã³ããŒãã³ãéã§ãã©ãã£ãã¯ãåçã«åæ£ããäžæã®ãªãåäœãä¿èšŒããããã«èšèšããããœãããŠã§ã¢ããŒããã©ã³ãµãŒãŸãã¯ããŒããŠã§ã¢ãšãœãããŠã§ã¢ã®è€åäœãå容ããŸãããã¹ãŠã®å éšOpenStackãªãã£ã¹ããã»ã¹ïŒã¹ã±ãžã¥ãŒã©ãŒãAPIãµãŒãã¹ãGlanceãKeystoneãRabbitMQãMySQLïŒããã·ã³ãã«é 眮ããããã®äžã§è²¬ä»»ãè² ããµãŒãã¹ã®ã¿ OpenStackïŒRabbitMQããã³MySQLïŒã®ç¶æ ãç¶æããããã ãã®åŸãAPIãµãŒãã¹ãšãããã®ã¹ã±ãžã¥ãŒã©ã€ã³ã¹ã¿ã³ã¹ã®å Žæã«ãããã³ã³ãã¥ãŒãã£ã³ã°ããŒãã¯å éšOpenStackãµãŒãã¹ããã»ã¹ã«åå ã§ããŸãã
Mirantisã¯ãå¹ åºã顧客åãã«ãµãŒãã¹ããããžãå±éããçµéšããããŸãã ããã§ã¯ããããã®ããããžã«ã€ããŠç°¡åã«èª¬æããå³ã§èª¬æããOpenStackããããã€ããããŸããŸãªæ¹æ³ã«ã€ããŠèª¬æããŸãã ïŒãµãŒãã¹ã®åé¢ã¯ããã«ç¶ç¶ã§ããŸããïŒ
ããŒããŠã§ã¢ããŒããã©ã³ãµãŒã䜿çšããããããž
ãã®å±éãªãã·ã§ã³ã§ã¯ãè² è·åæ£çšã«èšèšãããããŒããŠã§ã¢ãšãœãããŠã§ã¢ã®è€åäœããOpenStackãµãŒãã¹ãæ¥ç¶ããããã®ã¿ãŒããã«ããŒããšããŠäœ¿çšãããŸãã APIãµãŒããŒãã¹ã±ãžã¥ãŒã©ãŒãããã³nova-schedulerãµãŒãã¹ã®ã€ã³ã¹ã¿ã³ã¹ã¯èšç®ããŒãã«ãããã€ãããäžæ¹ãglance-registryããã³Horizoâânã€ã³ã¹ã¿ã³ã¹ã¯å¶åŸ¡ããŒãã«ãããã€ãããŸãã
Novaç¬èªã®ã³ã³ããŒãã³ãã¯ãã¹ãŠãã¹ããŒã¿ã¹æ å ±ãä¿åããªãWebãµãŒãã¹ã§ãã ããŒã«ã«è¿œå ã®ã€ã³ã¹ã¿ã³ã¹ãè¿œå ããããšã«ãããã¹ã±ãŒãªã³ã°ãå¯èœã§ãïŒè©³çŽ°ã«ã€ããŠã¯ãã¹ã±ãŒãªã³ã°APIã«é¢ããMirantisã®èšäºãåç §ããŠãã ããïŒã ãããã£ãŠããããã®ã³ã³ããŒãã³ããã³ã³ãã¥ãŒãã£ã³ã°ããŒãã®ãã¡ãŒã å šäœã«ç°¡åã«åæ£ã§ããŸãã ããŒã¿ããŒã¹ãšã¡ãã»ãŒãžãã¥ãŒãµãŒããŒã¯ãã¯ã©ã¹ã¿ãŒã䜿çšããŠäž¡æ¹ã®ã³ã³ãããŒã«ããŒãã«å±éã§ããŸãïŒãã®æ¹æ³ã«ã€ããŠã¯ã次ã®ããããã®èšäºã§è©³ãã説æããŸãïŒã ããã«è¯ãããšã«ãã³ã³ãããŒã«ããŒãã«ã¯ãå éšOpenStackãµãŒãã¹ã§ã¯ãªããã©ãããã©ãŒã ã³ã³ããŒãã³ããå«ãŸããŠããŸãïŒMySQLãšRabbitMQã¯æšæºã®LinuxããŒã¢ã³ã§ãïŒã ãã®ããã«ããŠãã¯ã©ãŠã管çè ã¯ãå€éšãšã³ãã£ãã£ã§ããããŒã¿ããŒã¹ããŒã ã®ç®¡çãå°çšã®RabbitMQã¯ã©ã¹ã¿ãŒã«å§ä»»ã§ããŸãã ãããã£ãŠãäžå€®å¶åŸ¡ããŒãã¯åé€ããããã®æ§æã§ã¯ãç·åœ¢ã«ã¹ã±ãŒãªã³ã°ã§ããã³ã³ãã¥ãŒãã£ã³ã°ããŒã/ APIããŒãã®ã»ãããæ®ããŸãã
å°çšã®ãšã³ãããŒããåããããããž
ãã®å±éæ§æã§ã¯ãããŒããŠã§ã¢ããŒããã©ã³ãµãŒãããµãŒãã¹ãã¡ãŒã å šäœã«ãã©ãã£ãã¯ãåæ£ãããšã³ãããŒãã«çœ®ãæããŸãã åã®ã¢ãŒããã¯ãã£ãšã®ãã1ã€ã®éèŠãªéãã¯ãã³ã³ãã¥ãŒãã£ã³ã°ããŒãã§ã¯ãªãã³ã³ãããŒã«ããŒãã«APIãµãŒãã¹ãé 眮ããããšã§ãã å®éãå¶åŸ¡ããŒãã¯ããã倪ãããªããã³ã³ãã¥ãŒãã£ã³ã°ããŒãã¯ãããèãããªããŸãããããã«ãäž¡æ¹ã®å¶åŸ¡ããŒãã¯ãåäœã¢ãŒãããã¹ã¿ã³ãã€ã¢ãŒãã«åãæ¿ããå¿ èŠããããŸãã å¶åŸ¡ããŒãã®é害ç¶æ ã¯ãPacemakerãCorosync / Heartbeatãªã©ã®ããŒã«ã䜿çšããŠå€æã§ããŸãã
å¶åŸ¡ããŒãã®åçŽãªåé·æ§ãåããããããž
ãã®å±éãªãã·ã§ã³ã§ã¯ããšã³ãããŒããã³ã³ãããŒã«ããŒããšçµåãããŸãã APIãµãŒãã¹ãšnova-schedulerãµãŒãã¹ã¯å¶åŸ¡ããŒãã«ã€ã³ã¹ããŒã«ãããããŒããè¿œå ããŠHAProxyãåæ§æããããšã«ãããå¶åŸ¡ããŒãã®ã¹ã±ãŒãªã³ã°ãå¯èœã§ãã ç¶ç¶æ§ã確ä¿ããããã«HAProxyã®2ã€ã®ã€ã³ã¹ã¿ã³ã¹ãå±éãããPacemakerãCorosync / Heartbeatãªã©ã®ããŒã«ã䜿çšããŠãé害ã®æ€åºãšç¹å®ã®HAProxyã®ã¹ã¿ã³ãã€ã¢ãŒãããåäœã¢ãŒããžã®åãæ¿ããè¡ãããšãã§ããŸãã
ãµãŒãã¹ãé åžããå€ãã®æ¹æ³
MirantisãããŸããŸãªã¯ã©ã€ã¢ã³ãã«å®è£ ããŠããç©çããŒãéã§ã®ãµãŒãã¹ã®åæ£ã説æããŸããã ãã ããã·ã¹ãã 管çè ã¯ãããŒãºã«å¿ããŠãããŸããŸãªæ¹æ³ã§ãµãŒãã¹ãçµåããã³çµåã§ããŸãã äžã®å³ã¯ãMirantisã®çµéšã«åºã¥ããŠãããŸããŸãªã¿ã€ãã®ããŒãã«OpenStackãµãŒãã¹ãåæ£ããããŸããŸãªæ¹æ³ã瀺ããŠããŸãã
ããŸããŸãªã¿ã€ãã®ããŒãã®ããŒããŠã§ã¢èŠä»¶
ãšã³ãããŒãã®äž»ãªè² è·ã¯ ããããã¯ãŒã¯ãµãã·ã¹ãã ã«ãã£ãŠæäŸãããŸãã ãã®ã¿ã€ãã®ããŒãã«ã¯ãé«ãCPUããã©ãŒãã³ã¹ãšé«ããããã¯ãŒã¯åž¯åå¹ ãå¿ èŠã§ãã ãŸããããŒãã®æäœã§ã¯ãå¯èœã§ããã°ããããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ãçµã¿åãããŠåé·æ§ã確ä¿ãããããã¯ãŒã¯åž¯åå¹ ãå¢ãããšäŸ¿å©ã§ãã
ã¯ã©ãŠãå¶åŸ¡ããŒãã¯ãåãããŸãã¯ãèããããšãã§ããŸãã æå°æ§æã«ã¯ãã·ã¹ãã ã®ç¶æ ããµããŒãããOpenStackã³ã³ããŒãã³ãïŒããŒã¿ããŒã¹ãšAMQPãµãŒããŒïŒãå«ãŸããŸãã åé·ã¯ã©ãŠãå¶åŸ¡ããŒãæ§æã«ã¯ãå°ãªããšã2ã€ã®ããŒããå¿ èŠã§ãã ãããã¯ãŒã¯ã®åé·æ§ã«ã¯ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ãã€ã³ãã£ã³ã°ã䜿çšããããã¯ã¢ããã¹ãã¬ãŒãžã«ã¯RAID1ãŸãã¯RAID10ã¢ã¬ã€ã䜿çšããããšããå§ãããŸãã å¶åŸ¡ããŒãã®æå°æ§æïŒ
-6ã³ã¢ããã»ããµ1ã€
-RAM 8 GB
-ãœãããŠã§ã¢ã¢ã¬ã€RAID1ã«1ãã©ãã€ãã®ããŒããã©ã€ã2å°
ã³ã³ãã¥ãŒãã£ã³ã°ããŒãã«ã¯ãæãå©çšå¯èœãªã¡ã¢ãªãšããã»ããµãã¯ãŒãå¿ èŠã§ãã ãã£ã¹ã¯ã·ã¹ãã ã®èŠä»¶ã¯ããã»ã©å³ãããããŸããããSSDã䜿çšãããšããã©ãŒãã³ã¹ãå€§å¹ ã«åäžããŸãïŒéåžžãããŒãã€ã³ã¹ã¿ã³ã¹ã®ãã¡ã€ã«ã·ã¹ãã ã¯ããŒã«ã«ãã£ã¹ã¯ã«ããããïŒã åé·æ§ã®ãªãæ§æã§ã¯ã1ã€ã®ãã£ã¹ã¯ã䜿çšã§ããŸããé害ãçºçããå Žåã¯ããã£ã¹ã¯ã亀æãããµãŒããŒãæ°ããã³ã³ãã¥ãŒãã£ã³ã°ããŒããšããŠã¯ã©ã¹ã¿ãŒã«æ»ããŸãã
å®éãã³ã³ãã¥ãŒãã£ã³ã°ããŒãã®ããŒããŠã§ã¢èŠä»¶ã¯ãä»®æ³ãªããžã§ã¯ãã®å¹³åãã©ã¡ãŒã¿ãŒãš1ã€ã®ç©çããŒãäžã®ãªããžã§ã¯ãã®æãŸããå¯åºŠãè©äŸ¡ãããŠãŒã¶ãŒã«äŸåããŸãã
ã¹ãã¬ãŒãžç®¡çããŒãã¯ããããã¯åœ¢åŒã®æ°žç¶çãªããŒã¿ã¹ãã¬ãŒãžãä»®æ³ãµãŒããŒã«æäŸããŸãã éåžžããããã¯ããŒã¿ã¹ãã¬ãŒãžã«ã¯éèŠãªããŒã¿ãå«ãŸããŠããããããã®å¯çšæ§ãšããŒã¿ã®æŽåæ§ã確ä¿ããããšãéåžžã«éèŠã§ãã ã¹ãã¬ãŒãžããŒãã«ã¯ãå°ãªããšã6ã€ã®ãã£ã¹ã¯ãå«ãŸããŠããå¿ èŠããããŸãã åé·ãã£ã¹ã¯ã¢ã¬ã€ïŒRAID1ïŒã«ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãã€ã³ã¹ããŒã«ããããšããå§ãããŸãã æ®ãã®4ã€ã®ãã£ã¹ã¯ã¯ãRAIDã³ã³ãããŒã«ããŒãã®æ§æã«å¿ããŠãRAID5ãŸãã¯RAID10ã¢ã¬ã€ã«çµã¿ç«ãŠãããŸãã
ãããã¯ã¹ãã¬ãŒãžã¯iSCSIäžã§å ±æãããŸããããã¯ããããã¯ãŒã¯ãµãã·ã¹ãã ã®è² è·ãé«ãããšãæå³ããŸãã iSCSIçµç±ã®ããŒã¿äº€æã«ã¯ãå°ãªããšã2ã€ã®æ¥ç¶ãããã€ã³ã¿ãŒãã§ã€ã¹ããå§ãããŸãããã®çš®é¡ã®ãã©ãã£ãã¯ïŒãžã£ã³ããã¬ãŒã ãªã©ïŒã®äº€æçšã«ç¹å¥ã«æ§æãããŠããå ŽåããããŸã
ãããã¯ãŒã¯ããããžãŒ
OpenStackãããã¯ãŒã¯ããããžã¯ãäžè¬çãªããŒã¿ã»ã³ã¿ãŒã«äŒŒãŠããŸãã ïŒä»ã®Mirantisã®èšäºã§ã¯ãOpenStackãããã¯ãŒã¯ã®æ§ç¯ã«é¢ãããã詳现ãªæŠèŠãæäŸããŠããŸãïŒFlatDHCPManagerãVlanManagerãïŒã€ã³ã¹ã¿ã³ã¹éã®å éšéä¿¡ã¯ãåºå®IPã¢ãã¬ã¹ïŒãã©ã€ããŒãããŒã¿ã»ã³ã¿ãŒãããã¯ãŒã¯ïŒãä»ããŠè¡ãããŸãã ãã®ãããã¯ãŒã¯ã¯ãnova-networkã³ã³ããŒãã³ãã«ãã£ãŠæäŸããããããã¯ãŒã¯ã¢ãã¬ã¹ãã©ã³ã¹ã¬ãŒã¿ãŒãšãã¡ã€ã¢ãŠã©ãŒã«ãä»ããŠãããªãã¯ãšãã¢ã«ãªããŸãã å€éšãšã®ããŒã¿äº€æã«ã¯ããããŒãã£ã³ã°IPã¢ãã¬ã¹ã䜿çšãããããªãã¯ãããã¯ãŒã¯ã䜿çšãããŸãïŒéæŠè£ ããŒã¿ã»ã³ã¿ãŒãŸãŒã³ïŒã ãµãŒããŒã管çããã«ã¯ãå¶åŸ¡ãããã¯ãŒã¯ã䜿çšããŸãïŒããŒã¿ã»ã³ã¿ãŒã®IPMI / BMãããã¯ãŒã¯ïŒã€ã³ããªãžã§ã³ããã©ãããã©ãŒã 管çã€ã³ã¿ãŒãã§ã€ã¹/ããŒã¹ããŒã管çã³ã³ãããŒã©ãŒïŒïŒã ãŸããå¿ èŠã«å¿ããŠãnova-volumeãµãŒãã¹ã«å¥ã®ã¹ãã¬ãŒãžãããã¯ãŒã¯ïŒããŒã¿ã»ã³ã¿ãŒã®ããŒã¿ã¹ãã¬ãŒãžãããã¯ãŒã¯ïŒã䜿çšã§ããŸãã 次ã®å³ã¯ãã¯ã©ãŠãããããžã瀺ããŠããŸãïŒãã ãããã®å ŽåãiSCSIãã©ãã£ãã¯ã¯ç®¡çãã©ãã£ãã¯ãšçµã¿åããããŠããŸãïŒã eth1ã®2ã€ã®ãããã¯ãŒã¯ã¯ã802.1qã«ãŒãã«ã¢ãžã¥ãŒã«ã䜿çšããeth1ã®äžã®ã¿ã°ä»ãã€ã³ã¿ãŒãã§ã€ã¹ã§ãã
ãããªãã¯ãããã¯ãŒã¯ã«ã¯æ¬¡ã®ç®çããããŸãã
-ãããŒãã£ã³ã°IPãå«ãã€ã³ã¹ã¿ã³ã¹ãäžçäžã«å ¬éããŸãã
-ã¯ã©ã€ã¢ã³ããOpenStackãµãŒãã¹APIãžã®æ¥ç¶ã«äœ¿çšãããšã³ãããŒãã®ä»®æ³IPã¢ãã¬ã¹ã衚瀺ããŸãã
ãããªãã¯ãããã¯ãŒã¯ã¯éåžžããã©ã€ããŒããããã¯ãŒã¯ããã³ç®¡çãããã¯ãŒã¯ããåé¢ãããŠããŸãã ãããªãã¯/äŒæ¥ãããã¯ãŒã¯ã¯ãã¯ã©ãŠãææè ã®ãããªãã¯ãããã¯ãŒã¯ã®ç¯å²ããã®1ã€ã®ã¯ã©ã¹Cãããã¯ãŒã¯ã§ãïŒãããªãã¯ã¯ã©ãŠãã«ã¯ã°ããŒãã«ã«ãŒãã£ã³ã°ã䜿çšãããŸãïŒã
ãã©ã€ããŒããããã¯ãŒã¯ã¯ããã¹ãŠã®ã³ã³ãã¥ãŒãã£ã³ã°ããŒãã«æ¥ç¶ããããããã¯ãŒã¯ã»ã°ã¡ã³ãã§ãã èšç®ããŒãäžã®ãã¹ãŠã®ããªããžã¯ãã®ãããã¯ãŒã¯ã«æ¥ç¶ãããŸãã èšç®ããŒãã®ã€ã³ã¹ã¿ã³ã¹ãåºå®IPã¢ãã¬ã¹ã§ãã©ãã£ãã¯ã亀æããã®ã¯ããã®ãããã¯ãŒã¯äžã§ãã VlanManagerã䜿çšããå Žåããã®ãããã¯ãŒã¯ã¯ãã¯ã©ãŠãã«ååšãããããžã§ã¯ãããšã«1ã€ãã€ãéé¢ãããä»®æ³ããŒã«ã«ãšãªã¢ãããã¯ãŒã¯ã«åå²ãããŸãã åVLANã«ã¯ããã®ãããžã§ã¯ãã«å²ãåœãŠãããIPã¢ãã¬ã¹ã®ãããã¯ãŒã¯ãå«ãŸãããã®ãããžã§ã¯ãã«å±ããä»®æ³ãã·ã³ãçµã¿åãããŸãã FlatDHCPã¹ããŒã ã䜿çšããå ŽåãããŸããŸãªãããžã§ã¯ãã®ä»®æ³ãã·ã³ã¯ãåäžã®ä»®æ³ããŒã«ã«ãšãªã¢ãããã¯ãŒã¯ãšåäžã®IPã¢ãã¬ã¹ã¹ããŒã¹ã䜿çšããŸãã
管çãããã¯ãŒã¯ã¯ãã¹ãŠã®ã¯ã©ã¹ã¿ãŒããŒããçµ±åããOpenStackã¯ã©ã¹ã¿ãŒã®ã³ã³ããŒãã³ãéã§å éšããŒã¿ã亀æããããã«äœ¿çšãããŸãã ã»ãã¥ãªãã£äžã®çç±ããããã®ãããã¯ãŒã¯ã¯ãã©ã€ããŒããããã¯ãŒã¯ããã³ãããªãã¯ãããã¯ãŒã¯ããåé¢ããå¿ èŠããããŸãã 管çãããã¯ãŒã¯ã¯ããã©ãã£ãã¯ãããã»ã©æ¿ãããªãå Žåãèšç®ããŒããšã¹ãã¬ãŒãžããŒãéã§iSCSIããŒã¿ã亀æããããã«ã䜿çšã§ããŸãã ããã¯ããã©ã€ããŒãç¯å²ã®IPã¢ãã¬ã¹ãšã¯å¥ã®ã¯ã©ã¹Cãããã¯ãŒã¯ã§ãïŒã°ããŒãã«ã«ãŒãã£ã³ã°ãªãïŒã
ã¯ãŒã¯ããŒãã«ãããã¯ã¹ãã¬ãŒãžããã€ã¹ã«ãã£ãŠåŠçããã倧éã®ããŒã¿ãå«ãŸããŠããªãå Žåã iSCSIãããã¯ãŒã¯ã¯å¿ èŠãããŸããã è² è·ã倧ããå Žåãå¶åŸ¡ãã©ãã£ãã¯ãšã®æ··åãé¿ããiSCSIãã©ãã£ãã¯ãæé©åããæ©äŒãæäŸããããã«ãå°çšæ¥ç¶ãä»ããŠiSCSIãä»ããŠããŒã¿ã亀æããããšããå§ãããŸããããšãã°ããžã£ã³ããã¬ãŒã ãã€ã³ã¿ãŒãã§ã€ã¹ã®ãã¥ãŒé·ã®ååžãªã©ã§ãã
OpenstackãšOfficeããã»ã¹ ãããã¯ãŒã¯
Uninterruptible ModeïŒHAïŒã§ã¯ããã¹ãŠã®äžå€®OpenStackã³ã³ããŒãã³ããããŒããã©ã³ãµãŒã®èåŸã«é 眮ããå¿ èŠããããŸãã ããã«ã¯å°çšã®ããŒããŠã§ã¢ãŸãã¯ãšã³ãããŒãã䜿çšã§ããŸãã ãšã³ãããŒãã¯ãäžæã®ãªãè² è·åæ£ãœãããŠã§ã¢ãå®è¡ããŸãã OpenStack Utility Farmã¯åäžã®IPã¢ãã¬ã¹ã«ãããŸãã 次ã®è¡šã¯ãããŒããã©ã³ãµãŒã䜿çšããããŸããŸãªãããã¯ãŒã¯ã§ã®ãµãŒãã¹ã®å Žæã瀺ããŠããŸãã
OpenStackã³ã³ããŒãã³ã | ãã¹ãã®å Žæ | ãããã¯ãŒã¯ã®å Žæ | 泚é |
nova-apiãglance-apiã
äžç®ã¬ãžã¹ããªã keystone-apiã å°å¹³ç· | ãããŒãžã£ãŒ/
èšç®ç | ãããªãã¯ãããã¯ãŒã¯ | ãŠãŒã¶ãŒïŒAPIãšã³ããã€ã³ãïŒã¯ãããã®ãµãŒãã¹ã«çŽæ¥ã¢ã¯ã»ã¹ããããããããããããªãã¯ãããã¯ãŒã¯ã«é 眮ããã®ãè«ççã§ã |
ããŽã¡ã¹ã±ãžã¥ãŒã©ãŒ | ãããŒãžã£ãŒ/
èšç®ç | 管çãããã¯ãŒã¯ | |
nova-compute | èšç®ç | 管çãããã¯ãŒã¯ | |
nova-network | ãããŒãžã£ãŒ/
èšç®ç | 管çãããã¯ãŒã¯ | |
MySQL | ãããŒãžã£ãŒ | 管çãããã¯ãŒã¯ | è€è£œ/äžæãªãïŒHAïŒãã©ãã£ãã¯ãå«ã |
ããã | ãããŒãžã£ãŒ | 管çãããã¯ãŒã¯ | rabbitMQã¯ã©ã¹ã¿ãŒãã©ãã£ãã¯ãå«ã |
nova-volume | ã¹ãã¬ãŒãžããŒã | 管çãããã¯ãŒã¯ | |
iSCSI | ã¹ãã¬ãŒãžããŒã | 管çãããã¯ãŒã¯ïŒå°çšLANïŒãŸãã¯å°çšãããã¯ãŒã¯
iSCSI | ãããã¯ã¹ãã¬ãŒãžãã©ãã£ãã¯ã倧éã«ããå Žåã¯ãå°çšãããã¯ãŒã¯ã䜿çšããå¿ èŠããããŸãã |
çµè«
OpenStackãããã€ã¡ã³ãã¯ããŸããŸãªæ¹æ³ã§ç·šæã§ããŸããããã«ãããã¹ã±ãŒã©ããªãã£ãšå¯çšæ§ãæäŸãããŸãã ãã®äºå®ã¯ããªã³ã©ã€ã³ã®ããã¥ã¡ã³ãããã¯æããã§ã¯ãããŸããïŒå°ãªããšãç§ã«ã¯æããã§ã¯ãããŸããã§ããïŒãã·ã¹ãã 管çè ãäžå€®å¶åŸ¡ããŒããå¿ èŠã§ãããšç¢ºä¿¡ããããã€ãã®ã±ãŒã¹ã芳å¯ããŸããã
ããã¯ããã§ã¯ãããŸããã å®éãããŒã¿ããŒã¹ã®ããäžå€®å¶åŸ¡ããŒããšãã©ãããã©ãŒã å€ã®ã¡ãã»ãŒãžã³ã°ãµãŒããŒãªãã§ã®ã€ã³ã¹ããŒã«ãå¯èœã§ãã
åæ£ã¢ãŒããã¯ãã£ã®å Žåã¯ããµãŒãã¹ã®è€æ°ã®ã€ã³ã¹ã¿ã³ã¹ã«ãã©ãã£ãã¯ãæ éã«åæ£ããã¹ããŒããã«ãªåºå®ïŒMySQLãRabbitMQãªã©ïŒã䜿çšããŠãªãœãŒã¹ã®è€è£œã確ä¿ããå¿ èŠããããŸãã OpenStackããŒã ã¯ããã¥ã¡ã³ãã§ããã«ã€ããŠãŸã èšåããŠããªããããMirantisã¯ãã©ãããã©ãŒã ã¹ã±ãŒãªã³ã°ãšAPIãµãŒãã¹ã«é¢ããä»åŸã®äžé£ã®èšäºã§ãã®ã®ã£ãããåããããšããŸãã
å ã®èšäºïŒè±èªïŒïŒ www.mirantis.com/blog/117072