Apache CloudStackã¯ãä»®æ³ãã·ã³ã©ã³ã¿ã€ã ã管çããããã®ãŠãããŒãµã«ãã©ãããã©ãŒã ã§ãïŒãVPSã¯ã©ãŠãã³ã³ãããŒã«ããã«ããšãåŒã°ããŸãïŒã Apache CloudStackïŒä»¥éãACSïŒã䜿çšãããšã管çè
ã¯å¿
èŠãªãµãŒãã¹ã䜿çšããŠã¯ã©ãŠããçæéã§å±éããå±éåŸã«ã©ã€ããµã€ã¯ã«å
šäœã§ã¯ã©ãŠããå¹æçã«ç®¡çã§ããŸãã ãã®èšäºã¯ãå®éã«äœ¿çšã§ããã¯ã©ãŠãèšèšã«é¢ããæšå¥šäºé
ãæäŸããŸããããã¯ã管çãæ倧é容æã§ãåé¡ã®ãããã°ãšæ€åºã«ç¹å¥ãªç¥èãå¿
èŠãšããªããäžå°èŠæš¡ã®ãããªãã¯ã¯ã©ãŠãç°å¢ã®æ§ç¯ãèšç»ããŠããã»ãšãã©ã®ãããªãã¯ã¯ã©ãŠããããã€ããŒã«é©ããŠããŸã ãã®èšäºã¯ãApache CloudStackãã»ããã¢ããããããã®æ®µéçãªã¬ã€ãã§ã¯ãããŸããã
ãã®èšäºã¯ãæ°ããã¯ã©ãŠããå±éãããšãã«åœ¹ç«ã€äžé£ã®æšå¥šäºé ãšèæ ®äºé ã®åœ¢åŒã§èª¬æãããŠããŸãã ãã®ãã¬ãŒã³ããŒã·ã§ã³ã¹ã¿ã€ã«ã¯ãèè ããã®ããããžã«æ°ããã¯ã©ãŠããããã«å±éããããšãèšç»ããŠãããšããäºå®ã«è§ŠçºãããŠããŸãã
ãã®èšäºã§èª¬æããèšèšã®ã¯ã©ãŠãã¯ãåçšVPSã¬ã³ã¿ã«ãµãŒãã¹ã®æäŸã«äœ¿çšãããŠããŸãã ã¯ã©ãŠãå ã«ã¯ããœãããŠã§ã¢RAID6ã176 Xeon E5-2670ã³ã¢ã768 GB RAMã256ã®ãããªãã¯ã¢ãã¬ã¹ã®ãããã¯ãŒã¯ã§æ§æãããSamsung Pro 850 1TB SSDã®ã¿ã§æ§æããã16 TBã¹ãã¬ãŒãžãå±éãããŸãã
以äžã§ã¯ãã¯ã©ãŠãã®çµç¹ã«é¢ããææ¡ãšã³ã¡ã³ãã«ã€ããŠèª¬æããŸããã¯ã©ãŠãã®çµç¹ã®ç®çã¯ãVPSã¬ã³ã¿ã«ãµãŒãã¹ã«99.7ïŒ ã®æéå¯çšæ§ã€ã³ããã¯ã¹ïŒSLAïŒãåããè²»çšå¯Ÿå¹æã®é«ããµãŒãã¹ãæäŸããããšã§ãã ãã®å Žåãç®æšãã¯ã©ãŠãã«é«å¯çšæ§ã€ã³ãžã±ãŒã¿ãŒãæäŸããããšã§ããå ŽåãApache CloudStackã䜿çšããŠå®è£ ããããšãã§ããããŸããŸãªãã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãŒèŠçŽ ãå«ãä»ã®ã¯ã©ãŠãçµç¹ã¢ãã«ãé©çšããå¿ èŠããããŸããããã®èšäºã¯èæ ®ãããŠããŸããã
ã¯ããã«
å®çšçããã³çµæžçãªèŠ³ç¹ãããåçšã¯ã©ãŠãã®é·æçãªæåã¯ãéžæãããèšèšãšæ éãªæ©åšèšç»ãããã³ã¯ã©ãŠããªãœãŒã¹ã®é©åã«åœ¢æãããæ¯çãšå¶éã«äŸåããŸãã èšèšæ®µéã§ãã¯ã©ãŠãã€ã³ãã©ã¹ãã©ã¯ãã£ãšã¯äœããACSããã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã«å±éããæ¹æ³ã決å®ããå¿ èŠããããŸãã ACSã§ã¯ãä»æ§ã«å¿ããŠãããŸããŸãªããããã£ãæã€ã¯ã©ãŠããäœæã§ããŸãã ãã®èšäºã§ã¯ã次ã®ããããã£ãæã€ã¯ã©ãŠãã®äœæã«ã€ããŠèª¬æããŸãã
- ãã¹ãŠã®ä»®æ³ãã·ã³ã¯åäžã®å ±æã¢ãã¬ã¹ç©ºéã«ãããŸãïŒããšãã°ã/ 24ãããã¯ãŒã¯å ïŒã
- ä»®æ³ãã·ã³éã®ãã©ãã£ãã¯ã¯åäžã®VLANå ã«åæ£ãããŸãã
- å²ãåœãŠãããã¢ãã¬ã¹ã¯ãä»®æ³ãã·ã³ã«çŽæ¥å²ãåœãŠãããŸãïŒéçNATã¯äœ¿çšãããŸããïŒã
ACSå ã§ã¯ãä»®æ³ãã·ã³ã®ãã©ãã£ãã¯ã®éä¿¡å ãšå®å ãå¶éããå¿ èŠããªãéãããããã®ããããã£ã¯ã»ãã¥ãªãã£ã°ã«ãŒãã®æç¡ã«ãããããåºæ¬ãŸãŒã³ã«ãã£ãŠæºããããŸãã
ããã«ãã¯ã©ãŠãå ã§ã¯ãNFSãªããžããªã䜿çšããŠå®çŸããããè€éãªç¥èãå¿ èŠãšããªãã·ã³ãã«ã§å®çžŸã®ãããªããžããªã³ã³ããŒãã³ãã䜿çšãããŸãã
ãããã¯ãŒã¯
æåã®æ®µéã§ã¯ãã¯ã©ãŠããããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ã®åœ¢åŒãšã³ã³ããŒãã³ãã決å®ããå¿ èŠããããŸãã ãã®ã¯ã©ãŠãã®ãã¬ãŒã ã¯ãŒã¯å ã§ã¯ããããã¯ãŒã¯ããããžã®ãã©ãŒã«ããã¬ã©ã³ã¹ã¯èšå®ãããŠããŸããã ãã©ãŒã«ããã¬ã©ã³ããããã¯ãŒã¯ããããžã䜿çšããŠãã®ã¯ã©ãŠãã¢ãã«ãå®è£ ããã«ã¯ãLACPãxSTPãMRPãMLAGãã¹ã¿ããã³ã°ãã¯ãããžãŒããã³ãã£ã³ã°ã«åºã¥ããœãããŠã§ã¢ãœãªã¥ãŒã·ã§ã³ãªã©ãä¿¡é Œæ§ã®é«ããããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ãå®è£ ããæšæºçãªã¢ãããŒãã䜿çšããå¿ èŠããããŸãã éžæãããããã¯ãŒã¯æ©åšãããã€ããŒã«å¿ããŠãããããã®ã¢ãããŒããæšå¥šãããå ŽåããããŸãã
ã€ã³ãã©ã¹ãã©ã¯ãã£ãå±éããã«ã¯ã3ã€ã®åé¢ãããã€ãŒãµããããããã¯ãŒã¯ãš3ã€ã®ã¹ã€ããã䜿çšãããŸãã
- IPMIãããã¯ãŒã¯ãããŒãã®é害ããã®ä»ã®ç·æ¥äºæ ã«é¢é£ããã€ã³ã·ãã³ãïŒ100 Mbit / sã€ãŒãµãããããŒãïŒã解決ããããã«å¿ èŠãªç©çæ©åšã®ç®¡çã«äœ¿çšãããŸãã éåžžãã»ãã¥ãªãã£ã匷åããã«ã¯å€éšããå¶åŸ¡èŠçŽ ãžã®ã¢ã¯ã»ã¹ãå¶éããå¿ èŠãããããããã®ãããã¯ãŒã¯ã¯ã°ã¬ãŒã¢ãã¬ã¹ïŒ10.0.0.0/8ãªã©ïŒã䜿çšããŠæ§æãããŸãã
- ãããªãã¯ãã©ãã£ãã¯çšã®ãããã¯ãŒã¯ãVM-VMãããVM-consumerãã ä»®æ³ãã·ã³ã«é«åž¯åå¹ ãå¿ èŠãªå Žåã«åããŠã1ã®ã¬ããã/ç§ã®ã€ãŒãµãããããŒããŸãã¯10ã®ã¬ããã/ç§ã®ã€ãŒãµãããããŒããåããã¹ã€ããã éåžžãäžè¬çãªãµãŒãã¹ã«ã¯1ã®ã¬ããã/ç§ã®ããŒãã§ååã§ãã ãã®ãããã¯ãŒã¯ã¯ããããªãã¯ã¢ãã¬ã¹ãŸãã¯ã°ã¬ãŒã¢ãã¬ã¹ã䜿çšããŠæ§æãããŸãïŒå€éšã»ãã¥ãªãã£ã²ãŒããŠã§ã€ãšNATãåããå éšã¯ã©ãŠããèšç»ããŠããå ŽåïŒã
- NFSãªããžããªã«ã¢ã¯ã»ã¹ããããã®ããŒã¿ãããã¯ãŒã¯ãä»®æ³ãã·ã³ãã¹ããã¹ãããã·ã§ããããã³ãã¬ãŒããããã³ISOãžã®ä»®æ³åãã¹ãã¢ã¯ã»ã¹ãæäŸããŸãã 10 Gbit / sã€ãŒãµãããããŒããŸãã¯ããé«éã®ä»£æ¿æè¡ïŒInfinibandãªã©ïŒã䜿çšããŠãã®ãããã¯ãŒã¯ãå®è£
ããããšããå§ãããŸãã ãããã¯ãŒã¯ã¯ã°ã¬ãŒã®ã¢ãã¬ã¹ã䜿çšããŠæ§æããã
äŸïŒ176.16.0.0/12ã
ä»®æ³ãã·ã³ã®ããªã¥ãŒã ããŒã¿ã«ã¢ã¯ã»ã¹ããããã®ãããã¯ãŒã¯ã¯é«æ§èœã§ããå¿ èŠããããããã©ãŒãã³ã¹ã¯åž¯åå¹ ã ãã§ãªãããšã³ãããŒãšã³ãã®ããŒã¿è»¢éé 延ïŒä»®æ³åãµãŒããŒããNFSãµãŒããŒãžïŒã«ãã£ãŠã決å®ãããå¿ èŠãããããšã«æ³šæããŠãã ããã æé©ãªçµæãåŸãã«ã¯ã次ã®ãœãªã¥ãŒã·ã§ã³ããå§ãããŸãã
- é 延ãæãå°ãªããããã«ããã¹ã«ãŒã¢ãŒãã§ãã©ãã£ãã¯ãåŠçããããŒã¿ã»ã³ã¿ãŒã®ã¹ã€ãããåVMã€ã³ã¹ã¿ã³ã¹ãããå€ãã®IOPSãåä¿¡ã§ããããšãæå³ããŸãã
- ããé«éã®ããŒã¿è»¢éãããã³ã«ã䜿çšããã¹ã€ãããããšãã°ãInfiniband 40 Gbit / sã56 Gbit / sãããã¯ãè¶ é«åž¯åå¹ ã ãã§ãªããæšæºã®ã€ãŒãµãããæ©åšã䜿çšããå Žåã«å®éã«ã¯éæã§ããªãéåžžã«äœãã¬ã€ãã³ã·ãæäŸããŸãã ãã®å ŽåãIPoIBãããã³ã«ã䜿çšããŠãInfinibandãããã¯ãŒã¯çµç±ã§IPçµç±ã§NFSã¹ãã¬ãŒãžãžã®ã¢ã¯ã»ã¹ãæäŸããå¿ èŠããããŸãã
- ãã¹ãŠã®ããã€ã¹ã§ãžã£ã³ããã¬ãŒã ã®ãµããŒããã»ããã¢ããããŸãã
IPMIãããã¯ãŒã¯ã«ã¯ç¹å¥ãªèŠä»¶ã¯ãªãïŒ1ïŒãæãè²»çšå¯Ÿå¹æã®é«ãæ©åšã«å®è£ ã§ããŸãã
ACSã¯iptablesããã³ebtablesã«ãŒã«ã䜿çšããŠãã€ããŒãã€ã¶ãŒã®ãã¹ãã¬ãã«ã§è¿œå ã®ã»ãã¥ãªãã£ãå®è£ ãããããéžæãããã¯ã©ãŠãã¢ãã«ã®ãã¬ãŒã ã¯ãŒã¯å ã®ããŒã¿äŒéãããã¯ãŒã¯ïŒ2ïŒã¯éåžžã«åçŽã§ããç©çãããŒããã³ããµãã¹ã¯ã©ã€ããŒãŸãã¯ããŒããŠã§ã¢ãµãŒããŒã䜿çšããå Žåã®ããŒãä¿è·ã ã¹ãã¢ã¢ã³ããã©ã¯ãŒãããŒã¿è»¢éãæäŸãã倧ããªããŒããããã¡ãåããã¹ã€ããã䜿çšããããšããå§ãããŸããããã«ãããããŸããŸãªãããã¯ãŒã¯ãã©ãã£ãã¯ã®é«å質ãªäŒéãå¯èœã«ãªããŸãã ç¹å®ã®ã¯ã©ã¹ã®ãã©ãã£ãã¯ïŒVoIPãªã©ïŒã«é«ãåªå 床ãæäŸããå Žåã¯ãQoSãæ§æããå¿ èŠããããŸãã
ãã®å±éã¢ãã«å ã®ã¯ã©ãŠãã®ç©çæ©åšã¯ãããšãã°å€éšãªãœãŒã¹ïŒæŽæ°çšã®ãœãããŠã§ã¢ãªããžããªïŒã«ã¢ã¯ã»ã¹ããããã«ããªãã£ã¹ãã©ãã£ãã¯ã®ãããã¯ãŒã¯ãšããŠã¹ãã¬ãŒãžãããã¯ãŒã¯ã䜿çšããŸãã ãããã®æ©èœãæäŸããã«ã¯ãNATæ©èœïŒNAT GWïŒãåããã«ãŒã¿ãŒãå¿ èŠã§ããããã«ãããå¿ èŠãªã¬ãã«ã®ã»ãã¥ãªãã£ãæäŸããã¯ã©ãŠãã®ç©çããã€ã¹ãé 眮ãããŠããç©çãããã¯ãŒã¯ãå€éšã¢ã¯ã»ã¹ããåé¢ã§ããŸãã ããã«ãã»ãã¥ãªãã£ã²ãŒããŠã§ã€ã¯ãããŒãå€æã¡ã«ããºã ãä»ããŠACS APIããã³ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ãžã®ã¢ã¯ã»ã¹ãæäŸããããã«äœ¿çšãããŸãã
ã¹ã€ããã³ã°ããã³ã«ãŒãã£ã³ã°æ©åšã¯å¶åŸ¡å¯èœã§ããªã¢ãŒãé»æºç®¡çããã€ã¹ã«æ¥ç¶ãããŠããå¿ èŠããããŸããããã«ãããæè¡ãµã€ãã«è¡ããã«æãå°é£ãªã±ãŒã¹ã解決ã§ããŸãïŒããšãã°ãã¹ã€ãããšã®æ¥ç¶ã倱ãããæ§æãšã©ãŒïŒã
ã¯ã©ãŠããããã¯ãŒã¯ããããžã次ã®å³ã«ç€ºããŸãã
ä¿ç®¡æœèš
ã¹ãã¬ãŒãžã¯ã¯ã©ãŠãã®éèŠãªã³ã³ããŒãã³ãã§ãããã®å±éã¢ãã«ã§ã¯ãã¹ãã¬ãŒãžã¯ãã©ãŒã«ããã¬ã©ã³ãã§ã¯ãªãããã䜿çšäºå®ã®ãµãŒããŒæ©åšã®éžæãšãã¹ãã«è¿œå ã®èŠä»¶ã課ãããŸããçµã¿èŸŒã¿ã®ãã©ãŒã«ããã¬ã©ã³ã¹ãåããæ¢è£œã®ãœãªã¥ãŒã·ã§ã³ãæäŸããæåãªã¡ãŒã«ãŒãçºè¡ããæ©åšãåªå ãããã¯ãã§ããNetAppã®å°éãœãªã¥ãŒã·ã§ã³ïŒããŸãã¯å®çžŸã®ããä¿¡é Œã§ãããµãŒããŒæ©åšã®æäŸïŒ HPãDellãIBMãFujitsuãCiscoãSupermicroïŒã ã¯ã©ãŠãã¯ãNFSv3ïŒv4ïŒãããã³ã«ããµããŒãããã¹ãã¬ãŒãžã䜿çšããŸãã
Apache CloudStackã¯2çš®é¡ã®ã¹ãã¬ãŒãžã䜿çšããŸãã
- ãã©ã€ããªã¹ãã¬ãŒãžãä»®æ³ãã·ã³ããªã¥ãŒã ã®ä¿åã«å¿ èŠã§ãã
- ã»ã«ã³ããªã¹ãã¬ãŒãžïŒã»ã«ã³ããªã¹ãã¬ãŒãžïŒãä»®æ³ãã·ã³ã®ã€ã¡ãŒãžãã€ã¡ãŒãžããã³ãã¬ãŒããæ ŒçŽããããã«èšèšãããŠããŸãã
ãããã®ã³ã³ããŒãã³ãã®èšç»ãæ éã«å®è¡ããå¿ èŠããããŸããã¯ã©ãŠãã®ããã©ãŒãã³ã¹ã¯ãããã©ãŒãã³ã¹ãšä¿¡é Œæ§ã«å€§ããäŸåããŸãã
ããã«ãã¹ãã¬ãŒãžã®ã°ããŒãã«ããã¯ã¢ãããå®è¡ããã«ã¯ã次ã®ç®çã«äœ¿çšã§ããå¥ã®ãµãŒããŒããå§ãããŸãã
- çœå®³åŸ©æ§
- 人çèŠå ã«é¢é£ããããŒã«ã«ãŠãŒã¶ãŒã®äºæ
ã®é²æ¢ã
ãã®ã³ã³ããŒãã³ãã¯ACSã¯ã©ãŠãã«é¢ããŠå éšã§ã¯ãªãããããã®èšäºã§ã¯ãã以äžæ€èšããŸããã
ãã©ã€ããªNFSã¹ãã¬ãŒãžã䜿çšããŠã¯ã©ãŠããå±éããå©ç¹ãšæ¬ ç¹
NFSã¯ãäœå幎ã«ãããã£ãŠäœ¿çšãããŠãããåºã䜿çšãããŠãããã¡ã€ã«ã·ã¹ãã ã¢ã¯ã»ã¹ãããã³ã«ã§ãã ãããªãã¯ã¯ã©ãŠããµãŒãã¹ãå®è£ ããéã®NFSã¹ãã¬ãŒãžã®å©ç¹ã«ã¯ã次ã®ç¹æ§ãå«ãŸããŸãã
- 1å°ã®ãµãŒããŒã«å€æ°ã®ãã£ã¹ã¯ããã€ã¹ãçµ±åããããšã«ãããé«ãã¹ãã¬ãŒãžããã©ãŒãã³ã¹ãå®çŸã
- QCOW2ããªã¥ãŒã 圢åŒã䜿çšããå Žåãã·ã³ã¢ãã±ãŒã·ã§ã³ã®äœ¿çšã«ãããå®éã®ããªã¥ãŒã ãè¶ ãããã£ã¹ã¯ã¹ããŒã¹ã販売ããå¯èœæ§ããããããã¹ãã¬ãŒãžã¹ããŒã¹ãå¹ççã«äœ¿çšããŸãã
- ã¹ãã¬ãŒãžã¹ããŒã¹å šäœãåäžã®ããŒã«ãšããŠæ©èœãããããšã«ãããä»®æ³åãã¹ãéã§ã®ãã£ã¹ã¯ã¹ããŒã¹ã®åé ã容æã«ãªããŸãã
- åãã¹ãã¬ãŒãžãå ±æãããã¹ãéã§ã®ä»®æ³ãã·ã³ã®ã©ã€ããã€ã°ã¬ãŒã·ã§ã³ã®ãµããŒãã
- 管çã®å®¹æãã
æ¬ ç¹ã«ã¯ã次ã®ããããã£ãå«ãŸããŸãã
- ã¹ãã¬ãŒãžãå ±æãããã¹ãŠã®ä»®æ³ãã·ã³ã®åäžé害ç¹
- èšèšæ®µéã§ã®ããã©ãŒãã³ã¹ã®æ³šææ·±ãèšç»ãå¿ èŠã§ãã
- ã¹ãã¬ãŒãžã®åæ¢ãå¿ èŠãšããäžéšã®ã«ãŒãã³æé ã«ããããã®ã¹ãã¬ãŒãžã䜿çšãããã¹ãŠã®ãã·ã³ãåæ¢ããŸãã
- 空ãã¹ãã¬ãŒãžé åãå¢ããããã®ã«ãŒãã³æé ã®éçºãå¿ èŠã§ãïŒæ°ãããã£ã¹ã¯ã®è¿œå ãRAIDã¢ã»ã³ããªãè«çããªã¥ãŒã éã®ããŒã¿ç§»è¡ïŒã
äžæ¬¡ã¹ãã¬ãŒãž
ãã©ã€ããªã¹ãã¬ãŒãžã¯ã次ã®éèŠãªéçšç¹æ§ãæäŸããå¿ èŠããããŸãã
- ã©ã³ãã ã¢ã¯ã»ã¹ïŒIOPSïŒã®é«ãããã©ãŒãã³ã¹ã
- é«åž¯åå¹ ïŒMB / sïŒ;
- ããŒã¿ã¹ãã¬ãŒãžã®é«ãä¿¡é Œæ§ã
éåžžãç¹æ®ãªãœãªã¥ãŒã·ã§ã³ã䜿çšãããããã€ããªããïŒSSD + HDDïŒãŸãã¯å®å šãªSSDã¹ãã¬ãŒãžã䜿çšããŠããããã®3ã€ã®ããããã£ãåæã«å®çŸã§ããŸãã ã¹ãã¬ãŒãžããœãããŠã§ã¢å®è£ ã䜿çšããŠèšèšãããŠããå Žåã¯ãããŒããŠã§ã¢ãŸãã¯ãœãããŠã§ã¢RAIDã¬ãã«5ãŸãã¯6ãåããSSDãã©ã€ãã®ã¿ã§æ§æãããã¹ãã¬ãŒãžã䜿çšããããšããå§ãããŸãã ãŸããZFSã®ãµããŒããå«ãFreeNASãNexentaStorãªã©ã®æ¢è£œã®ãœãªã¥ãŒã·ã§ã³ãæ€èšããããšãã§ããŸããããã«ã¯ãããã¯ã¢ããã®å®è£ æã«è¿œå ã®ããŒãã¹ãæäŸããéè€æé€ãšãªã³ã¶ãã©ã€ã§ã®ããŒã¿å§çž®ã«ãããã£ã¹ã¯é åãç¯çŽããçµã¿èŸŒã¿ã¡ã«ããºã ãå«ãŸããŸãã
GNU / Linuxã䜿çšããŠå®è£ ãããã¹ãã¬ãŒãžã䜿çšããäºå®ãããå Žåã¯ã次ã®ã¬ã€ã€ãŒãå«ãã¹ãã¬ãŒãžã¹ã¿ãã¯ããå§ãããŸãã
- ãœãããŠã§ã¢ïŒMdadmïŒãŸãã¯ããŒããŠã§ã¢RAIDïŒLSIãAdaptecïŒã
- LVM2ïŒã¹ãã¬ãŒãžã¹ã±ãŒãªã³ã°ãµããŒãïŒãåŸé課éå¶ã®ååãå®è£ ã§ããŸãã
- EXT4ã
èè ã®çµéšã«ãããšãããã¯ã¢ããã«LVM2ã¹ãããã·ã§ããã䜿çšããäºå®ãããå ŽåãBcacheãZFS On Linuxãããã³FlashCacheã䜿çšããããšã¯éåžžã«æšå¥šãããŸããã é·ãç®ã§èŠãã°ããã®èšäºã®èè ã¯ãã¹ãã¬ãŒãžãšã©ãŒã«ã€ãªããã«ãŒãã«ãšã©ãŒã芳å¯ããã¯ã©ãŠãã®åèµ·åãå¿ èŠãšãããŠãŒã¶ãŒããŒã¿ã®æ倱ã«ã€ãªããå¯èœæ§ããããŸããã
ãŸããKVMãã€ããŒãã€ã¶ãŒã«ã¯ãã®ãã¡ã€ã«ã·ã¹ãã ã«é¢ããæ¢ç¥ã®ããã©ãŒãã³ã¹ã®åé¡ããããããBTRFSã®äœ¿çšã¯æšå¥šãããŸããã
èè ã¯ãã¯ã©ãŠãã«ãã©ã€ããªã¹ãã¬ãŒãžãå®è£ ããããã«æ¬¡ã®ãœãªã¥ãŒã·ã§ã³ã䜿çšããŸãã
- ããŒããŠã§ã¢ïŒ
- LSIã®HSIãåããSupermicroãµãŒããŒ
- ãããã¯ãŒã¯ã«ãŒãIntel x520-DA2
- Samsung Pro 850 1TBãã©ã€ã
- Debian GNU / Linux 8
- ãœãããŠã§ã¢RAID5ãRAID6
- LVM2
- ãã¡ã€ã«ã·ã¹ãã EXT4ã
ãã®ãœãªã¥ãŒã·ã§ã³ïŒMdadm / LVM2 / Ext4ïŒã¯ãæ¢ç¥ã®å®å®æ§ã®åé¡ããªããããã¯ã¢ããã®å®è¡ã«äœ¿çšãããLVM2ã¹ãããã·ã§ããã䜿çšããå Žåã®å®å®ããåäœãä¿èšŒããŸãã ãã³ãã£ã³ã°ã€ã³ã¿ãŒãã§ãŒã¹ïŒLACPãŸãã¯ãã¹ã¿ãŒ/ã¹ã¬ãŒãïŒã§çµåããã2æ¬ã®ç·ãä»ããŠããŒã¿ã¢ã¯ã»ã¹ãããã¯ãŒã¯ã®ã¹ã€ããã«ã¹ãã¬ãŒãžãæ¥ç¶ããããšã匷ããå§ãããŸããããŸããŸãªããã€ã¹ãžã®æ¥ç¶ïŒã
ãã©ã€ããªã¹ãã¬ãŒãžãå±éããå Žåãæå€§è² è·ã§ããã©ãŒãã³ã¹ããã¹ãããå¿ èŠããããŸã-åæã«4çš®é¡ã®è² è·ïŒ
- VMããã®èšç»ããŒã¯è² è·ã
- ããŒã¿ã®ããã¯ã¢ããã
- ããã¯ã¢ãããããŠãŒã¶ãŒVMã®å€§å®¹éã埩å ããŸãã
- RAIDã¯åŸ©æ§ç¶æ ã§ãã
CPUãšã¡ã¢ãª
ããã»ããµãšäœ¿çšå¯èœãªãµãŒããŒã¡ã¢ãªãããã©ã€ããªã¹ãã¬ãŒãžã®ããã©ãŒãã³ã¹ã®åäžã«å€§ããªåœ±é¿ãåãŒããŸãã NFSãµãŒããŒã¯ãIOPSãšåž¯åå¹ ã®äž¡æ¹ã®ç¹ã§ãé«è² è·æã«CPUã³ã¢ãç©æ¥µçã«å©çšã§ããŸãã åããµãŒããŒå ã§è€æ°ã®ãœãããŠã§ã¢RAIDã䜿çšããå ŽåãmdadmãµãŒãã¹ã¯CPUã«å€§ããªè² è·ããããŸãïŒç¹ã«RAID5ãRAID6ã䜿çšããå ŽåïŒã Xeon E3ãŸãã¯Xeon E5 CPUãæèŒãããµãŒããŒã䜿çšããããšããå§ãããŸã;æé«ã®ããã©ãŒãã³ã¹ãåŸãã«ã¯ã2ã€ã®Xeon E5 CPUãæèŒãããµãŒããŒãæ€èšããŠãã ããã NFSãmdadmããã«ãã¹ã¬ãããå¹æçã«äœ¿çšã§ããªããããã¯ããã¯é床ã®éãã¢ãã«ãåªå ããå¿ èŠããããŸãã ããã«ãGzipå§çž®ã䜿çšããŠã°ããŒãã«ããã¯ã¢ããããªã¥ãŒã ãå®è¡ããå Žåãäžéšã®ã³ã¢ããããã®æäœã®å®è¡ã§ããžãŒã«ãªãããšã«æ³šæããŠãã ããã RAMã«ã€ããŠã¯ããµãŒããŒã§äœ¿çšã§ããRAMãå€ãã»ã©ããããã¡ãã£ãã·ã¥ã«äœ¿çšãããRAMãå€ããªãããã£ã¹ã¯ããã€ã¹ã«éä¿¡ãããèªã¿åãæäœãå°ãªããªããŸãã NFSãµãŒããŒãšZFSã䜿çšããå ŽåãCPUãšRAMã¯ãããŒã¿å§çž®ãšéè€æé€ã®ãªã³ã¶ãã©ã€ã§ã®ãµããŒãã«ãããMdadm / LVM2 / Ext4ã®å Žåãããããã©ãŒãã³ã¹ã«å€§ããªåœ±é¿ãäžããå¯èœæ§ããããŸãã
ãã£ã¹ã¯ãµãã·ã¹ãã ã®èšå®
RAIDã³ã³ãããŒã©ãŒãšè«çã¢ã¬ã€ãå èªã¿ãã¹ã±ãžã¥ãŒã©ãŒã®ç¹å®ã®èšå®ãå«ããããããã«éå®ãããªããã£ã¹ã¯ãµãã·ã¹ãã ã®å€æ°ã®èšå®ã«å ããŠãRAMãããã¡ãŒå ã®ããŒãã£ããŒã¿ã«ãã£ãŠè²»ããããæéãåæžããããšããå§ãããŸãã ããã«ãããä¿ç®¡äºæ ãçºçããå Žåã®æå·ã軜æžãããŸãã
NFSãµãŒãã¹èšå®
NFSã䜿çšãããšãã«èšå®ãããäž»ãªãªãã·ã§ã³ã¯ãããŒã¿è»¢éãŠãããã®ãµã€ãºïŒrsizeãwsizeïŒããã£ã¹ã¯ã«ããŒã¿ãä¿åããåæã¢ãŒããŸãã¯éåæã¢ãŒãïŒsyncãasyncïŒãããã³NFSã¯ã©ã€ã¢ã³ãã®æ°ã«äŸåãããµãŒãã¹ã€ã³ã¹ã¿ã³ã¹ã®æ°ãããªãã¡ä»®æ³åãã¹ãã§ãã ããã©ãŒãã³ã¹ãäœããããåæã¢ãŒãã®äœ¿çšã¯æšå¥šãããŸããã
ãããã¯ãŒã¯
ã¹ãã¬ãŒãžã«ã¢ã¯ã»ã¹ããããã®ãããã¯ãŒã¯ã«ãŒããšããŠãIntel X520-DA2ãªã©ã®ææ°ã®ãããã¯ãŒã¯ã«ãŒãã䜿çšããããšããå§ãããŸãã ãããã¯ãŒã¯ã¹ã¿ãã¯ãæé©åããã«ã¯ããžã£ã³ããã¬ãŒã ãµããŒããæ§æããCPUã³ã¢éã§ãããã¯ãŒã¯ã«ãŒãã®äžæãåæ£ããŸãã
äºæ¬¡ã¹ãã¬ãŒãž
ã»ã«ã³ããªã¹ãã¬ãŒãžã¯ã次ã®éèŠãªç¹æ§ãæäŸããå¿ èŠããããŸãã
- é«ãç·åœ¢æ§èœ;
- ããŒã¿ã¹ãã¬ãŒãžã®é«ãä¿¡é Œæ§ã
ã¹ãã¬ãŒãžã¯ãç»åãäœæããç»åããã³ãã¬ãŒãã«å€æãããšãã«æ倧éã«æŽ»çšãããŸãã ãã®å Žåãã¹ãã¬ãŒãžã®ããã©ãŒãã³ã¹ãæäœã®ç¶ç¶æéã«å€§ããªåœ±é¿ãäžããã®ã¯ãã®å Žåã§ãã ã¹ãã¬ãŒãžã®é«ãç·åœ¢ããã©ãŒãã³ã¹ã確ä¿ããã«ã¯ãRAID10ãRAID6ãããã³3 TB以äžã®å€§å®¹éã®ãµãŒããŒåŽSATAãã£ã¹ã¯ã䜿çšãããœãããŠã§ã¢ããã³ããŒããŠã§ã¢RAIDã¢ã¬ã€ã®äœ¿çšããå§ãããŸãã
ãœãããŠã§ã¢RAIDã䜿çšããå Žåã¯ãRAID10ãéžæããããšããå§ãããŸããBBUèŠçŽ ãåããé«æ§èœããŒããŠã§ã¢ã³ã³ãããŒã©ãŒã䜿çšããå ŽåãRAID5ãRAID6ã䜿çšã§ããŸãã
äžè¬ã«ãã»ã«ã³ããªã¹ãã¬ãŒãžã®èŠä»¶ã¯ãã©ã€ããªã»ã©éèŠã§ã¯ãããŸããããä»®æ³ãã·ã³ããªã¥ãŒã ã®ã¹ãããã·ã§ãããéäžçã«äœ¿çšããå Žåã¯ãã»ã«ã³ããªã¹ãã¬ãŒãžãæ éã«èšç»ããå®éã®è² è·ãã·ãã¥ã¬ãŒããããã¹ããå®è¡ããããšããå§ãããŸãã
èè ã¯ãã¯ã©ãŠãã«ã»ã«ã³ããªã¹ãã¬ãŒãžãå®è£ ããããã«æ¬¡ã®ãœãªã¥ãŒã·ã§ã³ã䜿çšããŸãã
- ããŒããŠã§ã¢ïŒ
- LSI / Adaptecã®ããŒããŠã§ã¢RAIDã³ã³ãããŒã©ãŒãåããSupermicroãµãŒããŒ
- ãããã¯ãŒã¯ã«ãŒãIntel x520-DA2
- 3TB Seagate Constellation ES.3ãã£ã¹ã¯ããã€ã¹
- Debian GNU / Linux 8
- ããŒããŠã§ã¢RAID10
- LVM2
- EXT4ãã¡ã€ã«ã·ã¹ãã
管çãµãŒããŒ
管çãµãŒããŒã¯ãã¯ã©ãŠãã®ãã¹ãŠã®æ©èœã管çããApache CloudStackã·ã¹ãã ã®äž»èŠã³ã³ããŒãã³ãã§ãã ãã§ãŒã«ãªãŒããŒæ§æã®å ŽåãMySQLãã§ãŒã«ãªãŒããŒãµãŒããŒïŒãã¹ã¿ãŒã¹ã¬ãŒããŸãã¯mariadb galeraã¯ã©ã¹ã¿ãŒïŒãšå¯Ÿè©±ããè€æ°ã®ç®¡çãµãŒããŒã䜿çšããããšããå§ãããŸãã 管çãµãŒããŒã¯æ å ±ãRAMã«ä¿åããªããããMySQLã¬ããªã±ãŒã·ã§ã³ãšè€æ°ã®ç®¡çãµãŒããŒã䜿çšããŠHAãç°¡åã«å®è£ ã§ããŸãã
ãã®èšäºã§ã¯ã1ã€ã®ä¿¡é Œã§ãããµãŒããŒã䜿çšãããŠãããšä»®å®ããŸãã
- MySQL-ACSããŒã¿ãä¿åããããã®DBMSã
- CloudStack管çãµãŒããŒ-ACSã®ãã¹ãŠã®æ©èœãå®è¡ããJavaã¢ããªã±ãŒã·ã§ã³ã
管çãµãŒããŒã®å Žåãä¿¡é Œæ§ã®é«ãããã©ãã«ã®ãªãéçšãä¿èšŒããä¿¡é Œã§ãããµãã©ã€ã€ãŒããæ©åšãéžæããå¿ èŠããããŸãã äž»ãªããã©ãŒãã³ã¹èŠä»¶ã¯ãMySQL DBMSã®äœ¿çšã«ãã£ãŠæ±ºå®ããããããSSDãã©ã€ãäžã®é«éã§ä¿¡é Œæ§ã®é«ããã£ã¹ã¯ãµãã·ã¹ãã ãå¿ èŠã§ãã åææ§æã¯æ¬¡ã®ããã«ãªããŸãã
- Supermicro Xeon E3-1230V5ãµãŒããŒãIPMIä»ã32GB RAM
- Intel X520-DA2
- 2 x Intel SSD S3610 100GBïŒRAID1ïŒ
- 2 x Seagate Constellation ES.3 3TBïŒRAID1ïŒ
- LVM2
- MDADM
- Ubuntu 16.04ãµãŒããŒ
SSDãã©ã€ãã®ãã¢ãã·ã¹ãã ã«äœ¿çšãããSATAãã©ã€ãã®2çªç®ã®ãã¢ãã·ã¹ãã ã¹ãããã·ã§ãããACSããŒã¿ããŒã¹ãã³ãã«äœ¿çšãããŸãããããã¯ãããšãã°æ¯æ¥ãŸãã¯ããé »ç¹ã«å®æçã«å®è¡ãããŸãã
APIã®éäžçãªäœ¿çšãèšç»ãããŠãããS3 APIãã¢ã¯ãã£ãã«ãªã£ãŠããå Žåã¯ãé«æ§èœCPUãŸãã¯2ã€ã®CPUãæèŒãããµãŒããŒã䜿çšããããšããå§ãããŸãã ããã«ãACSå¶åŸ¡ãµãŒããŒèªäœã®ããã«ã§ã¯ããŠãŒã¶ãŒã«ããAPIã®äœ¿çšåŒ·åºŠã«å¶éãèšå®ããNginxãããã·ãµãŒããŒã䜿çšããŠè¿œå ã®ãµãŒããŒä¿è·ãæäŸããããšããå§ãããŸãã
Apache CloudStackããããž
ACSã®äžè¬çãªããããžæ§é ã¯ãåã蟌ã¿ã®éå±€ãšã³ãã£ãã£ã§ã
- ãŸãŒã³
- ã¹ã¿ã³ã
- ã¯ã©ã¹ã¿ãŒ
- ãã¹ã
ãã®ç»åã¯ãäžéšã®ããŒã¿ã»ã³ã¿ãŒdc1ã«å¯Ÿãããã®ãããªããããžæ§é ã®å®è£ äŸã瀺ããŠããŸãã
ããŒã¹ãŸãŒã³
ACSãŸãŒã³ã¯ãã¯ã©ãŠãããŠãŒã¶ãŒã«æäŸãããµãŒãã¹ã®ã»ãããå®çŸ©ããŸãã ãŸãŒã³ã«ã¯2ã€ã®ã¿ã€ãããããŸã-åºæ¬ïŒåºæ¬ïŒããã³è©³çŽ°ïŒè©³çŽ°ïŒãããã«ãããåºæ¬ãµãŒãã¹ãŸãã¯VPNããšã©ã¹ãã£ãã¯ãã©ã³ã·ã³ã°ãNATãVPCãªã©ã®åºç¯ãªæ©èœãæäŸããããŸããŸãªã¯ã©ãŠããç·šæã§ããŸãã ããŒã¹ãŸãŒã³ã¯æ¬¡ã®æ©èœãæäŸããŸãã
- IPã¢ãã¬ã¹ç®¡çãšDHCPãµãŒãã¹
- DNSãµãŒãã¹ïŒãªãŸã«ããŒãšãŸãŒã³ïŒ;
- ä»®æ³ãã·ã³ã«ã€ã³ã¹ããŒã«ããããã¹ã¯ãŒããšããŒã®ç®¡çã
- ã«ãŒã¿ãŒïŒãªãã·ã§ã³ïŒ;
- ã»ãã¥ãªãã£ã°ã«ãŒãã
ãŸããä»ã®ãããã¯ãŒã¯ãªãã¡ãŒãæ§æããããšãã§ããŸããããã«ãããå€éšDHCPãµãŒããŒãªã©ãä»ã®ããããã£ãæã€åºæ¬ãŸãŒã³ãäœæã§ããŸãã
ã¹ã¿ã³ã
ã¹ã¿ã³ãã¯ãããããžç·šæã®æ¬¡ã®ã¬ãã«ãè¡šããŸãã å®éã®çµç¹ã«å¿ããŠãã¹ã¿ã³ãã¯éšå±ãŸãã¯ä»£æ¿ãšã³ãã£ãã£ïŒè¡ãã©ãã¯ãªã©ïŒã®ããããã«ãªããŸãã ã¹ã¿ã³ãã®æå³ã¯ãäž»ã«æ¬¡ã®èŠå ã«ãã£ãŠæ±ºãŸããŸãã
- ããŒã¹å ã®ä»®æ³ãã·ã³ã«å²ãåœãŠãããã¢ãã¬ã¹ã®æ°ã«ããã1ã€ã®ããŒã¹ã«å²ãåœãŠãããã¢ãã¬ã¹ãå¥ã®ããŒã¹ã«è»¢éããããšã¯ã§ããŸãããããšãã°ããããã¯ãŒã¯ã¹ã¿ã³ã/ 22ïŒ1024ã¢ãã¬ã¹ïŒãå²ãåœãŠãå Žåãããããã¹ãŠã®ã¢ãã¬ã¹ã«å¯Ÿå¿ã§ããæ©åšãããããšã確èªããå¿ èŠããããŸãã
- äºçŽ-ç¹å®ã®ã¹ã¿ã³ããã¢ã«ãŠã³ãã«å²ãåœãŠãããšãã§ããŸãã
- 幟äœåŠçãªèæ ®äºé ã
- æåŠãã¡ã€ã³ã®å²ãåœãŠã
1024å°ã®ä»®æ³ãã·ã³ã®ãããã¯ãŒã¯ã§ã¯ããã¹ãŠã®æ©åšã1ã€ã®ã©ãã¯ã«ããå Žåã¯1ã€ã®ã¹ã¿ã³ãã§ååã§ãããããšãã°ãç°ãªãL3ã¢ã°ãªã²ãŒã·ã§ã³ããã€ã¹ã䜿çšããå Žåã/ 22ãããã¯ãŒã¯ã4 x / 24ã«åå²ããæ確ãªåŒæ°ãããå Žåã¯4ã¹ã¿ã³ãã§ãã ä»»æã®æ°ã®ã¯ã©ã¹ã¿ãŒãã¹ã¿ã³ãã«çœ®ãããšãã§ãããããèšç»ã«æ確ãªå¶éã¯ãããŸããã
ã¯ã©ã¹ã¿ãŒ
ã¯ã©ã¹ã¿ãŒã¯ããµãŒãã¹ã®æäŸã«äœ¿çšããããã€ããŒãã€ã¶ãŒãå®çŸ©ããŸãã ãã®ã¢ãããŒãã¯ãç¹ã«æ¬¡ã®ãããªããŸããŸãªãã€ããŒãã€ã¶ãŒã®æ©èœãæ倧éã«äœ¿çšããäºå®ã®å Žåãéåžžã«äŸ¿å©ã§ãã
- KVM-ä»®æ³ãã·ã³ã®ã¹ãããã·ã§ããããªããããªã¥ãŒã ã®ã¹ãããã·ã§ããã®ã¿ïŒAWSã®ãããªïŒã®æ±çšä»®æ³ãã·ã³ã
- XenServer
- ã°ã©ãã£ãã¯ã¢ã¯ã»ã©ã¬ãŒã¿ä»®æ³ãã·ã³ã
- ã¹ãããã·ã§ãããšåçã¹ã±ãŒãªã³ã°ããµããŒãããä»®æ³ãã·ã³ã
- Hyper-V-Windows OSãµãŒãã¹ãæäŸããããã®ä»®æ³ãã·ã³ã
æ€èšäžã®å±éã¢ãã«ã®ãã¬ãŒã ã¯ãŒã¯å ã§ãã¯ã©ã¹ã¿ãŒã¯ããã©ã€ããªNFSã¹ãã¬ãŒãžãã¯ã©ã¹ã¿ãŒã«å²ãåœãŠãããšã§ãµãŒãã¹æåŠã®æ¡æ£ãå¶éãããã¬ãã«ã®èŠçŽ ã§ããããã©ã€ããªã¹ãã¬ãŒãžã®é害ãã¯ã©ã¹ã¿ãŒãè¶ ããŠæ¡å€§ããªãããã«ããŸãã ãããå®çŸããã«ã¯ããã©ã€ããªããŒã«ããã¯ã©ãŠãã«è¿œå ãããšãã«ããã®ã¹ã³ãŒãããŸãŒã³ã§ã¯ãªãã¯ã©ã¹ã¿ãŒãšããŠç€ºãå¿ èŠããããŸãã ãã©ã€ããªã¹ãã¬ãŒãžã¯ã¯ã©ã¹ã¿ãŒã«å±ããŠãããããä»®æ³ãã·ã³ã®ä»®æ³ç§»è¡ã¯ã¯ã©ã¹ã¿ãŒãã¹ãéã§ã®ã¿å®è¡ã§ããããšã«æ³šæããŠãã ããã
Apache CloudStackã§äœ¿çšããå Žåã®KVMãã€ããŒãã€ã¶ãŒã®å¶é
KVMãã€ããŒãã€ã¶ãŒã«ã¯ããã®å®è£ ã劚ããå¯èœæ§ã®ããå€ãã®å¶éããããŸãããåºã䜿çšãããŠããããšããããããã®å¶éã¯ã»ãšãã©ã®ãããã€ããŒã«ãã£ãŠãããã¯ãããŠãããšã¯èŠãªãããŸããã äž»ãªå¶éã¯æ¬¡ã®ãšããã§ãã
- ä»®æ³ãã·ã³ã®åçã¹ã±ãŒãªã³ã°ã¯ãµããŒããããŠããŸãããã€ãŸããã³ã¢ãšRAMã®æ°ãå€æŽããã«ã¯ããã·ã³ãåæ¢ããŠèµ·åããå¿ èŠããããŸãã
- ä»®æ³ãã·ã³ãšãã£ã¹ã¯ã®å®å šãªã¹ãããã·ã§ããã¯ãµããŒããããŠããŸããïŒQEMU / KVMèªäœããã®æ©èœããµããŒãããŠãããããããã¯Apache CloudStackã®å¶éã§ãïŒã
- ä»®æ³ã°ã©ãã£ãã¯ã¢ã¯ã»ã©ã¬ãŒã¿ã¯ãµããŒããããŠããªããããNVidiaã®ã€ã³ãã©ã¹ãã©ã¯ãã£ãšå ±ã«VDIãæäŸããäºå®ã®å ŽåãKVMã¯æ©èœããŸããã
ã¯ã©ã¹ã¿ãŒãèšç»ãããšãã¯ãã¯ã©ã¹ã¿ãŒã§äœ¿çšãããã¹ãã¬ãŒãžã®æçµæ©èœããé²ããããšãéèŠã§ãã ACSã§ã¯ãã¯ã©ã¹ã¿ãŒå ã§è€æ°ã®ãªããžããªã䜿çšã§ããŸãããç§èªèº«ã®çµéšãããèè ã¯ãã®ãªãã·ã§ã³ã®äœ¿çšãæšå¥šããŠããŸããã æé©ãªã¢ãããŒãã¯ãããŒãºãšæ©èœã®åŠ¥åç¹ãšããŠã¯ã©ã¹ã¿ãŒãèšèšããã¢ãããŒãã§ãã å€ãã®å Žåãã¯ã©ã¹ã¿ãŒã倧ããããããŠãé害ãã¡ã€ã³ãåºããªããããå¯èœæ§ããããŸãã
ã¯ã©ã¹ã¿èšèšã¯ãå¹³åçãªä»®æ³ãã·ã³ã®ããŒãºãç解ããããšã«åºã¥ããŠå®è¡ã§ããŸãã ããšãã°ãæ¢åã®ã¯ã©ãŠãã®1ã€ã§ããŠãŒã¶ãŒã¯å¹³åããŠ[2ã³ã¢ã2GB RAMã60GB SSD]ã®ãããªãµãŒãã¹ã泚æããŸãã ã¹ãã¬ãŒãžããªã¥ãŒã ã«åºã¥ããŠã¯ã©ã¹ã¿ãŒã®èŠä»¶ïŒIOPSèŠä»¶ãé€ãïŒãèšç®ããããšãããšã次ã®æ°å€ãååŸã§ããŸãã
- ã¹ãã¬ãŒãž24 x 1TB SSDïŒRAID6 + 1HSïŒ -21 TB
- VMã€ã³ã¹ã¿ã³ã¹ã®æ° -350 = 21000/60
- RAM -700 GB = 350 x 2
- ã³ã¢ -700 = 350 x 2
- ããŒã2 x Xeon E5-2699V4 / 160 GB RAM -88 VcorââesïŒ166 1察2ãªãŒããŒãµãã¹ã¯ã©ã€ãïŒ
- ããŒãæ°ïŒ+1ã¹ã¿ã³ãã€ïŒ -5 + 1
çµæã®ã¯ã©ã¹ã¿ãŒã¯æ¬¡ã®ããã«ãªããŸãã
- ã¹ãã¬ãŒãžïŒã¹ãã¬ãŒãž24 x 1TB SSDïŒRAID6 + 1HSïŒ
- ä»®æ³åãµãŒããŒ6 xãµãŒããŒ2 x Xeon E5-2699V4 / 160 GB RAM
ãã®ã¯ã©ã¹ã¿ãŒã®ãã¬ãŒã ã¯ãŒã¯å ã§ãæ倧350å°ã®äžè¬çãªä»®æ³ãã·ã³ã«ãµãŒãã¹ãæäŸã§ããŸãã 1000å°ã®ãã·ã³ã«ãµãŒãã¹ãæäŸãããªãœãŒã¹ãå²ãåœãŠãå Žåã¯ã3ã€ã®ã¯ã©ã¹ã¿ãŒãå±éããå¿ èŠããããŸãã 補åã®å·®å¥åã䌎ãå®éã®ã¯ã©ãŠãã®å Žåãåžå ŽããŒãºã®äºæž¬ãæãæ£ç¢ºã«åæ ããèšç®ãå¿ èŠã§ãã
èšç®äŸã§ã¯ãçµæžçèŠçŽ ã¯èæ ®ãããŠããŸãããå®éã®èšç®ã§ã¯ãã¯ã©ã¹ã¿ãŒã®ååæéãæå°åãããµãŒãã¹ææè ãšåæãããµãŒãã¹å質ã確ä¿ããããã«ãããŒãããšã®CPUã¢ãã«ãšRAMã®éãéžæããå¿ èŠããããŸãã
åèšã¹ãã¬ãŒãžãµã€ãºãç°ãªã£ãŠéžæãããå ŽåããŸãã¯ãŠãŒã¶ãŒãããå°ããªãŸãã¯ãã倧ããªããªã¥ãŒã ã®VPSãè³Œå ¥ããå Žåãã¯ã©ã¹ã¿ãŒã®èšç®èœåã®èŠä»¶ã¯å€§å¹ ã«å€ããå¯èœæ§ããããŸãã
ä»®æ³åãµãŒããŒ
ä»®æ³åãµãŒããŒã¯ãä»®æ³ãã·ã³ãå®è¡ããããã«èšèšãããŠããŸãã ä»®æ³åãµãŒããŒã®æ§æã¯ãã¯ã©ãŠãããšã«å€§ããç°ãªããã³ã³ãã¥ãŒãã£ã³ã°ãªãã¡ãŒã®çš®é¡ïŒãŠãŒã¶ãŒãå©çšã§ããVPSæ§æïŒãšãã®ç®çã«äŸåããŸãã åäžã®ã¯ã©ã¹ã¿ãŒå ã§ã¯ãäºææ§ã®ããCPUãåããåãã¿ã€ãã®äº€æå¯èœãªä»®æ³åãµãŒããŒã䜿çšããïŒãŸãã¯ãã¹ãŠã®äžã§æãäœãCPUéã®äºææ§ã確ä¿ããïŒããšãæãŸãããããããŒãã®1ã€ã«é害ãçºçããå ŽåãããŒãéã®ä»®æ³ãã·ã³ã®ä»®æ³ç§»è¡ãšã¯ã©ã¹ã¿ãŒãªãœãŒã¹ã®å¯çšæ§ãå¯èœã«ãªããŸãã
äœããã³äžè² è·ã§å€æ°ã®å°ããªä»®æ³ãã·ã³ãå®è¡ããäºå®ãããå Žåã¯ã2 x Xeon E5-2699V4 / 256GB RAMãªã©ãå€æ°ã®ã³ã¢ãšã¡ã¢ãªãåãããµãŒããŒã䜿çšããããšããå§ãããŸãã åæã«ã1ã2ã4ã8ã³ã¢ãéåžžã®äœ¿çšïŒèšç®äžã®åé¡ã解決ããããã§ã¯ãªãïŒã®ä»®æ³ãã·ã³ã«å¯ŸããŠè¯å¥œãªãªãœãŒã¹å¯åºŠãšé«å質ã®ãµãŒãã¹ãå®çŸããCPUã®å€§å¹ ãªãªãŒããŒãµãã¹ã¯ãªãã·ã§ã³ã«ããé«å質ã®ãµãŒãã¹ãå®çŸã§ããŸãïŒ2ã8åïŒ ã ãã®å Žåãèšç»ã¯ã³ã¢ã®æ°ã§ã¯ãªãRAMã®éã«åºã¥ããŠå®è¡ã§ããŸãã
é«åšæ³¢ããã«ãã³ã¢ãé«è² è·ã®ä»®æ³ãã·ã³ã®å±éãèšç»ããŠããå Žåãå¿ èŠãªCPUãªãœãŒã¹ãæäŸãããµãŒããŒãéžæããå¿ èŠããããŸãã ãã®å Žåãèšç»ã¯åãµãã¹ã¯ãªãã·ã§ã³ãªãã§äœ¿çšå¯èœãªã³ã¢ã®æ°ã«åºã¥ããŠè¡ãå¿ èŠããããRAMã®éã¯å¿ èŠãªããŒãºã«å¯Ÿå¿ããå¿ èŠããããŸãã , Xeon E3-1270V5 / 64GB RAM, :
- 1 x CPU 3.6 GHz / 8 GB RAM
- 2 x CPU 3.6 GHz / 16 GB RAM
- 4 x CPU 3.6 GHz / 32 GB RAM
- 8 x CPU 3.6 GHz / 64 GB RAM
, 2 x Xeon E5V4, , CPU, RAM.
RAM
Apache CloudStack . , , , Linux , , , . â KSM, ZRAM ZSwap, RAM, (1:2 ) CPU. , SSD .
, , Intel X520-DA2. jumbo frame CPU.
CPU.
. â Linux Bridge Open Vswitch. Apache CloudStack , , Linux Bridge .
Apache CloudStack , â API UI, JavaScript jQuery. , , UI , . , CloudStack-UI , , Apache CloudStack. Angular v4 Material Design Lite Apache v2.0.
ãããã«
Apache CloudStack . NFS 99.7% . , , .