Professional Documents
Culture Documents
BRKSAN-2704
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 2
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 3
SAN Design
Principles
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 4
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 5
“A” “B”
Fabrics Fabrics
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 6
“A” “B”
VSANs VSANs
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Replication
Appears as a single
VSANs logical link (up to
sixteen member links)
Protecting the fabric
Port Channels from network failure
Route port-channel
member links over
Site B
diverse geographic paths
Replication Load balancing on SRCID/
VSANs FC DESTID or SRCID/DESTID/
OXID basis (unidirectional
per VSAN)
“A” “B” SCSI exchange is smallest atomic
VSANs VSANs unit, so frame order kept intact
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 8
FC FC
FC
FC
FC IP FC
Network
FC
Multi-Hop
Primary DC Secondary DC Backup Site FC
FC FC
FC FC
DWDM IP FC
Network
SAN Extension
Solutions
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Increasing Distance
Data
Center Campus Metro Regional National Global
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 12
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 13
FC
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 16
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Protected Lambda
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 18
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Diverse
May cause some loss BB_Credit
Network loss from in flight traffic
Paths MDS9000 will recover
lost BB_Credits
FC
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 20
FC Frame
Header Header Header Opts Header Hdr Hdr CRC32
14 20 20 12 28 4 8 0-16
4
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Storage traffic:
Quite bursty
Latency sensitive (sync apps)
Requires high, instantaneous throughput
Traditional TCP:
Tries to be network sociable
Tries to avoid congestion (overrunning downstream routers)
Backs off when congestion detected
Slow to ramp up over long links (slow start and
congestion avoidance)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 23
BB_Credit BB_Credit
Flow Control Flow Control
Traffic Flow
Source Sends
Packets at Rate
Consumable by
Downstream Path Interpacket Gap to Accommodate Slow
Downstream Link (e.g., 45 mbps)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Enhancing
SAN Extension
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 28
~2 km per Frame
1 Gbps FC
~1 km per Frame
2 Gbps FC
~½ km per Frame
4 Gbps FC
16 Km
Traffic Flow
FC FC
FC Receive FC Receive
Buffers Buffers
Shared Dedicated
FX-Port / Extended Max
FX-Port FX-Port E-Port E-Port Credits Speed Distance (*) Disable Ports for
(Fixed) (Default) (Default) (Min-Max) (Min-Max) (Gbps) (km) Max Credits?
1 510
16 Port 1/2 Gbps N/A 16 255 2-255 N/A No
2 255
1 24
32 Port 1/2 Gbps 12 12 12 12 N/A No
2 12
R_Rdy
Frame
B2B
Frame
SONET/ SL cards
SDH
Network Extends distances to 2300 km
Negotiation
@ 1G FC or 1150 km
R_Rdy
Frame
B2B
@ 2G FC
FC
Configuration Note: When Using ONS 15454 R_RDY Spoofing with MDS 9000, Disable BB State
Change Notification on Connected MDS Port: interface fc 1/1 no switchport fcbbscn
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 32
2) MDS Brings
Down Array Port Optical Network
Arrays recover from a link failure via I/O timeouts; however, this
can take several seconds or longer
MDS port-track addresses this by monitoring the WAN/MAN link
and if it detects a failure, it will bring down the corresponding link
connected to the array
The array after detecting a link failure will redirect the I/O to
another link without waiting for the I/O to timeout
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 33
4) MDS Brings
Down Array Port Optical Network
The MDS port-tracking feature can be used with the ONS 15530
Forward Laser Control (FLC) or ONS 15454 squelching feature to
further track failures in the network, improving the ability to detect
failed paths
Forward laser control, squelching and port-tracking offer
end-to-end path failure detection
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 34
MDS9000 incorporates
moving average feedback
to dynamically adjust TCP window
according to compression rate
Feedback mechanism is not
available when using IP network-
based compression solutions—
manual adjustment of TCP
window size required
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 36
MSM
(SAN-OS 3.x)
Mode - Auto
MPS
(SANOS 2.x)
Mode 1
IPS
(SANOS 2.x)
Mode 1
1 10 100 1000
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Primary Site
Write Acceleration
Enables extended distance capabilities for remote replication technologies
Better performance using FC/FCIP-WA—up to 2X the performance over
given distance
Reduces effective I/O latency within SAN extension solutions
Built into services modules (IPS, MPS, MSM, SSM)—transparent to
disk arrays
Highly resilient solution—no data stored in MDS 9000 switch
DATA XFER_RDY
1.50
45 Mbps
1.40 32kB 45M
1.30 32kB 155M
1.20 32kB 622M
STATUS
1.10
32kB 1G
1.00
Reduction in I/O Latency Equal
1 2 3 4 5 6 7 8 9 10 11 12 13
to One Round Trip Time (RTT)
RTT (ms)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 40
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Server Tape
CMD Cmd-1
Xfer_Rdy
Data Cmd-2
Status
Cmd-3
Xfer_Rdy
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 46
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Site B
Host to Local Array Fabric is VSAN_5
Site A Replication Fabric is VSAN_10
FC
Replication Site B Replication Fabric is VSAN_30
VSAN_30
SAN Extension Fabric is VSAN_20
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Bandwidth reservation
FCIP has no support for reservation protocol
Simulated using min/max B/W command
(can be considered as a type of reservation)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 50
Control packets
Both control and data traffic can be assigned the same class
If needed can assign CS6 or DSCP 48
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 51
L3 Classification L2
Application
IPP PHB DSCP CoS
Routing / FCIP control 6 CS6 48 6
Voice 5 EF 46 5
Video Conferencing 4 AF41 34 4
Streaming Video 4 CS4 32 4
FCIP SYNC 3 AF31* 26 3
Call Signaling 3 CS3* 24 3
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 53
FCIP1 VSAN 10
FCIP2 VSAN 20
FCIP3 VSAN 30
MDS1
MDS2 FCIP4 VSAN 40 MDS2
VSAN 100
Eight Tape
Libraries
(Three Tapes
Each)
Distributed
over 4 VSANs
FCIP tape acceleration is limited to one parallel path, but …
• Move the target tapes devices into separate VSANs
• Make each FCIP interface only a member of one tape target
VSAN and ensure trunking turned off
• Use IVR to allow all backup servers to access all tape devices
in all target VSANs
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 54
FCIP1 VSAN 10
FCIP2 VSAN 20
MDS2 MDS2
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 59
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 60
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 61
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 62
FC
FC
BB_Credit BB_Credit BB_Credit
Flow Control Flow Control Flow Control
FC Receive FC Receive
Buffers Buffers
FC
FC
TCP Windowing Flow Control
BB_Credit BB_Credit
Flow Control Flow Control
Frame Expiration
500-ms timer is fixed (not configurable)
Behavior possible whenever FC Rx buffers cannot
drain at a sufficient rate (at least 2x #Rx
buffers/second)
Caused by one or more of:
too many sources (speed mismatch)
slow downstream (slow receiver)
FC Rx buffers too deep
Possible situations are:
1. Long optical links with low BB_Credits (i.e., can’t drain
quickly)— misconfiguration
2. FCIP over long, slow links (e.g., T1 or T3 with 50 + ms RTT)
with occasional packet loss/retransmission
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 66
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 67
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 68
IP
TCP send- Network
Local
Server 28 Buffers buffer
Traffic Total over All
VOQ Default FC
HBA
Attached
Server
FCIP—
Capacity Planning
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 70
FCIP Tunnel
Gig3/1 Gig2/1
Creates a virtual N-port on an IPS or MPS port that can act as both
initiator and target to generate traffic
Measures throughput and response time per I/O over the
FCIP tunnels
Model effect of storage data in a shared network
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 71
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 73
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Auto Created
Zone
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 75
FCIP—Troubleshooting
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 76
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Useful Commands
show interface fcip nnn Show fcip interface statistics
show interface gigabitethernet n/n Show Gigabit Ethernet interface statistics
show ips stats all Show all ips stats
show ips stats buffer Show ips buffer stats
show ips stats dma-bridge Show dma-bridge stats
show ips stats hw-comp Show hw compression stats
show ips stats icmp Show icmp stats
show ips stats ip Show ip stats
show ips stats mac Show ethernet mac stats
show ips stats tcp Show tcp stats
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 78
FCIP Debugs
You Must Attach to the Module
You Are Debugging
module-2# debug ips fcip ?
all Configure FCIP debugging
ctlpkt Configure FCIP Control Pkt debugging
ctlpkt-detail Configure verbose FCIP Control Pkt debugging
datapkt Configure FCIP Data Pkt debugging
datapkt-detail Configure verbose FCIP Data Pkt debugging
err Configure FCIP Error debugging
fsm Configure FCIP FSM debugging
tape-acc Configure FCIP Tape accelerator
tape-acc-det Configure FCIP Tape accelerator debug detail
tape-acc-err Configure FCIP Tape accelerator error
write-acc Configure FCIP Write accelerator
write-acc-err Configure debug FCIP Write accelerator errors
write-acc-event Configure debug FCIP Write accelerator events
write-acc-pkt Configure debug FCIP Write accelerator packet)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 80
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 81
MDS FCanalyzer
(SAN/OS Imbedded)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 82
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 83
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 84
8.986146 ff.ff.fd -> ff.ff.fd 0x46a6 0xffff SW_ILS ELP Filter on VSAN 300
8.986233 ff.ff.fd -> ff.ff.fd 0x46a6 0x469a FC Link Ctl, ACK1
8.987140 ff.ff.fd -> ff.ff.fd 0x469b 0xffff SW_ILS ELP No shut of FCIP
8.987539
8.988273
ff.ff.fd -> ff.ff.fd
ff.ff.fd -> ff.ff.fd
0x469b 0x46a7 FC Link Ctl, ACK1
0x469b 0x46a7 SW_ILS SW_RJT (ELP)
interface
8.988790 ff.ff.fd -> ff.ff.fd 0x46a6 0x469a SW_ILS SW_ACC (ELP)
8.989438 ff.ff.fd -> ff.ff.fd 0x469b 0x46a7 FC Link Ctl, ACK1
Complete view
8.991501 ff.ff.fd -> ff.ff.fd 0x46a6 0x469a FC Link Ctl, ACK1 of standard ISL
8.992965 ff.ff.fd -> ff.ff.fd 0x46a8 0xffff SW_ILS EFP
8.993037 ff.ff.fd -> ff.ff.fd 0x46a8 0x469c FC Link Ctl, ACK1
initialization and
9.001146 ff.ff.fd -> ff.ff.fd 0x469d 0xffff SW_ILS EFP switch fabric merge
9.001603 ff.ff.fd -> ff.ff.fd 0x469d 0x46a9 FC Link Ctl, ACK1
9.001719 ff.ff.fd -> ff.ff.fd 0x46a8 0x469c SW_ILS SW_ACC (EFP) You do not capture
FCIP protocol; FCIP
protocol is viewed
with debugs and/or
SPAN (monitor) of
WAN network
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 85
PC w/Cisco
Protocol
Analyzer
(Ethereal)
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 86
Right Click on
Field to Filter
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Q and A
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 90
BRKSAN-2704
14571_04_2008_c1 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 92