Hyper-Vã®ææ°ã®å®è£ ãåããWindows Server 2008 R2ã®æè¿ã®ãªãªãŒã¹ã¯ãäœããã®åœ¢ã§èª°ããç¥ã£ãŠãããšæããŸãã éåžžã®2008 Hyper-Vãšæ¯èŒããäž»ãªé©æ°ã¯ãã¯ã©ã¹ã¿ãŒããŒãéã§ä»®æ³ãã·ã³ããªã¢ã«ã¿ã€ã ã§è»¢éããããã®ã©ã€ããã€ã°ã¬ãŒã·ã§ã³æ©èœã®ãµããŒãã§ãã ãã¡ããããã®æ©èœãå®èšŒããããã«ã¯ãå€éšããŒã¿ãŠã§ã¢ããŠã¹ãšã¯ã©ã¹ã¿ãŒãå¿ èŠã§ãããããŠããã³ããªãŒå ã®äœåãªSANã¯éåžžã¯ååšããŸããã
ãã®èšäºã§ã¯ãæå ã®ããŒããŠã§ã¢ã«æ¬æ ŒçãªHyper-V 2008 R2ã¯ã©ã¹ã¿ãŒãå®è£ ããæ¹æ³ã«ã€ããŠèª¬æããŸãã2ã€ã®ããŒããŠã§ã¢ä»®æ³åããµããŒããã3ã€ã®ã¯ãŒã¯ã¹ããŒã·ã§ã³ã§ãã ã«ããã·ãŒã³ã®äžã§ãHyper-Vã®ãã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãŒãçµã¿ç«ãŠãæé ããã¥ã¢ã³ã¹ãšæ©èœãèæ ®ããã©ã€ããã€ã°ã¬ãŒã·ã§ã³ãã¯ãããžãŒã®ãããªãã¢ãè¡ããŸãã
ã¯ããã«
ã©ã€ã移è¡ãã¯ãããžãŒèªäœã®ç°¡åãªãã¢ãŒã ã¯ã€ãã¯ç§»è¡ãšã®äž»ãªéãã¯ãã¡ã¢ãªããã£ã¹ã¯ã«ã¢ã³ããŒãããã«ä»®æ³ãã·ã³ããªã³ã¶ãã©ã€ã§è»¢éããããšã§ãïŒããã¯åã®å³ã§ç€ºãããŠããŸãïŒã ããã«ãMicrosoftã«ãããšããã·ã³ã®è»¢éã¯TCPã»ãã·ã§ã³ãäžæããæéãããé«éã§ããããããŠãŒã¶ãŒãäžå¿«æãæããå Žåã¯ãããã§ãã
ããŒããŠã§ã¢ãšãœãããŠã§ã¢ã®éžæ
ãã¡ããããã¹ãçšã®è¿œå ã®SANã¯ãããŸããã
ç§ãæã£ãŠããã®ã¯ã2å°ã®Aquariusã¯ãŒã¯ã¹ããŒã·ã§ã³ïŒC2D 6420ã4Gb DDR2ã80Gb HDDïŒãšCeleron-Däžã®1å°ã®ã¹ããŒã·ã§ã³ã§ãã
ãã¡ããã2008 R2ã¯64ãããçã«ã®ã¿ååšããããããã¹ãŠã®ããã»ããµã64ãããããµããŒãããå¿ èŠããããŸãã
ã¯ã©ã¹ã¿ãŒãå®è£ ããã«ã¯ãHyper-V Server 2008 R2ã®ç¡æããŒãžã§ã³ã䜿çšããŸããããã¯ãã«ãŒãã«ã¢ãŒãã®ä¿®æ£ãããWindows Server 2008 R2ã§ããã€ããŒãã€ã¶ãŒã¯ããã©ã«ãã§ãªã³ã«ãªã£ãŠãããéäžç®¡çã®ããã®æ¯èŒç䟿å©ãªã³ã³ãœãŒã«ã¡ãã¥ãŒã§ãã ãã®éžæã¯ããã€ããŒãã€ã¶ãŒä»¥å€ã®åœ¹å²ã®ãµããŒãã«ãã¹ããã·ã³ã®ãªãœãŒã¹ãè²»ãããããªããšããäºå®ã«ãããã®ã§ãã
ãã®ãã€ããŒãã€ã¶ãŒã䜿çšããå Žåã¯ãä»®æ³ãã·ã³ã®ã¿ã«ã©ã€ã»ã³ã¹ãä»äžãããæå¹ã«ããŸãã ããã¯ã誰ãããã®è·äººæã®ã·ã¹ãã ãçç£ã«å°å ¥ããããšãèããŠãããããããªãå Žåã«åããŠèšã£ãŠããŸãã
ã¹ãã¬ãŒãžãšããŠãç§ã¯æã匱ãã¯ãŒã¯ã¹ããŒã·ã§ã³ã䜿çšããããããã«250GBã®ããŒããã©ã€ãã2å°ãã€æå ¥ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã䜿çšããŠãããããœãããŠã§ã¢RAID0ã«çµåããŸãã å³èãµãŒããŒããªããžããªãŒã«å€æããã«ã¯ãæãå®äŸ¡ãªãªãã·ã§ã³iSCSIã䜿çšããŸãã åããã·ã³ãHyper-Vã¯ã©ã¹ã¿ãŒã®ãããŒãžã£ãŒãšããŠæ©èœããåæã«å°ããªãã¡ã€ã³ã®ã³ã³ãããŒã©ãŒã«ãªããŸãã
Windowsã«ã¯ããã€ãã®iSCSIå®è£ ããããŸãã æãäžè¬çãª2ã€ã¯æ¬¡ã®ãšããã§ãã
- Microsoft iSCSI Software Target -Microsoft OEMããŒãããŒãããµãŒããŒãè³Œå ¥ããå ŽåãWindows Storage Server 2008ã«ã®ã¿å梱ãããŸãã ãããªãã¯ãã¡ã€ã³ã§ãããèŠã€ããã®ã¯ããã»ã©ç°¡åã§ã¯ãããŸãããã誰ãããããèŠã€ããå Žåã¯ãè©Šãããšãã§ããŸãã çå®ã¯ãStorage Serverã®ã¿ã«åœãŠã¯ãŸããŸãããããã¯ç§ãã¡ã®ããŒãºã«ã¯ããŸãé©ããŠããŸããã
- StarWind iSCSI Software Targetã¯ããã·ã¢èªããµããŒãããStarWind瀟ïŒHabréã§å®å šã«äººæ°ã®ãªãããã°ãæã£ãŠããŸã ïŒã®è£œåã§ãã StarWindã«ã¯ç¡æããŒãžã§ã³ããã ãã¹ãã¬ãŒãžã¯2TBã«å¶éããã1ã€ã®ã¿ãŒã²ããã«å¯ŸããŠ2ã€ã®ç«¶åæ¥ç¶ããããŸãã ãããŠããã確èªããå¿ èŠã¯ãããŸããã
ç·æ¥ã¹ãã¬ãŒãžã¯æ¬æ ŒçãªWindows Server 2008 R2ã§å®è¡ãããŸããããã®å Žåã®ããŒãžã§ã³ã¯éèŠã§ã¯ãããŸãããã32ãããã·ã¹ãã ããã¯ã©ã¹ã¿ãŒã管çãããšåé¡ãçºçããããšãå®éšçã«ããã£ãŠããŸãã ããã«ã2008 R2ã«ã¯æ°ãããã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãªã³ã°ã³ã³ãœãŒã«ããããä»ã®ããŒãžã§ã³ã§ã¯ãªã¢ãŒã管çããŒã«ãæŽæ°ããå¿ èŠããããŸãã ãã·ã³ããã¡ã€ã³ã³ã³ãããŒã©ãŒã®æ©èœãå®è¡ããããšãå¿ããªãã§ãã ããã
ã«ã¹ã¿ãã€ãº
ã¹ããŒãž1ã äºå
ãããã£ãŠã2ã€ã®ã¯ãªãŒã³ã§æªæ§æã®Hyper-V Server 2008 R2ãš1ã€ã®ã¯ãªãŒã³ãªWindows Server 2008 R2ããããŸãã
ã¯ã©ã¹ã¿ãŒãæ§æããåã«ãé©åã«åäœããããã«ãããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ãæ§æããå¿ èŠããããŸãã å°ããªã¹ã€ããïŒç§ã®åçã®ãããªïŒã§ããããéžæããåŸããã¹ãŠã®ãµãŒããŒãããŒã«ã«IPã¢ãã¬ã¹ã«èšå®ããŸãã RDPãšMMCã³ã³ãœãŒã«ã®äž¡æ¹ãä»ããŠãããŒããžã®ãªã¢ãŒãã¢ã¯ã»ã¹ãèš±å¯ããŸãã
ããŒãããã¡ã€ã³ã«ããåã«ãããè¡ãããšããå§ãããŸãã ãµãŒããŒããã¡ã€ã¢ãŠã©ãŒã«ããªã·ãŒã®å€æŽãäžå¯èœã§ããããšãåªã£ãç¶æ³ããããŸããã ãã¡ã€ã³ãäžããŠãå°æ¥ã®ã¯ã©ã¹ã¿ãŒããŒãã«å ¥ããŸãã
ãã¡ããã ãã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãªã³ã°æ©èœããªã³ã«ããŸãã
ã¹ããŒãž2ã ãªããžããªã
ããã§ãã¹ãã¬ãŒãžæ§æã«çŽæ¥ç§»åã§ããŸãã ãŸããçµæã®ã¹ãã©ã€ãïŒRAID0ïŒã2ã€ã®è«çãã©ã€ãã«åå²ããŸãã1ã€ã¯ã¯ã©ãŒã©ã çšïŒçŸåšã¯File Share WitnessãšåŒã°ããŸã ïŒããã1ã€ã¯ä»®æ³ãã·ã³ãæ ŒçŽããããã§ãã ã¯ã©ãŒã©ã ã«çŽ15GBãå²ãåœãŠããã®ä»ã¯ãã¹ãŠããŒã¿çšã«æ®ããŸããã è¯ãæå³ã§-ã¯ã©ãŒã©ã ã®äžã§ã¯ã®ã¬ãã€ãã§ååã§ãããäœãç¥ã£ãŠãããã¯ããããŸããã
StarWind iSCSI Targetã®ã€ã³ã¹ããŒã«ã«é²ã¿ãŸãã ã¡ãŒã«ãŒã®ãŠã§ããµã€ãããããŠã³ããŒãããã«ã¯ ãç»é²ãå¿ èŠã§ãããããã¯ååãšããŠçŸ©åã§ã¯ãããŸããã ç»é²åŸãã€ã³ã¹ããŒã©ãŒãšã©ã€ã»ã³ã¹ããŒãã¡ã€ã«ã®çŽæ¥ããŠã³ããŒããžã®ãªã³ã¯ãé»åã¡ãŒã«ã«è¡šç€ºãããŸãã ã€ã³ã¹ããŒã«ã¯[次ãž]ãã¿ã³ãæ°åã¯ãªãã¯ããã ããªã®ã§ãåºæ¬çã«è€éãªããšã¯ãããŸããã ã€ã³ã¹ããŒã«åŸãå°ãªããšãããŒã3260ããã³3261ãWindowsãã¡ã€ã¢ãŠã©ãŒã«ãééããå¿ èŠããããŸãã æ zyãªäººã®ããã«-ããªãã¯ããããªãã«ããããšãã§ããŸãããªããªãç§ãã¡ã®å³èãããã¯ãŒã¯ã«ã¯ç§ãã¡ã®ãµãŒããŒã3ã€ãããªãããã§ãã
StarWindã³ã³ãœãŒã«ãèµ·åããiSCSIãµãŒããŒã«æ¥ç¶ããããšããŸããiSCSIãµãŒããŒã¯ãè¬ã®ã¢ãã¬ã¹127.0.0.1ã®ã³ã³ãã¥ãŒã¿ãŒã§ãã èªèšŒã«ã¯ãããã©ã«ãã®ãã°ã€ã³ãšãã¹ã¯ãŒãã®ç§å¯ã®çµã¿åãããå¿ èŠã§ãããããã¯ãåºæ¬ããŒãžã§ã³ã§ã¯ããããrootãšstarwindã®ããã«èŠããŸãã ã€ã³ã¹ããŒã«ããã»ã¹äžã«ãã¹ã¯ãŒãã®èšå®ãæ±ããããªãã£ãã®ã¯ãªãã§ããããŸãã¯ã€ã³ã¿ãŒãã§ã€ã¹ã«ãã³ããä»ããªãã£ãã®ã¯ãªãã§ããïŒ
ãµãŒããŒã«æ¥ç¶ããåŸãé»åã¡ãŒã«ã§èœã¡ãã©ã€ã»ã³ã¹ãã¡ã€ã«ã圌ã«æž¡ãå¿ èŠããããŸãã ããã¯ãStarWindãµãŒããŒã³ã³ãœãŒã«ã®[æ§æ]ã¿ãã§è¡ããŸãã å³äžé ã«ãããã¡ã€ã«ãããŠã³ããŒããããªã³ã¯ãé€ãããã¹ãŠãçŽæçã§ã·ã³ãã«ã§ãã ç»é²åŸã®ã¿ãããã°ã©ã ã«ããã¿ãŒã²ãããäœæã§ããŸãã
ã¿ãŒã²ãããäœæããããã»ã¹ã§ã¯ãLUNã®åœ¹å²ãæããäºåã«ã¿ã°ä»ããããimgãã¡ã€ã«ãäœæããŸãã ç®æšã«åŸã£ãŠã»ã¯ã·ã§ã³ã«ããããé 眮ãã競åããiSCSIæ¥ç¶ïŒã€ãŸããã¯ã©ã¹ã¿ãªã³ã°ïŒãæ åœããããã¯ã¹ããã§ãã¯ããããšãå¿ããªãã§ãã ããã ããŒã¿ãã£ãã·ã¥ãèšå®ããããšãã§ããŸããäœéã®ã¢ã€ãã³ã䜿çšãããšäŸ¿å©ã§ãã
ãã®çµæãããã次ã®å³ãå€æããã¯ãã§ãã 2ã€ã®ã¿ãŒã²ãã-1ã€ã¯å®è¶³æ°çšã2ã€ç®ã¯ããŒã¿çšã ãããããµãŒããŒã«æ¥ç¶ããŸãã
ã¹ããŒãž3ã ãªããžããªã«ããã¿ã€ããŠããŸãã
ããŒãžã§ã³2008 R2ã®ãµãŒããŒã«ã¯ãiSCSIã€ãã·ãšãŒã¿ãŒãäºåã«ã€ã³ã¹ããŒã«ãããŠããŸããiSCSIã€ãã·ãšãŒã¿ãŒã¯ãå³èã¹ãã¬ãŒãžããã®LUNãããŒã«ã«ãã£ã¹ã¯ãšããŠæ¥ç¶ããŸãã 確ãã«ãã³ã³ãœãŒã«Hyper-VãµãŒããŒã«é©åãªGUIããªããããã³ãã³ãã©ã€ã³ãŸãã¯Powershellããiscsicplã³ãã³ãã䜿çšããŠåŒã³åºãå¿ èŠããããŸãã
é»è²ã§åŒ·èª¿è¡šç€ºããããã£ãŒã«ãã«ãã¹ãã¬ãŒãžã®IPã¢ãã¬ã¹ãå ¥åããå¿ èŠããããŸãããã®åŸããµãŒããŒã«é 眮ãããã¿ãŒã²ãããå«ããããã¢ãããŠã£ã³ããŠã衚瀺ãããŸãã ãã¡ããããã¡ã€ã¢ãŠã©ãŒã«ãæ£ããæ§æãŸãã¯ç¡å¹ã«ãããŠããå Žåã ã¿ãŒã²ããããµãŒããŒã«æ¥ç¶ããããããã£ã¹ã¯ãšããŠããŠã³ããéå§ã§ããŸãã
[èªåèšå®]ãã¯ãªãã¯ãããšã\ïŒ\ã§å§ãŸããã£ã¹ã¯ãžã®2ã€ã®é·ããã¹ã空ã®ãŠã£ã³ããŠã«è¡šç€ºãããŸãã ãã®åŸããã£ã¹ã¯ã®ç®¡çã«å®å šã«ç§»åããŠããã£ã¹ã¯ã«æåãå²ãåœãŠãããšãã§ããŸãã ãšããã§ãæåã®ãã€ããŒãã€ã¶ãŒã«æåãèšå®ãããšã2çªç®ã®ãã€ããŒãã€ã¶ãŒããã©ã€ãåãèªåçã«éžæããŸãã
ãã®çµæãiSCSIãä»ããŠã¹ãã¬ãŒãžã«æ¥ç¶ããã2ã€ã®å ±æãã£ã¹ã¯ãæã€2ã€ã®ãã€ããŒãã€ã¶ãŒãååŸããŸããã ã¯ã©ã¹ã¿ãªã³ã°ã«çŽæ¥è¡ããšãã§ãã
ã¹ããŒãž4ã ã¯ã©ã¹ã¿ãªã³ã°
2ã€ã®æ¢åã®ãã€ããŒãã€ã¶ãŒã§ãã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãŒãæ§æããå ŽåããŠã£ã¶ãŒãèªäœãã¯ã©ãŒã©ã ãšããŒã¿çšã®ãã¡ã€ã«ããŒãã£ã·ã§ã³ãéžæããŸããã ã¢ã«ãŽãªãºã ãæ£ããç解ããŠããã°ãiSCSIãã©ã€ããå ±æãªãœãŒã¹ãšããŠéžæãããæå°ã®ãã®ãã¯ã©ãŒã©ã ãšããŠéžæãããŸããã ãŸãã¯ãã¯ã©ãŒã©ã ã©ãã«ãå°ããã»ã¯ã·ã§ã³ã«ä»ããã®ã§ã圌ãããããéžæããã®ãããããŸãã... =ïŒ
ãŠã£ã¶ãŒããšãã®ãããªãã¶ãŒã䜿çšããŠ2ã€ã®ãã€ããŒãã€ã¶ãŒãã¯ã©ã¹ã¿ãŒã«çµåãããšããã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãŒã®ã³ã³ãœãŒã«ã¯äžã®å³ã®ããã«ãªããŸãã çŸæç¹ã§ã¯ã1ã€ã®ããŒãã®ã¿ããã¹ãŠã®äœæ¥ãå®è¡ãããã©ãŒã«ããã¬ã©ã³ãã¯ã©ã¹ã¿ãŒãããã2çªç®ã®ããŒãã¯ãã®æç¹ã§ã¢ã€ãã«ç¶æ ã§ãããæåã®ããŒããåæ¢ãããŸã§åŸ æ©ããããšã«æ³šæããŠãã ããã ããããããã¯å¿ èŠãããŸããã
ããã§ãã¯ã©ã¹ã¿ãŒã®å ±æããªã¥ãŒã ã圹ç«ã¡ãŸããã¯ã©ã¹ã¿ãŒã³ã³ãœãŒã«ã®æ°ããã¿ãã¯ã2008 R2ã§ã®ã¿ç»å ŽããŸããã ãã©ãŒã«ããã¬ã©ã³ã¹ãæäŸããããã«ä»®æ³ãã·ã³ãé 眮ã§ããã®ã¯ããã®ã¹ãã¬ãŒãžäžã§ãã ç§ãã¡ã®ã¿ã¹ã¯ã¯ãéæ³ã®[ã¹ãã¬ãŒãžã®è¿œå ]ãã¿ã³ã䜿çšããŠãéåžžã®ã¯ã©ã¹ã¿ãŒãªãœãŒã¹ãå ±æãªãœãŒã¹ã«å€ããããšã§ãã ãã®ã¿ã€ãã®ãªãœãŒã¹ãããŒãžã§ã³2008 R2以éã§ã®ã¿æ©èœããããšãèŠåãããšããã£ã¹ã¯ã[å ±æãªãœãŒã¹]ã¿ãã«è¡šç€ºãããŸãã ãã£ã¹ã¯ã¯CïŒ\ ClusterStorage \ Volume1ã«ããŠã³ãããããã¹ãŠã®å ±æããŒã¿ãããã«ä¿åãããŸãã ä»®æ³ãã·ã³ãå«ãã äžèŠãªäžå ·åãé¿ããããã«ãåããŒãã®ãã€ããŒãã€ã¶ãŒã®èšå®ã§ã¯ãå ±æãã£ã¹ã¯äžã®å Žæã䜿çšããŠããã£ã¹ã¯ãšä»®æ³ãã·ã³ã®ããã©ã«ããã¹ãèšå®ããããšããå§ãããŸãã
ã¹ããŒãž5ã ä»®æ³ãã·ã³ã
ããã§ãã¯ã©ã¹ã¿ãŒç®¡çã¹ãããã€ã³ããä»®æ³ãã·ã³ãçŽæ¥äœæã§ããŸãã [ãµãŒãã¹]ã¿ãã§ã[ä»®æ³ãã·ã³]ãéžæããããŒããéžæããŠãã·ã³ãäœæããŸãã ã©ããããé åžããããããŠã³ãããã€ã³ã¹ããŒã«ããŠã¢ã³ããŠã³ãããŸãã ã©ã€ããã€ã°ã¬ãŒã·ã§ã³ãæ£ããåäœãããã«ã¯ãåããŒãã®å€éšãªãœãŒã¹ãžã®äŸåé¢ä¿ããªãããšãå¿ èŠã§ãã
ãããªã¯ãããããŒãããå¥ã®ããŒãã«ã¡ã¢ãªãèžçããããã»ã¹ã瀺ããŠããŸãã ããŒã¿ãã«ä»®æ³ãã·ã³ã«ã¯åãWindows Server 2008 R2ãããããã·ã³ã®ã¡ã¢ãªã¯1024mbã§ããã ããã«ç§»è¡ã®éåžžã«å¹³å¡ãªé床ã«æ³šç®ãã䟡å€ããããŸããããã¯ãã¹ãã¬ãŒãžãš100 MBã®ãããã¯ãŒã¯ã®è·äººã«ããå®è£ ã«é¢é£ããŠããŸãã åŸã§ãã®ã¬ããããããã¯ãŒã¯ã䜿çšããŠã¯ã©ã¹ã¿ãŒãåæ§ç¯ããããã©ãŒãã³ã¹ã®åäžã確èªããŸãã
ãã®èšäºã誰ãã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã å®éšïŒ