ã¹ãã¬ãŒãžã®èŠ³ç¹ãããæé©åã®ãªããžã§ã¯ãã¯èšå®ã«ãªããŸãã
- ã¹ãã¬ãŒãžå ã®SAN
- ã€ãŒãµãããããã¹ãã¬ãŒãž
- ã¹ãã¬ãŒãžå ã®NAS
- ããã¯ãšã³ãã¹ãã¬ãŒãžäžã®ãã£ã¹ã¯ãµãã·ã¹ãã
- ããã³ããšã³ãã¹ãã¬ãŒãžã®ãã£ã¹ã¯ãµãã·ã¹ãã
- ãã¡ãŒã ãŠã§ã¢ã®äºææ§ã確èªãã
- å éåš
ããã«ããã¯ãæ€çŽ¢ããã«ã¯ãéåžžãé 次é€å€ææ³ãå®è¡ãããŸãã æåã«ã¹ãã¬ãŒãžããå§ããããšããå§ãããŸã ã 次ã«ã ã¹ãã¬ãŒãžã移åããŸã ->ãããã¯ãŒã¯ïŒ ã€ãŒãµããã / FCïŒ->ãã¹ãïŒ Windows / Linux / VMware ESXi 5.Xããã³ESXi 6.X ïŒ->ã¢ããªã±ãŒã·ã§ã³ã
NetAppã®ç°¡åãªæè²ããã°ã©ã ïŒ
NetApp FAS ã¹ãã¬ãŒãžã·ã¹ãã ã®å éšæ§é ã®ãã©ãã€ã ãæãåºãããŠãã ãããããã¯ã FASã·ã¹ãã ã§ã»ãšãã©åžžã«èŠ³å¯ããããã·ã§ã¢ããã·ã³ã°ãã€ããªãã®ãŒã«ãããšã ãã£ã¹ã¯ã¯RAID ã°ã«ãŒã ïŒ RAID-DP ïŒã§çµåããã RAIDã°ã«ãŒãã¯Plex ïŒãã¬ãã¯ã¹ã§çµåãããŸãã ã¹ãã¬ãŒãžã·ã¹ãã éã®ãã©ãŒãªã³ã°ã®å Žåã«äœ¿çšãããŸã RAID1ã®é¡äŒŒïŒãäž¡æ¹ã®PlexãAggregateã«çµåããã FlexVolã¯Aggregateã§äœæããã FlexVolã®ããŒã¿ã¯Aggregateã®ãã¹ãŠã®ãã©ã€ãã«åçã«åæ£ãããQtreeã¯FlexVolã§äœæãããŸã ïŒããããçš®é¡ã®ã¯ã©ãŒã¿ãå²ãåœãŠãããšãã§ãããã©ã«ããŒã®ãããªãã®ïŒãQtreeã¯ã§ããŸãããã¹ãããå ŽåãQtree LUNã®å éšãäœæãããŸãã
NetApp FASã¹ãã¬ãŒãžãªããžã§ã¯ã
ããæç¹ã§ã¯ã1ã€ã®ãã£ã¹ã¯ã¯1ã€ã®ã³ã³ãããŒã©ãŒã®ã¿ã«å±ããããšãã§ããŸããããã¯ãDataONTAPã®æãåºæ¬çãªããŒãºã§ãããOSã®å¥¥æ·±ãã«é ç·ãããŠããŸãã DataONTAPã®ãã£ã¹ã¯ã¯ãå®éã«ã¯ãã£ã¹ã¯å šäœã§ãããŒãã£ã·ã§ã³ïŒããŒãã£ã·ã§ã³ïŒã§ãããŸããŸããã ã€ãŸãããã®ãããªãªããžã§ã¯ãïŒãã£ã¹ã¯å šäœãŸãã¯ãã®ããŒãã£ã·ã§ã³ïŒã®1ã€ã¯åžžã«æææš©ãæã¡ãONãã¢ã®1ã€ã®ã³ã³ãããŒã©ãŒã«å¯ŸããŠã®ã¿æææš©ãæã¡ãŸãã ãããã£ãŠãç»åã®åçŽãã«ã¯æ³šæãæããªããã¥ã¢ã³ã¹ããããŸãïŒ2çªç®ã®ã±ãŒã¹ã§ã¯ã1ã€ã®ç©çãã£ã¹ã¯ã«è€æ°ã®ããŒãã£ã·ã§ã³ãããããã®æææš©ãå²ãåœãŠããã䜿çšãããããŒãã£ã·ã§ã³ããããŸã-1ã€ã®ã³ã³ãããŒã©ãŒ-ä»ã®ããŒãã£ã·ã§ã³-å¥ã®ã³ã³ãããŒã©ãŒããªã³ã«ããã«ã
ãã®ãããããæç¹ã§ã¯ãããã£ã¹ã¯ãïŒDataONTAPã®èŠ³ç¹ããïŒãã ãŒã³ãããªã¥ãŒã ãããã³ã¢ã°ãªã²ãŒãã¯1ã€ã®ã³ã³ãããŒã©ãŒã®ã¿ã«å±ããŸãã ãã ãããã®æãžã®ã¢ã¯ã»ã¹ã¯ã HAãã¢ã®ããŒãããŒããŸãã¯ã¯ã©ã¹ã¿ãŒã®ä»ã®ããŒããä»ããŠãå¯èœã§ãã ãããããã®ãããªæãžã®æé©ãªãã¹ã¯åžžã«ãæ-> volyum->ãŠããããé 眮ãããŠãããã£ã¹ã¯ãææããã³ã³ãããŒã©ãŒã®ããŒããééãããã¹ã®ã¿ã§ãã ã³ã³ãããŒã©ãŒã«è€æ°ã®ããŒããããå Žåããããã®ããŒãã¯ãã¹ãŠããã®ã³ã³ãããŒã©ãŒã«ããæãžã®æé©ãªãã¹ã§ãã ååãšããŠãã³ã³ãããŒã©ãŒã®ãã¹ãŠã®ããŒããä»ããŠæãžã®å¯èœãªãã¹ãŠã®æé©ãªãã¹ã䜿çšãããšãæãžã®ã¢ã¯ã»ã¹é床ã«ãã©ã¹ã®åœ±é¿ããããŸãã ãã¹ãã¯ããã¹ãŠã®æé©ãã¹ãåæã«äœ¿çšããããšããæé©ãã¹ã®äžéšã®ã¿ã䜿çšããããšãã§ããŸããããã¯ããã®ãããªãã¹ãã®OSã®ãã«ããã¹èšå®ãšã¹ãã¬ãŒãžã®ããŒãã»ããèšå®ã«äŸåããŸãã
Cluster-Modeã®FASã·ã¹ãã ã®ä»ã®ãã¹ãŠã®ãããã³ã«ã«ãåãããšãåœãŠã¯ãŸããŸããæé©ãªãã¹ã¯ãããŒã¿ãå®éã«é 眮ãããŠããã³ã³ãããŒã©ãŒã®ããŒããçµç±ãããã¹ã§ãã 7-Modeã§ã¯ã CIFS / iSCSI / NFSãããã³ã«ã®æé©ã§ãªããã¹ãä»ããããŒã¿ãžã®ã¢ã¯ã»ã¹ã¯ãããŸããã
ãããã£ãŠã ããã³ããšã³ããžã®ãã¹ãã¹ãã¬ãŒãžã·ã¹ãã ãžã®ãã¹ãŠã®ã¢ã¯ã»ã¹ãããã³ã«ã«å¯ŸããŠåžžã«æé©ã§ããããšã確èªããå¿ èŠããããŸãã
ãããã£ãŠã FC / FCoE / iSCSI ãããã³ã«ã®å Žåã ALUAã¡ã«ããºã ã¯ãã®åé¡ã解決ããã®ã«åœ¹ç«ã¡ãæé©ãªãã¹ãã©ãã«ãããã©ãã«ãªããããã¹ãã«äŒã ãæ£ãããã«ããã¹èšå®ã«ãããæ£åžžãªåäœã§æé©ãªãã¹ã®ã¿ã䜿çšãããããã«ããŸãã
NFSãããã³ã«ã§ã¯ãæé©ãªãã¹ã®äœ¿çšã¯RedHat Linuxã§ãã§ã«ãµããŒããããŠããpNFSã§è§£æ±ºãããŸãã ã ããã«ãããã¯ã©ã€ã¢ã³ãã¯è¿œå èšå®ãªãã§èªåçã«æé©ãªãã¹ãç解ããåãæ¿ããããšãã§ããŸãã NFS v3.0ãããã³ã«ã䜿çšããVMware ESXi 6.0ä»®æ³åç°å¢ã®å ŽåãClusteredONTAPãåããNetApp FASã¹ãã¬ãŒãžã§ãµããŒããããŠããvVolãã¯ãããžãŒã䜿çšããŠãæé©ãã¹ã®åé¡ãå®è£ ãããŸãã
CIFS ïŒSMBïŒãããã³ã«ã®å ŽåãããŒãžã§ã³3.0ã¯ã SMBèªåãã±ãŒã·ã§ã³ã¡ã«ããºã ãå®è£ ããŸããããã¯ã pNFSãšåæ§ã«ããã¡ã€ã«å ±æãžã®æé©ãªãã¹ã«åãæ¿ããŸãã
SANãã«ããã¹
FC / FCoEã§7-Modeããã³Cluster-Modeã§NetApp FASã䜿çšããå Žåã ALUAãæå¹ã«ããå¿ èŠããããŸãã 7-ModeãšCluster-Modeã®iSCSIã®èšå®ã¯ç°ãªããããæåã®ã±ãŒã¹ã§ã¯ALUAã¢ãŒãããªã³ã«ã§ããŸããã§ãããã2çªç®ã®ã±ãŒã¹ã§ã¯å¿ èŠã§ãã
ãã«ããã¹ã§ã¯ãããã©ã«ãã§åªå ãã¹ã䜿çšããå¿ èŠããããŸããããã¯ã LUNãžã®ãã¹ã§ããLUNãžã®ãã¹ã§ãã FCP Partner Path Misconfigured ã¹ãã¬ãŒãžã³ã³ãœãŒã«ã®ã¡ãã»ãŒãžã¯ã äžé©åã«æ§æããã ALUAãŸãã¯MPIOã瀺ããŸã ã ããã¯éèŠãªãã©ã¡ãŒã¿ãŒã§ããæ¿æãããã¹ããã«ãããã·ã³ã°ãã©ã€ããŒããã¹éã§ãã³ã¹ããããåãæ¿ããI / Oã·ã¹ãã ã«å€§ããªãã¥ãŒãäœæããå®éã®ã±ãŒã¹ã1ã€ãã£ããããç¡èŠããªãã§ãã ããã
ããŒãã»ãã
8ããŒãïŒ4 ONãã¢ïŒã®FASã·ã¹ãã ã®SANã¯ã©ã¹ã¿ãŒãµã€ãºã§ã¯ãæãžã®ã¢ã¯ã»ã¹ãã¹ïŒãããã£ãŠã³ã³ãããŒã©ãŒã®ããŒãïŒã®æ°ã¯æ³åãè¶ ããæ°ã«éããå¯èœæ§ããããŸãã ã¯ã©ã¹ã¿ãŒå ã®ããŒãã®æ°ã¯å¢å ããã ãã§ãããé »ç¹ã«ããã©ãŒã«ããã¬ã©ã³ã¹ãç ç²ã«ããããšãªããéåžžã«åŠ¥åœãªæ°ã®ãã©ã€ããªãã¹ãšã»ã«ã³ããªãã¹ã«å¶éããããšãã§ããŸãã ãããã£ãŠã ããŒãã»ããã¯ãã®åé¡ã解決ããç¹å®ã®ããŒãã§ã®ã¿æããèŠããããšãã§ããŸãã ãããã£ãŠãã ãŒã³ãèŠããã¹ãã¬ãŒãžããŒããåãæ¿ããŠã¹ã€ããäžã§æ§æããããã«å¿ããŠãŸãŒãã³ã°ãæ§æããå¿ èŠããããŸãã
éžæçLUNããã
DataONTAP 8.3以éã§ã¯ã SLMæ¹åŒãããã©ã«ãã§äœ¿çšãããæãžã®ãã¹ã®æ°ã2ã€ã®ã³ã³ãããŒã©ãŒïŒæãææããã³ã³ãããŒã©ãŒãšHAãã¢ã®ããŒãããŒïŒã«åæžãããŸãã SLMã¡ã«ããºã ã䜿çšããŠã ãŒã³ãå¥ã®ã¯ã©ã¹ã¿ãŒããŒãã«ç§»è¡ããå Žåãã ãŒã³ã䜿çšã§ããããŒããæå®ããããã«ç®¡çè ãè¿œå ã®æäœãè¡ãå¿ èŠã¯ãããŸããããã¹ãŠãèªåçã«è¡ãããŸãã 移è¡ãããè¡æãå©çšã§ããLIFã¹ãã¬ãŒãžã€ã³ã¿ãŒãã§ã€ã¹ã®WWPNã ãã¹ã€ããã®ç®çã®ãŸãŒã³ã«è¿œå ãããããã«ããå¿ èŠããããŸãã 察å¿ãããŸãŒã³å ã®ãã¹ãŠã®ã¯ã©ã¹ã¿ãŒããŒãã®ãã¹ãŠã®å¯èœãªWWPN ãããã«ç»é²ããæãžã®ãã¹ããååã«å€§ãããªããããã«SLMã¡ã«ããºã ãåŠçããããšããå§ãã ãŸã ã 詳现
ãªã³ã©ã€ã³ç§»è¡ãšSLM
ãªã³ã©ã€ã³ç§»è¡ã®å Žåã移è¡ããæãåãå ¥ããããŒãã§ãæãæ°ããè¿œå ã®æ¹æ³ã§å©çšã§ããããã«ãªã£ããã«ããã¹ãã¹ãã®ãã©ã€ããŒããäŒãããããšãå¿ èŠã§ãã
ãŸãŒãã³ã°
NetApp + VMWare SANã«ãããã©ãã«ã·ã¥ãŒãã£ã³ã°ã®è©³çŽ°ãã芧ãã ããã NetAppã®ãŸãŒãã³ã°ã¬ã€ãã©ã€ã³ã®è©³çŽ°ã«ã€ããŠã¯ãåçãã芧ãã ããã
ã€ãŒãµããã
Data Ontap 8.2.1以éã DCB ïŒãã¹ã¬ã¹ïŒã€ãŒãµãããã¯ããã¹ãŠã®ã³ã³ããŒãžãïŒ CNA / UTA ïŒNetApp FASã¹ãã¬ãŒãžããŒãã§ãµããŒããããŠããŸãã ã€ãŒãµããããããã¯ãŒã¯ãèšå®ããããã®æšèŠã
ã·ã³ããããžã§ãã³ã°
ããã¡ã€ã«ããããã³ã«NFSããã³CIFSã䜿çšããå Žåããã¡ã€ã«é åå ã®è§£æŸãããã¹ããŒã¹ãè¿ãããšã«ãããã·ã³ããããžã§ãã³ã°ãã¯ãããžãŒã®äœ¿çšãå©çšããããšã¯éåžžã«ç°¡åã§ãã ãã ãã SANã®å ŽåãThinProvitioningã䜿çšãããšã空ãé åãåžžã«å¶åŸ¡ãã空ãé åã解æŸããå¿ èŠãçããŸãïŒ SCSI-3ã¡ã«ããºã ã¯ææ°ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§äœ¿çšã§ããData Ontapã§ã¯ããŒãžã§ã³8.1.3以éã§äœ¿çšã§ããŸãïŒãåãLUNã«ã¯ãå ¥ããŸããããã ãããã®LUNãå«ãããªã¥ãŒã å ã
NFS
10 GBEæ¥ç¶ããã³Oracle ããŒã¿ããŒã¹ãããå Žåã dNFSãããã³ã«ã䜿çšããŠæ¥ç¶ããå¯èœæ§ãèæ ®ããããšã匷ããå§ãããŸã ãããã¯ãNetAppå éšãã¹ãïŒä»ã®ã¹ãã¬ãŒãžãã³ããŒã§ã¯ãã®ç¶æ³ãç°ãªãå ŽåãããïŒã«ãããšã FC 8Gãšæ¯èŒããå Žåã®ããã©ãŒãã³ã¹ãšã¬ã€ãã³ã·ã¯åçãŸãã¯ãããã«åªããŠããããã§ãOLTPããŒãã NFSã¯ãä»®æ³åã«ãéåžžã«äŸ¿å©ã§ãããã¹ãŠã®ãã¹ãããèŠãããã¹ãŠã®ä»®æ³ãã·ã³ãåãã1ã€ã®å€§ããªããŒã¿ã¹ãã¢ãããã SANãããã¯ãŒã¯ã§ã®ãŸãŒãã³ã°ãšã¯å¯Ÿç §çã«ããã¹ãéã®ç§»è¡ãã¡ã³ããã³ã¹ããããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ã®æ§æã容æã«ããŸã
ãŸããä»®æ³åäžã«ã·ãã¯ä»®æ³ãã·ã³ãã£ã¹ã¯ãäœæãïŒè² è·ã®é«ãç°å¢ã§ã®VMWareãã¹ããã©ã¯ãã£ã¹ã«åŸã£ãŠïŒãåæã«NFSçµç±ã§é ä¿¡ãããããã©ãŒãã³ã¹ãšçµæžæ§ã®äž¡æ¹ãåããThinïŒã¹ãã¢ã®èŠ³ç¹ããïŒããŒã¿ã¹ãã¢ãæã¡ãäž¡è éã®åŠ¥åãè¡ããªãããšã¯éåžžã«äŸ¿å©ã§ãã 1ã€ã®ããŒã¿ã¹ãã¢ã䜿çšãããšã空ãé åãããå¹ççã«åæ£ããããå€ããå¿ èŠãšããä»®æ³ãã·ã³ã«ãããæäŸãã FCããã³iSCSIã§çºçãããéããå³å¯ã«ä¿®æ£ããã®ã§ã¯ãªããã¹ããŒã¹ç¯çŽãæ°ããã¬ãã«ã«åŒãäžããããšãã§ããŸãã åæã«ããããã¯ã®éè€æé€ãå®è£ ãªã©ã«ãã£ãŠè§£æŸããã空ãã¹ããŒã¹ã¯ããã®ã¹ããŒã¹ããæ»ãããåãNFS / CIFSããŒã«ã§äœ¿çšã§ããŸãã
ã·ã§ãŒããŠã³ã
Linuxã®showmount -eã³ãã³ã㯠ãcDOT 8.3以éã§ãµããŒããããŠããŸã ã showmount -eã³ãã³ãã§NFSããã³ãŒãããã«ã¯ãã¹ãã¬ãŒãžåŽãããã®æ©èœãæå¹ã«ããå¿ èŠããããŸãã
nfs server modify -vserver * -showmount enabled
iSCSI
MS Windowsã䜿çšããå Žåã iSCSI MCSã䜿çšã§ããŸããããã«ããã 1ã€ã®iSCSIã»ãã·ã§ã³å ã§è€æ°ã®TCPæ¥ç¶ã䜿çšã§ããŸãã MPIOãšMCSãçµã¿åããããšãããã©ãŒãã³ã¹ãå€§å¹ ã«åäžããŸãã
Windows 2008 R2ããã³FAS 3070ã®MCS / MPIOããã³10 GBEã®ç°ãªãã»ãã·ã§ã³æ°/ TCPæ¥ç¶ã§ã®ã¹ã«ãŒãããïŒMB / sïŒ
æ¥ç¶æ° | SQLIO NTFS MCS | SQLIO NTFS MPIO |
1 | 481 | 481 |
2 | 796 | 714 |
3 | 893 | 792 |
4 | 1012 | 890 |
5 | 944 | 852 |
6 | 906 | 902 |
7 | 945 | 961 |
8 | 903 | 911 |
Cifs
CIFS ïŒSMBïŒ3.0ã®æ°ããããŒãžã§ã³ã§ã¯ããã®ãããã³ã«ããã¡ã€ã«ãã©ãã·ã¥ã®ç®çã ãã§ãªããMS SQLããŒã¿ããŒã¹ããã³MS Hyper-Vãåããä»®æ³ãã·ã³ã§äœ¿çšããããã®æ°ããå¯èœæ§ãéããŸãã
ç¶ç¶çå¯çšæ§å ±æïŒCAïŒã¯ããããã³ã«ã®æ©èœãæ¡åŒµããŸãã 以åã®ããŒãžã§ã³ã§ã¯ã ãã§ã€ã«ãªãŒããŒãŸãã¯LIFãå¥ã®ããŒãã«ç§»åããå Žåãã¯ã©ã€ã¢ã³ãã¯ãªããžããªãžã®åæ¥ç¶ã匷å¶ãããŠããŸããã ããã§ã CAã¡ã«ããºã ã«ããããã§ã€ã«ãªãŒããŒãŸãã¯LIFã®ç§»åæã«æ¥ç¶ããªãå ŽåããµãŒãã¹ãçæéäžæããããšãªããã¡ã€ã«ã䜿çšã§ããŸã ã
VMWare VAAIããã³NFS
NetAppã¯ã NFSãããã³ã«ã䜿çšããŠVMWare ESXiã®VAAIããªããã£ãããµããŒãããŠããããããã¹ãããã¹ãã¬ãŒãžã« ãã«ãŒãã³ã¿ã¹ã¯ããããŠã³ããŒãã§ããŸãã åESXiãã¹ãã«NFS VAAIãã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãïŒ FCãã©ã°ã€ã³ã«ã¯å¿ èŠãããŸããïŒãCPUã¹ãã¬ãŒãž
ã¹ãã¬ãŒãžã·ã¹ãã ã®ãã¹ãŠã®ã³ã¢ãæé©ã«äœ¿çšããã«ã¯ãå°ãªããšã8ã€ã®ããªã¥ãŒã ã䜿çšããŸããããã«ããã䞊ååã䜿çšçãããã³çµæãšããŠäœæ¥é床ãåäžããŸãã
éŠæ°Ž
perfstatãŠãŒãã£ãªãã£ã¯ã ã¹ãã¬ãŒãžã·ã¹ãã ã®è² è·ãããã¹ããã¡ã€ã«ã«åéããŸãã ãŸãããŠãŒãã£ãªãã£ãå®è¡ãããŠãããã¹ãããè² è·ã«é¢ããæ å ±ãåæã«åéããããšãã§ããŸãã support.netapp.com Webãµã€ãããããŠã³ããŒã-ãŠãŒãã£ãªãã£ToolChestã»ã¯ã·ã§ã³ãããŠã³ããŒãããŸãïŒå ¥åããã«ã¯NetApp NOW IDãå¿ èŠã§ãïŒã ãã¹ããã¹ãã¬ãŒãžã«ååãªã¹ãã¬ãŒãžãæäŸã§ããªãããšããããããããããŒãæã«ã¹ãã¬ãŒãžããçµ±èšãåéããããšãéåžžã«éèŠã§ããããã¯ãperfstatãã°ãã確èªã§ããŸãããã®å Žåãè€æ°ã®ãã¹ãã䜿çšããå¿ èŠããããŸãã
perfstat7.exe -f 192.168.0.10,192.168.0.12 -t 2 -i 3,0 -l root -S pw:123456 -F -I -w 1 >"20140114_1311.out"
ãã®ãŠãŒãã£ãªãã£ã䜿çšãããšãããšãã°ã ç Žæãããã£ã¹ã¯ãããã¯ãšã³ãããã³ãã®çµæããã³ã ãšã³ãã§ã·ã¹ãã å šäœã®é床ãèœãšãå Žåãªã©ã ã¹ãã¬ãŒãžåŽã®åé¡ãå«ãããã¹ãŠã®ãã¹ãããã®ã¹ãã¬ãŒãžã·ã¹ãã ã®ç·è² è·ã远跡ã§ããŸãã
perfstatåºåã®è§£é
ãã¹ããšã¹ãã¬ãŒãžã·ã¹ãã ã®ãã¹ãçµæãæ¯èŒãããšããã¹ãäžã®ã·ã¹ãã ã®ããã«ããã¯ãèŠã€ããããšãã§ããŸãã ãããã£ãŠã以äžã®perfstatã³ãã³ãã®åºåã«ããã°ã FCã䜿çšããŠã¹ãã¬ãŒãžã·ã¹ãã ãååã«ããŒããããŠããªãïŒ CPU ããã£ã¹ã¯äœ¿çšçãããã³åèšãã©ã¡ãŒã¿ãŒïŒããšã¯æããã§ãã ãã®ã·ã¹ãã ã§ã®æäœã®ã»ãšãã©ã¯ããã£ãã·ã¥ã®å 容ãèªã¿åã圢åŒã§å®è¡ãããŸãïŒå€Cache hitïŒã çµè«ãšããŠããã¹ãã¯ã¹ãã¬ãŒãžã·ã¹ãã ãååã«ããŒãã§ããŸããã
perfstat.out
ããã¹ããã¡ã€ã«ãéããŸã ã
=-=-=-=-=-= PERF 192.168.0.12 POSTSTATS =-=-=-=-=-= Begin: Wed Jan 15 07:16:45 GMT 2014 CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP Disk OTHER FCP iSCSI FCP kB/s iSCSI kB/s in out read write read write age hit time ty util in out in out 8% 0 0 0 227 1 1 2307 24174 0 0 8 89% 11% : 22% 3 224 0 12401 852 0 0 12% 0 0 0 191 1 5 3052 24026 0 0 6s 90% 14% F 27% 1 190 0 21485 864 0 0 18% 0 0 0 517 0 1 5303 46467 0 0 0s 90% 33% 2 38% 1 516 0 23630 880 0 0 15% 0 0 0 314 1 2 4667 24287 0 0 0s 91% 15% F 33% 27 287 0 27759 853 0 0 12% 0 0 0 252 0 1 3425 24601 0 0 9 91% 16% F 28% 20 232 0 22280 852 0 0 24% 0 0 0 1472 2 5 9386 46919 0 0 1s 82% 34% F 47% 9 1463 0 26141 673 0 0 14% 0 0 0 303 1 3 3970 24527 0 0 8s 90% 27% F 33% 1 302 0 22810 967 0 0 14% 0 0 0 299 2 6 3862 24776 0 0 0s 91% 21% F 29% 1 298 0 21981 746 0 0 13% 0 0 0 237 1 3 4608 24348 0 0 9 94% 15% F 30% 1 236 0 22721 958 0 0 17% 0 0 0 306 1 2 5603 48072 0 0 2s 92% 32% F 37% 1 305 0 22232 792 0 0 13% 0 0 0 246 0 1 3208 24278 0 0 8s 92% 14% F 26% 20 226 0 24137 598 0 0 -- Summary Statistics ( 11 samples 1.0 secs/sample) CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP Disk OTHER FCP iSCSI FCP kB/s iSCSI kB/s in out read write read write age hit time ty util in out in out Min 8% 0 0 0 191 0 1 2307 24026 0 0 0s 82% 11% * 22% 0 190 0 0 0 0 0 Avg 14% 0 0 0 396 0 2 4490 30588 0 0 2 90% 21% * 31% 7 389 0 22507 821 0 0 Max 24% 0 0 0 1472 2 6 9386 48072 0 0 9 94% 34% * 47% 27 1463 0 27759 967 0 0 Begin: Wed Jan 15 07:18:36 GMT 2014
ãã©ã¡ãŒã¿ãŒCache ageãCache hitãCP tyã®åŸ©å·åã ããã©ãŒãã³ã¹ã®æé©åãšçãããã¯ïŒ ããã«ãã㯠ïŒã®çºèŠã«ã€ããŠããå°ãã
ãã¡ã€ã«ã·ã¹ãã
ãã¹ãFSã¯ãããã©ãŒãã³ã¹ã®ãã¹ãæã«å€§å¹ ãªèª¿æŽãè¡ãããšãã§ããŸãã
FSãããã¯ãµã€ãºã¯4KBã®åæ°ã§ããå¿ èŠããããŸãã ããšãã°ãçæãããOLTPã«äŒŒãåæè² è·ãå®è¡ããæäœããããŠãããã®ãµã€ãºãå¹³å8Kã§ããå Žåã8Kãèšå®ããŸãã ãŸãã FSèªäœãšããŠãç¹å®ã®OSããã³ããŒãžã§ã³ãžã®å®è£ ãå šäœçãªããã©ãŒãã³ã¹ç¶æ³ã«å€§ãã圱é¿ããå¯èœæ§ããããšããäºå®ã«ã泚æãåèµ·ããããšæããŸãã ãããã£ãŠã ããŒã¿ããŒã¹ããddãã¡ã€ã«ã³ãã³ãã䜿çšããŠ100 MBã®ãããã¯ã§10 MBãLUNã«ããUFS FSã«æžã蟌ããšã FC 4Gãä»ããŠFAS 2240 ã¹ãã¬ãŒãžãš21 + 2 SAS 600 10kãã£ã¹ã¯ã1ãŠãããã§è»¢éããããŒã¿ã®é床ã¯150 MB / sã§ãããã FS ZFSã䜿çšããåãæ§æã§ã¯ã2åïŒãããã¯ãŒã¯ãã£ãã«ã®çè«äžã®æ倧å€ã«è¿ã¥ãïŒã瀺ãããNoatimeãã©ã¡ãŒã¿ãŒã¯ç¶æ³ã«ãŸã£ãã圱é¿ããŸããã§ããã
Noatime for file ball storage
ãŸããã¢ã¯ã»ã¹ãããããŒã¿ãå«ãã¹ãã¬ãŒãžã»ã¯ã·ã§ã³ã«åããã©ã¡ãŒã¿ãŒãèšå®ããå¿ èŠããããŸãã ãã®ãªãã·ã§ã³ãæå¹ã«ãããšã WAFL iããŒãã®ãã¡ã€ã«ã¢ã¯ã»ã¹æéãæŽæ°ãããªããªããŸãã ãããã£ãŠã次ã®ã³ãã³ãã¯SMB CIFS / NFSãã¡ã€ã«ããŒã«ã«é©çšã§ããŸãã
vol options vol1 no_atime_update on
ãã
ã©ã®OSã§ãã LUNã®äœææã«æ£ãããžãªã¡ããªãéžæããå¿ èŠããããŸãã FSãããã¯ãµã€ãºã誀ã£ãŠæå®ãããŠããå Žåã LUNãžãªã¡ããªã誀ã£ãŠæå®ãããŠããå Žåããã¹ãã§MBR / GPTãã©ã¡ãŒã¿ãŒãæ£ããéžæãããŠããªãå ŽåãããŒã¯è² è·æã«ã³ã³ãœãŒã«ã§ç¹å®ã®ã LUNãã¹ã¢ã©ã€ã¡ã³ããã€ãã³ãã«é¢ããã¡ãã»ãŒãžã衚瀺ãããŸãã ãããã®ã¡ãã»ãŒãžã¯èª€ã£ãŠè¡šç€ºãããå ŽåããããŸããããŸãã«ãã衚瀺ãããªãå Žåã¯ãåã«ç¡èŠããŠãã ããã ã¹ãã¬ãŒãžã·ã¹ãã ã§lun statsã³ãã³ããå®è¡ããããšã§ããã確èªã§ããŸãã以äžã«åºåäŸã瀺ããŸããalign_histo.1ïŒ100ïŒ ããã³write_align_histo.1ïŒ97ïŒ ã«æ³šæããŠãã ãããããã¯ãéåžžæ§æãããã·ã¹ãã ã§ã¯ãããŸãã-ãããã¯ã¯ãã©ã¡ãŒã¿ãŒã§ã0ãã§å§ãŸãå¿ èŠããããŸãAlign_histo
TR-3593
é©åãªã¢ã©ã€ã¡ã³ãããªããã©ãããå€æããã«ã¯ãããŸããŸãªæ¹æ³ããããŸãã wafl_suspã»ã¯ã·ã§ã³ã®äžã®perfstatã«ãŠã³ã¿ãŒã䜿çšãããšããwp.partial_writesãããpw.over_limitããããã³ãpw.async_readããäžé©åãªã¢ã©ã€ã¡ã³ãã®ææšã«ãªããŸãã ãwp.partial writeãã¯ãã¢ã©ã€ã¡ã³ããããŠããªãI / Oã®ãããã¯ã«ãŠã³ã¿ãŒã§ãã å°æ°ã®éšåæžã蟌ã¿ä»¥äžãçºçãããšãWAFLã¯ããã¯ã°ã©ãŠã³ãèªã¿åããéå§ããŸãã ãããã¯ãpw.async_readãã§ã«ãŠã³ããããŸãã ãPw.over_limitãã¯ããã£ã¹ã¯èªã¿åãã§åŸ
æ©ããŠããæžã蟌ã¿ã®ãããã¯ã«ãŠã³ã¿ãŒã§ãã
Data ONTAP 7.2.1以éã䜿çšãããšãI / Oã¢ã©ã€ã¡ã³ãã远跡ããLUNããšã®ã«ãŠã³ã¿ãŒãããã€ããããŸãã
read / write_align_histo [0]ãé€ããããã®ããããããŒã以å€ã®å ŽåãI / Oã®äœçœ®ããããŠããŸãã
Data ONTAP 7.2.1以éã䜿çšãããšãI / Oã¢ã©ã€ã¡ã³ãã远跡ããLUNããšã®ã«ãŠã³ã¿ãŒãããã€ããããŸãã
- lunïŒread_align_histoïŒI / OãWAFLãããã¯ã®å é ãã512bã»ã¯ã¿ãŒé¢ããŠããæ°ã远跡ããèªã¿åãã®8binãã¹ãã°ã©ã ã èªã¿åãã®å²åãšããŠå ±åãããŸãã
- lunïŒwrite_align_histoïŒæžã蟌ã¿ãšåãã§ãã
- lunïŒread_partial_blocksïŒïŒ 4kã®åæ°ã§ã¯ãªãèªã¿åãã
- lunïŒwrite_partial_blocksïŒæžã蟌ã¿ã§ãåãã§ãã
read / write_align_histo [0]ãé€ããããã®ããããããŒã以å€ã®å ŽåãI / Oã®äœçœ®ããããŠããŸãã
7-Modeã®lunçµ±èš
priv set -q advanced; lun show -v lun status lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:display_name:/vol/vol0/drew_smi lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_ops:1/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_ops:26/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:other_ops:0/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_data:10758b/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_data:21997484b/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:queue_full:0/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:avg_latency:290.19ms lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:total_ops:27/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:scsi_partner_ops:0/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:scsi_partner_data:0b/s lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.0:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.1:100% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.2:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.3:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.4:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.5:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.6:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_align_histo.7:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.0:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.1:97% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.2:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.3:1% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.4:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.5:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.6:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_align_histo.7:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:read_partial_blocks:0% lun:/vol/vol0/drew_smi-W9mAeJb3vzGS:write_partial_blocks:1%
Cluster-Modeã®lun show
cl1::*> set -privilege advanced; lun show -vserver <your_vserver> -path <your_path_to_the_lun> Vserver Name: vs_infra LUN Path: /vol/vol_infra_10/qtree_1/lun_10 Volume Name: vol_infra_10 Qtree Name: qtree_1 LUN Name: lun_10 LUN Size: 500.1GB Prefix Size: 0 Extent Size: 0 Suffix Size: 0 OS Type: vmware Space Reservation: disabled Serial Number: 804j6]FOQ3Ls Comment: Space Reservations Honored: true Space Allocation: disabled State: online LUN UUID: 473e9853-cc39-4eab-a1ef-88c43f42f9dc Mapped: mapped Vdisk ID: 80000402000000000000000000006a6a0335be76 Block Size: 512 Device Legacy ID: - Device Binary ID: - Device Text ID: - Read Only: false Inaccessible Due to Restore: false Inconsistent Filesystem: false Inconsistent Blocks: false NVFAIL: false Alignment: partial-writes Used Size: 89.44GB Maximum Resize Size: 4.94TB Creation Time: 10/31/2014 20:40:10 Class: regular Clone: false Clone Autodelete Enabled: false Has Metadata Provisioned: true QoS Policy Group: - cl1::*> set -privilege diagnostic; lun alignment show -vserver vs_infra -path * Vserver Name: vs_infra LUN Path: /vol/vol_infra_10/qtree_1/lun_10 OS Type: vmware Alignment: partial-writes Write Alignment Histogram: 62, 0, 0, 0, 0, 0, 0, 0 Read Alignment Histogram: 89, 0, 2, 0, 0, 0, 0, 0 Write Partial Blocks: 36 Read partial Blocks: 4 Vserver Name: vs_infra LUN Path: /vol/vol_0_a/lun_03032015_095833 OS Type: windows_2008 Alignment: aligned Write Alignment Histogram: 99, 0, 0, 0, 0, 0, 0, 0 Read Alignment Histogram: 99, 0, 0, 0, 0, 0, 0, 0 Write Partial Blocks: 0 Read partial Blocks: 0 Vserver Name: vs_infra LUN Path: /vol/vol_1_b/lun_03052015_095855 OS type: linux Alignment: misaligned Write alignment histogram percentage: 0, 0, 0, 0, 0, 0, 0, 100 Read alignment histogram percentage: 0, 0, 0, 0, 0, 0, 0, 100 Partial writes percentage: 0 Partial reads percentage: 0 Vserver Name: vs_infra LUN Path: /vol/vol_infra_20/qtree_2/lun_20 OS Type: linux Alignment: indeterminate Write Alignment Histogram: 0, 0, 0, 0, 0, 0, 0, 0 Read Alignment Histogram: 100, 0, 0, 0, 0, 0, 0, 0 Write Partial Blocks: 0 Read partial Blocks: 0
ãŸãã VMFSã䜿çšãããå ±æããŒã¿ã¹ãã¢ãäžã®ä»®æ³åç°å¢ã§ããã¹ã¢ã©ã€ã¡ã³ããçºçããå¯èœæ§ããããã·ã¹ãã ããã©ãŒãã³ã¹ã®äœäžã«ã€ãªããå¯èœæ§ããããŸãã ãã®å Žåãæ¢åã®ä»®æ³ãã·ã³ã®åé¡ãä¿®æ£ããã«ã¯2ã€ã®æ¹æ³ããããŸããvCenterçšã®NetApp VSCãã©ã°ã€ã³ãä»ããŠãä»®æ³ãã·ã³ïŒStorage vMoutionïŒã®æ°ããããŒã¿ã¹ãã¢ïŒæ£ããLUNãžãªã¡ããªïŒãžã®ç§»è¡ãéå§ããããMBRalignã³ãã³ãã©ã€ã³ãŠãŒãã£ãªãã£ã䜿çšããŠæåã§ãããã¯ã¢ã©ã€ã¡ã³ããå®è¡ããŸãvmdkãã¡ã€ã«ã æåã¢ãŒãã§ã¯ãä»®æ³ãã·ã³OSã®ããŒãããŒããŒãæ©èœããªããªãå¯èœæ§ãããã埩å ããå¿ èŠãããããšã«æ³šæããŠãã ããã 詳现ã«ã€ããŠã¯ãä»®æ³ç°å¢ã§ã®ãã¡ã€ã«ã·ã¹ãã ã¢ã©ã€ã³ã¡ã³ãã®ãã¹ããã©ã¯ãã£ã¹ãåç §ããŠãã ãã ã I / Oãââã¹ã¢ã©ã€ã¡ã³ããšã¯äœã ãããã³ãããä¿®æ£ããæ¹æ³ã«ã€ã㊠㯠ããã¡ããã芧ãã ããã
åé å
ããšãã°ã äœææžã¿ã®ãŠãããã«ãã£ã¹ã¯ãè¿œå ããåŸãªã©ããã¹ãŠã®ããŒã¿ããã¹ãŠã®ãã£ã¹ã¯ã«åæ£ããŠããããšã確èªããããšãäžå¯æ¬ ã§ãã ãã£ã¹ã¯äžã®ããªã¥ãŒã ããŒã¿ã®ãã¹ãã¢ãç¶æ ã確èªããã«ã¯ã7-Modeã§å®è¡ããŸãã
reallocate measure âo /vol/<volume>
Custered ONTAPã®å ŽåïŒ
reallocate measure -vserver <vserver> -path /vol/<volume> -once true -threshold 3
ãã®ãããªã³ãã³ãã®åºåäŸãèŠãŠã¿ãŸãããïŒ
Sat Mar 1 20:26:16 EET [fas-a:wafl.reallocate.check.highAdvise:info]: Allocation check on '/vol/vol_vol01' is 12, hotspot 5 (threshold 4), consider running reallocate.
ãããå€4ãã倧ãã12ã®å€ã¯ãããªã¥ãŒã ã§åé 眮ãå®è¡ããå¿ èŠãããããšã瀺ããŸãã ãããã¹ããã5ã®å€ã¯ãããããããã¯ããŠãããã®ãã¹ãŠã®ãã£ã¹ã¯ã§ã¯ãªã5ã€ã®ãã£ã¹ã¯ã«é 眮ãããŠããããšã瀺ããŸãïŒåçŽãªå®è£ ã§è§£æ±ºãããªãå Žåã¯ã ãã¡ããåç §ããŠãã ãã ïŒã
äžååãªç©ºãé åãšã¹ãããã·ã§ããã®ååšã«ãããå®è£ ã劚ããããå ŽåããããŸã ã ããªã¥ãŒã ã§ã¯ãã¢ã¯ãã£ããªãã¡ã€ã«ã·ã¹ãã ã«å°ãªããšã5ïŒ ãSnapReserveã«10ïŒ ã®ç©ºãé åãå¿ èŠã§ãã
æ°ãããã£ã¹ã¯ãè¿œå ããå ŽåãããŒã¿ã ãã§ãªã空ã®ãããã¯ãã¢ã³ãã©ã³ã¹ããããšã¯çã«ããªã£ãŠããŸãã
ããªã¥ãŒã ããŒã¿ã®ç©ççãªå®è£ ãå®è¡ããŠã7-Modeã®ããã©ãŒãã³ã¹ãæé©åãã
aggr options aggr0 free_space_realloc on reallocate start -f -p /vol/<volume>
Clustered ONTAPã§ã Clustered ONTAPã®å Žåã reallocateã³ãã³ãã¯åºåãè¿ããŸãããèŠæ±ããå¿ èŠããããŸãã
storage aggregate modify -free-space-realloc on reallocate start -vserver <vserver> -path /vol/<volume> -force true -threshold 3 -space-optimized true event log show -messagename wafl.reallocate* -severity *
å±éåŸã®ãã£ã¹ã¯è² è·ã®åçåæ£ïŒ
ã¹ãã¬ãŒãžäžã®ãã©ã€ãã確èªãã
ãã¹ãäžããã£ã¹ã¯ã®1ã€ãæ éããŠããªããããŠãããå šäœã«ãã¬ãŒãããããªãããšã確èªããããšãéåžžã«éèŠã§ãã
7-Modeã®çµ±èš
# statit -b # statit -e disk ut% xfers ureads--chain-usecs writes--chain-usecs cpreads-chain-usecs greads--chain-usecs gwrites-chain-usecs /aggr0/plex0/rg0: 01.0a.16 9 3.71 0.47 1.00 90842 2.94 15.14 1052 0.30 7.17 442 0.00 .... . 0.00 .... . 01.0b.17 11 3.86 0.47 1.00 126105 3.14 14.31 1170 0.25 2.20 1045 0.00 .... . 0.00 .... . 01.0a.18 35 35.52 33.62 1.24 14841 1.63 26.23 965 0.27 15.09 392 0.00 .... . 0.00 .... . 01.0b.25 78 35.15 33.47 1.13 64924 1.48 28.77 2195 0.20 16.75 1493 0.00 .... . 0.00 .... . 01.0a.24 34 33.96 32.26 1.13 17318 1.51 28.21 1007 0.20 17.00 257 0.00 .... . 0.00 .... . 01.0b.22 36 35.40 33.67 1.15 16802 1.51 28.25 1003 0.22 15.56 721 0.00 .... . 0.00 .... . 01.0a.21 35 34.98 33.27 1.16 17126 1.48 28.75 950 0.22 14.78 820 0.00 .... . 0.00 .... . 01.0b.28 77 34.93 33.02 1.13 66383 1.56 27.40 3447 0.35 10.21 8392 0.00 .... . 0.00 .... . 01.0a.23 32 33.02 31.12 1.17 14775 1.53 27.65 1018 0.37 10.80 1321 0.00 .... . 0.00 .... . 01.0b.20 35 34.41 32.38 1.29 15053 1.66 25.73 976 0.37 9.67 1076 0.00 .... . 0.00 .... . 01.0a.19 34 34.80 33.07 1.20 15961 1.51 28.30 930 0.22 15.00 681 0.00 .... . 0.00 .... . 01.0b.26 76 34.41 32.41 1.05 68532 1.63 26.09 3482 0.37 11.93 7698 0.00 .... . 0.00 .... . 01.0a.27 36 35.15 33.32 1.26 15327 1.56 27.35 1018 0.27 12.82 1170 0.00 .... . 0.00 .... . /aggr0/plex0/rg1: 02.0b.29 5 2.00 0.00 .... . 1.63 27.89 1023 0.37 9.80 231 0.00 .... . 0.00 .... . 02.0a.33 5 2.03 0.00 .... . 1.68 27.13 1095 0.35 8.21 330 0.00 .... . 0.00 .... . 02.0b.34 32 34.46 32.75 1.19 14272 1.51 29.87 927 0.20 16.63 617 0.00 .... . 0.00 .... . 02.0a.35 31 32.85 31.00 1.15 14457 1.51 29.87 895 0.35 12.36 1075 0.00 .... . 0.00 .... . 02.0b.41 32 33.10 31.44 1.20 13396 1.51 29.87 930 0.15 21.83 618 0.00 .... . 0.00 .... . 02.0a.43 31 32.73 30.92 1.19 13827 1.58 28.47 1005 0.22 15.22 920 0.00 .... . 0.00 .... . 02.0b.44 31 32.65 31.02 1.11 14986 1.51 29.85 913 0.12 26.00 408 0.00 .... . 0.00 .... . 02.0a.32 31 32.68 30.87 1.13 14437 1.58 28.48 956 0.22 15.78 627 0.00 .... . 0.00 .... . 02.0b.36 32 34.70 32.95 1.13 14680 1.56 28.94 975 0.20 16.75 582 0.00 .... . 0.00 .... . 02.0a.37 31 32.43 30.70 1.21 13836 1.51 29.89 929 0.22 14.78 797 0.00 .... . 0.00 .... .
ã¯ã©ã¹ã¿ãŒã¢ãŒãã®çµ±èš/çµ±èš
ãŸãã¯ã statisticsã³ãã³ãã䜿çšããŸã ã
# storage disk show -broken # run -node * -command "priv set diag; statit -b" # run -node * -command "priv set diag; statit -e" disk ut% xfers ureads--chain-usecs writes--chain-usecs cpreads-chain-usecs greads--chain-usecs gwrites-chain-usecs /aggr0/plex0/rg0: 01.0a.16 9 3.71 0.47 1.00 90842 2.94 15.14 1052 0.30 7.17 442 0.00 .... . 0.00 .... . 01.0b.17 11 3.86 0.47 1.00 126105 3.14 14.31 1170 0.25 2.20 1045 0.00 .... . 0.00 .... . 01.0a.18 35 35.52 33.62 1.24 14841 1.63 26.23 965 0.27 15.09 392 0.00 .... . 0.00 .... . 01.0b.25 78 35.15 33.47 1.13 64924 1.48 28.77 2195 0.20 16.75 1493 0.00 .... . 0.00 .... . 01.0a.24 34 33.96 32.26 1.13 17318 1.51 28.21 1007 0.20 17.00 257 0.00 .... . 0.00 .... . 01.0b.22 36 35.40 33.67 1.15 16802 1.51 28.25 1003 0.22 15.56 721 0.00 .... . 0.00 .... . 01.0a.21 35 34.98 33.27 1.16 17126 1.48 28.75 950 0.22 14.78 820 0.00 .... . 0.00 .... . 01.0b.28 77 34.93 33.02 1.13 66383 1.56 27.40 3447 0.35 10.21 8392 0.00 .... . 0.00 .... . 01.0a.23 32 33.02 31.12 1.17 14775 1.53 27.65 1018 0.37 10.80 1321 0.00 .... . 0.00 .... . 01.0b.20 35 34.41 32.38 1.29 15053 1.66 25.73 976 0.37 9.67 1076 0.00 .... . 0.00 .... . 01.0a.19 34 34.80 33.07 1.20 15961 1.51 28.30 930 0.22 15.00 681 0.00 .... . 0.00 .... . 01.0b.26 76 34.41 32.41 1.05 68532 1.63 26.09 3482 0.37 11.93 7698 0.00 .... . 0.00 .... . 01.0a.27 36 35.15 33.32 1.26 15327 1.56 27.35 1018 0.27 12.82 1170 0.00 .... . 0.00 .... . /aggr0/plex0/rg1: 02.0b.29 5 2.00 0.00 .... . 1.63 27.89 1023 0.37 9.80 231 0.00 .... . 0.00 .... . 02.0a.33 5 2.03 0.00 .... . 1.68 27.13 1095 0.35 8.21 330 0.00 .... . 0.00 .... . 02.0b.34 32 34.46 32.75 1.19 14272 1.51 29.87 927 0.20 16.63 617 0.00 .... . 0.00 .... . 02.0a.35 31 32.85 31.00 1.15 14457 1.51 29.87 895 0.35 12.36 1075 0.00 .... . 0.00 .... . 02.0b.41 32 33.10 31.44 1.20 13396 1.51 29.87 930 0.15 21.83 618 0.00 .... . 0.00 .... . 02.0a.43 31 32.73 30.92 1.19 13827 1.58 28.47 1005 0.22 15.22 920 0.00 .... . 0.00 .... . 02.0b.44 31 32.65 31.02 1.11 14986 1.51 29.85 913 0.12 26.00 408 0.00 .... . 0.00 .... . 02.0a.32 31 32.68 30.87 1.13 14437 1.58 28.48 956 0.22 15.78 627 0.00 .... . 0.00 .... . 02.0b.36 32 34.70 32.95 1.13 14680 1.56 28.94 975 0.20 16.75 582 0.00 .... . 0.00 .... . 02.0a.37 31 32.43 30.70 1.21 13836 1.51 29.89 929 0.22 14.78 797 0.00 .... . 0.00 .... .
ãŸãã¯ã statisticsã³ãã³ãã䜿çšããŸã ã
set -privilege advanced ; statistics disk show -interval 5 -iterations 1 cl03 : 3/5/2015 10:30:29 Busy *Total Read Write Read Write Latency Disk Node (%) Ops Ops Ops (Bps) (Bps) (us) ----- --------------- ---- ------ ---- ----- ----- ----- ------- 1.0.4 Multiple_Values 1 5 2 3 31744 69632 6000 1.0.2 Multiple_Values 1 4 2 2 31744 65536 5263 1.0.8 Multiple_Values 0 2 1 1 62464 43008 5363 1.0.1 cl03-02 0 2 0 1 12288 7168 5500 1.0.0 cl03-02 0 2 0 1 12288 7168 5000 1.0.12 Multiple_Values 0 1 0 0 59392 53248 5000 1.0.10 Multiple_Values 0 1 0 0 60416 56320 6000 1.0.7 cl03-02 0 0 0 0 10240 0 0 1.0.6 cl03-02 0 0 0 0 11264 0 7500 1.0.5 cl03-02 0 0 0 0 10240 0 4000 1.0.3 cl03-02 0 0 0 0 10240 0 13000 1.0.17 cl03-02 0 0 0 0 10240 0 1000 1.0.16 cl03-01 0 0 0 0 10240 0 0 1.0.15 cl03-01 0 0 0 0 0 0 - 1.0.14 cl03-02 0 0 0 0 10240 0 0 1.0.11 cl03-02 0 0 0 0 10240 0 0
RAID-DP 11d + 2pæ§æã§ã¯ãã¢ã°ãªã²ãŒãã2ã€ã®RAIDã°ã«ãŒã-rg0ããã³rg1ã§æ§æãããŠããããšãããããŸãã ãã©ã€ã0c.16ã1b.17ããã³0c.29ã0c.33ã¯ããªãã£ãã£ã¹ã¯ã§ãæ®ãã¯ããŒã¿ã§ãã
ããŒã¿ãã£ã¹ã¯ãåçã«ããŒããããŠããªãå Žå
statit / statisticsã³ãã³ãã®åºåã§ãå¥åŠãªç¹ãæ¢ããŠããŸãã ãã£ã¹ã¯ã®äœ¿çšéã¯ãä»ã®ããŒã¿ãã£ã¹ã¯ãšæ¯èŒããŠ0s.25ã26ã28ã§ã ïŒããªãã£ãã£ã¹ã¯ã«ã¯ä»ã®ã«ãŒã«ãé©çšãããŸããããããã¯èª¿ã¹ãŠããŸããïŒã ã°ã«ãŒããã£ã¹ã¯ã®å¹³åut utè² è·ã35ïŒ ã®å Žå ããããã®ãã£ã¹ã¯ã®è² è·ã¯ãä»ã®ãã£ã¹ã¯ãšæ¯èŒããŠãçŽ75ïŒ ã«å ããŠé«ã¬ã€ãã³ã·ïŒ usecs usecsããã³usecsãæžã蟌ã ïŒã®ã»ãŒ2åã 60-70ããªç§ã«éããæ®ãã¯14-17ã§ãã éåžžåäœããã¢ã°ãªã²ãŒãã§ã¯ãã¢ã°ãªã²ãŒãå ã®ãã¹ãŠã®ããŒã¿ãã£ã¹ã¯ã«åçã«è² è·ãåæ£ããå¿ èŠããããŸãã å®è£ ã§ãŠãããã®è² è·ã調ã¹ããããã®ãããªãã£ã¹ã¯ã亀æããå¿ èŠããããŸãã
7-Modeã®å ŽåïŒ
disk fail 0.25
Cã¢ãŒãã®å ŽåïŒ
storage disk fail âdisk 0.25
次ã«ãç Žæãã7-Modeãã©ã€ãã確èªããŸã
ãã£ã¹ã¯ã®LEDã€ã³ãžã±ãŒã¿ã匷調衚瀺ããŠãæ€åºãšãã®åŸã®æœåºã容æã«ããŸã
ãã£ã¹ã¯ãã€ã³ã¹ããŒã«ãããŠããã·ã§ã«ããšäœçœ®ã®å³ãèŠãŠãã ããã
aggr status -f sysconfig -d sysconfig -a disk show -v
ãã£ã¹ã¯ã®LEDã€ã³ãžã±ãŒã¿ã匷調衚瀺ããŠãæ€åºãšãã®åŸã®æœåºã容æã«ããŸã
led_on disk_name
ãã£ã¹ã¯ãã€ã³ã¹ããŒã«ãããŠããã·ã§ã«ããšäœçœ®ã®å³ãèŠãŠãã ããã
sasadmin shelf
ç Žæããã¯ã©ã¹ã¿ãŒã¢ãŒããã©ã€ãã確èªããŸã
ãã£ã¹ã¯ã®LEDã€ã³ãžã±ãŒã¿ã匷調衚瀺ããŠãæ€åºãšãã®åŸã®æœåºã容æã«ããŸã
ãã£ã¹ã¯ãã€ã³ã¹ããŒã«ãããŠããã·ã§ã«ããšäœçœ®ã®å³ãèŠãŠãã ããã
storage aggregate show -state failed run -node * -command sysconfig -d run -node * -command sysconfig -a disk show -pool * -fields disk,usable-size,shelf,type,container-type,container-name,owner,pool disk show -prefailed true disk show -broken
ãã£ã¹ã¯ã®LEDã€ã³ãžã±ãŒã¿ã匷調衚瀺ããŠãæ€åºãšãã®åŸã®æœåºã容æã«ããŸã
storage disk set-led -disk disk_name 2
ãã£ã¹ã¯ãã€ã³ã¹ããŒã«ãããŠããã·ã§ã«ããšäœçœ®ã®å³ãèŠãŠãã ããã
run -node * -command sasadmin shelf
CPUè² è·
CPUãŸãã¯ãã£ãã·ã¥ã«ãã©ã°ããªãããšã確èªãããããã³ã«ã®è² è·ã確èªããŸãã
7-Modeã®sysstat
sysstatã®è©³çŽ°
7M> sysstat -x 1 CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP Disk FCP iSCSI FCP kB/s iSCSI kB/s in out read write read write age hit time ty util in out in out 5% 0 726 0 726 2555 1371 2784 24 0 0 1 91% 0% - 89% 0 0 0 0 0 0 4% 0 755 0 755 1541 1136 3312 0 0 0 1 92% 0% - 89% 0 0 0 0 0 0 6% 0 1329 0 1334 3379 2069 3836 8 0 0 1 90% 0% - 79% 0 5 0 0 74 0 4% 0 637 0 637 2804 2179 3160 24 0 0 1 92% 0% - 86% 0 0 0 0 0 0 4% 0 587 0 587 2386 1241 2532 8 0 0 1 94% 0% - 98% 0 0 0 0 0 0 8% 0 381 0 381 2374 1063 5224 15120 0 0 6s 96% 45% Tf 78% 0 0 0 0 0 0 7% 0 473 0 473 2902 840 3020 20612 0 0 6s 98% 100% :f 100% 0 0 0 0 0 0 5% 0 1131 0 1133 3542 1371 2612 400 0 0 6s 92% 35% : 70% 0 2 0 0 20 0 7% 0 1746 0 1746 3874 1675 3572 0 0 0 6s 92% 0% - 79% 0 0 0 0 0 0 8% 0 2056 0 2056 5754 3006 4044 24 0 0 6s 95% 0% - 83% 0 0 0 0 0 0 6% 0 1527 0 1527 2912 2162 2360 0 0 0 6s 94% 0% - 86% 0 0 0 0 0 0 6% 0 1247 0 1265 3740 1341 2672 0 0 0 6s 94% 0% - 96% 0 18 0 0 98 0 6% 0 1215 0 1220 3250 1270 2676 32 0 0 6s 92% 0% - 86% 0 5 0 0 61 0 4% 0 850 0 850 1991 915 2260 0 0 0 6s 90% 0% - 75% 0 0 0 0 0 0 7% 0 1740 0 1740 3041 1246 2804 0 0 0 13s 92% 0% - 80% 0 0 0 0 0 0 3% 0 522 0 531 1726 1042 2340 24 0 0 16s 88% 0% - 69% 7 0 0 12 0 0 6% 0 783 0 804 5401 1456 3424 0 0 0 1 92% 0% - 89% 17 0 0 21 0 0 10% 0 478 0 503 4229 919 5840 13072 0 0 1 95% 65% Tf 98% 12 9 0 17 94 0 9% 0 473 0 487 3290 945 2720 23148 0 0 31s 97% 100% :f 100% 12 0 0 17 0 0 6% 0 602 0 606 3196 729 2380 12576 0 0 31s 97% 89% : 100% 0 0 0 0 0 0 10% 0 1291 0 1291 15950 3017 2680 0 0 0 31s 94% 0% - 100% 0 0 0 0 0 0 9% 0 977 0 977 13452 4553 4736 24 0 0 31s 96% 0% - 92% 0 0 0 0 0 0 6% 0 995 0 995 3923 2210 2356 8 0 0 31s 94% 0% - 85% 0 0 0 0 0 0 4% 0 575 0 583 1849 2948 3056 0 0 0 31s 93% 0% - 96% 0 8 0 0 111 0 5% 0 789 0 789 2316 742 2364 24 0 0 31s 94% 0% - 91% 0 0 0 0 0 0 4% 0 550 0 550 1604 1125 3004 0 0 0 31s 92% 0% - 80% 0 0 0 0 0 0 7% 0 1398 0 1398 2910 1358 2716 0 0 0 31s 94% 0% - 87% 0 0 0 0 0 0
sysstat / Cluster-Modeã®çµ±èš
sysstatã®è©³çŽ°
ãŸãã¯ã³ãã³ãã䜿çšããŠ
CM::*> system node run -node local -command "priv set diag; sysstat -x 1" CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP Disk FCP iSCSI FCP kB/s iSCSI kB/s in out read write read write age hit time ty util in out in out 5% 0 726 0 726 2555 1371 2784 24 0 0 1 91% 0% - 89% 0 0 0 0 0 0 4% 0 755 0 755 1541 1136 3312 0 0 0 1 92% 0% - 89% 0 0 0 0 0 0 6% 0 1329 0 1334 3379 2069 3836 8 0 0 1 90% 0% - 79% 0 5 0 0 74 0 4% 0 637 0 637 2804 2179 3160 24 0 0 1 92% 0% - 86% 0 0 0 0 0 0 4% 0 587 0 587 2386 1241 2532 8 0 0 1 94% 0% - 98% 0 0 0 0 0 0 8% 0 381 0 381 2374 1063 5224 15120 0 0 6s 96% 45% Tf 78% 0 0 0 0 0 0 7% 0 473 0 473 2902 840 3020 20612 0 0 6s 98% 100% :f 100% 0 0 0 0 0 0 5% 0 1131 0 1133 3542 1371 2612 400 0 0 6s 92% 35% : 70% 0 2 0 0 20 0 7% 0 1746 0 1746 3874 1675 3572 0 0 0 6s 92% 0% - 79% 0 0 0 0 0 0 8% 0 2056 0 2056 5754 3006 4044 24 0 0 6s 95% 0% - 83% 0 0 0 0 0 0 6% 0 1527 0 1527 2912 2162 2360 0 0 0 6s 94% 0% - 86% 0 0 0 0 0 0 6% 0 1247 0 1265 3740 1341 2672 0 0 0 6s 94% 0% - 96% 0 18 0 0 98 0 6% 0 1215 0 1220 3250 1270 2676 32 0 0 6s 92% 0% - 86% 0 5 0 0 61 0 4% 0 850 0 850 1991 915 2260 0 0 0 6s 90% 0% - 75% 0 0 0 0 0 0 7% 0 1740 0 1740 3041 1246 2804 0 0 0 13s 92% 0% - 80% 0 0 0 0 0 0 3% 0 522 0 531 1726 1042 2340 24 0 0 16s 88% 0% - 69% 7 0 0 12 0 0 6% 0 783 0 804 5401 1456 3424 0 0 0 1 92% 0% - 89% 17 0 0 21 0 0 10% 0 478 0 503 4229 919 5840 13072 0 0 1 95% 65% Tf 98% 12 9 0 17 94 0 9% 0 473 0 487 3290 945 2720 23148 0 0 31s 97% 100% :f 100% 12 0 0 17 0 0 6% 0 602 0 606 3196 729 2380 12576 0 0 31s 97% 89% : 100% 0 0 0 0 0 0 10% 0 1291 0 1291 15950 3017 2680 0 0 0 31s 94% 0% - 100% 0 0 0 0 0 0 9% 0 977 0 977 13452 4553 4736 24 0 0 31s 96% 0% - 92% 0 0 0 0 0 0 6% 0 995 0 995 3923 2210 2356 8 0 0 31s 94% 0% - 85% 0 0 0 0 0 0 4% 0 575 0 583 1849 2948 3056 0 0 0 31s 93% 0% - 96% 0 8 0 0 111 0 5% 0 789 0 789 2316 742 2364 24 0 0 31s 94% 0% - 91% 0 0 0 0 0 0 4% 0 550 0 550 1604 1125 3004 0 0 0 31s 92% 0% - 80% 0 0 0 0 0 0 7% 0 1398 0 1398 2910 1358 2716 0 0 0 31s 94% 0% - 87% 0 0 0 0 0 0
ãŸãã¯ã³ãã³ãã䜿çšããŠ
CM::*> set -privilege advanced ; statistics show-periodic cpu cpu total fcache total total data data data cluster cluster cluster disk disk pkts pkts avg busy ops nfs-ops cifs-ops ops recv sent busy recv sent busy recv sent read write recv sent ---- ---- -------- -------- -------- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- -------- -------- 27% 88% 4 4 0 0 46.2KB 13.7KB 0% 35.4KB 2.36KB 0% 10.8KB 10.9KB 962KB 31.7KB 62 55 12% 62% 3 3 0 0 12.7KB 12.9KB 0% 207B 268B 0% 12.3KB 12.5KB 2.40MB 7.73MB 51 47 11% 41% 27 27 0 0 119KB 39.2KB 0% 104KB 25.6KB 0% 13.8KB 13.5KB 1.65MB 0B 155 116 cl03: cluster.cluster: 3/5/2015 10:16:17 cpu cpu total fcache total total data data data cluster cluster cluster disk disk pkts pkts avg busy ops nfs-ops cifs-ops ops recv sent busy recv sent busy recv sent read write recv sent ---- ---- -------- -------- -------- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- -------- -------- Minimums: 11% 30% 1 1 0 0 12.7KB 12.9KB 0% 148B 245B 0% 10.8KB 10.9KB 947KB 0B 51 47 Averages for 12 samples: 20% 72% 7 7 0 0 58.5KB 20.4KB 0% 42.6KB 4.52KB 0% 15.7KB 15.7KB 1.57MB 4.06MB 105 90 Maximums: 30% 94% 27 27 0 0 145KB 39.2KB 0% 121KB 25.6KB 0% 23.9KB 24.4KB 3.06MB 12.4MB 198 177
ãã£ã¹ã¯ãµãã·ã¹ãã ã®æé©åãšãã§ãã¯ã®è©³çŽ°ã«ã€ããŠã¯ããã¡ããã芧ãã ããã
ãŠãããã®ã¹ãããã·ã§ãããç¡å¹ã«ãã
ãã¹ããã©ã¯ãã£ã¹ã§ç¹ã«æå®ãããŠããªãéãããŠãããã®ã¹ãããã·ã§ããã¯ãªãã«ããŠãã ãããã¹ãããã·ã§ããã¯äœåãªã¹ããŒã¹ãå æããSyncMirrorïŒMetroClusterïŒãªã©ã®éåžžã«ãŸããªæ§æã§å¿ èŠã«ãªããŸãã
snap shced -A aggr1 0 0 0 snap delete -A aggr1 snap list -A aggr1 snap reserve -A aggr1 0
Clustered ONTAPã®å Žåãåã³ãã³ããè¿œå ããåã«
system node run -node * -command
VSC L2ãã£ãã·ã¥ïŒFlashCache / FlashPool
ä»®æ³ã¹ãã¬ãŒãžéå±€åïŒVSTïŒ-第2ã¬ãã«ã®ããŒã¿ãã£ãã·ã³ã°ãFlashCacheã¯ãã³ã³ãããŒã©ãŒäžã®ãã¹ãŠã®èªã¿åãæäœããã£ãã·ã¥ããPCIeã«ãŒãã§ããFlashPool-å転ãã£ã¹ã¯ïŒSAS / SATA HDDïŒãšRAIDã°ã«ãŒãã«å²ãåœãŠãããSSDãã£ã¹ã¯ã§æ§æããããã€ããªãããŠããããèªã¿åãæäœãšäžæžãæäœã®äž¡æ¹ããã£ãã·ã¥ããŸãïŒæžã蟌ã¿æäœã¯åžžã«ã³ã³ãããŒã©ãŒã®ã·ã¹ãã ãã£ãã·ã¥ãã€ãŸãæåã®ãã£ãã·ã¥ã«ãã£ãã·ã¥ãããŸãã¬ãã«ïŒãé«äŸ¡ãªã¢ã¯ã»ã©ã¬ãŒã¿ãè³Œå ¥ããåã«ããããå¿ èŠã§ããããã©ã®ãã£ãã·ã¥ãµã€ãºãæé©ãã確èªãã䟡å€ããããŸããããã«ã¯æ¬¡ã®ã¡ã«ããºã ããããŸãã
- çšFlashCacheãã®äºæž¬ãã£ãã·ã¥çµ±èšïŒPCSïŒ
- FlashPoolããé«åºŠãªã¯ãŒã¯ããŒãã»ã¢ãã©ã€ã¶ïŒAWAïŒ
äºææ§
ããŒã¿ã»ã³ã¿ãŒã€ã³ãã©ã¹ãã©ã¯ãã£ã®æœåšçãªåé¡ã軜æžããããã«ãå®éã«äºææ§ãããªãã¯ã¹ãåºãé©çšããŸããæ°ããæ å ±ãåãåã£ããããã®èšäºã«äœãè¿œå ãããã®ããããšç¢ºä¿¡ããŠããã®ã§ããã©ãã¯ãŒã®ããã«æã ããã«ç«ã¡å¯ã£ãŠãã ãããæ¬æã®èª€ããææ¡ã«ã€ããŠã¯PMã«ã³ã¡ã³ããéã£ãŠãã ããã