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

下載本文檔

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

文檔簡介

1、.網(wǎng)絡(luò)及產(chǎn)品介紹2.FC協(xié)議與配置3.iSCSI協(xié)議與配置FCoE技術(shù)介紹與配置Yeslab數(shù)據(jù)中心課程Storage系列作者:馬海波現(xiàn)任明教教主Yeslab數(shù)據(jù)中心現(xiàn)任明教教主內(nèi)容簡介內(nèi)容簡介第一部分:FCIP Protocol Overview第二部分:FCIP 配置實驗部分第一部分:FCIP Protocol Overview第一部分FCIP Protocol Overview馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolHybrid SAN ExtenImplemenionsOverview馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Proto

2、colFCIP: Fibre Channel over IPOverviewFibre Channel over IP (FCIP) FCIP provides a standard way of encapsulating FC frames withCP/IP,allowing islands of FC SANs to beerconnected over an IP-based networkSame protocol stack as Fibre Channel Think IPv6 over IPv4 GRE Tunnel Initiators &s are still Nativ

3、e FC (or FCoE)Used for FC SAN ExtenData replication over long distanceNative FC is sensitive to latency and dropsTCP already has built in congestion management, retransmis, etc.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewStorage Protocol Technologies catalog馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol Ov

4、erviewFCIP Frame DetailMax Fibre Channel frame is 2148 bytes plus optional extrasFCIP will segment and reassemble FC frames if MTU too small (TCP payload on second or subsequent packets)Jumbo frames may increase performanceIP MTU of 2300 avoids splitting of TCP frames馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Pro

5、tocol OverviewFCIP Architecture M馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFCIP and VE PortsFCIP virtual E (VE) ports behave exactly like standard Fibre Channel Eports, except Channel.t the transporthis case is FCIP instead of Fibre馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFCIP LinksFCIP lin

6、ks consist of one or more TCP connections betntwo FCIP link endpo Channel frames.s. Each link carries encapsulated FibreBy default, the FCIP feature on any Cisco MDS 9000 Family switch creates two TCP connections for each FCIP link:One connection is used for data frames.The other connection is used

7、only for Fibre Channel controlframes,t is, switch-to-switch protocol frames (all Class F).This arrangement provides low latency for all control frames.Once the FCIP link is established, the VE port behavior isidentical to E port behavior for aller-switch communication(includingmanagement, zones, and

8、 VSANs).馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFCIP ProfilesThe FCIP profile contains information about the local IP address and TCP parameters. The profile defines the following information:The local connection pos (IP address and TCP port number)The behavior of the underlying TCP connection

9、s for all FCIPlinkst use this profile(定義使用這個profile的FCIP Links的底層TCP的連接行為)馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolResolving Differenbetn StorageOverviewand TCP NetworksStorage traffic:Quite bursty (流量豐足的)Latency sensitive (sync apps)延遲性敏感Requires high, instantaneous throughput(要求高的,即時的吞吐量)Traditional T

10、CP:Tries to be network soble(強調(diào)網(wǎng)絡(luò)的互通)Tries to avoid congestion (overrunning downstream routers)強調(diào)避免擁塞Backs off when congestion detected(擁塞時回退)Slow to rup over long links (slow start andcongestion avoidance)由慢傳送開始再逐漸增速馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFlow Control - FC & FCIPTCP uses a sl

11、iding window for flow control end to end betn FCIP entities BB_Credits not relevant over FCIPFC FCIP is typical powhere problems may occur,slow rup oftraditional TCP can cause FC frame expiry in some conditions: Multiple 1 or 2 Gbps FC sourto slow, high latency WAN path, big buffers Retransmiss, man

12、y sour馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewMDS FCIP TCP BehaviorDesigned to reduce probability of drops(設(shè)計減少丟包可能性)Bursts are controlled through per flow sha controland congestion windowIncreased resince to drops (增加丟包的回復(fù)力)Uses SACK, fast retransmit and shaAggressive slow start mechanism(激進(jìn)式

13、慢啟制)Initial rate controlled by ”min-availab Max rate controlled by ”max-bandwidth”andwidth”Differenwith Normal TCP:When congestion occurs with other conventional TCP traffic, FCIP is more aggressive during recovery ( ”bullying”霸占 the other traffic)-Aggresis proportional to the min-availabandwidth co

14、nfiguration馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolFCIP TCP Packet Sha: MDS9000OverviewShr sends at a rate consumaby the downstreath:Immediay sends at ”minimum-bandwidth” rate (avoids early stages oftraditional slow start)Rs up to ”um-bandwidth” rate (using usual slow start andcongestion avoidance meth

15、ods)Requirements for shr to engage:Min-availabandwidth 1/20 max-bandwidthSACK (Selective Ack) must be enabledtcp max-bandwidth-mbps 1000 min-availabw-mbps 500 round-trip-time-ms 1馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFCIPerfaThe FCIPerface is the local endpoof the FCIPlink and a VE porterfac

16、e. All the FCIP and E portparameters are configured in context to the FCIP erface.The FCIP parameters consist of the following:The FCIP profile determines which Gigabit Ethernet port initiates the FCIP links and defines theTCP connection behavior.Peer information.Number of TCP connections for the FC

17、IP link.E port parameters trunking mode and trunk allowed VSAN list.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolFCIP High-Availability Solutions (1)OverviewVRRP-Based High AvailabilityThe following characteristics set VRRP solutions apart from other solutions:If the active VRRP port fails, the standby VRRP

18、 port takes over the VRRP IP address.When the VRRP switchover happens, the FCIP link automatically disconnects and reconnects.This configuration has only one FCIP (E)ISL link.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolFCIP High-Availability Solutions (2)OverviewEthernet PortChannel-BasedHigh AvailabilityT

19、he following characteristics set Ethernet PortChannel solutions apart from other solutions:The Gigabit Ethernet link-level redundancy ensures a transparent failover if one of the Gigabit Ethernet links fails.Two Gigabit Ethernet ports in one Ethernet PortChannel appear like one logical Gigabit Ether

20、net link.The FCIP link stays up during the failover.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolFCIP High-Availability Solutions (3)OverviewFSPF-Based Load BalancingThe following characteristics set FSPF solutions apart from other solutions:Each FCIP link is a separate (E)ISL.The FCIP links can connect to

21、different switches across two SAN islands.The Fibre Channel traffic is load balanced across the FCIP link.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP ProtocolFCIP High-Availability Solutions (4)OverviewPortChannel-BasedLoad BalancingThe following characteristics set Fibre Channel PortChannel solutions apart from o

22、ther solutions:The entire bundle is one logical (E)ISL link.All FCIP links switches.he PortChannel should be across the same twoThe Fibre Channel traffic is load balanced across the FCIP linkshePortChannel.馬海波/現(xiàn)任明教教主Storage系列第一部分:FCIP Protocol OverviewFCIP 與 CCIE DCExtend the SAN over the DCI E.g. F

23、C SAN over OTVActually SCSI over FCP over TCP over IP over Ethernet over MPLS over GRE over IP over EthernetHow does it apply to us?MDS as an FCIP GatewayN7K&N5K doesnt support FCIP featureAdvanced FCIP Features not mentioned such as FCIP Write Acceleration, FCIP T CompresAcceleration, FCIP第二部分:FCIP

24、 配置實驗部分第二部分FCIP 配置實驗部分馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分FCIP 實驗拓?fù)漶R海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分FCIP 實驗需求實驗需求:配置MDS1和MDS2之間兩條FCIP鏈路,允許VSAN101和VSAN102通過這兩條鏈路.由于G1/1鏈路是1Gbps獨享帶寬,優(yōu)先使用它作為主要鏈路,由于G1/2是155M共享帶寬,則使用它作為備用鏈路.調(diào)整適當(dāng)MTU值以適應(yīng)FC幀.IP參數(shù)如下:Device MDS1 MDS2Primary Link Address 172.16.10.1/24172.16.

25、10.2/24Secondary Link Addres 172.16.20.1/24172.16.20.2/24MDS FCIP Gateway Configuration步驟如下:Configure normal FC to Initiators &sConfigure IP connectivity betConfigure FCIP Tunnel- Configure FCIP Profilen MDSes- Configure FCIPerfaceTunnel now counts as a TE_port- Normal FC Switching design now apps馬海

26、波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (1)MDS1上:MDS1(config)# vsan databaseMDS1(config-vsan-db)# vsan 101 name VSAN101 MDS1(config-vsan-db)# vsan 102 name VSAN102MDS1(config)# zone mode enhanced-zone vsan 101(保持與M9124A一致)MDS1(config)#er fc1/5MDS1(config-if)# switchport mode e MDS1(config-if)#

27、 switchport trunk mode onMDS1(config-if)# switchport trunk allowed vsan 101 MDS1(config-if)# switchport trunk allowed vsan add 102 MDS1(config-if)# no shuMDS1(config-if)# showfc1/5 is trunkinger fc1/5Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)Receive B2B Credit is 255 Receive dat

28、a field Size is 2112 Beacon is turned offTrunk vsans (admin allowed and active) (101-102)Trunk vsans (up)(101-102)馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (2)MDS1(config)# feature fcipMDS1(config)#erface GigabitEthernet 1/1MDS1(config-if)# ip address 172.16.10.1 255.255.255.0 MDS1(config-if)#

29、 switchport mtu 2300MDS1(config-if)# no shutdownMDS1(config-if)#erface gigabitethernet 1/2MDS1(config-if)# ip address 172.16.20.1 255.255.255.0 MDS1(config-if)# switchport mtu 2300MDS1(config-if)# no shutdown馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (3)MDS1(config-if)# fcip profile 10 MDS1(con

30、fig-profile)# ip add 172.16.10.1 MDS1(config-profile)# show fcip profile 10 FCIP Profile 10ernet Address is 172.16.10.1 ( Listen Port is 3225TCP parameters SACK is enablederface GigabitEthernet1/1)PMTU discovery is enabled, reset timeout is 3600 sec Keep alive is 60 secMinimum retransmistimeout is 2

31、00 msum number of re-transmis Send buffer size is 0 KBs is 4um allowed bandwidth is 1000000 kbps Minimum availabandwidth is 500000 kbps Configured round trip time is 1000 usecCongestion window monitoring is enabled, burst size is 50 KB Auto jitter detection is enabled馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實

32、驗部分MDS1上FCIP 配置 (4)MDS1(config)# fcip profile 20 MDS1(config-profile)# ip add 172.16.20.1MDS1(config-profile)# tcp max-bandwidth-mbps 155 min-available- bandwidth-mbps 20 round-trip-time-ms 10MDS1(config-profile)# show fcip profile 20FCIP Profile 20ernet Address is 172.16.20.1 ( Listen Port is 3225T

33、CP parameters SACK is enablederface GigabitEthernet1/2)PMTU discovery is enabled, reset timeout is 3600 sec Keep alive is 60 secMinimum retransmistimeout is 200 msum number of re-transmis Send buffer size is 0 KBs is 4um allowed bandwidth is 155000 kbps Minimum availabandwidth is 20000 kbps Configur

34、ed round trip time is 10000 usecCongestion window monitoring is enabled, burst size is 50 KB Auto jitter detection is enabled馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (5)MDS1(config-profile)#erface fcip10MDS1(config-if)# use-profile 10MDS1(config-if)# peer-info ipaddr 172.16.10.2 MDS1(config-i

35、f)# switchport mode eMDS1(config-if)# switchport trunk allowed vsan 101 MDS1(config-if)# switchport trunk allowed vsan add 102 MDS1(config-if)# fspf cost 500 vsan 101MDS1(config-if)# fspf cost 500 vsan 102 MDS1(config-if)# no shutdownMDS1(config-if)#erface fcip20MDS1(config-if)# use-profile 20MDS1(c

36、onfig-if)# peer-info ipaddr 172.16.20.2 MDS1(config-if)# switchport mode eMDS1(config-if)# switchport trunk allowed vsan 101 MDS1(config-if)# switchport trunk allowed vsan add 102 MDS1(config-if)# no shutdown馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS2上FCIP 配置 (1)MDS2上:MDS2(config)# vsan databaseMDS2(con

37、fig-vsan-db)# vsan 101 name VSAN101 MDS2(config-vsan-db)# vsan 102 name VSAN102MDS2(config)# feature fcipMDS2(config)#erface GigabitEthernet 1/1MDS2(config-if)# ip address 172.16.10.2 255.255.255.0 MDS2(config-if)# switchport mtu 2300MDS2(config-if)# no shutdownMDS2(config-if)#172.16.10.1MDS2(config

38、-if)#erface Gigabitethernet 1/2MDS2(config-if)# ip address 172.16.20.2 255.255.255.0 MDS2(config-if)# switchport mtu 2300MDS2(config-if)# no shutdownMDS2(config-if)#172.16.20.1馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS2上FCIP 配置 (2)MDS2(config-if)# fcip profile 10 MDS2(config-profile)# ip add 172.16.10.2

39、MDS2(config)# fcip profile 20 MDS2(config-profile)# ip add 172.16.20.2MDS2(config-profile)# tcp max-bandwidth-mbps 155 min-available-bandwidth-mbps 20 round-trip-time-ms 10MDS2(config-profile)#erface fcip10MDS2(config-if)# use-profile 10MDS2(config-if)# peer-info ipaddr 172.16.10.1 MDS2(config-if)#

40、switchport mode eMDS2(config-if)# switchport trunk allowed vsan 101 MDS2(config-if)# switchport trunk allowed vsan add 102 MDS2(config-if)# fspf cost 501 vsan 101MDS2(config-if)# fspf cost 501 vsan 102MDS2(config-if)# no shutdown馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (3)erface fcip20MDS2(co

41、nfig-if)#MDS2(config-if)# use-profile 20MDS2(config-if)# peer-info ipaddr 172.16.20.2 MDS2(config-if)# switchport mode eMDS2(config-if)# switchport trunk allowed vsan 101 MDS2(config-if)# switchport trunk allowed vsan add 102 MDS2(config-if)# no shutdownMDS2(config-if)# showfcip10 is trunkingHardwar

42、e is GigabitEtherneter fcip 10Port WWN is 20:10:00:0d:ec:4a:80:00Peort WWN is 20:10:00:0d:ec:1a:44:c0Admin port mode is E, trunk mode is onsnmp link se traps are enabledPort mode is TE Port vsan is 1Speed is 1 GbpsTrunk vsans (admin allowed and active) (101-102)Trunk vsans (up) Trunk vsans (isolated

43、).(101-102) ()馬海波/現(xiàn)任明教教主Storage系列第二部分:FCIP 配置實驗部分MDS1上FCIP 配置 (4)MDS2(config-if)# showfcip20 is trunkingHardware is GigabitEtherneter fcip 20Port WWN is 20:14:00:0d:ec:4a:80:00Peort WWN is 20:14:00:0d:ec:1a:44:c0Admin port mode is E, trunk mode is onsnmp link se traps are enabledPort mode is TE Port vsan is 1Speed is 1 GbpsTrunk vsans (admin allowed and active) (101-102)Trunk vsans (up) Trunk vsans (isolated)Trunk vsans (initializing)er

溫馨提示

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

評論

0/150

提交評論