Windows7ãOpenSolaris ZFSã¹ãã¬ã¼ã¸ããiSCSIãã¼ããã
èªä½erã ã¨RAIDã«ã¼ãã§ãã¼ãã¦ã§ã¢RAIDãã¦ã人ãå¤ãããããªããã¨æãã¾ããã2010年代ã«ã¯æµè¡ããªããæ代ã¯iSCSIãã¼ãã§ã¹ãã¬ã¼ã¸å´ã§ãã¼ã¿åé·åã§ããã
ã»ã»ã»ãªã©ã¨ã¯è¨ãéãããããã¾ããããZFS使ãã°ãããªãã®ãã®ã¯ã§ããããããã¾ããã
åã
ãã[twitter:@satokaz]ãããããã¡ã¼ã æ¸ãæãã§EXPI9301CTãiSCSIãã¼ãã®HBAã«ãªããã¨è¨ã£ã¦ããã®ã§ãã§ããã¨ããã®ã¯ç¥ã£ã¦ã¯ãããã§ããæãåºãã¦ã¾ããã§ãããNICæã£ã¦ãã®ã«ããã
ããããä¼ã¿ã ã£ãä»æ¥ãTwitterã§[twitter:@team_eririn]ãããã¤ã¶ããã¦ããã®ãè¦ã¦ãã®ãã¨ãæãåºããç°å¢ãããæéããããã£ã¦ã¿ããã¨ããããã§ãã£ã¬ã³ã¸ã
- HDDã®é害ã«ã¯å¼·ããRAIDã«ã¼ããæ»ãã ããã¼ã¿ãæ»ã¬
- äºåã§æã£ã¦ããå¿ è¦ããã
- ãããªãã®æ§è½åºãã«ã¯ãããªãã®éé¡ãå¿
è¦
- ãã¼ãã¦ã§ã¢RAIDãåä¹ããªã3ä¸ä»¥ä¸ã¯è¦æããå¿ è¦ããã
èªä½PCã§RAIDã«ã¼ãã使ã£ããã¨ã¯ãªãã®ã§ããã«ã¯ããã®ã¡ãªããããã®ããããã¾ãããæ¥åã®ãµã¼ãã§ã¯RAIDã«ã¼ãã使ã£ã¦ã¾ããã©ã
ã©ãããã¼ãã¦ã§ã¢ã«ãéããããªã
NICã¨ã¹ãã¬ã¼ã¸ã«ãéããã¦ã¿ãã®ãããã®ã§ã¯ã¨æã£ãããã¹ãã¬ã¼ã¸ã¯ZFSã§ãRAIDã«ã¼ããªãã¦ãããããã®CPU(AMDã ã¨ä½é»å§ã¯ã¢ããã³ã¢ã¨ãã§ã1ä¸ã¡ãã)ã¨ã¡ã¢ãª4Gãããã°ååå®ç¨çã«ä½¿ãã¾ãã
NICãiSCSIãã¼ãå¯è½ãªã®ã¬ãããã®ãã®ããå®ããã®ã ã¨4000åããªãã§ããã¾ã(intel EXPI9301CT)ã
ZFSã¹ãã¬ã¼ã¸å´ã§ã¹ãããã·ã§ããã«ããä¸ä»£ç®¡çãã§ããããå·®åã¹ãããã·ã§ããã§å®¹éãç¯ç´ã§ãã¾ããå§ç¸®ãéè¤æé¤ã§æ´ã«å®¹éç¯ç´ãã§ãã¾ãããªã¼ãã¹ãããã·ã§ãããããã¾ãããããç´ æ´ãããããªZFSã
ããã ãããã°Winodwså´ã§ããã¯ã¢ããã®è¨å®ãã½ããã¯å¿
è¦ãªããªãã¯ããããã«ã¹ãã¬ã¼ã¸èªä½ã®ããã¯ã¢ãããZFSã®send/receiveã§ç°¡åã«ã§ããã®ã§ããä¿å®æ§ãé«ãããã¨ãã§ãã¾ãã
ã¨ããããã§Winodws7ã§EXPI9301CT使ã£ã¦iSCSIãã¼ãããããã®æé ã®ã¡ã¢
NICã®ãã¡ã¼ã ã¦ã§ã¢æ¸ãæã
EXPI9301CTã®ã«ã¼ãã¯ããã©ã«ãã§ã¯PXEãã¼ã対å¿ã«ãªã£ã¦ã¾ãããã®ã¾ã¾ã§ã¯iSCSIãã¼ãã®HBAã¨ãã¦ã¯ä½¿ããªãã®ã§ãããã¤ãiSCSIç¨ã®ãã¡ã¼ã ã«æ¸ãæãã¦ãã¾ãããã¡ããä¸è¦ãªãå ã«æ»ããã¨ãå¯è½ã§ãã
æ¸ãæãæé
- ダウンロード・センターã§Intel® iSCSI Remote Boot Setup Utilityã®ãã¦ã³ãã¼ãã2010/06æç¹ã®ææ°ã¯15.2ã
- exeãå±éãããã©ã«ããã¾ããã¨DOSèµ·åã§ããUSBã¡ã¢ãªã®ä»»æã®å ´æã«ã³ãã¼
- USBã¡ã¢ãªã§DOSèµ·å
- iscsiutl.exeã以ä¸ã®ã³ãã³ãã§å®è¡(ããã©ã«ãã ã¨Intel15.2\iSCSIUtl\DOS\iscsiutl.exeã«ãã)ãã³ãã³ãå®è¡å¾ãããã¯ã¢ããã®ç¢ºèªã¨å®è¡ç¢ºèªã®å¾ã§æ¸ãæããå§ã¾ãã¾ããè¤æ°ããå ´åããã¹ã¦ã®NICãã対象ã«ãªãã®ã§æ³¨æãâNICã§æå®ã§ããããããã©ã¨ã©ã¼ã«ãªãã¾ã(ãªãã·ã§ã³ã®çµã¿åããã«åé¡ããããã)ãã³ãã³ãã®è©³ç´°ã¯READMEåç §ã
iscsiutl -ALL -UP
以ä¸ã§Boot ROM Typeã®é¨åãiSCSI Enabledã«ãªãã°OKã
è¨å®
æ¸ãæãå¾åèµ·åãã¦
- ããã¤ã¹èªèã®é¨åã§Ctrl+Dã§è¨å®ç»é¢ã¸
- ã¤ãã·ã¨ã¼ã¿ã¨ãã¦ã®IPã¢ãã¬ã¹ã®è¨å®ã¨OpenSolarisã®ZFSã¹ãã¬ã¼ã¸å´ã®IPã¢ãã¬ã¹ã¨iSCSIã¿ã¼ã²ããåã®è¨å®
- LUNã®è¨å®ãããã®ã§ãã¹ãã¬ã¼ã¸å´ã®LUNãã»ããããã°ä»»æã®ãã£ã¹ã¯ãé¸ã¹ãã¯ã(LUN 0ã§ãã試ãã¦ãªã)
- èµ·å対象ã®NICãPRIMARYç¶æ
ã«ãã
- Pãã¼ã§ã»ãããDãã¼ã§ç¡å¹åã
ããã§ãã¡ãã¨èªèã§ãã¦ããã°èµ·åæã«ZFSã¹ãã¬ã¼ã¸å´ã®ãã£ã¹ã¯ãèªèãã«ããã¾ããèªèã§ããã°ãã ã®ãããã¯ããã¤ã¹ã«ãªãã®ã§ãå½ç¶OSã®ã¤ã³ã¹ãã¼ã«ãå¯è½ã§ãã
ææ³
試ãã«å
¥ããæãã¨ãã¦ã¯ããã¼ã«ã«ããã¤ã¹(SSD)ã«ã¯å£ããã©ãåé¡ãªã使ããã®ã§ã¯ã¨ããã¨ããã§ãã
ã¨ããã®ãWindows7å°å
¥ã«ããã£ã¦ä»åã¯ãã¼ã«ã«ããã¤ã¹ã§æ®éã«X25-Mã使ãã¤ãããªã®ã§ããã¾ã§æ¤è¨¼ã©ã¾ããªã®ã§ããã
è¤æ°æã®NICããã£ã¦ã¹ãã¬ã¼ã¸æ¥ç¶å°ç¨ã®NICã«ãã¦ããã°åå使ããã®ã§ã¯ãªãã§ãããããå人çã«ã¯ãã¼ã«ã«ã®SSDã®å¿«é©ãã«ã¯ã¾ã åã¦ãªãã®ã§ã¡ã¤ã³ç°å¢ã¸ã®æå
¥ã¯è¦éãã¾ããã10Gã®ãããã¯ã¼ã¯ç°å¢ãå°å
¥ãã段éã§åæ¤è¨¼ãã¦ã¿ããã¨æãã¾ãã
PXEãã¼ãç¨ã®ãã¡ã¼ã ã¦ã§ã¢ã«æ»ã
åºæ¬çã«iSCSIãã¡ã¼ã ã¦ã§ã¢ã¸ã®æ¸ãæãã¨åã
- ダウンロード・センターã§Intel® Boot Agent for Intel® Network Adaptersããã¦ã³ãã¼ãã
- exeãå±éãããã©ã«ããã¾ããã¨DOSèµ·åã§ããUSBã¡ã¢ãªã®ä»»æã®å ´æã«ã³ãã¼
- USBã¡ã¢ãªã§DOSèµ·å
- IBAUtil.exeãå®è¡(ããã©ã«ãã ã¨PROBOOT\IBAUtil.exe)ãã³ãã³ãå®è¡å¾ãããã¯ã¢ããã®ç¢ºèªã¨å®è¡ç¢ºèªã®å¾ã§æ¸ãæããå§ã¾ãã¾ããè¤æ°ããå ´åããã¹ã¦ã®NICãã対象ã«ãªãã®ã§æ³¨æãâNICã§æå®ã§ããããããã©ã¨ã©ã¼ã«ãªãã¾ã(ãªãã·ã§ã³ã®çµã¿åããã«åé¡ããããã)ãã³ãã³ãã®è©³ç´°ã¯READMEåç §ã
iscsiutl -ALL -UP
以ä¸ã§PXEãã¼ãç¨ã®ãã¡ã¼ã ã¦ã§ã¢ã«æ»ãã¾ãã
注æç¹
試ãã«ã¡ã¤ã³ãã·ã³(ASUSãã¶ã¼ P5Q-E)ã§è©¦ããããã¾ãã§ãããã©ãå¥ãã·ã³(GIGABYTEãã¶ã¼ P55M-UD4)ã ã¨NICã®èªèã®æ®µéã§æ¢ã¾ã£ãã¾ã¾é²ã¾ãªããªã£ãããã¼ãã¦ã§ã¢ã®ç¸æ§ããããããããªãã
ãã®å ´åãã¡ã¼ã ã®æ¸ãæãã®USBãã¼ãã¾ã§ããè¡ããªãã®ã§ã©ãã«ããªããªããããå¥ã®ãã·ã³ã§æ¸ãæ»ãã¨æ®éã«èªèãã¦ä½¿ããã®ã§è¬ã試ãå ´åã¯æ³¨æã
ã¾ã¨ã
Winodwsã«éããLinuxã§ãæ®éã«ã§ããã®ã§ããµã¼ãã¯ãã¹ã¦iSCSIãã¼ãã«ãã¦ã¹ãã¬ã¼ã¸ã¸ãã¼ã¿ãéç´ã¨ããã®ãã§ãã¾ãããªãã§ä»ã¾ã§è©¦ããªãã£ããã ããã¨å°ä¸æé(ry
ã¾ãå®éã«ã¯ã¡ãªããã»ãã¡ãªãããè¦æ¥µãã¦è©¦ããæ¹ãããã§ãã
Windowsã®iSCSIãã¼ãã«ã¤ãã¦ã¯ãã¼ãã¦ã§ã¢RAIDã®å¯¾æ¯ããå
¥ãã¾ãããããã®ãããã¯æ£ç´ä¸¡æ¹è©¦ããããã§ã¯ãªãã®ã§ããã¾ã§ãæ¨æ¸¬ã®ç¯å²å
ãªã®ã§ããããããå®éã«ãã¼ãã¦ã§ã¢RAIDã§éç¨ãã¦ã人ã¯ãããªãã®ã¡ãªãããããã§ãããããã ç´ ã®HDDã¸ã®ã¤ã³ã¹ãã¼ã«ã¨ã§ããã°IOPSçã«ãiSCSIã®æ¹ãåãã¨æãã¾ããé£ç¶èªã¿æ¸ãã¯è² ãã¾ãããã©ã³ãã ã®IOPSã§ã¯åªç§ã ã¨æãã¾ãã
ãããããããã¹ãã¬ã¼ã¸ãåãã¦ãªãã¨ã¡ã¤ã³ã稼åã§ããªãã§ãããã¹ãã¬ã¼ã¸ãé£ãã ããã¹ã¦ãæ»ã«çµ¶ãã¾ãããªã®ã§ä¸è¬çã«ã¯ã¨ã¦ãæ·å±
ãé«ãã§ããããµã¼ã触ãã人ã«ã¯é¢ç½ãããããªãã§ããããã
èªåçã«ã¯10Gã®NICå°å ¥ãããZFSã¹ãã¬ã¼ã¸ã«ä¸æ¬åãããã¨ããã§ããã¹ã¤ããã¯é«ãã®ã§1対1æ¥ç¶ã§ããã©ã
åèãªã³ã¯
- Intel iSCSI Remote Boot導入 - ネットワーク管理者の憂鬱な日常
- Intel PRO/1000 PT Server Adapterを使ってiSCSIブート(ディスクレス)を行う « 環境さんぷる
- iSCSI Remote Boot- へっぽこにっき
次ã®å±éã¨ã
以åã®NAS(ã¨ãããiSCSIã®DAS)é¢ä¿ã®ã¨ã³ããªã«æã£ãããã¢ã¯ã»ã¹ããã£ãã®ã§ããã®å¾ã®å±éãæ¸ãããã¨æã£ã¦ã¾ãããã£ã¨ãã¼ãã¦ã§ã¢ã®æ§æã試è¡é¯èª¤ãã¦ãã¦ããã£ã¨å®ä½æ¥ã«ä¹ãåºãã段éã§ãã
Twitterã§ãè²ã
å©è¨ãããã£ãããã¦ã¾ãããã¼ãã¦ã§ã¢ã«ã¤ãã¦ã¯é¸å®ã«ããªãæ©ã¿ã¾ããããã®ãããã®é¡æ«ã追ã
ã¨ã³ããªã¨ãã¦ã¾ã¨ãã¦ããããã¨æã£ã¦ããã®ã§ãä½ãæ°ã¥ããç¹ã¨ãã¢ããã¤ã¹ã¨ãããã°ãé¡ããã¾ãã