An Introduction To Fibre Channel Sans: Mel Tsai
An Introduction To Fibre Channel Sans: Mel Tsai
1
Outline
2) SAN Design
• From Brocade’s “SAN Design Guide”
2
The Goals of Fibre Channel
3
Fibre Channel Media
4
FC Connections
• Point-to-Point
→ No media sharing, highest performance
→ Least flexibility
• Arbitrated Loop
→ Can connect 127 devices (a 1-byte ID) without an FC switch
→ Not token passing… Devices arbitrate and gain control of the loop,
then it becomes a point-to-point link
→ Bandwidth is shared among all devices
• Fabric (most interesting topology for SANs)
→ Very flexible, devices are addressed by a 3-byte ID (224 nodes)
→ Requires FC switches to connect devices
5
FC Initialization: Login
6
Flow Control
• Receiving nodes cannot always process data at the transmission rate…
Need flow control.
→ Receiver tells sender how much buffer space it has (“buffer credit”), and
vice-versa
7
Class of Service
• Class of service (established during login)
→ Class 1:
• Full bandwidth allocated, in-order delivery guaranteed
→ Class 2:
• More like a LAN: connectionless transmission, dropped frames okay but get a
notification, shared bandwidth among other traffic
→ Class 3:
• Similar to class 2, only one flow control method allowed, used when upper-layer
protocol guarantees transmission (SCSI)
→ Class 4:
• Establishes a bandwidth-limited Virtual Circuit (VC) path across the fabric, used
in switched topologies
→ Class 5:
• Defunct?
→ Class 6:
• Multicast capabilities 8
FC’s five-layer stack
• FC-0:
→ physical media specs
• FC-1:
→ 8B/10B character encoding
• FC-2:
→ Framing (up to 2148 bytes/frame), flow control, class of service
• FC-3:
→ Login, topologies, SAR
• FC-4:
→ Multiple-port services on one node
• FC-5:
→ Upper-Layer Protocol (ULP)
→ Can be SCSI, IP, HIPPI, ATM, IPI-3, SBCCS, etc.
9
Port Terminology
10
FC-based SANs
• Why FC?
→ High-performance, relatively simple, connection-oriented
→ SCSI naturally fits on top of FC
• Arbitrated-Loop FC can completely replace SCSI physical
transport
• Why SANs?
→ Storage consolidation
→ LAN-free backup
→ Clustering
→ High Availability
11
SAN Fabric Design
12
Important Terms
• Fabric topology: the layout of the SAN
• Core/edge switch: a “hop” in the SAN
• Hop count: # of switches a frame must traverse
• ISL: inter-switch link, connection between switches
• Fan-in: many storage devices to one host
• Fan-out: many hosts to one storage device
• Blocking vs. Congestion
• Locality: SAN traffic tends to cross ~1 hop
• Tiered: Devices of the same type are organized in the same location
(i.e. on the same switch)
• SAN Port Count: Total # of available ports to connect nodes
13
Basic 12-port SAN
8-Port 8-Port
FC Switch FC Switch
Trunked ISLs
Disk
Disk
Disk Disk
14
Cascaded Topology
15
Ring Topology
16
Full/Partial Mesh
17
Core/Edge Topology
18
Tiered Hybrid Core/Edge Topology
19
Complex Core/Edge Topology
20
SAN Goal 1: High Availability
21
SAN Goal 2: Scalability
• Investment Protection
→ If you replace switches in the core with faster ones, can you
move it to the edge?
22
SAN Goal 3: High Performance
23
ISL Over-Subscription
24
Bandwidth Scaling of Core/Edge
25
Latest Brocade Switches
Silkworm 3900
1.5U 32-port
(~$50,000)
Silkworm 12000
64 port
Silkworm 3200 (~$150K)
Silkworm 3800 8-port
16-port (~$8,000) 128 port
(~$20,000) (~$250K)
26
Coming soon…?
• Storage virtualization
27
Image Sources & References
• Interoperability Lab’s “Fibre Channel Tutorial,”
http://www.iol.unh.edu/training/fc/fc_tutorial.html
→ What: info on FC basics
28