Academy Conference: Educating Tomorrow'S Networking Professionals
Academy Conference: Educating Tomorrow'S Networking Professionals
CONFERENCE 2003
EDUCATING TOMORROW’S
NETWORKING PROFESSIONALS.
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 1
Introduction to
Storage Networking
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 2
Agenda
• IT Requirements
• Technology Overview
• Storage Applications
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 3
IT Requirements
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 4
IT Requirements
• Manageability
• Availability
• Scalability
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 5
Manageability
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 6
Availability
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 7
Scalability
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 8
Hot Storage Topics
• Server-Free Backup
• Storage virtualization
• IP Storage
• Heterogeneous SAN Management
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 9
Technology Overview
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 10
Storage Models
Direct Attach Storage - DAS
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 11
Network Attached Storage (NAS)
• Servers connected to Ethernet
switch
• Servers can share same filesystem
• Uses TCP/IP
• File Level I/O
• Used in file sharing or low
performance apps
• ‘Unlimited’ scalability
• May use multiple paths
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 12
Storage Area Network (SAN)
• Servers connected to switch
• Servers can share same subsystem
• Typically uses FC, but can be any
protocol
• Block Level I/O
• Typically deployed in mesh or island,
as a separate network
• Unlimited scalability
• May use multiple paths
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 13
Storage Architecture Comparison
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 14
SAN Components
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 15
SAN Components
Host Bus Adapter (HBA)
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 16
SAN Components
Switch/Director
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 17
SAN Components
Storage
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 18
SAN Components
Tape
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 19
Fibre Channel
Overview
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 20
Fibre Channel
Structure & Concepts
transmitter
transmitter receiver
receiver
receiver
receiver transmitter
transmitter
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 22
Fibre Channel – Topologies
Arbitrated Loop
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 23
Fibre Channel – Topologies
Switched Fabric
Provide 100MBps bandwidth
per port
Adding new devices increases N_Port 0 N_Port 1
aggregate bandwidth transmitte transmitter
transmitte transmitter
rr F_Port F_PortX
Cut-through or Store & forward receiver
receiver W receiver
receiver
switching
Node A Node B
Over 16 million possible FABRIC
addresses
N_Port 2 N_Port 3
Loops and fabrics coexist transmitte transmitter
transmitte transmitter
rr F_PortY F_PortZ
Zoning allows isolation of receiver
receiver receiver
receiver
resources & operating
systems Node C Node D
Fabric Switch
Node NL_Port FL_Port E_Port E_Port
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 25
Storage Features
Scalability
Bridge Campuses
Extend further over DWDM
Potential Bottleneck
Lack of bandwidth FC FC
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 26
Fibre Channel Scalability Limits (In
Theory)
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 27
Fibre Channel
Protocol
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 28
Flow Control
• Ethernet
Point-to-point Flow Control is optional
ON/OFF protocol (e.g. IEEE 802.3x)
End-to-end flow control is delegated to transport
protocols (e.g. TCP)
• Fibre Channel
Point-to-point Flow Control is mandatory
Implemented by BB_Credit
End-to-end Flow Control is optional
Implemented by EE_Credit
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 29
Flow Control
Link Level
• Flow control protocols use a Credit count concept. Credit is
the permission granted by the receiving port to the sending
port to send a specified number of frames. Suspend
transmission when credit = # Buffers
• Buffer to Buffer Credit (BB_Credit) is granted during the login
process and depends on interconnection topology.
• When R_RDY is received, BB_Credit is decremented
Transmitting Port Receiving Port
Credit = 1
Credit = 2
Credit = 3
Credit = 4
Credit = 5 R_RDY
Credit = 5 R_RDY
Credit = 4
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 30
Routing
• Ethernet
Spanning Tree to define an active topology
Local forwarding decisions in each switch
More sophisticated routing delegated to network layer
protocols (e.g. OSPF, BGP)
• Fibre Channel
FSPF to build routing tables into switches
FC_ID Allocation simplifies routing tables
Multiple paths used at the same time
No TTL (Time To Live)
Potential loops may be present during convergence
There is no such a thing as a network layer
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 31
Fabric Configuration
FSFP – Overview
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 32
Fabric Configuration
FSPF – Components
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 33
Fibre Channel Session Management
Fabric
FLOGI FLOGI
Accept Accept
Process-A1 Process-B1
PLOGI
PLOGI
Accept
Accept
Process-A2 PRLI
PRLI Process-B2
Accept
Accept
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 34
Session Management
Login/Logout – Overview
• Login occurs after the link is Active and IDLEs are flowing in
both direction.
• After the login session a port may originate or respond to
Exchanges.
• Fibre Channel defines three different levels of Login:
- Fabric Login is used to establish a session between the
N_Port and the F_Port
- Port Login is used to establish a session between the two
N_Ports and fabric services.
- Process Login is used to establish a session between the
processes on the two N_Port.
• Login sessions are long-lived and last for multiple exchanges
depending upon application.
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 35
Session Management
Fabric Login – FLOGI
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 36
Session Management
Port Login – PLOGI
• FC standards provide four extended link services to support
N_Port Login:
- N_Port Login (PLOGI) to establish a session between two end
ports.
- N_Port Logout (LOGO) to end a session between two end
ports.
- N_Port Discover (PDISC) to verify existing service parameters
between two end ports.
- Discover Address (ADISC) to discover the mechanism used
to define the other ports address (by switches, jumper or hard
coded)
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 37
Fibre Channel
Services
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 38
Standard Fabric Services
Configuration
Name Server
Unzoned
Server
Server
Zone
Domain
Manager
Name
Server Generic
ControllerServices
Alias
Fabric
Server
Management Server
Key
Server
Time
Server
FC-1 Encoding
Management
Management
Services
Services
VSAN
VSANManager
Manager WWN
WWNManager
Manager
Domain Manager
Port
PortManager
Manager Login
LoginServer
Server
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 40
The Domain Manager (cont.)
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 41
Fabric Configuration
Principal Switch
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 42
The Name Server
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 43
Fibre Channel Names
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 44
The Alias Server
•Alias Server:
Maps addresses (ALIAS_IDs) to groups of nodes
Aliases are used to support:
Hunt groups
Multicasting
Does not directly support hunting or multicasting—simply
notifies other fabric services when ALIAS_IDs are
assigned
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 45
The Management Server
•Management Server:
Information is provided without regard to zone—single
access point for information about the fabric topology
Read-only access
Services provided:
Configuration Service
Zone Service
Unzoned Name Service
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 46
Zoning
• Zones
Why were they invented?
OS’s accessing blocks that do not
belong to them
Security – First Attempt
How are they assigned – WWN, PWWN
Ability to overlap
FC
Zone C
Zone B Overlapping
Zone A
FC
FC
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 47
Hard Zoning
Zone A Zone B
FC FC
Host 1 Host 2
FC FC
Storage 1 Storage 2
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 48
Soft Zoning
FC FC
Host 1 Host 2
FC FC
Zone A Zone B
Storage 1 Storage 2
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 49
What is a VSAN?
VSAN 3
FC FC FC FC
FC
FC
FC
FC FC
FC FC
VSAN 2
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 50
Why VSAN’s?
Homogenous “SAN Islands”
FC
Scalability
Share spare ports
FC
FC
FC
FC
FC
Midrange DAS
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 51
Comparing VSANs and Zones
VSANs Zones
Functionality Separate routing, naming, Routing and naming are fabric-
and zoning for each VSAN wide
Isolate all traffic Isolate unicast traffic only
Membership Fx_Ports F_Ports or WWPNs
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 52
SAN Architecture & Topology
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 53
SAN
Dual Star Topology
Application
‘A’
Application
‘B’
Shared Storage
Resources SAN Fabric
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 54
SAN
N-Wide Star Topology
Application
‘A’
Application
‘B’
Shared Storage
Resources
Application
‘C’
SAN Fabric
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 55
SAN
Mesh Topology
Application
‘A’
Application
‘B’
Shared Storage
Resources SAN Fabric
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 56
SAN
Ring Topology
Application
‘A’
Application
‘B’
Shared Storage
SAN Fabric
Resources
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 57
SAN
Ring+Star Topology
Application
‘A’
Application
‘B’
Shared Storage
Resources
SAN Fabric
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 58
SAN
Core-Edge Topology
Application
‘A’
Application
‘B’
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 59
Business Requirements
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 60
Methods of Disaster Recovery
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 61
RAID levels
0 Striping/Concatenation 2/1
1 Mirror 2
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 62
Multipath I/O Design
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 63
Multi-Pathing Solution
Manages multiple paths to a storage system
• Intelligent path selection - Load Balancing
Increased Performance and Throughput
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 65
Replicating Data Locally (Mirroring)
Host Based Subsystem Based
Software on
server creates Server
duplicate copies Server
of data on disk
subsystem Subsystem
Second Write Server manages
Write copying data
internally or
SAN between
SAN
subsystems
FC
FC FC
Primary Copy FC
Mirrored
of Data Mirrored Primary
Copy of Data Copy Copy of
of Data Data
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 66
Mirror Member Assignment in an Array
2 a [020 021 022 023 ] [026 027 028 029 02a] ………
b [030 031 032 ] [050 051 052 053 ] ………
3 a
b
.
.
.
14 a
b
Distance extended
To 10 KM
FC
SAN SAN
FC
FC FC
FC FC
MAN/WAN
SAN SAN
FC
FC
Synchronous
•Acknowledged copy
•Delay sensitive
•High bandwidth
required 69
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved.
Replication: Asynchronous
Site 1 Site 2
Transport Method
Server Fibre Channel over IP
(FCIP/DWDM/SONET)
MAN/WAN
SAN SAN
FC
FC
Asynchronous
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 71
Backup Levels
•Full:
Backup whole volume or file system
Requires the most backup time
Requires the fewest amount of tapes for restoration
Limited to weekends
•Incremental:
Backup only the changes since the last backup
•Differential:
Backup only the changes since the last full backup
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 72
Snapshots
•Also called:
Point in Time Copies
Frozen Images
Checkpoints
•Common implementations use:
Split Mirrors
Copy on Write
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 73
Split Mirror Snapshot
M1 M2 M3
FC
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 74
Clustering
•Scalability
Ability to support increasing numbers of
users
Ability to provide extra capacity by FC
FC
•Performance
More processors divide the workload
where applications can be done as
parallel processes
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 75
IP Services
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 76
What is iSCSI?
iSCSI
iSCSI
FC
iSCSI
FC Switch FC Switch
FC Switch FC Switch
Fibre IP Network Fibre
Channel Tunnel Session Channel
SAN SAN
FC Switch
FC Switch
FC Switch FC Switch
FC FC
Server FC FC disk subsystem
disk subsystem Server
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 78
Potential FCIP Environments
Local Remote
Datacenter Datacenter
• 1Gb->OC48 or Higher
Gateway Gateway
• Relatively low latency Metro
FCIP Ethernet FCIP
• Synch/Asynch SAN SAN
Applications
Local Remote
• Typical OC3 / OC12 Datacenter Datacenter
• Relatively low latency Gateway Gateway
• Mainly asynchronous FCIP SONET FCIP
SAN SAN
• Suitable for some
synchronous apps
Medium distance ~ <= 160km
Local Remote
• Low speed (T1–DS3) Datacenter Datacenter
• Higher latency
Gateway Gateway
• Longer distance IP Routed
FCIP WAN FCIP
• Mainly asynchronous SAN SAN
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 79
FCP, FCIP and iSCSI
•FCP: Local SANs
•FCIP: SAN-to-SAN over IP
•iSCSI: Host to FC-SAN over IP
SI
iS
C
C
iS
iSCSI gateway
IP Network
SI
iSCSI gateway
FCP FCP
FCIP
Cisco Storage Networking - Dan Hersey © 2002, Cisco Systems, Inc. All rights reserved. 80
Presentation_ID © 2001, Cisco Systems, Inc. All rights reserved. 81