ä»®æ³åæ©èœãåãã2ã€ãŸãã¯4ã€ã®ãµãŒããŒãå Žåã«ãã£ãŠã¯ã¹ã¿ããã³ã°æ©èœãåãã2ã€ã®ã€ãŒãµãããã¹ã€ãããããã³ãã«ãã·ã£ãŒã·EtherChannelãšãžã¥ãã¢
ã¹ãã¬ãŒãžã·ã¹ãã ã䜿çšããããšãå€ãå°èŠæš¡äŒæ¥ã®å Žåãããã¯äžèŠæš¡ããžãã¹ã€ã³ãã©ã¹ãã©ã¯ãã£ã®å®å
šã«æšæºçãªæ§æã§ãã
ãã®ãããªäŒæ¥ã«ãšã£ãŠã¯ãæ©åšãå¯èœãªéã掻çšããããã«ãå©çšå¯èœãªãã¹ãŠã®æè¡ãæ倧éã«æŽ»çšããããšãéåžžã«éèŠã§ãããã®èšäºã§ã¯ããããå®çŸããæ¹æ³ã«ã€ããŠèª¬æããŸãã
ããŒãäžã®ææ°ã®ãµãŒããŒã«ã¯éåžžãå°ãªããšã2ã€ã®1GbããŒã¿ã€ã³ã¿ãŒãã§ã€ã¹ãš1ã€ã®100Mbã®ç®¡çã€ã³ã¿ãŒãã§ã€ã¹ããããŸãã
ãžã¥ãã¢NetApp
FAS 2240 /
FAS 2220ã·ãªãŒãºã®
ã¹ãã¬ãŒãžã·ã¹ãã ã§ã¯ãåã³ã³ãããŒã©ãŒã«æèŒãããŠãããç¹ã«4ã€ã®1GbããŒãããããŸãã
ã€ãŸã ã¹ã¿ãã¯äžã®2ã€ã®ã¹ã€ãããåã·ã£ãŒã·ããåã¹ã€ãããžã®ãªã³ã¯ãéçŽãããã«ãã·ã£ãŒã·EtherChannelã䜿çšããŠãããããã¹ãŠã®ãªã³ã¯ã®ãã©ãŒã«ããã¬ã©ã³ã¹ãšåž¯åå¹
ã®äœ¿çšçã®äž¡æ¹ãååŸããã¹ããŒã ã䜿çšããããšã¯éåžžã«è«ççã§ã
FlexPod Expressã®ã€ã¡ãŒãžãšäŒŒããããªã¢ãŒããã¯ãã£ã§ãããNexusã·ãªãŒãºã®Ciscoã¹ã€ããã®ãããªãã¡ãã·ã§ããã«ãªé«äŸ¡ãª
vPCæ©èœããªãããããã®å Žåã¯ã
ã€ã³ã©ã€ã³åã®ä»£ããã«ãã¹ã€ããã®ã¹ã¿ãã¯ã䜿çšãããŸãã ãšã«ããããã®ã¹ããŒã ã®ãµãŒããŒãšã¹ã€ããã¯ã©ã®ã¡ãŒã«ãŒã®ãã®ã§ãæ§ããŸããã ãã¹ãŠãäºç®ã«äœè£ããªãå Žåã¯ããµãŒããŒãžã®çŽæ¥æ¥ç¶ã䜿çšã§ããŸãããµãŒããŒã«2ã€ã®ããŒããæèŒãããŠããå Žåã4ã€ã®ãµãŒããŒãæ¥ç¶ã§ãã5çªç®ã®ãµãŒããŒãè¿œå ããå¿
èŠãããå Žåã¯ãã¹ã€ããã賌å
¥ããå¿
èŠããããŸãã
FlexPod Expressæ¥ç¶å³ã
ãã®èšäºã§èª¬æããåè·¯ã®äŸã次ã«ç€ºããŸãã
FAS 2240-4 HA-4ã€ã®1Gbitãªã³ã¯ãæã€2ã€ã®ã³ã³ãããŒã©ãŒ
ã¹ãã¬ãŒãžãšã®éä¿¡çšã«1 GBã®å°çšãããã¯ãŒã¯ããŒã4åããšã«ãVMware ESXiãæèŒãã2å°ã®ãµãŒããŒ
ãã«ãã·ã£ãŒã·EtherChannelããã³
LACPããµããŒãããã¹ã¿ãã¯äžã®2ã®ã¬ãããã¹ã€ãã
ãããã£ãŠã䜿çšå¯èœãªãã¹ãŠã®åž¯åå¹
ãšã䜿çšå¯èœãªãµãŒããŒããã³
ã¹ãã¬ãŒãžã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšããå¿
èŠããããŸãã ã€ãŸã ãµãŒããŒ1ã¯äž»ã«ã³ã³ãããŒã©ãŒAã«ããVMããµãŒããŒ2ã¯ã³ã³ãããŒã©ãŒBã«ããVMã§åäœãããã¹ãŠ4ã€ã®ã€ã³ã¿ãŒãã§ãŒã¹ãæã¡ãVMã¯4ã€ã®ã°ã«ãŒãã«åå²ããããã¹ãŠãåçãã€æ£çŽã«åå²ãããŸãã
ãããããããã¯ãŒã¯ã®è² è·åæ£ã¯ããéæ³ã®ããã«ããã¹ãŠã®ãªã³ã¯èªäœã«ãã®è² è·ãå¡ãã€ã¶ãããšã¯ã§ããŸããã éçŽãã£ãã«å
ã®
ãªã³ã¯ã®1ã€ã
亀äºã«äœ¿çšã§ããããã«ããã¢ã«ãŽãªãºã ããããŸãã
ãããã®ã¢ã«ãŽãªãºã ã®1ã€ã¯ã1ã€ã®ãªã³ã¯ãéžæããŠãããããŒããåä¿¡ããéä¿¡å
IPã¢ãã¬ã¹ãšå®å
IPã¢ãã¬ã¹ã®åèšã®ããã·ã¥ã«åºã¥ããŠããŸã ã ãããŠããã®ãã¥ã¢ã³ã¹ã¯ç§ãã¡ã®èšç»ã§éèŠãªåœ¹å²ãæãããŠããŸãã éä¿¡å
IPãšå®å
IPã®2ã€ã®ç°ãªãçµã¿åããã®ããã·ã¥åèšãåãå Žåããããã®çµã¿åããã«ã¯åãç©çãªã³ã¯ã䜿çšãããããã§ãã ã€ãŸãããããã¯ãŒã¯ãã©ãã£ãã¯ãã©ã³ã·ã³ã°ã¢ã«ãŽãªãºã ã®ä»çµã¿ãç解ããIPã¢ãã¬ã¹ã®çµã¿åããããNetApp
TR -
3749 ã
TR -
3802 ãããã³
TR -
3839ã®ãã¹ããã©ã¯ãã£ã¹ã«åºã¥ããŠããã©ãŒã«ããã¬ã©ã³ãã€ã³ãã©ã¹ãã©ã¯ãã£ã¹ããŒã ãååŸãããã¹ãŠã®ãããã¯ãŒã¯ãªã³ã¯ã䜿çšããããšã確èªããããšãéèŠã§ãã
ååãšããŠã2ã4å°ã®ãµãŒããŒã¯åž¯åå¹
ã®èŠ³ç¹ãã1Gbãªã³ã¯ãããŒãããŸããããã¹ãŠã®ãªã³ã¯ãåæã«äœ¿çšãããšããããã¯ãŒã¯ããŒãéã®çžäºäœçšã®é床ãšããŒã¯è² è·ã®åž¯åå¹
ã«ãã©ã¹ã®å¹æããããŸãã
以äžã§ã¯ïŒç°¡ç¥åã®ããïŒã1ã€ã®ã³ã³ãããŒã©ãŒã1ã€ã®ãµãŒããŒãããã³
NFSãããã³ã«ã䜿çšããæäœã«ã€ããŠèª¬æããŸãã
- 2ã€ã®ã³ã³ãããŒã©ãŒãªã³ã¯ã1ã€ã®ã¹ã€ããã«æ¥ç¶ããã2ã€ãå¥ã®ã¹ã€ããã«æ¥ç¶ãããŸã
- IPãã©ã³ã·ã³ã°ãåãããã«ãã·ã£ãŒã·LACPãã¹ã€ããåŽã§æ§æãããŠããŸã
- ã³ã³ãããŒã©ãŒããŒãã®ã¹ã€ããã®Flowcontrol = on
- ãã¹ãŠã®ããŒãã®ã³ã³ãããŒã©ãŒã§Flowcontrol = sendãèšå®ããŸã
- ã³ã³ãããŒã©ãŒåŽã®4ã€ã®1GBãªã³ã¯ã¯ãIPãã©ã³ã·ã³ã°ãåãã1ã€ã®LACPã«çµåãããŸãã
- VLANã VIF ïŒifgrpïŒã®äžã«äœæãããIPãå²ãåœãŠããã3ã€ã®è¿œå ã®ãšã€ãªã¢ã¹ãäœæãããŸããïŒã¢ãã¬ã¹ã¯é 次çºè¡ãããŸããïŒ
- 4ã€ã®ããªã¥ãŒã ãäœæãããqtreeãåããªã¥ãŒã ã«äœæãããããªã¥ãŒã ãNFSã«ãã£ãŠãšã¯ã¹ããŒããããŸã
- 4ã€ã®IPãã©ã³ã¹ã€ã³ã¿ãŒãã§ã€ã¹ãæã€ESXiãµãŒããŒã§äœæãããvSwitch
- ãã®vSwitchã§ãvmkernelããŒãã¯åãIPãµãããããšåãVLANã«äœæãããããã«ã¡ã€ã³IPãšã³ã³ãããŒã©ãŒã®ãšã€ãªã¢ã¹ãé
眮ãããŸã
- ãžã£ã³ããã¬ãŒã ã¯ãã§ãŒã³å
šäœã«å«ãŸããŸã ïŒ ã¹ãã¬ãŒãž ãã¹ã€ãããã¹ã€ããäžã®VLAN ã vSwitch ãvmkernelããŒãïŒ
- ESXiã«è¿œå ããã4ã€ã®NFSããŒã¿ã¹ãã¢ããã¹ãŠç°ãªãIPã¢ãã¬ã¹ããïŒã€ãŸãããã©ã€ããªIPãšãã¹ãŠã®ã³ã³ãããŒã©ãŒãšã€ãªã¢ã¹ã®äž¡æ¹ãé¢ä¿ããŸãïŒ
- 4 VM vmware-io-analyzer.ovaã¯ãããšãã°ãæ倧ã¹ã«ãŒããããã¿ãŒã³ã䜿çšããŠãªã³ã¯ã®è² è·ããã§ãã¯ããããã®ç°ãªãNFSããŒã¿ã¹ãã¢äžã«ãããŸã
ããå¿
èŠããããŸãïŒ
- 1ã€ã®NFSãšã¯ã¹ããŒããåãIPã¢ãã¬ã¹ã®ãã¹ãŠã®VMware ESXiãã¹ãã«æ¥ç¶ããããããVMwareã¯ããã1ã€ã®ããŒã¿ã¹ãã¬ãŒãžãšããŠèªèããç°ãªããã®ãšããŠèªèããŸããã§ããïŒ iSCSIã®å Žåããã®ãããªèŠä»¶ã¯ãªãããµãŒããŒããšã«ç°ãªãIP ã¿ãŒã²ãã ã IQNãæå®ã§ããŸãïŒ ïŒ
- 1ã€ã®ãµãŒããŒããç°ãªãããŒã¿ã¹ãã¬ãŒãžãžã®ãã©ãã£ãã¯ïŒçä¿¡ããã³çºä¿¡ïŒã¯ãç°ãªããµãŒããŒããã³ã¹ãã¬ãŒãžãªã³ã¯ãééããå¿
èŠããããŸã
- ç°ãªããµãŒããŒãã1ã€ã®ããŒã¿ã¹ãã¬ãŒãžãžã®ãã©ãã£ãã¯ïŒçä¿¡ããã³çºä¿¡ïŒã¯ãç°ãªãã¹ãã¬ãŒãžãªã³ã¯ãééããå¿
èŠããããŸã
NetApp
FAS ã¹ãã¬ãŒãžãã¥ãŒãã³ã°ãã©ã°ã¡ã³ãïŒ
ã
ifgrp create lacp vif1 -b ip e0d e0b e0c e0a ãè¡ã®ãã©ã¡ãŒã¿ãŒã
lacp ãã¯ãããã¥ã¡ã³ãã®
ãã€ãããã¯ãã«ãã¢ãŒãã«å¯Ÿå¿ããŠ
ãããã¹ã€ããã®èšå®ãšäžèŽããå¿
èŠãããããšã«æ³šæããŠãã ããã
TR -
3802ãŸããã¹ãã¬ãŒãžåŽãšã¹ã€ããã®äž¡æ¹ã§æ£ãã
ãããŒå¶åŸ¡èšå®ãå¿ããªãã§ãã ããã ã¹ãã¢ããããŒå¶åŸ¡ããéä¿¡ãïŒ
flowcontrol send ïŒãã
å Žå ããäžæ¹ã§ãã¹ã€ããã¯ããããŒå¶åŸ¡ããåä¿¡ãããããã«æ§æããå¿
èŠããããŸãïŒ
flowcontrol receive on ïŒã éããŸãåæ§ã§ãã誰ãéä¿¡ããªãå Žåã¯ã誰ãåãå
¥ããããã«èšå®ããªãã§ãã ããã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
NetApp 7ã¢ãŒãã®ã»ããã¢ããäŸ 2ã€ã®ã³ã³ãããŒã©ãŒããã©ãŒã«ããã¬ã©ã³ããã¢ã§æ©èœãã1ã€ã®ã³ã³ãããŒã©ãŒãæ
éããå Žåã2ã€ç®ã®ã³ã³ãããŒã©ãŒãïŒNetApp FailOverã®èŠ³ç¹ããïŒããªãŒããŒãšããããã2ã€ã®ã³ã³ãããŒã©ãŒãç©çã³ã³ãããŒã©ãŒã§æ©èœããããšãæãåºããŠãã ããã ãã¹ãåŽããã¯ããã®ãããª90ç§ã®ç§»åã®å Žåã«ã¿ã€ã ã¢ãŠããèšå®ããããšãéåžžã«éèŠã§ãã ã¬ã³ãŒã
ããŒãããŒvif1-53ã«æ³šæããŠãã ãããã€ãŸããFailOverã®å Žåã2çªç®ã®ã³ã³ãããŒã©ãŒã«ç§»åãããšããã®ä»®æ³ã€ã³ã¿ãŒãã§ã€ã¹ã®èšå®ãäžç·ã«ãªããŸãã ãããã£ãŠããã®ãšã³ããªã瀺ãããšãå¿ããªãã§ãã ãããããããªããšãã³ã³ãããŒã©ãŒãé£ã¹éããŠãããŒã¿ãå€ãã¢ãã¬ã¹ã§å©çšã§ããªããªããŸãã ã€ã³ã¿ãŒãã§ã€ã¹ã«ããŒãããŒãå²ãåœãŠãäžè¬çãªããžãã¯ã¯æ¬¡ã®ãšããã§ãã
- VLANãæã€ããŒã ã€ã³ã¿ãŒãã§ã€ã¹ïŒ VIF ïŒãããå Žåã¯ããã®ãããªåVLANã§æ§æããŸã ã
- VIFãååšãããããã§ã«VLANãååšããªãå Žåã¯ããã®ãããªåVIFã€ã³ã¿ãŒãã§ã€ã¹ã§æ§æããŸãã
- VIFãååšããªãããç©çã€ã³ã¿ãŒãã§ã€ã¹ã«VLANãããå Žåã¯ããã®ãããªåVLANã§æ§æããŸã ã
- VIFãŸãã¯VLANãã©ãã«ãååšããªãå Žåãåç©çã€ã³ã¿ãŒãã§ã€ã¹ã«ã
ãŸãã移åããã察象ããããããã«ã2çªç®ã®ã³ã³ãããŒã©ãŒã®
VIFãš
VLANã«åãèšå®ãè¡ãããšãå¿ããªãã§ãã ããã æåã®ã³ã³ãããŒã©ããã®ããŒãäžã®ã¹ã€ããã®åŽã§ã¯ãé£æ¥ãã
VLANã®åŸªç°ãèš±å¯ããããã移åããå Žåã«æ¥ç¶ãå¯èœã«ãªããŸãã
ãŸããNetApp
FAS ã¹ãã¬ãŒãžã¯ãã¢ã«ãã¡ãããé ã§ã¯ãªããè¿œå ãããé åºã§
VIFã®ãã©ã³ã¹ããšãããã«ã€ã³ã¿ãŒãã§ã€ã¹çªå·ã䜿çšããããšã«æ³šæããŠãã ããã
ããšãã°ã
VIFã ãifgrp create lacp vif1 -b ip e0d e0b e0c e0aããšããã³ãã³ãã«ãã£ãŠäœæãããå Žåãe0dã¯0çªç®ã®ã€ã³ã¿ãŒãã§ã€ã¹ãe0b-1ãe0c-2ãe0a-3ã«ãªããŸãã
netApp 7-Modeã®è§£æ±ºããšã¯ã¹ããŒããããã³Qtreeã»ããã¢ããã®äŸ san01a> rdfile /etc/hosts
san01a> exportfs /vol/vol_filerA_nfsA -sec=sys,rw,nosuid /vol/vol_filerA_nfsB -sec=sys,rw,nosuid /vol/vol_filerA_nfsC -sec=sys,rw,nosuid /vol/vol_filerA_nfsD -sec=sys,rw,nosuid
san01a> qtree status Volume Tree Style Oplocks Status -------- -------- ----- -------- --------- rootvol unix enabled normal vol_filerA_nfsA unix enabled normal vol_filerA_nfsA qtree_filerA_nfsA unix enabled normal vol_filerA_nfsB unix enabled normal vol_filerA_nfsB qtree_filerA_nfsB unix enabled normal vol_filerA_nfsC unix enabled normal vol_filerA_nfsC qtree_filerA_nfsC unix enabled normal vol_filerA_nfsD unix enabled normal vol_filerA_nfsD qtree_filerA_nfsD unix enabled normal
次ã®ããŒã¿ã¹ãã¢ãVMware ESXiã«æ¥ç¶ãããŠããŸã
ds_filerA_nfsA 10.10.53.30:/vol/vol_filerA_nfsA/qtree_filerA_nfsA ds_filerA_nfsB 10.10.53.31:/vol/vol_filerA_nfsB/qtree_filerA_nfsB ds_filerA_nfsC 10.10.53.32:/vol/vol_filerA_nfsC/qtree_filerA_nfsC ds_filerA_nfsD 10.10.53.33:/vol/vol_filerA_nfsD/qtree_filerA_nfsD
æ§æåŸããã¹ã
VMããè² è·ãäžãã
ã¹ãã¬ãŒãžã³ã³ãããŒã©ãŒåŽããããŒãã®è² è·ã確èªããŸãã
7-Modeã§NetAppããŒãã®è² è·ã確èªããŸã san01a> ifgrp stat vif1 10 Interface group(trunk) vif1 e0b e0a e0c e0d Pkts In Pkts Out Pkts In Pkts Out Pkts In Pkts Out Pkts In Pkts Out 14225k 13673k 15542k 249k 13838k 11690k 15544k 7809k 46075 38052 90911 7 45882 37666 90812 37704 46953 37735 91581 4 46506 37613 91777 37625 46822 38016 91409 7 45498 37589 91670 37687 46906 38046 91514 6 45469 37591 91495 37588 46600 37737 91308 4 46554 37538 91514 37610 46792 37929 91371 7 45803 37532 91261 37508 46845 37831 91228 8 46307 37517 91450 37587
ãã®ããããã©ãã£ãã¯ã¯å®è³ªçã«e0aã€ã³ã¿ãŒãã§ã€ã¹ïŒPkts OutåïŒãä»ããŠéä¿¡ãããªãããšãããããŸãã
ã¹ãã¬ãŒãžã³ã³ãããŒã©ãŒããŒãã®è©³çŽ°ãªåºå san01a> ifstat -a -- interface e0a (3 hours, 30 minutes, 53 seconds) -- RECEIVE Frames/second: 9147 | Bytes/second: 916k | Errors/minute: 0 Discards/minute: 0 | Total frames: 16347k | Total bytes: 73753m Total errors: 0 | Total discards: 0 | Multi/broadcast: 0 No buffers: 0 | Non-primary u/c: 0 | Tag drop: 0 Vlan tag drop: 0 | Vlan untag drop: 0 | Vlan forwards: 0 Vlan broadcasts: 0 | Vlan unicasts: 0 | CRC errors: 0 Runt frames: 0 | Fragment: 0 | Long frames: 0 Jabber: 0 | Alignment errors: 0 | Bus overruns: 0 Xon: 0 | Xoff: 0 | Jumbo: 8359k TRANSMIT Frames/second: 1 | Bytes/second: 87 | Errors/minute: 0 Discards/minute: 0 | Total frames: 249k | Total bytes: 7674m Total errors: 0 | Total discards: 0 | Multi/broadcast: 1006 Queue overflows: 0 | No buffers: 0 | Max collisions: 0 Single collision: 0 | Multi collisions: 0 | Late collisions: 0 Xon: 0 | Xoff: 0 | Jumbo: 239k LINK_INFO Current state: up | Up to downs: 2 | Speed: 1000m Duplex: full | Flowcontrol: none -- interface e0b (3 hours, 30 minutes, 53 seconds) -- RECEIVE Frames/second: 4678 | Bytes/second: 467k | Errors/minute: 0 Discards/minute: 0 | Total frames: 14637k | Total bytes: 73533m Total errors: 0 | Total discards: 0 | Multi/broadcast: 0 No buffers: 0 | Non-primary u/c: 0 | Tag drop: 0 Vlan tag drop: 0 | Vlan untag drop: 0 | Vlan forwards: 0 Vlan broadcasts: 0 | Vlan unicasts: 0 | CRC errors: 0 Runt frames: 0 | Fragment: 0 | Long frames: 0 Jabber: 0 | Alignment errors: 0 | Bus overruns: 0 Xon: 0 | Xoff: 0 | Jumbo: 8352k TRANSMIT Frames/second: 3773 | Bytes/second: 123m | Errors/minute: 0 Discards/minute: 0 | Total frames: 14007k | Total bytes: 57209m Total errors: 0 | Total discards: 1 | Multi/broadcast: 1531 Queue overflows: 1 | No buffers: 0 | Max collisions: 0 Single collision: 0 | Multi collisions: 0 | Late collisions: 0 Xon: 0 | Xoff: 0 | Jumbo: 2756k LINK_INFO Current state: up | Up to downs: 2 | Speed: 1000m Duplex: full | Flowcontrol: none -- interface e0c (3 hours, 30 minutes, 53 seconds) -- RECEIVE Frames/second: 4630 | Bytes/second: 461k | Errors/minute: 0 Discards/minute: 0 | Total frames: 14243k | Total bytes: 69574m Total errors: 0 | Total discards: 0 | Multi/broadcast: 0 No buffers: 0 | Non-primary u/c: 0 | Tag drop: 0 Vlan tag drop: 0 | Vlan untag drop: 0 | Vlan forwards: 0 Vlan broadcasts: 0 | Vlan unicasts: 0 | CRC errors: 0 Runt frames: 0 | Fragment: 0 | Long frames: 0 Jabber: 0 | Alignment errors: 0 | Bus overruns: 0 Xon: 0 | Xoff: 0 | Jumbo: 7800k TRANSMIT Frames/second: 3756 | Bytes/second: 123m | Errors/minute: 0 Discards/minute: 0 | Total frames: 12022k | Total bytes: 189g Total errors: 0 | Total discards: 0 | Multi/broadcast: 1003 Queue overflows: 0 | No buffers: 0 | Max collisions: 0 Single collision: 0 | Multi collisions: 0 | Late collisions: 0 Xon: 0 | Xoff: 0 | Jumbo: 6283k LINK_INFO Current state: up | Up to downs: 2 | Speed: 1000m Duplex: full | Flowcontrol: none -- interface e0d (3 hours, 30 minutes, 53 seconds) -- RECEIVE Frames/second: 9127 | Bytes/second: 915k | Errors/minute: 0 Discards/minute: 0 | Total frames: 16349k | Total bytes: 73554m Total errors: 0 | Total discards: 0 | Multi/broadcast: 0 No buffers: 0 | Non-primary u/c: 0 | Tag drop: 0 Vlan tag drop: 0 | Vlan untag drop: 0 | Vlan forwards: 0 Vlan broadcasts: 0 | Vlan unicasts: 0 | CRC errors: 0 Runt frames: 0 | Fragment: 0 | Long frames: 0 Jabber: 0 | Alignment errors: 0 | Bus overruns: 0 Xon: 0 | Xoff: 0 | Jumbo: 8339k TRANSMIT Frames/second: 3748 | Bytes/second: 123m | Errors/minute: 0 Discards/minute: 0 | Total frames: 8140k | Total bytes: 62385m Total errors: 0 | Total discards: 0 | Multi/broadcast: 1213 Queue overflows: 0 | No buffers: 0 | Max collisions: 0 Single collision: 0 | Multi collisions: 0 | Late collisions: 0 Xon: 0 | Xoff: 0 | Jumbo: 2413k LINK_INFO Current state: up | Up to downs: 2 | Speed: 1000m Duplex: full | Flowcontrol: none
ã¹ã€ããã®åŽé¢ã«ç§»åãïŒäœ¿çšçã¯80ïŒ
ã§ãããã»ãŒ100ïŒ
ã§ã¯ãªããããã¹ã€ããã¯æ°åéã«ããã£ãŠããŒã¿ãå¹³åããŸãïŒãã€ãŒãµãããããŒã1/11ãå®éã«ãã¬ãŒã ãåãå
¥ããªãããšãããããŸãã
1GBEããŒããä»ããŠã¹ã¿ãã¯äžã«2ã€ã®Cisco Catalyst 3850ãèšå®ããäŸãã£ãã«ã°ã«ãŒã1ã¢ãŒãã®ã¢ã¯ãã£ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹èšå®ã®ã
ã¢ãŒãã¢ã¯ãã£ã ãïŒ
LACP ïŒã«æ³šæããŠãã ããã
ã¢ã¯ãã£ãã¢ãŒã ïŒ
LACP ïŒã¯ãNetAppã®
Dynamic Multi-Modeã«å¯Ÿå¿ããŠã
ãŸã ã 詳现ã«ã€ããŠã¯ã
TR -
3802ãåç
§ããŠãã ããã
ãŸããã
flowcontrol receive on ãã«æ³šæããŠãã ããããã®ãã©ã¡ãŒã¿ãŒã®èšå®ã¯ãããŒãé床ãšã¹ã€ããã¿ã€ããªã©ã®ããã€ãã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠç°ãªããŸãã ã¹ãã¢ããããŒå¶åŸ¡ã«é¢ããã¡ãã»ãŒãžããéä¿¡ãïŒ
flowcontrol send ïŒãã
å Žå ããäžæ¹ã§ãã¹ã€ããã¯ããããŒå¶åŸ¡ããåä¿¡ãããããã«æ§æããå¿
èŠããããŸãïŒ
flowcontrol receive on ïŒã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
ãŸãã
RSTPãŸãã¯ç¬èªã®
Rapid â PVST +ãæå¹ã«ãããšã³ãããŒãã«æ¥ç¶ãããã¹ã€ããããŒãã
ã¹ããã³ã°ããªãŒportfastç¶æ
ã«èšå®ããããšãæãŸããå Žåã
ã¹ããã³ã°ããªãŒã®æ§æã«é¢ããæšå¥šäºé
ãå¿ããªãã§ãã ããã
NetApp
FASã·ã¹ãã ã¯
CDPããµããŒãããŠããããªã³ãŸãã¯ãªãã«ã§ããŸãã
system mtu 9198 ! spanning-tree mode rapid-pvst ! interface Port-channel1 description N1A-1G-e0a-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop ! interface Port-channel2 description N1B-1G-e0a-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop ! interface GigabitEthernet1/0/1 description NetApp-A-e0a switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 1 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet2/0/1 description NetApp-A-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 1 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet1/0/2 description NetApp-B-e0a switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 2 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet2/0/2 description NetApp-B-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 2 mode active spanning-tree guard loop spanning-tree portfast trunk feature
1GBEããŒãäžã«ã¹ã¿ãã¯ããã2ã€ã®Cisco Catalyst 6509ã®èšå®äŸãã£ãã«ã°ã«ãŒã1ã¢ãŒãã®ã¢ã¯ãã£ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹èšå®ã®ã
ã¢ãŒãã¢ã¯ãã£ã ãïŒ
LACP ïŒã«æ³šæããŠãã ããã
ã¢ã¯ãã£ãã¢ãŒã ïŒ
LACP ïŒã¯ãNetAppã®
Dynamic Multi-Modeã«å¯Ÿå¿ããŠã
ãŸã ã 詳现ã«ã€ããŠã¯ã
TR -
3802ãåç
§ããŠãã ããã
ãŸããã
flowcontrol receive on ãã«æ³šæããŠãã ããããã®ãã©ã¡ãŒã¿ãŒã®èšå®ã¯ãããŒãé床ãšã¹ã€ããã¿ã€ããªã©ã®ããã€ãã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠç°ãªããŸãã ã¹ãã¢ããããŒå¶åŸ¡ã«é¢ããã¡ãã»ãŒãžããéä¿¡ãïŒ
flowcontrol send ïŒãã
å Žå ããäžæ¹ã§ãã¹ã€ããã¯ããããŒå¶åŸ¡ããåä¿¡ãããããã«æ§æããå¿
èŠããããŸãïŒ
flowcontrol receive on ïŒã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
ãŸãã
RSTPãŸãã¯ç¬èªã®
Rapid â PVST +ãæå¹ã«ãããšã³ãããŒãã«æ¥ç¶ãããã¹ã€ããããŒãã
ã¹ããã³ã°ããªãŒportfastç¶æ
ã«èšå®ããããšãæãŸããå Žåã
ã¹ããã³ã°ããªãŒã®æ§æã«é¢ããæšå¥šäºé
ãå¿ããªãã§ãã ããã
NetApp
FASã·ã¹ãã ã¯
CDPããµããŒãããŠããããªã³ãŸãã¯ãªãã«ã§ããŸãã
Cisco IOS Release 12.2ïŒ33ïŒSXI以éã®ãªãªãŒã¹ã®äŸ
! For Cisco IOS Release 12.2(33)SXI and later releases system mtu 9198 ! spanning-tree mode rapid-pvst ! interface Port-channel1 description N1A-1G-e0a-e0b switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop end ! interface Port-channel2 description N1B-1G-e0a-e0b switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop end ! interface GigabitEthernet1/0/1 description NetApp-A-e0a switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 1 mode active spanning-tree guard loop spanning-tree portfast edge trunk end ! interface GigabitEthernet2/0/1 description NetApp-A-e0b switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 1 mode active spanning-tree guard loop spanning-tree portfast edge trunk end ! interface GigabitEthernet1/0/2 description NetApp-B-e0a switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 2 mode active spanning-tree guard loop spanning-tree portfast edge trunk end ! interface GigabitEthernet2/0/2 description NetApp-B-e0b switchport switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 2 mode active spanning-tree guard loop spanning-tree portfast edge trunk end
1GBEããŒããä»ããŠã¹ã¿ãã¯äžã«2ã€ã®Cisco Catalyst 3750ãèšå®ããäŸãã£ãã«ã°ã«ãŒã11ã¢ãŒãã®ã¢ã¯ãã£ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹èšå®ã®ã
ã¢ãŒãã¢ã¯ãã£ã ãïŒ
LACP ïŒã«æ³šæããŠãã ããã
ã¢ã¯ãã£ãã¢ãŒã ïŒ
LACP ïŒã¯ãNetAppã®
Dynamic Multi-Modeã«å¯Ÿå¿ããŠã
ãŸã ã 詳现ã«ã€ããŠã¯ã
TR -
3802ãåç
§ããŠãã ããã
ãŸããã
flowcontrol receive on ãã«æ³šæããŠãã ããããã®ãã©ã¡ãŒã¿ãŒã®èšå®ã¯ãããŒãé床ãšã¹ã€ããã¿ã€ããªã©ã®ããã€ãã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠç°ãªããŸãã ã¹ãã¢ããããŒå¶åŸ¡ã«é¢ããã¡ãã»ãŒãžããéä¿¡ãïŒ
flowcontrol send ïŒãã
å Žå ããäžæ¹ã§ãã¹ã€ããã¯ããããŒå¶åŸ¡ããåä¿¡ãããããã«æ§æããå¿
èŠããããŸãïŒ
flowcontrol receive on ïŒã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
ãŸãã
RSTPãŸãã¯ç¬èªã®
Rapid â PVST +ãæå¹ã«ãããšã³ãããŒãã«æ¥ç¶ãããã¹ã€ããããŒãã
ã¹ããã³ã°ããªãŒportfastç¶æ
ã«èšå®ããããšãæãŸããå Žåã
ã¹ããã³ã°ããªãŒã®æ§æã«é¢ããæšå¥šäºé
ãå¿ããªãã§ãã ããã
NetApp
FASã·ã¹ãã ã¯
CDPããµããŒãããŠããããªã³ãŸãã¯ãªãã«ã§ããŸãã
system mtu 9198 ! spanning-tree mode rapid-pvst ! interface Port-channel11 description NetApp-A-e0a-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop spanning-tree portfast trunk feature ! interface Port-channel12 description NetApp-B-e0a-e0b switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet1/0/1 description NetApp-A-e0a switchport trunk encapsulation dot1q switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 11 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet2/0/1 description NetApp-A-e0b switchport trunk encapsulation dot1q switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 11 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet1/0/2 description NetApp-B-e0a switchport trunk encapsulation dot1q switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 12 mode active spanning-tree guard loop spanning-tree portfast trunk feature ! interface GigabitEthernet2/0/2 description NetApp-B-e0b switchport trunk encapsulation dot1q switchport trunk native vlan 1 switchport trunk allowed vlan 53 switchport mode trunk flowcontrol receive on cdp enable channel-group 12 mode active spanning-tree guard loop spanning-tree portfast trunk feature
10GBEããŒãäžã«ã¹ã¿ãã¯ããã2ã€ã®Cisco Small Business SG500ã®èšå®äŸãã£ãã«ã°ã«ãŒã1ã¢ãŒãã®ã¢ã¯ãã£ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹èšå®ã®ã
ã¢ãŒãã¢ã¯ãã£ã ãïŒ
LACP ïŒã«æ³šæããŠãã ããã
ã¢ã¯ãã£ãã¢ãŒã ïŒ
LACP ïŒã¯ãNetAppã®
Dynamic Multi-Modeã«å¯Ÿå¿ããŠã
ãŸã ã 詳现ã«ã€ããŠã¯ã
TR -
3802ãåç
§ããŠãã ããã
ãŸããã
flowcontrol off ãã«æ³šæããŠãã ããããã®ãã©ã¡ãŒã¿ãŒã®èšå®ã¯ãããŒãé床ãšã¹ã€ããã¿ã€ããªã©ã®ããã€ãã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠç°ãªããŸãã ã¹ãã¬ãŒãžããããŒãå¶åŸ¡ããã³ãã³ãããéä¿¡ãããåä¿¡ããªããïŒ
flowcontrol off ïŒ
å Žå ãã¹ã€ããã¯ãåä¿¡ãéä¿¡ãããªããå¿
èŠããããŸãã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
ãŸãã
RSTPãæå¹ã«ããŠããšã³ãããŒãã«æ¥ç¶ãããŠããã¹ã€ããã®ã¹ã€ããããŒãã
ã¹ããã³ã°ããªãŒportfastç¶æ
ã«èšå®ããããšãæãŸãã
ã¹ããã³ã°ããªãŒã®æ§æã«é¢ããæšå¥šäºé
ãå¿ããªãã§ãã ããã
interface Port-channel1 description N1A-10G-e1a-e1b spanning-tree ddportfast switchport trunk allowed vlan add 53 macro description host !next command is internal. macro auto smartport dynamic_type host flowcontrol off ! interface Port-channel2 description N1B-10G-e1a-e1b spanning-tree ddportfast switchport trunk allowed vlan add 53 macro description host !next command is internal. macro auto smartport dynamic_type host flowcontrol off ! port jumbo-frame ! interface tengigabitethernet1/1/1 description NetApp-A-e1a channel-group 1 mode active flowcontrol off ! interface tengigabitethernet2/1/1 description NetApp-A-e1b channel-group 1 mode active flowcontrol off ! interface tengigabitethernet1/1/2 description NetApp-B-e1a channel-group 2 mode active flowcontrol off ! interface tengigabitethernet2/1/2 description NetApp-B-e1b channel-group 2 mode active flowcontrol off
10GBEããŒããä»ããŠHP c7000ã·ã£ãŒã·ãã¬ãŒãã«HP 6120XGãã»ããã¢ããããäŸèšå®ã«ãããŒå¶åŸ¡ã衚瀺ãããªãå Žåãã
flowcontrol auto ãç¶æ
ã«ãªããã¹ã€ããã«æ¥ç¶ãããŠããã¹ãã¬ãŒãžããŒãã§ãããŒå¶åŸ¡ããªãã«ãªã£ãŠããå Žåã察å¿ããããŒãã®ã¹ã€ããã§ãoffãç¶æ
ã«ãªããŸãã ã ãããŒå¶åŸ¡ã®èšå®ã¯ããŸããŸã§ãããããŒãé床ãšã¹ã€ããã¿ã€ããªã©ã®ããã€ãã®ãã©ã¡ãŒã¿ãŒã«äŸåããŸãã ã¹ãã¬ãŒãžããããŒãå¶åŸ¡ããã³ãã³ãããéä¿¡ãããåä¿¡ããªããïŒ
flowcontrol off ïŒ
å Žå ãã¹ã€ããã¯ãåä¿¡ãéä¿¡ãããªããå¿
èŠããããŸãã
ãããŒå¶åŸ¡ã®è©³çŽ° ã
ãŸãã
RSTPãæå¹ã«ããŠããšã³ãããŒãã«æ¥ç¶ãããŠããã¹ã€ããã®ã¹ã€ããããŒãã
ã¹ããã³ã°ããªãŒportfastç¶æ
ã«èšå®ããããšãæãŸãã
ã¹ããã³ã°ããªãŒã®æ§æã«é¢ããæšå¥šäºé
ãå¿ããªãã§ãã ããã
ã¹ããŒã¿ã¹ãšã«ãŠã³ã¿ãŒ-ããŒã䜿çšç Rx Tx Port Mode | ------------------------- | ------------------------- | Kbits/sec Pkts/sec Util | Kbits/sec Pkts/sec Util ------- --------- + ---------- --------- ---- + ---------- ---------- --- 1/11-Trk10 1000FDx| 5000 0 00.50 | 23088 7591 02.30 1/12-Trk10 1000FDx| 814232 12453 81.42 | 19576 3979 01.95 2/11-Trk10 1000FDx| 810920 12276 81.09 | 20528 3938 02.05 2/12-Trk10 1000FDx| 811232 12280 81.12 | 23024 7596 02.30 1/17-Trk22 1000FDx| 23000 7594 02.30 | 810848 12275 81.08 1/18-Trk22 1000FDx| 23072 7592 02.30 | 410320 6242 41.03 2/17-Trk22 1000FDx| 19504 3982 01.95 | 408952 6235 40.89 2/18-Trk22 1000FDx| 20544 3940 02.05 | 811184 12281 81.11
[Rx Util]åã®ã³ã³ãããŒã©ãŒã®åä¿¡è² è·ïŒRxïŒãš[Tx Util]åã®ãµãŒããŒã®éä¿¡è² è·ïŒTxïŒã衚瀺ãããŸãã 2ã€ã®ããŒã¿ã¹ãã¢ã1ã€ã®ã³ã³ãããŒã©ãŒãªã³ã¯ãå
±æããŠããããšãããããŸãã
4ã€ã®
VMãã¹ãŠãããã³ããã«å¿ããŠ4ã€ã®
NFSããŒã«ã§ç·åœ¢èšé²ã®çæãéå§ãããšãããã©ãã£ãã¯ãã©ã³ã·ã³ã°ã¯
ã¹ãã¬ãŒãžã·ã¹ãã ã«äŸåããªããããç¶æ³ãäºæ³ãããŸãã
IPãã©ã³ã·ã³ã°ã䜿çšããŠãã£ãã«ãéçŽãããšãã®
ã¹ãã¬ãŒãžã·ã¹ãã ã¯ãçè«äžã¯äœ¿çšå¯èœãªãã¹ãŠã®åç·ã䜿çšããããã§ã¯ãªãã4ã€ã®ãã¡3ã€ãã䜿çšããªãããšãããããŸãã åæã«ãä»ã®ãã¹ãŠã®åå è
ïŒã¹ã€ããããã³ESXiïŒã¯ã4è¡ãã¹ãŠã§æ£ãããã©ã³ã¹ãåããŸãã
ã¹ãã¬ãŒãžããã¹ã€ãããžã®2ã€ã®ããŒã¿ã¹ãã¢ã®ãã©ãã£ãã¯ã¯1ã€ã®ãªã³ã¯ãéãã2ã€ã®ã¹ã€ããããESXiã«æ¢ã«è¡ããŸãã
iSCSIãããã³ã«ã§äœæ¥ããŠãããšãã«ãåæ§ã®ç¶æ³ã芳å¯ãããŸãã çºä¿¡éä¿¡çšã®
ã¹ãã¬ãŒãžã·ã¹ãã ã® 4ã€ã®ãªã³ã¯ã®1ã€ã¯ãå®éã«ã¯ããŒããããŠããŸããïŒ10ç§ã§5ã10ãã±ããïŒã 2çªç®ã®ã³ã³ãããŒã©ãŒãšå¥ã®ãµãŒããŒã§ããç¶æ³ã¯äŒŒãŠããŸãã
ãªããããèµ·ãã£ãŠããã®ã§ããïŒ ã¯ãã2ã€ã®IPãã¢ã®åèšã®ããã·ã¥ãäžèŽãããããã¢ã«ãŽãªãºã ã¯åããªã³ã¯ãéžæããå¿
èŠããããŸãã ã€ãŸããä»ã®IPãååŸããã ãã§ãã
IPãªãã·ã§ã³ãåçŽã«ç¹°ãè¿ãããšãã§ããŸãã IPã¢ãã¬ã¹ãéžæããããã®ããã°ã©ã ãäœæããéã®å€§ããªé£ç¹ã¯ãã¢ã«ãŽãªãºã ã笊å·ä»ã32ãããæŽæ°ã®ãããåäœã®ã·ãããšãããã®å ç®æäœã䜿çšããããšã§ãïŒãªãŒããŒãããŒã¯ç Žæ£ãããŸãïŒã ã¹ã¯ãªããèšèªã¯åºå®ãããæ°ã«åŒ±ãæåãããŠãããããPythonã§éåžžã®èšç®ãè¡ãããšã¯ã§ããŸããã§ããã ãããã£ãŠãç¯å²å
šäœã®å°ããªèšç®ããã°ã©ã ãCã§èšè¿°ããããã®çµæãæ€çŽ¢ã«äœ¿çšããŸãã
Data ONTAP 7.3.2以éã§ã¯ããã¹ã®éžæã¯ã2ã€ã®éä¿¡å
ããã³å®å
IPã¢ãã¬ã¹
ïŒïŒsource_address XOR destination_addressïŒïŒ
number_of_linksïŒã«å¯ŸããXORæäœã ãã§ã¯ãããŸããã SuperFastHashãšåŒã°ããããè€éãªãããã·ããã¢ã«ãŽãªãºã ã¯ãããåçã§ãã©ã³ã¹ã®ãšããè² è·åæ£ã®æ¹æ³ãè¡šããå€æ°ã®ã¯ã©ã€ã¢ã³ãã«ããåªããåæ£ãæäŸããŸãã çµæã¯ã»ãŒåãã§ãããåTCPã»ãã·ã§ã³ã¯1ã€ã®ã€ã³ã¿ãŒãã§ã€ã¹ã«ã®ã¿é¢é£ä»ããããŠããŸãã
ã¢ã¬ã¯ãµã³ããŒã»ãŽã«ãã£ãšã³ã³ã«ããã³ãŒãã£ã³ã° #include <stdio.h> int debug = 0; void f_shiftL(int *r, int step, int i, int offset) { r[step] = r[i] << offset; if (debug > 0) { printf("\nStep %i Left Shift %i %i\n", step, i, offset); printf("\t%i << %i\n", r[i], offset); printf("\t%i\n", r[step]); } } void f_shiftR(int *r, int step, int i, int offset) { r[step] = r[i] >> offset; if (debug > 0) { printf("\nStep %i Right Shift %i %i\n", step, i, offset); printf("\t%i\n", r[i]); printf("\t%i\n", r[step]); } } void f_xor(int *r, int step, int i, int j) { r[step] = r[i] ^ r[j]; if (debug > 0) { printf("\nStep %i XOR %i %i\n", step, i, j); printf("\t%i\n", r[i]); printf("\t%i\n", r[j]); printf("\t%i\n", r[step]); } } void f_sum(int *r, int step, int i, int j) { r[step] = r[i] + r[j]; if (debug > 0) { printf("\nStep %i ADD %i %i\n", step, i, j); printf("\t%i\n", r[i]); printf("\t%i\n", r[j]); printf("\t%i\n", r[step]); } } int balance_ip_netapp (int net, int src, int dst, int link_cnt) { int res[30]; res[0] = net*256 + src; res[1] = net*256 + dst; //printf ("a = %i.%i (%i)\n", net, src, res[0]); //printf ("b = %i.%i (%i)\n", net, dst, res[1]); f_shiftL(res, 2, 1,11); f_xor (res, 3, 0, 2); f_shiftL(res, 4, 0,16); f_xor (res, 5, 3, 4); f_shiftR(res, 6, 5,11); f_sum (res, 7, 5, 6); f_shiftL(res,15, 7, 3); f_xor (res,16, 7,15); f_shiftR(res,17,16, 5); f_sum (res,18,16,17); f_shiftL(res,19,18, 4); f_xor (res,20,18,19); f_shiftR(res,21,20,17); f_sum (res,22,20,21); f_shiftL(res,23,22,25); f_xor (res,24,22,23); f_shiftR(res,25,24, 6); f_sum (res,26,24,25); res[27] = res[26] % link_cnt; if (res[27] < 0) { res[27] = res[27] + link_cnt; } printf ("%i.%i -> %i, %i\n", net, src, dst, res[27]); return 0; } int main() { int src, dst, interface; // interface = 4; printf ("IP Octet3.IP Octet4 Source -> IP Octet4 Destination, Interface\n"); // destination IP ( 21 23) for (src=21; src<=23; src++) { // source IP ( 30 250) for (dst=30; dst<=250; dst++) { // IP ( 52 53) balance_ip_netapp(52, dst, src, interface ); balance_ip_netapp(53, dst, src, interface ); } } }
ãšããã§ãããã«çµæãåŸãã«ã¯ã
ãªã³ã©ã€ã³ã³ã³ãã€ã©ã䜿çšããã®ãéåžžã«äŸ¿å©ã§ãã
以äžã¯ã3ã€ã®ãµãŒããŒïŒIPã¢ãã¬ã¹ã®æ«å°Ÿã21ã22ã23ãã¹ãã¬ãŒãžã·ã¹ãã ãžã®ã€ã³ã¿ãŒãã§ã€ã¹æ°ããããã3ã4ã4ïŒãããå Žåã®ã
ã¹ãã¬ãŒãž IPã¢ãã¬ã¹ã®éžæãªãã·ã§ã³ã§ãã
èšç®ã¯ã2ã€ã®ãããã¯ãŒã¯XX.YY.52.ZZ / 24ããã³XX.YY.53.ZZ / 24ã«å¯ŸããŠè¡ãããŸããã äžèšã®æ¡ä»¶ãæºãã
ã¹ãã¬ãŒãžçšã«éžæãããIPã¢ãã¬ã¹ã
IP XX.YY.52.22 IPãš
ã¹ãã¬ãŒãžãšã€ãªã¢ã¹XX.YY.52.35ã®ãµãŒããŒéã§ãã©ãã£ãã¯ã亀æããå Žåããã©ãã£ãã¯ã¯æ¬¡ã®ããã«ãªããŸãã
ã¹ãã¬ãŒãžããã¹ã€ãããžã®
ã¹ãã¬ãŒãž ïŒåNetApp Outã22ïŒã¯ãã¹ã€ãããã
ã¹ãã¬ãŒãžãžã®
ã¹ãã¬ãŒãžã«çªå·ãä»ããããšã«ãããçªå·2ã®ã€ã³ã¿ãŒãã§ãŒã¹ãééããŸãïŒã³ã©ã NetApp Inã22ïŒã¯ãã¹ã€ãããããµãŒããŒãžãããã³ãµãŒããŒããã¹ã€ãããžã®ã¹ã€ããã®çªå·ã«ãããçªå·1ã®ã€ã³ã¿ãŒãã§ãŒã¹ãééããŸãServer InOutã«ã©ã ã22ïŒã¯ããããããµãŒããŒãšããŒãçªå·ã®ããŒã1ã«ç§»åããŸãïŒåããšèŠãªããšããäºå®ã§ã¯ãããŸããïŒ
åãµãŒããŒã«ã€ããŠãåãã³ã³ãããŒã©ãŒäžã®ç°ãªããšã€ãªã¢ã¹ãæã€ãã©ãã£ãã¯ãç°ãªãã€ã³ã¿ãŒãã§ãŒã¹ãééããããšãããããŸãã åæ§ã«ãç°ãªããµãŒããŒãã1ã€ã®IP
ã¹ãã¬ãŒãžãžã®ãã©ãã£ãã¯ã¯ãç°ãªãã€ã³ã¿ãŒãã§ãŒã¹ãééããŸãã
å·çæã«ã¯ãAlexander Gordienkoã®è³æã
Link Aggregationãããã³NetAppã«ããIPãã©ãã£ãã¯ãã©ã³ã·ã³ã°ã䜿çšãããŸãã ã
C ++ã®èšäºãšã¢ã«ãŽãªãºã ã®æŽæ°ããŒãžã§ã³ãããã¹ãã®ãšã©ãŒã«é¢ããã³ã¡ã³ããLANã«éã£ãŠãã ããã