Professional Documents
Culture Documents
Introduction To Storage Area Networks
Introduction To Storage Area Networks
BRKSAN-1701
BRKSAN-1701 14693_05_2008_X1
Cisco Public
Session Agenda
Main Topics for Today Storage Basics
What is it?
BRKSAN-1701 14693_05_2008_X1
Cisco Public
Storage Basics
BRKSAN-1701 14693_05_2008_X1
Cisco Public
Storage Basics
SCSI Primer Storage topologies
DAS, NAS, and SAN
SCSI Transport
Fibre Channel (FC) , FCIP, iSCSI
BRKSAN-1701 14693_05_2008_X1
Cisco Public
SCSI Primer
BRKSAN-1701 14693_05_2008_X1
Cisco Public
Standards
SCSI has evolved since it was introduced as SASI in 1979 by Shugart Associatesit was approved as a standard by ANSI in 1986 and is now referred to as SCSI-1 SCSI-2 was approved by X3 in 1990 and by ANSI in 1994 SCSI-3 refers to a collection of standards, each of which defines a very specific part of SCSI: physical interface, transport interface, command interface, architecture model, programming interface, etc.
Also known as SCSI Architecture Model 3 (SAM-3)
BRKSAN-1701 14693_05_2008_X1
Cisco Public
SAN
BRKSAN-1701 14693_05_2008_X1
Cisco Public
BRKSAN-1701 14693_05_2008_X1
Cisco Public
BRKSAN-1701 14693_05_2008_X1
Cisco Public
10
Host (Initiator)
DATA STATUS DATA DATA
Host (Initiator)
READY STATUS
Disk (Target)
DATA WRITE DATA DATA
BRKSAN-1701 14693_05_2008_X1
Cisco Public
11
TCP/IP Stack
SCSI
Adapter Driver
SCSI Adapter
SI SC
Cisco Public
12
SCSI SCSI
Most common channel is the basic parallel SCSI bus which can be internal or external to a host Parallel SCSI Specifications:
Up to 25m bus length Shared channel bandwidth up to 320MBps Up to 16 devices per SCSI bus Half-duplex operation
Channel Controller
Target 1
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Target 2
13
Same SCSI protocol carried over a network transport via serial implementation Transport must not jeopardize SCSI payload (security, integrity, latency)
Two primary transports to choose from today, namely IP and Fibre Channel A networked I/O channel allows for multiple improvements:
Distance limitations greatly increased Dedicated bandwidth (not shared) High # of addressable devices Bandwidth increase (including link bundling)
Channel Controller
Network
Target
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
14
Fibre Channel provides high speed transport for SCSI payload via Host Buss Adapter (HBA) Fibre Channel overcomes many shortcomings of Parallel I/O including:
Addressing for up to 16 million nodes Loop (shared) and fabric (switched) transport Host speeds of 100 to 400 MBps (14 Gbps) Segments of up to 10km (without extenders) Support for multiple protocols
Target
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
15
FCoE FCoE
FCoE
CNA
SCSI SCSI
FC Fabric
Storage (Target)
BRKSAN-1701 14693_05_2008_X1
Cisco Public
16
FC Fabric
Storage (Target)
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
17
Storage Topologies
BRKSAN-1701 14693_05_2008_X1
Cisco Public
18
Storage Topologies
IP Network
SAN
IP Front-End Network
Host to Host Application to file system Client to Server NFS, SMB, CIFS, NCP NAS, WAFS
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Clients
LAN
Application Servers
SCSI
FC
FC
Tape
Cisco Public
20
LAN
Servers
BRKSAN-1701 14693_05_2008_X1
Cisco Public
21
Generic
Generic
Application Servers
22
iSCSI iSCSI
iSCSI Appliance iSCSI (Target) IP Network iSCSI Gateway FC Fabric FC HBA Attached Host (Initiator) Storage Pool (Target)
BRKSAN-1701 14693_05_2008_X1
Cisco Public
23
SAN
Computer System Application File System Volume Manager SCSI Device Driver
iSCSI Appliance
Computer System Application File System Volume Manager
SCSI Device Driver iSCSI Driver TCP/IP stack NIC
NAS Gateway
Computer System Application File System I/O Redirector NFS/CIFS TCP/IP Stack NIC
Computer System Application File System I/O Redirector NFS/CIFS TCP/IP Stack NIC
Host/ Server
FC HBA
Block I/O
File I/O
Storage Transport
SCSI
SAN
IP
NIC TCP/IP Stack iSCSI Layer Bus Adapter
IP
NIC TCP/IP Stack iSCSI Layer FC HBA
IP
NIC TCP/IP Stack File System Device Driver
IP
NIC TCP/IP Stack File System FC HBA
FC
Storage Media
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
FC
Block I/O
FC
24
SCSI Transport
BRKSAN-1701 14693_05_2008_X1
Cisco Public
25
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
26
SCSI SCSI
Most common channel is the basic parallel SCSI bus which can be internal or external to a host Parallel SCSI Specifications:
Up to 25m bus length Shared channel bandwidth up to 320MBps Up to 16 devices per SCSI bus Half-duplex operation
Channel Controller
Target 1
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Target 2
27
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
28
Networks
Connectionless Logical circuits Unreliable transfers High connectivity Higher latency Longer distance Software intense
Fibre Channel Circuit and packet switched Reliable transfers High data integrity High data rates Low latency High connectivity Long distance
BRKSAN-1701 14693_05_2008_X1
Cisco Public
29
SCSI-3
IP
FICON
FC-4
Common Services
Framing Protocol Encode / Decode Physical Interface Fibre Channel Physical & Signaling Interface (FC-PH, FC-PH2, FC-PH3) FC-AL FC-AL-2 FC-SW-2
Cisco Public
30
BRKSAN-1701 14693_05_2008_X1
Cisco Public
31
FC-1
Defines how characters are encoded/decoded for transmission Transmission characters are given desirable characters
FC-2
Defines how information is transported Frames, sequences, exchanges, login sessions
FC-3
Place holder for future functions
FC-4
Defines how different protocols are mapped to use Fibre Channel SCSI, IP, Virtual Interface architecture, FICON, others
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
32
General FC-2 Frame Format Frame Content Idles* SOF (4) Frame Header (24) Data Field (0-2112)
0-528 Transmission Word *Six idle words (24 bytes) required by TX; two idle words (8 bytes) guaranteed to RX
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
CRC (4)
EOF (4)
Idles*
33
SEQ_ID
Sequence Frame
SEQ_CNT
Frame Fields
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Sequence
#1
SEQ#1 , CN T#1
Read Command Issued New Exchange Issued New Sequence Issued Sequence #2 Sequence #3 Sequence #4 Sequence #5 Sequence #6
BRKSAN-1701 14693_05_2008_X1
Exchange
CNT#1 SEQ#6,
Cisco Public
35
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
36
BRKSAN-1701 14693_05_2008_X1
Cisco Public
37
Storage ProtocolsFCoE
FCoE Frame Format From a Fibre Channel standpoint its FC connectivity over a new type of cable called an Ethernet cloud From an Ethernet standpoints its yet another ULP (Upper Layer Protocol) to be transported FC frame not changed
Cisco Public
38
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
39
Storage ProtocolsFCIP
FCIP Frame Format
Primary use is for Storage-to-Storage connectivity via an IP WAN/MAN The FCIP Link carries encapsulated fibre channel traffic between Link End Points over an IP network by using TCP on port 3225 The result is a virtual Inter Switch Link (ISL) between FC Fabrics FC frame not changed
Cisco Public
40
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
41
BRKSAN-1701 14693_05_2008_X1
Cisco Public
42
SCSI FCP FC
SCSI FCP FC
FCoE Ethernet
Cisco Public
43
44
BRKSAN-1701 14693_05_2008_X1
Cisco Public
45
Physical
The main physical objects in Fibre Channel are:
Ports Links Nodes Fabric
BRKSAN-1701 14693_05_2008_X1
Cisco Public
46
NL
FL
BRKSAN-1701 14693_05_2008_X1
Cisco Public
47
Node NL_Port
G_Port
F_Port
N_Port
Node
Node NL_Port
G_Port
F_Port
N_Port
Node
G_Port
F_Port
N_Port
Node
BRKSAN-1701 14693_05_2008_X1
Cisco Public
48
N_Port
Device
Host
Host/ Device Interface
FC
N_Port
Serial Data Out Serial Data In
BRKSAN-1701 14693_05_2008_X1
Cisco Public
49
FC-PH permits consecutive frames of a sequence to be routed over different ISL links for maximum throughput E E
BRKSAN-1701 14693_05_2008_X1
Cisco Public
50
BRKSAN-1701 14693_05_2008_X1
Cisco Public
51
Node
The equipment which contains one or more N_Port or NL_Port (topology dependent) May be:
Computer (HBA) Controller (Port on Disk Subsystem) Device (SCSI FC to Parallel converter)
Controller
N_Port
N_Port
N_Port
N_Port
Link
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Link
Link
Link
52
FC Communications Model
Point to point N_Port to N_Port Flow controlled Acknowledged
Node Node
Host
FC N_Port
Host
TX RX RX TX
FC
Link
BRKSAN-1701 14693_05_2008_X1
Cisco Public
53
BRKSAN-1701 14693_05_2008_X1
Cisco Public
54
Arbitrated Loop
NL_Node A
Link
NL_Node B
Communications ModelSource to Destination Based on Address Routing Distributed in the NL_Ports on the Loop
A
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
Switched Fabric
N_Port N_Port N_Port N_Port N_Port N_Port
Switch
Fabric Communications ModelSource to Destination Based on Address Routing through the Fabric; Still a Point to Point Connection; FSPF routing required when more then two switches make up the Fabric
A
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
B
56
FC Operational Characteristics
BRKSAN-1701 14693_05_2008_X1
Cisco Public
57
Operational
The Main Operational Subsystems in Fibre Channel are:
Worldwide Names Fabric Addressing Directory Server Fabric Controller Principle Switch Fabric Routing Zoning Virtual SANs
BRKSAN-1701 14693_05_2008_X1
Cisco Public
58
Worldwide Names
Each switch element is assigned a WWN at time of manufacture Each switch port is assigned a WWN at the time of manufacture During FLOGI the switch identifies the WWN in the service parameters of the accept frame and assigns a Fibre Channel ID (FCID) These address assignments can then correlate each fabric port with the switch element
BRKSAN-1701 14693_05_2008_X1
Cisco Public
59
Fabric Addressing
The 24-bit FCID address is partitioned into three fields
Device Area Domain
This partitioning helps speed up routing Switch element assigns the address to N_Ports Address portioning is transparent to N_Ports
8 bits
Switch Topology
8 bits
8 bits
Switch Domain
Area
Device
BRKSAN-1701 14693_05_2008_X1
Cisco Public
60
Directory Server
Repository of information regarding the components that make up the Fibre Channel network Located at address FF FF FC (some readings call this the name server) Components can register their characteristics with the directory server An N_Port can query the directory server for specific information
Query can be the address identifier, WWN and volume names for all SCSI targets
BRKSAN-1701 14693_05_2008_X1
Cisco Public
61
Fabric Controller
Each switch has a fabric controller Assigned address FF FF FD
Every fabric controller in the fabric has the same address It is the N_Port within the switch Responsible for managing fabric, initialization, routing, setup and teardown of Class-1 connections
Responsible to receive request and generate responses for the switch fabric
Information must be consistent independent of which fabric controller responds to a request
BRKSAN-1701 14693_05_2008_X1
Cisco Public
62
BRKSAN-1701 14693_05_2008_X1
Cisco Public
63
Whenever a switch receives a BF/RCF, the switch starts F_S_TOV timer and enters the BF/RCF state; it forwards BF/RCF out of all E_ports except the incoming port (only once) and wait for the timer to expire When the timer expires, BF/RCF propagation state is left and principal switch selection begins BF is not a disruptive process RCF is a disruptive process
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
64
FSPF performs hop-by-hop routing FSPF uses total cost as the metric to determine most efficient path FSPF supports hierarchical path selection
Provides the scalable routing tables in large topologies
65
BRKSAN-1701 14693_05_2008_X1
Cisco Public
66
Benefits
Secured device access Allows operating system co-existence
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
ZoneA
Host1
ZoneC
Disk4 Host2
ZoneB
67
ZoningEnforcement
Zoning is used to control access in a SAN Soft zoning
Enforced by name server query responses Name server sends membership list to N_Port N-port accesses members only
Hard zoning
Enforced by hardware (forwarding ASIC) at wire speed pWWN, fWWN, FC_ID, FC_Alias
Soft Zone
Host FC Zone-1 Host FC Zone-1
Hard Zone
Array
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved.
Array
Cisco Public
68
BRKSAN-1701 14693_05_2008_X1
Cisco Public
69
Virtual Fabric Service Model Intervirtual Fabric Routing Virtualized Fabric Management Virtualized Fabric Security Policies Virtualized Fabric Diagnostics Virtualized Fabric Services Multiprotocol Transport Extensions Virtualized Fabric Attachment
BRKSAN-1701 14693_05_2008_X1
Cisco Public
VSANs divide the physical infrastructure Zones provide added security and allow sharing of device ports VSANs provide traffic statistics VSANs only changed when ports needed per virtual fabric Zones can change frequently (e.g. backup) Ports are added/removed nondisruptively to VSANs
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
ZoneC
ZoneB VSAN 3
ZoneD Host4
71
ISL PortChanneling
A PortChannel Is a Logical Bundling of Identical Links
Criteria for forming a PortChannel
Same speed links Same modes (auto, E, etc.) and states Between same two switches Same VSAN membership
Treated as one logical ISL by upper layer protocols (FSPF) Can use up to 16 links in a PortChannel (32Gbps max) Can be formed from any ports on any modules HA enabled Exchange-based in-order load balancing
Mode 1: Based on src/dst FC_IDs Mode 2: Based on src/dst FC_ID/OX_ID
E.g. 4 Gbps PortChannel (Two x 2Gbps) E.g. 8 Gbps PortChannel (Four x 2Gbps)
Much faster recovery than FSPF-based balancing Given logical interface name with aggregated bandwidth and derived routing metric
BRKSAN-1701 14693_05_2008_X1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
72
BRKSAN-1701 14693_05_2008_X1
Cisco Public
73
74
BRKSAN-1701 14693_05_2008_X1
Cisco Public
75
BRKSAN-1701 14693_05_2008_X1
Cisco Public
76
Core-Edge
Traditional SAN design for growing SANs High density directors in core and fabric switches, directors or blade switches on edge Predictable performance Scalable growth up to core and ISL capacity
A B A B
A A B
BRKSAN-1701 14693_05_2008_X1
Cisco Public
77
Collapsed Core-Edge
SAN design to take advantage of high density directors Most traffic localized, reducing number of ISLs Oversubscription primarily in chassis and linecards Potential to scale further than traditional Core-Edge design
A B
BRKSAN-1701 14693_05_2008_X1
Cisco Public
78
Additional Information
Cisco Storage Networking
http://www.cisco.com/go/storagenetworking
79
Q and A
BRKSAN-1701 14693_05_2008_X1
Cisco Public
80
Recommended Reading
Continue your Cisco Live learning experience with further reading from Cisco Press Check the Recommended Reading flyer for suggested books
81
BRKSAN-1701 14693_05_2008_X1
Cisco Public
82
BRKSAN-1701 14693_05_2008_X1
Cisco Public
83