Sei sulla pagina 1di 101

STORAGE 101

LAN to SAN in 90min

1
Agenda

Basics
Open Systems Architecture Basics
I/O Subsystem
Block vs. File Storage
SCSI Basics

SAN Primer for LAN Professionals


Basic Concepts
LAN vs. SAN Comparisons
FC Initialization Walk-Through
Data Center Bridging and FCoE
NEVER UNDERESTIMATE THE
The Future BANDWIDTH OF A FAST VEHICLE
FULL OF TAPE

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 2
Definitions
Definitions can very from Customer to Customer

Sometimes SAN just means Fibre Channel

Sometimes SAN includes all multi-attach storage

Sometimes SAN is considered the Array

Sometimes NAS/NFS is considered a SAN

Sometimes even direct connect FC Arrays are called SANs

Safe bet is that SAN means Servers sharing Storage Arrays

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 3
STORAGE PROTOCOLS

FC/FC-AL/FC-SW

ESCON/FICON

Infiniband

CIFS

NFS*

FCoE

FCoTR

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 4
Protocol Comparisons
iSCSI, FCIP, iFCP, FCoE, FC, SRP

OS & Applications Layer

SCSI Layer

iSCSI FCP FCP FCP FCP SRP

FCIP iFCP
Encapsulation
Layer
TCP TCP TCP

IP IP IP FCoE

Base DCB
Ethernet FC IB
Transport

Physical Media

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 5
STORAGE : The Usual
Suspects

Hosts

HBAs, NICs, HCAs, CNAs

Edge Switches

Core/Director Switches

Modular Storage

Frame Storage

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 6
NICs, HBAs, CNAs, HCAs, Mezzanine Cards
Cards that go inside servers of all types

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 7
Fixed Port & Director Class Switches

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 8
Storage Arrays
Modular vs. Frame

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 9
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 10
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 11
Basic System Architecture
A Simplified Look at Open Systems

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 12
Basic System Architecture
The Hardware

Basic Intel Architecture


CPU and Memory connected via hi-speed bus
Core Logic Chipset divided into several tasks.
Manage Memory Bus and Frontside Bus
Manage connection point between PCIe switched bus and
CPU/Memory Bus

CPU

Memory

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 13
Basic System Architecture
The Hardware

Basic Intel Architecture


CPU and Memory connected via hi-speed bus
Core Logic Chipset divided into several tasks
Manage Memory Bus and Frontside Bus
Manage connection point between PCIe switched bus and CPU/Memory
Bus

Persistent Storage
CPU
Connected to system bus via hi-speed PCIe switch
PCIe is a switched architecture, not a shared bus like old legacy PCI
Memory
systems
Each lane of PCIe is 2.5Gbps (An 8-lane PCIe device has 20Gbps bandwidth
available.)
Storage

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
14
Basic System Architecture
The Hardware

Other adapters such as NIC cards provide i/o Network


via the switched PCIe bus.
Notice that in the past, slower adapters like NICs
used a slower southbridge connection.
Today all peripherals use the switched PCIe
interface.
CPU
Memory

Storage

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 15
Basic System Architecture
The Operating System

Applications send and receive i/o App App


App App
via operating systems i/o
subsystem User Mode

Operating System
I/O subsystem abstracts complexities of Kernel Mode
where to locate resources from apps.
Network Storage (NAS) I/O Subsystem
File Based, not Block
Slower speed, higher latencies due to
network packet loss, latency, and heavy
protocol stack (CIFS/NFS, TCP/IP.)
Local Network
Storage Storage (NAS)
Local Block Storage
Very low latency, high speed channel
directly to block resources.
CIFS/SAMBA NFS
SCSI protocol used
Block Storage Windows Unix

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 16
Local Storage
SCSI

Local disks use Small Computer


System Interface (SCSI)
SCSI Divided into two main
layers

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 17
Local Storage
SCSI

#1. Physical Interface SCSI Physical


Ribbon cable, parallel data transmission
Lots of rules
Only a certain number of devices
allowed
Cable can only be a certain length
No more than two hosts can use a
single SCSI channel
more

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 18
Local Storage
SCSI
SCSI Commands
#2 Software Command Set SCSI Physical
Very mature, very stable
SCSI Read
SCSI Write
Etc.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 19
A Word About Block Storage
Remove Gracefully
It can be very bad when block storage
suddenly disappears.
Operating systems cache writes before
flushing them to disk (this speeds things
up).
Some filesystems try to minimize risk by
journaling.
Sudden removal can mean corrupt
application data or corrupt filesystem.
Youve seen this if youve ever
improperly removed a USB drive from a
Unix/Linux machine.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 20
Ramification
Corrupt Filesystem

This is corruption because an


applications write operation
appeared complete.
Storage then removed without
gracefully unmounting and
flushing all pending writes out of
the Operating Systems write
buffer.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 21
SAN Primer for LAN Professionals
Essential Understanding of SAN Concepts

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 22
Block Storage Networking
Enables Consolidation, Optimization

SAN technologies are designed App App App App


to make the server think its
User Mode
using local block storage when

Operating System
those resources are actually Kernel Mode

networked and external to the


server. I/O Subsystem

SANs allow companies to reduce


cost. Local Network
Storage consolidated, centralized, Storage Storage (NAS)
and replicated for business-critical
initiatives like BC/DR, etc.
CIFS/SAMBA NFS
SAN Storage Windows Unix

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 23
Networking SCSI
SCSI Commands Get Serialized Network Protocol Fibre Channel

Classic SCSI SAN

SCSI Commands SCSI Commands

SCSI Physical Fibre Channel

This network has to be as reliable as the old


SCSI cable
No dropped frames,
Data delivered in-order.
Highest level of HA and reliability

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 24
Block Storage Networking
Enables Consolidation, Optimization

A little over a decade ago, almost


all servers had dedicated,
internal hard drives.
Many servers had excess storage
capacity, while other servers
were running out of space.
It was very difficult to reallocate
resources.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 25
Block Storage Networking
Enables Consolidation, Optimization

With dedicated storage, it is was


not possible to take snapshots of
disks, or rapidly deploy operating
system images.
If a server died, it was a very
painful exercise to rebuild the OS
on a new server and get apps
online.
Replication and BC/DR was
extremely challenging.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 26
Block Storage Networking
Enables Consolidation, Optimization

By moving the drives out of the


servers to a consolidated, high-
performance, purpose-built
storage array, resources can be
managed much more efficiently.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 27
Block Storage Networking
Enables Consolidation, Optimization

Storage Array
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 28
Block Storage Networking
Enables Consolidation, Optimization
Now that storage is consolidated, we
can:
Give servers exactly what they need
Take snapshots
Remotely mirror drives to other data
centersmuch more!

SCSI/FC
Network

Server Rows Storage Array

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 29
Block Storage Networking
Enables Consolidation, Optimization

This is great! But, wait What


happens if something goes wrong?

SCSI/FC
Network

Server Rows Think of this network as


Storage Array
a big, fast, feature-rich
SCSI cable
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 30
Block Storage Networking
Enables Consolidation, Optimization

An outage on the SAN can cause all


servers to simultaneously lose access
to their SCSI devices (i.e. boot drives,
data volumes, etc).

SCSI/FC
Network

Server Rows Storage Array

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 31
Block Storage Networking
Enables Consolidation, Optimization
There is potential for data corruption
on a wide scale - corrupt files, corrupt
file systems, corrupt application data,
OS blue-screens, core dumps, loss of
boot drives, etc.

SCSI/FC
Network

Server Rows Storage Array

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 32
Block Storage Networking
Enables Consolidation, Optimization
Consider that all VMs boot from SAN
storage resources.

SCSI/FC
Network

Server Rows Storage Array

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 33
SAN Basics
LAN / SAN Comparison

LAN SAN
If the LAN goes down, everyone is If the SAN network goes down, no
generally happy when the network one is happy when it comes back
comes back online. online.
Hey my phone works again, and I SAN network outages can cause
can get to Google! This is great!
data center-wide corruption and
can require many hours (or days)
to restore once the SAN network
comes back online. This is why we
dont build one SAN network we
always build two.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 34
SAN Basics
LAN / SAN Comparison

LAN SAN
LANs get most of their best SANs are always fully redundant
features when they are a single (air gap) for enterprise
network. applicationsalways.
Active/Active NIC-teaming from Gets the benefits of consolidated
servers storage while mitigating the risk of
LAG across switches widespread outage due to code
errors, hardware problems, or
etc. human errors.
Allows maintenance windows

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 35
SAN Basics
LAN / SAN Comparison

Regardless of how resilient a single


network can be with multiple paths,
etc, it is still a single network.
There is no virtual or logical
partitioning that can protect the
network completely.
If electrons flow between switches,
they can bring each other down.
This is why we use completely
redundant networks with air-gaps
for protection in the SAN.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 36
SAN Design Principles
Redundancy

Redundant HBAs plugged into


Redundant PCIe busses
Redundant Fabrics with absolutely no
physical interconnects between fabrics
(air gap)
LUNS presented to redundant
controllers, redundant cache,
redundant disks all electrically
separated within the array

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 37
How Does An Operating System Address Storage?
Classic Device Hierarchy

In Unix, physical devices are


mapped to a device path
For example, a disk (LUN) might
be: c2t0l5 (or for Solaris c2t0d5
the d is for disk.)

Controller 2 (HBA 2), Target 2 (SCSI


Target 2), LUN 5 (Logical Unit
Number 5 think partition)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 38
How Does An Operating System Address Storage?
Classic Device Hierarchy

In Unix, physical devices are However, there is a very important


mapped to a device path problem that must be overcome:

For example, a disk (LUN) might If the server sees a LUN down
be: c2t0l5 two separate paths, it will think
there are two LUNs instead of one.
Multipath I/O drivers MUST be
Controller 2 (HBA 2), Target 2 (SCSI installed on the host to correct this
Target 2), LUN 5 (Logical Unit double-vision to avoid
Number 5 think partition) corruption.
Most modern O/Ss have MPIO by
default.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 39
SAN Basics
LAN / SAN Comparison

LAN SAN
Nodes use Network Interface Nodes use Host Bus Adapters
Cards (NIC) with 48-bit MAC (HBA) with 64-bit World Wide
Addresses. Names (WWN).

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 40
Fibre Channel Host Bus Adapters

Provides an interface between the server or


workstation internal bus (e.g. PCIe) and the
Fibre Channel network
HBA software driver provides the storage
information required by the operating
system
Handles I/O and control requests
Copper/Optical media support (may be
dual port cards)
Looks like a SCSI adapter to the host OS

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 41
Fibre Channel Host Bus Adapters

Provides an interface between the server or


workstation internal bus (e.g. PCIe) and the
Fibre Channel network
HBA software driver provides the storage
information required by the operating
system
Handles I/O and control requests
Copper/Optical media support (may be
dual port cards)
Looks like a SCSI adapter to the host OS

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 42
Fibre Channel Addressing
WWNs and Port IDs

FC has two types of


OSI Model Ethernet & TCP/IP Fibre Channel
addressing at Layer 2 Application Application Layers Upper Layer Protocols (ULP)
Fixed World Wide Name (POP3, SMTP, DNS, [FCP=SCSI] [FICON]
Burned in at factory Presentation
DHCP,FTP,
Session WWW protocols) FC-4: ULP Mapping
Dynamic Port ID. A
layer 2, 24-bit address
that is assigned at fabric Transport TCP / UDP
login.
Network Dynamic IP Address Not Applicable
Note: There is no 10.77.77.77
Data Link
concept of ISO layer 3 Fixed MAC Address FC-3: Common Services
x00-00-0E-21-17-6B
or Layer 4 in FC. Dynamic Native Address (8/24-bit)
Fixed World-Wide Name (64-bit)
BTW - FC routing is
equivalent to L2 NAT, not FC-1: 8b/10b or 64b/66b Encoding
Physical Physical Interface
a true ISO L3 protocol. FC-0: Physical Interface

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 43
Fixed & Dynamic Address Formatting
WWNs and Port IDs (PIDs)
Vendor-specific

10:00:00:60:69:00:60:02
Every fabric device (HBA, switch, director,
IEEE format storage device) has one or more 64-bit WWN
Node WWN: 1 = b0001 0000 addresses.
Port WWN: 2 = b0010 0000 Uses an IEEE-assigned addressing scheme.

24 Bit Address Space


Dynamic address (24-bit)
Assigned dynamically when logging into the
Domain Area Port
ID ID ID
Fibre Channel network
8 bits 8 bits 8 bits
24-bit = 16 million fabric addresses

N_Port/F_Port usable range:


x010000 to xEFEFFF

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 44
SAN Basics
LAN and SAN Comparisons

LAN SAN
In a LAN, it is possible to have All connections in a SAN are point-
shared media to-point.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 45
SAN Basics
LAN / SAN Comparison

LAN SAN
L2 Ethernet does not guaranty FC is considered lossless. This
delivery of frames. Frame drop is achieved by careful flow control.
can happen by congested end
devices, or switches. Receiving device always in charge
of flow.
Flow control is based on credits.
If I give you 4 credits, you may
send me 4 frames.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 46
SAN Basics
LAN / SAN Comparison

LAN SAN
Nodes communicate with nodes. Nodes distinctly categorized into
two groups:
Host (initiator)
Storage (target)
Hosts do not communicate with
other hosts on a SANthey only
communicate with storage targets.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 47
SAN Basics
LAN / SAN Comparison

LAN SAN
Networks provide any-to-any Networks connect many-to-few.
connectivity

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 48
SAN
The Basics

SAN
Important zoning and masking tools
SAN
in the SAN and target systems make
certain that each host only sees
what it thinks is a simple SCSI
channel with a small number of
attached drives (LUNs).

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 49
SAN
The Basics
Initiator (SCSI Adapter/Controller)

SCSI
Terminology

Server
LUN (logical Unit Number)
50

(Partition)

Target (Storage Port)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
LUN Masking
(Array Tool)
SAN
The Basics
Initiator (HBA) Storage Array
How does it
look on a SAN?
FC SAN

Server

Target (Storage Port)


Fabric Zoning LUN (logical Unit Number)
51

Initiator to Target (Partition)


(NOT LUN)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
SAN
The Basics

SAN
Storage Array
Although a SAN may have many
hundreds of initiators and targets,
each host must only see its own
storage, not other hosts or other SAN
systems storage.
An exception is when certain server clustering
tools are being use. In this case multiple
servers may see the same storage pool.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 52
SAN Basics
LAN / SAN Comparison

LAN SAN
For the most part, LANs are In a Brocade SAN, the network
painstakingly, manually ports configure themselves. It is
configuredport by port. plug and play.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 53
Fibre Channel Port Types
Understanding the Basics
FC SAN
Fibre Channel SANs have
several different port
types. N-Port F-Port

N-Port Node Port F-Port N-Port


E-Port
F-Port Fabric Port N-Port F-Port
E-Port
E-Port Extension Port
N-Ports connect to F-Ports N-Port F-Port
E-Ports connect to other E-
Ports
More types (Ex, M, D, FL, L)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 54
Fabric Port Initialization
Self-Configuring Ports
U_Port What do I want to be when
After speed I grow up?
negotiation, a switch
y/n Is something plugged into the port?
port will figure out what no
device is plugged in yes
(i.e. a host, or another FL_Port y/n Do you want to talk loop?
switch). yes
no
It will then G_Port Im waiting for someone to talk to me
automatically configure
the appropriate port
fabric Are you a switch/director or a fabric point-to-
type to accommodate F_Port pt-to-pt point device?
that device. Switch/director

E_Port

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 55
SAN Basics
LAN / SAN Comparison

LAN SAN
A Layer 2 LAN uses broadcasts There are no broadcasts.
and must deal with unknown
destination addresses. Nodes must login to the fabric and
register themselves before any
Must listen to traffic to learn MAC traffic may flow, ergo the SAN
addresses knows where everything is located.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 56
SAN Basics
LAN / SAN Comparison

LAN SAN
In a layer 2 LAN, you have to worry Since its inception 14 years ago,
about loops. Fibre Channel has incorporated layer
3 style intelligence at layer 2 ergo,
no loop concerns at all.
A protocol similar to OSPF is used in
layer 2 FC called FSPF, or Fabric
Shortest Path First and it is an open
standard (ANSI T11 fc-sw-5).
Effortless L2 equal-cost multi-pathing

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 57
FC SAN = All Links Active And Forwarding

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 58
FSPF
Determining Paths

Four Main Components of FSPF:


#1. Hello Protocol
#2. Replicated Link State Database
Establish connectivity with a
neighbor Switch Has protocols and mechanisms to
keep the databases synchronized
Establish the identity of the
across the Fabric;
neighbor Switch
Exchange FSPF parameters and #3. Path Computation Algorithm
capabilities;
#4. Routing Table Update

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 59
FSPF
Basics

The Link State Database is central Path computation is local


to the operation of FSPF.
The results of the computation are not
It is a replicated database where all distributed to other Switches, only
Switches in the Fabric have the topology information is distributed. This
same exact copy of database at all is a characteristic of link-state path
times selection protocols.
The database consists of a
collection of Link State Records
(LSRs).

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 60
FSPF
Determining Paths

Starting Ending
Operation Process
Condition Condition
1. Perform Initial HELLO The Switch originating HLO SW_ISL frames are Two way
Exchange the HELLO has a valid exchanged on the link until each communication has
Domain_ID. Switch has received a HELLO with been established
a valid neighbor Domain field.

2. Perform Initial Database Two way LSU SW_ISL frames are Link State Databases
Exchange communication has exchanged containing the Initial have been exchanged.
been established. database.
3. Running State Initial Database Routes are calculated and set up FSPF routes are fully
Exchange completed. within each Switch. Links are functional.
maintained by sending HELLOs
every Hello_Interval. Link
databases are maintained by
flooding link updates as
appropriate.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 61
Principal Switch; Principal ISLs
Special Paths for Class F Traffic

Principal Switch:
Ensures No Domain ID Conflicts
Time Sync, etc.

Principal ISLs
Establish a Path to Principal
Switch (Principal Links)
Used for FSPF link-state updates,
etc.
Note: SAN traffic can use all links, these
links are only special because they are
designated for fabric-stabilization traffic

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 62
Dynamic Path Selection
Sharing the Load across FSPF Paths

SCSI Commands are


split into sequences of
FC frames

SCSI

Frames
Frames
FC
FC

Fibre Channel Exchange

Fibre Channel Exchange

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 63
Dynamic Path Selection
Sharing the Load across FSPF Paths

SCSI Commands are


split into sequences of
FC frames
A complete SCSI
command maps to a FC
Exchange
SCSI

FC Fabric load balances


by hashing on these
Exchange IDs (OXID)
and spraying exchanges Frames
across equal-cost paths
FC

Fibre Channel Exchange

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 64
SAN Basics
LAN / SAN Comparison

LAN SAN
Nodes communicate with nodes. Nodes are intrinsically aware of
They are unaware of switching the network infrastructure. They
infrastructure. have conversations with the
network; they rely on the network
for device discovery, change
notification, etc.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 65
Fibre Channel Services
Understanding the Basics

Intelligent Fabric Services


are distributed among all
switches in a fabric. FC SAN
Nodes communicate with
the fabric, not individual N-Port F-Port
Fabric Services
switches. If multiple Fabric Login F-Port N-Port
switches are in a fabric, N-Port F-Port Fabric Name Service
they will respond to service Fabric Controller
Management Svc
requests with one singular, More
cohesive voice. N-Port F-Port

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 66
Port IDs for Fabric Services
Fibre Channel Well-Known Addresses

So how do initiators and targets find these services in the fabric?


by the services Well Known Addresses (PIDs), of course!

xFFFFFA Management Server x000000 unidentified N_Port


xFFFFFB Time Server xFFFFF5 Multicast Server
xFFFFFC Name Server xFFFFF6 Clock Synchronization Server
xFFFFFD Fabric Controller xFFFFF7 Security Key Distribution Server
xFFFFFE Fabric Login Server xFFFFF8 Alias Server
xFFFFFF Broadcast Address (For IP xFFFFF9 Quality-of-Service Facilitator
over FC)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 67
Fabric Login Port
PID=FFFFFE
Fabric Login
FLOGI
The Process of Device Initialization DID=FFFFFE FC SAN
SID=000000
First, the host sends a
HBA F-Port
FLOGI (Fabric Login) to FFFFFE

the Fabric Login Ports


Well Known Address.
The destination address
is the PID of the Fabric
Login Port (xFFFFFE).
However, the source
address on the FLOGI is
x000000. (The host
doesnt know yet what its
PID is.)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 68
Fabric Login Port
PID=FFFFFE
Fabric Login
FLOGI Acc
The Process of Device Initialization DID=010100 FC SAN
SID=FFFFFE
The Fabric Login port
HBA F-Port
responds with the hosts FFFFFE

newly-assigned PID.
Now the host has its PID!
In this case its x010100.
PID tells us:
Domain of the switch its
plugged into is x01
Its physical port number is
x01
(Not hard and fast rule
though)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 69
Fabric Name Service
PID=FFFFFC
Name Service
The Process of Device Initialization FC SAN

Next, the host will login


HBA F-Port
(PLOGI) to the port of the FFFFFE FFFFFC

Name Service (FFFFFC).


It registers with the
name service.
Heres my PID, my WWNs,
who made me (vendor specific
information), more stuff, etc.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 70
Fabric Controller
PID=FFFFFD
Fabric Controller
The Process of Device Initialization FC SAN

Next, the host will PLOGI


HBA F-Port
to the Fabric Controller FFFFFE FFFFFC FFFFFD

(FFFFFD).
It registers for State
Change Notification.
Mr. Fabric Controller, if
anything changes in this
network [that I need to know
about] please notify me I am
Registering for State Change
Notification (RSCN).

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 71
Fabric Controller
The Process of Device Initialization FC SAN

Hey, whats that? A new


HBA F-Port
storage device just came FFFFFE FFFFFC FFFFFD

online, logged into the F-Port N-Port


fabric and registered with
the name service!

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 72
Fabric Controller
The Process of Device Initialization FC SAN

If the new storage is in


HBA F-Port
the same zone as the FFFFFE FFFFFC FFFFFD

host, the fabric controller F-Port N-Port


notifies the host of the
change (State Change
Notification).

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 73
Fabric Controller
The Process of Device Initialization FC SAN

The host PLOGIs back


HBA F-Port
into the Name Service FFFFFE FFFFFC FFFFFD

F-Port N-Port
Queries the NS for
updated list of available
devices

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 74
Fabric Controller
The Process of Device Initialization FC SAN

Name service responds


HBA F-Port
with a list of updated FFFFFE FFFFFC FFFFFD

device PIDs that are in F-Port N-Port


the same zone as the
host.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 75
Fabric Controller
The Process of Device Initialization FC SAN

The host PLOGIs into the


HBA F-Port
new storage device. FFFFFE FFFFFC FFFFFD

F-Port N-Port
Once logged in, the host
can perform a SCSI probe
to detect Logical Unit
Numbers (LUNs).
Once SCSI probe is
complete, the storage can
be formatted with a file
system and mounted by the
hosts operating system.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 76
Much More
Weve Only Scratched The Surface

There is a lot more to it, but this is a good baseline from which to work.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 77
DCB and Fibre Channel over Ethernet
One Cable to Rule Them All, One Cable to Bind Them..

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 79
Data Center Bridging (DCB)
The New Sheriff In Town

Traditional Ethernet is not suitable for


transporting Fibre Channel frames.
Congestion
Latency
Frame Drop
DCB is an umbrella term for Ethernet
technology that has been enhanced by
additional standards to meet the requirements
for transporting FC frames. Copy and paste this call-out box
for each photo as needed (box
Lossless, etc. is 50% transparent gray)

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 80
Standard SAN vs. Converged SAN

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 81
Example Environment
6 IP Connections and 2 FC per Server

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 82
Same Example Environment
360 Host Side Cables Removed

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 83
Major DCB Enhancements to Ethernet
Whats New?

Data Center Bridging eXchange Enhanced Transmission Selection


(DCBX - IEEE 802.1Qaz) (ETS IEEE 802.1Qaz)
Leverages LLDP 802.1AB Bandwidth Management for
Used for configuring devices different traffic flows

Priority Flow Control (PFC IEEE


802.1Qbb)
Per Priority Pause Frames
Controlled independently for each
Cos
Ensures Zero Loss

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 84
DCB Protocol Support

Ethernet DCB
IEEE 802.1Q VLAN Tagging Yes Yes
IEEE 802.1v VLAN Classification by Protocol &
Yes Yes
Port
IEEE 802.1p CoS Yes Yes
802.1x Network Access Control Yes Yes
IEEE 802.1D STP Yes Yes
IEEE 802.1W RSTP Yes Yes
IEEE 802.1s MSTP Yes Yes
IEEE 802.3ad LAG Yes Yes
IEEE 802.3x Flow Control (Link Level Pause
Yes No
Frames)
IEEE 802.1Qbb Priority Flow Control No Yes
IEEE 802.1AB Link Layer Discovery Protocol Yes Yes
IEEE 802.1Qaz DCBX and ETS No Yes
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 85
Priority Flow Control (PFC)
802.1Qbb

Transmit Queues Receive Queues


Full Duplex Link
Zero Zero
One One
Two STOP PAUSE Two
Eight
Three Three Priorities
Four Four
Five Five
Six Six
Seven Seven

Allow multiple kinds of traffic to be consolidated onto a single link


Enables lossless capability for each class of service
Network resources are partitioned between VLs
PAUSE sent per virtual lane when buffers limit exceeded

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 86
Enhanced Transmission Selection (ETS)
802.1Qbb
Enhanced Transmission
Selection allows
multiple protocols, or
traffic flows, to have
different, or varying,
portions of the
bandwidth available on
the transmission link IP b/w % FCoE b/w %
assigned to them. Ex: 60% Ex: 40%
Think QoS with priority
grouping.

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
DCBX Operation

LLDP is a one-way,
DCBX
unacknowledged protocol
Feature
DCBX
DCBX builds on top of LLDP to Feature
DCBX
provide SeqNo and AckNo to Feature
create a reliable two-way remoteFeatureChanged
SyncNo, AckNo
handshake
In addition to the LLDP TLVs,
LLDP
DCBX defines an additional TLV DCBX Ext
that contains ETS, PFC, and Control MIB
application configuration
information somethingChangedLocal somethingChangedRemote

LLDP
LLDP MIB

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 88
DCBX Operation

The local system initializes and


DCBX
populates a seqNo in LLDP
Feature
DCBX
messages.
Feature
DCBX
SeqNo is modified if the local
configuration changes. Feature
remoteFeatureChanged
AckNo tells the peer the last SyncNo, AckNo
seqNo that was received.
In this way, the system knows what LLDP
information has been received by DCBX Ext
its peer. Control MIB

somethingChangedLocal somethingChangedRemote

LLDP
LLDP MIB

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 89
DCBX Configuration via Willing Option

FCFs are normally set to Not


Willing
DCBX and LLDP parameters will still
be exchanged and compared NW
CNAs should be set to Willing as
this will allow them to accept the
DCBX/LLDP and QoS configurations NW NW
from the switch
If CNAs are not willing, the configuration
must match the FCF or a configuration
mismatch will occur resulting in the CNA
not being able to log into the fabrc
W W
Example: Brocade CNAs are
Willing

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 90
DCB Initialization

DCBX process inserted into the


CNA initialization process

4. Upper-Layer Declare Link Up Upper-Layer


Driver Driver

DCB Parameter Exchange


3. DCBX (DCBCXP)
DCBX

2. Auto- Speed Negotiation Auto-


Negotiation Negotiation

1. Driver Driver
Initialization Initialization

Ethernet Link
MAC MAC

Local Node Remote Node

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 91
24 Embedded FCoE Ports (6 shown)

FCoE Initialization MAC


MAC
Each Ethernet port is hard-mapped
MAC
to one of 24 embedded VF_Port MAC
capable Fibre Channel MAC
Forwarding ports. MAC

Fibre Channel

NIC MAC

NIC
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
FIP Overview
VLAN Discovery Phase
1. CNA sends VLAN Discovery Request to the All-
FCoE Forwarders multicast address
01-10-18-01-00-02

NIC MAC

NIC
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
FIP Overview
VLAN Discovery Phase
2. FCF responds with VLAN Discovery response
frame with FCoE-enabled vlans.

The FIP vlan discovery request carries


the list of vlan IDs over which the FCF
NIC MAC
offers FCoE services to that enode
NIC (CNA).
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
24 Embedded FCoE Ports (6 shown)

1. Host sends FIP multicast out to


MAC
the All-FCoE Forwarders multicast
MAC
address 01-10-18-01-00-02 to
MAC
find FCF MAC
MAC
MAC

Fibre Channel

NIC MAC

NIC
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
24 Embedded FCoE Ports (6 shown)

2. FCF responds with unicast notifying


MAC
the Enode of the MAC address of the
MAC
FCF.
MAC
MAC
MAC
MAC

Fibre Channel

Uses a jumbo frame for this response


to verify jumbo frame support on the
NIC MAC
CNA.
NIC
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
24 Embedded FCoE Ports (6 shown)

3. Enode performs a FIP Fabric Login


MAC
MAC
MAC
MAC
MAC
MAC

Fibre Channel

FIP FLOGI

NIC MAC

NIC
CNA

Server
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
24 Embedded FCoE Ports (6 shown)

4. FCF sends FLOGI accept, VF_port


and sends the MAC FIP FLOGI Acc MAC WWN 6. As usual in
address to be used by the VN_Port MAC MAC
FC, once the
VN_port on the CNAthus,
MAC
FLOGI process
MAC
the fabric has provided the is complete,
MAC
mac address (FPMA). MAC
the CNAs
WWN will now
be visible on
the FC side. It
5. The FC PID is can now be
also returned to zoned to
the host so the storage.
Fibre Channel
FCoE component
is now initialized.
VN_port
7. For NPIV, FIP FDISC can be
NIC MAC
used instead of traditional
NIC FCoE
WWN
FLOGIs as is standard for
CNA NPIV.
Server
Now FCoE data may pass.
2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 98

1
7
4
3
11
5
8
12
2 6 10 9

PCP Network Priority Traffic Characteristics

1 0 (lowest) Background

0 1 Best Effort

2 2 Excellent Effort

Traffic stops on
3 3 Critical Applications

4 4 Video, < 100 ms latency

PC Network Traffic 5

6
5

6
Voice, < 10 ms latency

Internetwork Control

all related
P Priority Characteristics
7 7 (highest) Network Control

Class3 link
connections
1 0 (lowest) Background
0 1 Best Effort

2 2 Excellent Effort SwitchPort begins sending


Storage PAUSE frames per priority
Critical Port Class3
3 3
Applications Congestion
Video, < 100 ms
4 4
latency Port4(10,11,12)
Port0 (1,2,3)
Voice, < 10 ms
5 5
latency
Internetwork
6 6 Port1(4,5,6) Port3 (7,8,9)
Control
7 99 2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production
7 Network Control
(highest)
Ethernet and FC Roadmaps
Parallel Evolution & Potential for Convergence

100M 1G 10G 40G & 100G 400G


DCB
Enet
iSCSI iSCSI TLV
(Ethernet)

FCoE

FC 1G 2G 4G 8G 16G 32G
(Fibre Channel)

1994 1996 1998 2000 2002 2004 2006 2008 2010 2012 2014 2016

FC and Ethernet evolved in parallel paths with FC dominating storage SANs and Ethernet
supporting IP networking

Lossless Ethernet & FCoE open the door for server I/O consolidation

2012 Brocade Communications Systems, Inc. A "Thanks for All the Fish" Production 100

Potrebbero piacerti anche