06 San
06 San
Spring 2024
2
What is a SAN?
SAN
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 3
SAN block diagram
Initiator (client)
Direct block request User program
(e.g. read of /dev/sda) open(), read(), mkdir(), etc.
Kernel
VFS
(Virtual File System) Target
(server)
Choose based on directory mountpoint
Physical disks
Ethernet
4
SAN block diagram
Initiator (client)
Direct block request User program
(e.g. read of /dev/sda) open(), read(), mkdir(), etc.
Kernel
VFS
(Virtual File System) Target
What kind of network is this? (server)
Choose based on directory mountpoint
Physical disks
Ethernet
5
History and protocols of SAN: FCP
Source 7
History and protocols of SAN: iSCSI
8
History and protocols of SAN: FCIP (lol)
9
How we’ll proceed
10
Understanding Fibre Channel
• High-speed network technology
Latest FC implementation supports speed up to 256 Gb/s
• Highly scalable
Theoretically, accommodate approximately 15 million devices
IP
Network FC SAN
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 11
Cables
• SAN implementation uses
Copper cables for short distance
Optical fiber cables for long distance
• Two types of optical cables: single-mode and multimode
Cladding Core Cladding Core
Single-mode Multimode
Light In Light In
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 12
Connectors
• Attached at the end of a cable
• Enable swift connection and disconnection
of the cable to and from a port Standard Connector
• Commonly used connectors for fiber optic
cables are:
Standard Connector (SC)
Duplex connectors
Lucent Connector (LC) Lucent Connector
Duplex connectors
Straight Tip (ST)
Patch panel connectors
Simplex connectors
Straight Tip Connector
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 13
Interconnecting Devices
• Commonly used interconnecting devices in FC SAN are:
Hubs, switches, and directors
• Hubs provide limited connectivity and scalability
• Switches and directors are intelligent devices
Switches are available with fixed port count or modular design
Directors are always modular, and its port count can be increased
by inserting additional 'line cards' or 'blades'
High-end switches and directors contain redundant components
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 14
Fibre Channel Switch (FC-SW) Connectivity
• Creates a logical space (called fabric) in which all nodes
communicate with one another using switches
Interswitch links (ISLs) enable switches to be connected together
• Provides dedicated path between nodes
• Addition/removal of node does not affect traffic of other nodes
Servers
Storage Array
FC Switch FC Switch
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 15
Terminology
Servers
Storage Array
FC Switch FC Switch
16
Fibre Channel Protocol Stack
Upper Layer Protocol
Example: SCSI, HIPPI, ESCON, ATM, IP
FC-1 Encode/Decode
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 17
World Wide Name (WWN)
• Unique 64 bit identifier
• Static to node ports on an FC network
Similar to MAC address of NIC
World Wide Node Name (WWNN) and World Wide Port Name
(WWPN) are used to uniquely identify nodes and ports
respectively
World Wide Node Name (for the array)
5 0 0 6 0 1 6 0 0 0 6 0 0 1 B 2
0101 0000 0000 0110 0000 0001 0110 0000 0000 0000 0110 0000 0000 0001 1011 0010
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 18
Zoning
Zoning
It is an FC switch function that enables node ports within the fabric to be
logically segmented into groups, and communicate with each other within
the group.
Zone 2
Servers HBA Port
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 19
Types of Zoning
Port 5
Zone 2
Port 1
WWN 10:00:00:00:C9:20:DC:40 FC Switch Storage Array
Port 12
Port 9
Zone 3
WWN 10:00:00:00:C9:20:DC:56
WWN 50:06:04:82:E8:91:2B:9E
Zone 1
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 5: Fibre Channel Storage Area Network 20
Ethernet SAN:
iSCSI and FCoE
21
Module 6: IP SAN and FCoE
Lesson 1: IP SAN
During this lesson the following topics are covered:
• Drivers for IP SAN
• IP SAN Protocols: iSCSI and FCIP
• Components, topologies, and protocol stack for iSCSI and FCIP
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 22
Drivers for IP SAN
• IP SAN transports block-level data over IP network
• IP is being positioned as a storage networking option because:
Existing network infrastructure can be leveraged
Reduced cost compared to investing in new FC SAN hardware and
software
Many long-distance disaster recovery solutions already leverage IP-
based network
Many robust and mature security options are available for IP
network
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 23
IP SAN Protocol: iSCSI
• IP based protocol that is used to connect host and storage
• Encapsulates SCSI commands and data into an IP packet and
transports them using TCP/IP
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 24
Components of iSCSI
• iSCSI initiator
Example: iSCSI HBA (hardware, rare nowadays)
Example: iSCSI software initiator (pure software, common)
• iSCSI target
Storage array with iSCSI support
iSCSI gateway – enables communication with FC storage array
• IP network iSCSI Gateway
Storage Array
Server
IP
FC Port
iSCSI HBA
iSCSI Port
Storage Array
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 25
iSCSI Host Connectivity Options
• Standard NIC with software iSCSI initiator
NIC provides network interface
Software initiator provides iSCSI functionality
Requires host CPU cycles for iSCSI and TCP/IP processing
• TCP Offload Engine (TOE) NIC with software iSCSI initiator
Moves TCP processing load off the host CPU onto the NIC card
Software initiator provides iSCSI functionality
Requires host CPU cycles for iSCSI processing
• iSCSI HBA
Offloads both iSCSI and TCP/IP processing from host CPU
Simplest option for boot from SAN
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 26
iSCSI Topologies: Native iSCSI
• iSCSI initiators are either directly attached to storage array or
connected through IP network
No FC component
• Storage array has iSCSI port
• Each iSCSI port is configured with an IP address
IP
Server Storage Array
iSCSI HBA iSCSI Port
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 27
iSCSI Topologies: Bridged iSCSI
• iSCSI gateway is used to enable communication between iSCSI
host and FC storage
• iSCSI gateway works as bridge between FC and IP network
Converts IP packets to FC frames and vice versa
• iSCSI initiator is configured with gateway’s IP address as its target
• iSCSI gateway is configured as FC initiator to storage array
iSCSI Gateway
IP
Server
iSCSI HBA
FC SAN
Storage Array
Server FC HBA FC Port
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 28
Combining FC and Native iSCSI Connectivity
• Array provides both FC and iSCSI ports
Enable iSCSI and FC connectivity in the same environment
No bridge devices needed
iSCSI Port
IP
Server
iSCSI HBA
FC SAN
Storage Array
FC Port
Server FC HBA
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 29
iSCSI Protocol Stack
OSI Model iSCSI Initiator iSCSI Target
Interconnect
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 30
iSCSI Discovery
• For iSCSI communication, initiator must discover location and
name of target on a network
• iSCSI discovery takes place in two ways:
SendTargets discovery
Initiator is manually configured with the target’s network portal
Initiator issues SendTargets command; target responds with required
parameters
Internet Storage Name Service (iSNS)
Initiators and targets register themselves with iSNS server
Initiator can query iSNS server for a list of available targets
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 31
iSCSI Name
• iSCSI name is a unique iSCSI identifier that is used to identify
initiators and targets within an iSCSI network
• Two common types of iSCSI names are:
iqn: iSCSI Qualified Name
iqn.2008-02.com.example:optional_string
eui: Extended Unique Identifier
eui.0300732A32598D26
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 32
Module 6: IP SAN and FCoE
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 33
This slide was
FCoE Motivation, translated written in 2016
34
Updated for
FCoE Motivation, translated 2024…
35
Safe to ignore! Just
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 36
Data Center Infrastructure – Before Using Safe to ignore! Just
included for those
curious about history.
FCoE Servers Servers
Server Server
FC IP
Switches Switches
FC LAN
Switches
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 37
Data Center Infrastructure – After Using Safe to ignore! Just
included for those
curious about history.
FCoE Servers Servers
Server Server
FCoE
Switches
FC LAN
Switches
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 38
Data Center Infrastructure – with iSCSI
Servers Servers
Server Server
Ethernet
Switches
LAN
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 40
Safe to ignore! Just
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 41
Safe to ignore! Just
Uses Small Form Factor Pluggable Uses Small Form Factor Pluggable
Plus (SFP+) connector Plus (SFP+) connector
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 42
Safe to ignore! Just
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 43
Safe to ignore! Just
OSI Stack
7 - Application
FCoE Protocol Stack FC Protocol Stack
4 - Transport FC - 2 FC - 2 Framing
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 44
Safe to ignore! Just
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved. Module 6: IP SAN and FCoE 45
Summary
46
SAN protocol tradeoffs
47
* Faster standards exist, but not much hardware available for those