4.yeslab數(shù)據(jù)中心存儲(chǔ)課程iscsi協(xié)議與配置_第1頁(yè)
4.yeslab數(shù)據(jù)中心存儲(chǔ)課程iscsi協(xié)議與配置_第2頁(yè)
4.yeslab數(shù)據(jù)中心存儲(chǔ)課程iscsi協(xié)議與配置_第3頁(yè)
4.yeslab數(shù)據(jù)中心存儲(chǔ)課程iscsi協(xié)議與配置_第4頁(yè)
4.yeslab數(shù)據(jù)中心存儲(chǔ)課程iscsi協(xié)議與配置_第5頁(yè)
已閱讀5頁(yè),還剩32頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、.FCFCIPiSCSIFCoEYeslab.FCFCIPiSCSIFCoEYeslab數(shù)據(jù)中心課程作者:馬海現(xiàn)任明教教Yeslab數(shù)據(jù)中心iSCSI協(xié)議與iSCSI協(xié)議與配置內(nèi)容簡(jiǎn)介iSCSI協(xié)議與配iSCSI協(xié)議與配置iSCSIProtocoliSCSI協(xié)議與配置iSCSIbringsthe ideaiSCSI協(xié)議與配置iSCSIbringsthe ideaof a blockstorageSANto customerswithno Fibre Channel infrastructure.iSCSIis an IETF standardforencapsulatingSCSIcontro

2、land CP/IPpackets,iSCSICP/IPand Ethernetframes.TCPis usedtohandle droppedEthernetframes or significanttransmis iSCSI協(xié)議與配置iSCSI術(shù)語(yǔ)(1)iSCSIiSCSI協(xié)議與配置iSCSI術(shù)語(yǔ)(1)iSCSIAniSCSI initiator is alogical host-side device t serves the same function as a physical hostbus adapter in Fibre Channel or SCSI/SAS. iSCSI

3、 initiators can be software initiators,The other form of iSCSI initiators are hardware initiators. An iSCSI initiator is identified by an iSCSI qualified name.An iSCSI initiator uses aniSCSI network t consists ofone or IPaddresses. AniSCSIinitiator logs into.iSCSI協(xié)議與配置An is a-side iniSCSI協(xié)議與配置An is

4、a-side int serves thesame function asChannel SANs. It is thet hosts sand masks tospecific iSCSI is identified by an iSCSIName.An uses an iSCSI t consists ofone or more IP iSCSI協(xié)議與配置iSCSI it ) An is hostediSCSI協(xié)議與配置iSCSI it ) An is hosted by an . There can one or sbehind asingle .iSCSI network portal

5、 An iSCSI network portal oneormore IP addresses iSCSI initiator or iSCSIt are used by.iSCSI協(xié)議與配置iSCSI Qualified Name (IQN) AniSCSI協(xié)議與配置iSCSI Qualified Name (IQN) An iSCSI qualified (IQN) serves the e of the WWNin Fibre Channel it is the unique identifier for an iSCSI , .The format of the IQN is base

6、d on the iSCSI IETF The iSCSI qualified name is restricted to um length of 223 alphanumeric characters and a minimum length of 16 characters.iSCSI協(xié)議與配置Sic/dynamic discovery iSCSI uses a ofdiscovery where theiSCSI協(xié)議與配置Sic/dynamic discovery iSCSI uses a ofdiscovery where theiSCSI initiator can an for

7、the s.discovery involves amanual whereas dynamic discovery es an iSCSI- d to oneof thestandard ss onthearray. reports all theavailable particular initiator.s stiSCSI協(xié)議與配置iSCSICCIEiSCSI協(xié)議與配置iSCSICCIETypicallyusedin small tomid-range NodedicatedSAN switchess noSAN switching knowledge1/10GigE iSCSI har

8、dwareoffloadcardsiSCSIis notSAN Endhosts run justStorageArray runsjustTransportis anythingHow doesit applytoMDS asaniSCSI toFCiSCSI協(xié)議與配置MDSis effectivelya translationalbridgefor FibreChannel& ThinkbridgingniSCSI協(xié)議與配置MDSis effectivelya translationalbridgefor FibreChannel& ThinkbridgingnEthernet&Frame

9、Relay in How iSCSIgateways FLOGIas usualto FC iSCSIInitiatorssendDiscovery tosMDShasIPenabled MDS ssisiSCSI InitiatorthinksJust thinksiSCSI Initiator is FChisscenario(FCinitiator&iSCSI tagart不支持N7K&N5K doesnotsupport iSCSI iSCSI協(xié)議與配置iSCSI協(xié)議與配置iSCSIiSCSI協(xié)議與配置iSCSISANViewiSCSIsIPS模塊創(chuàng)建了獨(dú)立的iSCSI協(xié)議與配置iSC

10、SISANViewiSCSIsIPS模塊創(chuàng)建了獨(dú)立的iSCSISAN層面和FCSAN層面,對(duì)于iSCSI層面IPS塊創(chuàng)建出iSCSI虛擬的Tagarts,并它們到FCSAN里面的物理可用的設(shè)備是iSCSI協(xié)議與配置FibreiSCSI協(xié)議與配置Fibre Channel SANViewiSCSI Host asan 這個(gè)虛擬的FC主機(jī),類似與真的FC主機(jī)通信一樣iSCSI協(xié)議與配置iSCSItoFCP(FibreChannel)iSCSI協(xié)議與配置iSCSItoFCP(FibreChannel) TheiSCSI requestsandresponsesaretransportedover a

11、nIP nthehostsand theIPS moduleor MPS-14/2 TheSCSI requestsandresponsesare routedn thehostson an network andtheFibreChannelstoragedevice (converting iSCSI toFCP and vice versa). The IPS moduleor MPS-14/2 moduleperforms thisconverand The FCP requests or responses are transported bet or MPS-14/2 module

12、andtheFibreChannelstoragedevin theIPS .iSCSI協(xié)議與配置MDSiSCSIGateway ConfigureiSCSI協(xié)議與配置MDSiSCSIGateway ConfigureFC sConfigureIPto Enable ConfigureZoning/sserverat MDSs IPaddressiSCSIiSCSI協(xié)議與配置Presenting Fibres as sThe IPS moduleor MPS-14/2 modulepresentsphysicalFibre sasiSCSI s,allowing themtobe sed iS

13、CSI協(xié)議與配置Presenting Fibres as sThe IPS moduleor MPS-14/2 modulepresentsphysicalFibre sasiSCSI s,allowing themtobe sed byhosts.The modulepresentssin one ofthetwo Dynamic-自所有的設(shè)備作為設(shè)備會(huì)自動(dòng)創(chuàng)建iSCSI的名字,規(guī)則如下IPS Gigabit Ethernet t are not part of a Virtual Router Protocol(VRRP) group or PortChannel use this .ci

14、sco:05.-IPS t are part ofa VRRP group use this .cisco:05.vrrp-#-vrrp-IP-t are part ofa PortChannel use this .cisco:02.pc-port-ch-iSCSI協(xié)議與配置Presenting Fibres as sSiciSCSI協(xié)議與配置Presenting Fibres as sSic-可以手動(dòng)靜態(tài)的創(chuàng)建義的一個(gè)唯一iSCSIIQN名字注意一個(gè)多個(gè)端口iSCSI協(xié)議與配置Presenting iSCSI HostsasVirtualFibreChannel The IPS modul

15、eoriSCSI協(xié)議與配置Presenting iSCSI HostsasVirtualFibreChannel The IPS moduleor MPS-14/2 moduleconnectsto theFibrestoragedevi transfer daonbehalfof theiSCSI hosttodso and fromthestorage . These modulesusevirtual FibreChannelN porttos theFibreChannelonbehalfof theiSCSI 用于決定iSCSI主機(jī)與N的關(guān)系,在iSCSI接口上配置標(biāo)識(shí)initiat

16、or的方式基于IQN或者基于IP地址來(lái)標(biāo)示InitiatoriSCSIhostsidentifiedbyeitheriSCSI qualifiedname(IQN) or IP 一個(gè)帶有多個(gè)IP地址的initiator主機(jī)(擁有多塊網(wǎng)卡)只擁有一個(gè)IQN名字默認(rèn)iSCSI接口上是通過(guò)IQN識(shí)別的erfaceiscsi switch(config-if)#switchportinitiator id ip-address switch(config-if)# switchport initiator id nameiSCSI協(xié)議與配置Initiatorion Two modes are avai

17、lable to presentiSCSI hosts transparentinitiatormodeandiSCSI協(xié)議與配置Initiatorion Two modes are available to presentiSCSI hosts transparentinitiatormodeandproxy initiatormode.heFibreChannel在transparent initiator模式下,每一個(gè)iSCSI 主機(jī)都被體現(xiàn)作為一個(gè)虛擬的FC主機(jī), 好就是可以使用更精細(xì)的控制配置,因?yàn)榭梢詮膇SCSI到FC實(shí)現(xiàn)1對(duì)1關(guān)系在proxy initiator模式下,在每個(gè)IP

18、S接口上只有一個(gè)虛擬的FC主機(jī),所有的iSCSI主機(jī)由它后面的s,使用這種模式可以簡(jiǎn)化配置iSCSI協(xié)議與配置WWNAssignment foriSCSI在transparentinitiator模式下An iSCSI hostis mappedtoan NportsiSCSI協(xié)議與配置WWNAssignment foriSCSI在transparentinitiator模式下An iSCSI hostis mappedtoan Nportsbyoneofthefollowingmechanisms(一個(gè)iSCSI主機(jī)被 成一個(gè)N portDynamic - 每個(gè)iSCSI主機(jī)動(dòng)態(tài)產(chǎn)生pWWN

19、和nWWN,每次iSCSI主機(jī)的連可到不同的WWNs.iSCSI dynamic is the default mode ofThis configuration isdistributed using Sic -使用靜,每個(gè)iSCSI主機(jī)到一個(gè)指定的pWWN和這個(gè)模式適合在FC設(shè)備上需要控制的情況下,例如Open-e的FC卷上需要做特定WWN指派.完成這個(gè)靜可以通過(guò)下面兩個(gè)方式Userassignment-Youcanspecifyyourown unique WWNbyprovidingthemduring configuration t the switchprovideaWWNfrom

20、the switchsFibre in its configurationChannelWWNpooland keepthe iSCSI協(xié)議與配置VSANMembership forSAN membership canbe configured for an erface, called the portiSCSI協(xié)議與配置VSANMembership forSAN membership canbe configured for an erface, called the port VSAN. the iSCSI t connect to erface e members ofVSAN, if

21、it isnot explicitly configured ina VSAN. The default port VSAN of an erface isVSAN 1. Similar to Fibre Channel ,iSCSI have mechanisms by which VSAN membership canbe iSCSI hostVSAN membership toiSCSI host. This method takes precedent the erface(這種方式會(huì)取代iSCSI接口的vsan配置erfaceVSAN membership to erface. (A

22、ll iSCSI hosts to this erface inherit erface VSAN membership ifthe host is configured in any VSAN by the iSCSI host iSCSI協(xié)議與配置iSCSIs Twomethodsof scontrolareavailable foriSCSI . ontheinitiator mode usedtopresenttheiSCSI heFibre fabric,either or bothof thes control iSCSI協(xié)議與配置iSCSIs Twomethodsof scont

23、rolareavailable foriSCSI . ontheinitiator mode usedtopresenttheiSCSI heFibre fabric,either or bothof thes control methodscan beFiber Channel zoning-based ac beenextendedtosupportiSCSI devis controlFibreChannelzoning, and thishas advantageofhaving auniform,flexibles controlmechanism across wholehecas

24、eof iSCSI, multipleiSCSI may bebehindavirtualFCinitiator (proxy erface-basedzoningmaynotbe erface will automatically beusefulbecauseall iSCSI behindhesamezone. ZoningbasedontheiSCSI nodenameor IP willve anyiSCSIACL-basedscontroliSCSI-baseds controlapplicableonlyif iciSCSIsare created.For aic,youcanc

25、onfigurealistofiSCSI tareallowedtoss. Bydefault,iciSCSIsarenotsible to iSCSIDependingontheinitiatormodeusedtopresenttheiSCSI heChannelfabric,either or boththes control mechanismscan beiSCSI協(xié)議與配置iSCSI協(xié)議與配置部分iSCSIiSCSI協(xié)議與配置部iSCSI協(xié)議與配置部分iSCSIiSCSI協(xié)議與配置部分Configure FCsMDS9124上M9124A(config)# vsan M9124A(

26、config-vsan-iSCSI協(xié)議與配置部分Configure FCsMDS9124上M9124A(config)# vsan M9124A(config-vsan-vsan101 name vsan erface erface no shu er fc1/6switchport mode e switchport trunk mode onswitchport trunk allowed vsan 101 no shuMDS2(config-if)# vsan MDS2(config-vsan-db)# vsan101 name MDS2(config-er fc1/3 switchpo

27、rt mode eswitchport trunk mode on switchport trunk allowed vsan 101 no shuMDS2(config)# show fcns iSCSI協(xié)議與配置部分Configure IPtoer ipiSCSI協(xié)議與配置部分Configure IPtoer ip add 192.168.61.2no MDS2上MDS2(config-N5K-2上N5K-2(config)# vlan 61 iscsi-N5K-2(config-er N5K-2(config-speed 1000 switchport mode ac switchpor

28、t acc vlan 61er e1/31 speed switchport mode sswitchport trunk allowed vlan iSCSI協(xié)議與配置部iSCSI協(xié)議與配置部分 iSCSI協(xié)議與配置部iSCSI協(xié)議與配置部分ESXi上創(chuàng)建iSCSIiSCSI協(xié)議與配置部分測(cè)試ESXiiSCSIinitiator到MDSiSCSIiSCSI協(xié)議與配置部分測(cè)試ESXiiSCSIinitiator到MDSiSCSIGatewayMDS2上192.168.61.102 (192.168.61.102) 56(84) bytes of 64 bytes from 192.168.61

29、.102: 64 bytes from 192.168.61.102: 64 bytes from 192.168.61.102: 64 bytes from 192.168.61.102: 64 bytes from 192.168.61.102: ttl=64 time=0.679 ms ttl=64 time=0.683 ms ttl=64 time=0.651 ms ttl=64 time=0.666 ms ttl=64 time=0.648 - sistics -5 packets transmitted, 5 received,0% packet loss, time 4007ms

30、 rtt min/avg/max/mdev = 0.648/0.665/0.683/0.027 msiSCSI協(xié)議與配置部分EnableMDS2上feature iscsienableiSCSI協(xié)議與配置部分EnableMDS2上feature iscsienable module 1 er iscsi 1/1MDS2(config-no show iscsiiSCSI/iSLB Global information(fabric-wide) Authentication:CHAP,NONEInitiatoridle timeout:300 seconds Dynamic Initiator:

31、iSCSIiSLB Distribute:iSLBCFS:DoesnotNumberof load balancedVRRPgroups:0 Numberof load-balancedinitiators:0iSCSI/iSLBGlobal information(localtothisImport:InitiatorPlogitimeout:2 MDS2(config-if)# iscsiauthentication iSCSI協(xié)議與配置部分VirtualFCTagetsMDS2上MDS2(config)#iSCSI協(xié)議與配置部分VirtualFCTagetsMDS2上MDS2(confi

32、g)#iscsi和iSCSI InitiatorerfaceiscsiMDS2(config-if)#switchportinitiatorid ip-MDS2(config)#iscsiinitiatorip-address MDS2(config-iscsi-init)#s MDS2(config-iscsi-init)#icnWWN20:00:00:25:b5:00:00:01 icpWWNiSCSI協(xié)議與配置部分 s MDS2上MDS2(config-zone)# vsanMDS2(config-vsan-db)# vsan erface iscsi Traffic on iscsi1

33、/1may be impacted. iSCSI協(xié)議與配置部分 s MDS2上MDS2(config-zone)# vsanMDS2(config-vsan-db)# vsan erface iscsi Traffic on iscsi1/1may be impacted. Do you want to continue? (y/n) n y MDS2(config)# zone mode enhanced vsan 101WARNING: d would distribute the zoning database ofthis throughout the fabric. Do youwant to continue? (y/n)

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論