Professional Documents
Culture Documents
Troubleshooting
What is a SAN?
What is a SAN?
What is a SAN?
Benefits of a SAN
Increased Performance
- The
Fibre Channel based SAN provides the ability for the Fibre
Channel HBA to access storage with up to 100 megabytes of
bandwidth. In some cases the duplexing capabilities of Fibre Channel
can provide up to 200 megabytes of potential throughput. 2 Gigabit
GBICs are now available with a new 10 Gigabit standard being
developed.
Increased Availability
- Redundant
What is a SAN?
Benefits of a SAN
Increased Scalability and Flexibility
-Supports up to 14 million devices
-layered architecture supports three connection topologies (direct, loop
and switched fabric)
What is a SAN?
Clients
Network
Attached
Storage
Network
Printers
Traditional
Servers
w/ attached
Storage
LAN
Application
Servers
Database
Servers
File &
Print
Servers
Fibre
Channel
Fibre Channel
Switches, Hubs, etc.
High-end
Storage
Arrays
Mid-range
Arrays &
JBOD
SAN
Secondary
Storage
(DLTs, etc.)
What is a SAN?
Components of a SAN
SAN Management
SAN
Software
Disk/Lun Access
Tape Access
Tape
Fibre Channel
Protocol
Architecture.
These layers define standards and services provided by mechanisms built
into the protocol.
Fibre Channel uses 5 layers labeled FC-0 through FC-4
Some that are defined have not been implemented ( currently the FC-3
layer is not used, however we will still look at this layer ).
Level FC-0 deals with physical media type, cable length and signaling methods.
CDB
CPD
Command
STATUS
CRD
Logical
Data
Sense
Data
Autosense
Preserved
NOT USED
Storage Competency Centre SEA
Classes of Service
Classes of Service
Class 1 Dedicated connection service
. Connection-oriented
. Acknowledged delivery
Class 2 Multiplexed service
. Connectionless
. Acknowledged delivery
Class 3 Datagram service ( HP Provides Class 3 Service )
. Connectionless
. Unacknowledged delivery
Class 4 Virtual connections (being defined) Fibre Channel
classes of service are managed by the FC-2 level
Storage Competency Centre SEA
N_Port = Node
NL_Port = Node Loop
Switches
F_Port = Fabric
FL_Port = Fabric Loop
QL_Port = Private Loop
E_Port = Extension
G_Port = F + E
U_Port = F + FL + QL+ E
Note: switch ports will be discussed more in the Brocade Switch Chapter
Storage Competency Centre SEA
Domain
Area
Port
Storage Competency Centre SEA
Fibre Channel
Topologies
TX
RX
100 MB/sec
RX
Direct
Connect
TX
2 fibres = 1 cable
Storage
Device
RX
1 Fibre
TX
Basic 4 node
private Loop
100 MB/sec
per loop
TX
RX
RX
TX
Loop Topology:
+ good connectivity
+ moderate bandwidth
- bandwidth is shared
-latency can be a problem in high node configurations
- LIPs can cause issues
Storage Competency Centre SEA
$01
$EF
Loop ID
EF
E8
E4
00
01
02
02
01
00
7C
7D
7E
higher Prio
$02
$00
AL_PA
What is a LIP ?
A Loop Initialization Primitive (LIP) is used to initiate
a procedure that results in a unique addressing for all
nodes, to indicate a loop failure, or to reset a specific
node.
A LIP is generated when a device is unplugged from
a switch or plugged into a switch, powered off or
powered on.
Loops.
Full Fabric citizenship status for Loop Devices
FAN Support ( AL_PA address Keeping )
Added Value Non-Blocking Queues & Translative
Mode
Automatic registration of Private Loop devices in
the Simple Name Server
Storage Competency Centre SEA
Loop Initialization
Select Master
LIP
LISM
Master Selected
ARBx Address x for
Loop control.
Loop Initialization
Fabric Assigned
ARB(F0)
LIFA
To LIPA
* ARB Arbitrate Primitive
Storage Competency Centre SEA
Loop Initialization
Previously
Assigned
LIPA
Loop Initialization
Hard Assigned
LIHA
To LISA
Loop Initialization
Soft Assigned
Loop Initialization
Hard Assigned
LISA
NO
ID= 0x11050100
YES
Loop Initialization
Report Position
Loop Initialization
Loop Position
LIRP
LILP
To CLS
Send CLS
Receive CLS
Initialization Complete
Storage Competency Centre SEA
TX
RX
Hub
TX
RX
TX
100 MB/sec
F
100 MB/sec
100 MB/sec
Switch
100 MB/sec
F
100 MB/sec
100 MB/sec
per port
4 node fabric
100 MB/sec
F
100 MB/sec
Area
Port
22
Area
42
Port
22
Area
0
Port
FC Definitions
Fabric: A switching network that consists of one or more Switch elements. The function of the
Fabric is to receive frames from source Ports and to route them to destination Ports. Switch
elements can have F Ports, FL Ports, E Ports and QL (EPL) Ports.
Fabric Login Protocol: In the Fabric Login Protocol, the N Port interchanges sequences with the
Fabric to determine the service parameters for the operating environment. Parameters such as flow
control buffer credit, class of service and Port Identifiers are exchanged. Both N Ports and Public
NL Ports can participate in the Fabric Login.
Arbitrated Loop: A connection of 2 or more Nodes without the use of a Fabric. Loops can consist
of physical elements called Hubs. Hubs are a way to house the loop in a box and physically
connect to the Nodes in a point to point fashion (this is NOT the Point to Point FC connection).
Loops can be considered Private with connections involving Private NL Ports & QL(EPL) Ports
or Loops can be considered Public with connections involving Public NL ports & FL ports.
Arbitrated Loop Initialization Protocol: In Arbitrated Loop topology, the assignment of the 127
possible loop addresses to the different ports attached to the loop is carried out through the
transmission of a set of sequences around the loop, alternately collecting and broadcasting
mapping of addresses to Nodes.
LIP:. Loop Initialization Primitive. This is an ordered sequence that is sent around the loop to
begin the initialization process of assigning the AL PA for each node.
AL PA: Arbitrated Loop Physical Address. This address is assigned through the loop initialization
process and is what allows nodes to communicate with each other.
Brocade Switches
PS1
Local BUS
RTC
Drv
12C BUS
FPGA
Sensors
LCD
I/O
Intel
i960RP
CPU
33Mhz
SDRAM
UART
Flash
RS232
Primary PCI BUS
MAC
LAN
Loom
0
Loom
1
Loom
2
Loom
3
Only on 2800
Switch
Switch
U_Port attempt
Loop Init
Mode Known
FL_Port
U_Port attempt
Pt-to-Pt
Loopback detected
ELP Received
Mode Known
E_Port
LIP Timeout
Mode G_Port
Attempt E_Port
FLOGI Received
Mode Known
F_port
Port Definitions
N_Port: A port on a Host/Device that is attachable via a non-loop link to either an N
Port on another Host/device OR an F Port on a switch. N ports participate in Fabric
Login process but not in the Arbitrated Loop process.
Private NL_Port: A port on a Host/Device that is attachable, in an Loop topology, to
Private NL Ports, Public NL Ports, FL Ports or EPL Ports. It cannot connect to N
Ports or F Ports. Private NL Ports participate in the Arbitrated loop process but not
the Fabric Login process. One exception is that a Host Private NL port cannot hook to
an FL port on the Switch, it needs to hook to the EPL port on the Switch.
Public NL_Port: A port on a Host/Device that is attachable, in an Loop topology, to
Private NL Ports, Public NL Ports, FL Ports or EPL Ports. It cannot connect to N
Ports or F Ports. Public NL Ports participate in the Arbitrated loop process as well as
the Fabric Login process (if connected to a Fabric). A Public NL Port can act as a
Private NL Port.
F_Port: A Switch port to which a non-loop, point-to-point N Port can attach.
FL_Port:. A Switch port to which a Public NL Port can attach.
E Port: A Switch port that is able to communicate with other Switch ports. This is
used for cascading Switches into the switched network Fabric.
EPL Port or QL Port:. A Switch port to which a Private NL Port or Public NL port
can attach.
Storage Competency Centre SEA
2 fabric
zones
N
Fibre Channel On
HP-UX
PCI Adapters
A3740A *
A3591A/B
A3636A*
A6684A
A5158A
A6795A
A6685A
* Discontinued
0 8/8
lan
2 8/8.5
fcT1
CLAIMED
fcT1_cntl CLAIMED
INTERFACE
INTERFACE
/dev/fcms1
Ioscan(1M) output ba
2 0/4
fc
0 0/4/0/0
Storage Adapter
lba
CLAIMED
BUS_NEXUS
td
CLAIMED
INTERFACE
/dev/td0
1 0/6/2/0.1
CLAIMED
fcp
ext_bus 12 0/6/2/0.1.20.23.0
Interface
INTERFACE
CLAIMED
fcpmux
target
47 0/6/2/0.1.20.23.0.4
tgt
tape
3 0/6/2/0.1.20.23.0.4.0 stape
INTERFACE
CLAIMED
CLAIMED
CLAIMED
FCP Domain
INTERFACE
DEVICE
DEVICE
Quantum DLT4000
1 8/12
lan
3 8/12.5
fcT1
CLAIMED
INTERFACE
fcT1_cntl CLAIMED
INTERFACE
/dev/fcms3
fcp
ext_bus
1 8/12.8
fcp
2 8/12.8.0.255.0
CLAIMED
fcpdev
target
4 8/12.8.0.255.0.0
tgt
disk
3 8/12.8.0.255.0.0.0 sdisk
INTERFACE
CLAIMED
CLAIMED
CLAIMED
INTERFACE
DEVICE
DEVICE
SEAGATE ST39102FC
2. 0/4/0/0.1.20.255.1.7.0
3. 0/4/0/0.1.25.0.0.2.0
4. 8/4.8.0.255.0.5.0
5. 0/2/0/0.4.18.0.3.0
6. 0/8/0/0.8.0.116.2.1.1
Troubleshooting
Fibre Channel On
HP-UX
Vendor ID is = 0x00103c
Device ID is = 0x001028
TL Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x000006
Topology = PTTOPT_FABRIC
Local N_Port_id is = 0x011a00
N_Port Node World Wide Name = 0x50060b000009f8f5
N_Port Port World Wide Name = 0x50060b000009f8f4
Driver state = ONLINE
Hardware Path is = 0/4/0/0
Number of Assisted IOs = 8168
Number of Active Login Sessions = 0
Storage Competency Centre SEA
DEAD. The driver couldn't come up due to some problem. Check the connectivity with the
loop/loopback hood.
LOOPBACK_STATE . The host bus adapter is in the loop back test phase.
OFFLINE. The host bus adapter card is not participating on the loop.
READY/ONLINE. The driver is up and functional.
RESETTING. The host bus adapter card is being reset.
All other states are only "transient" and should not continue for long. If the "transient" state
persists, there might be a problem in the hardware connectivity or configuration.
38
Bad Rx Char
Loss of Sync
13
Link Fail
Received EOFa
Discarded Frame
Bad CRC
Protocol Error
242
73
185
0
Diagnostics Log.
Access logtool from cstm, mstm or xstm
Always try and collect the formatted log to help in
analyzing Fibre connection issues.
Description of Error:
The Fibre Channel Mass Storage Adapter is not connected in a supported topology.
Server1
Disk1
2
FC HUB
Server2
Disk2
Server1
FC Switch
Server2
Disk2
How does Server1 and Server2 react to Disk2 problems?
Storage Competency Centre SEA
Troubleshooting
Brocade Switches
5.3.1
brocade1
2.4
switchState: Online
switchRole:
Principal
switchDomain: 1
switchId:
switchWwn:
fffc01
10:00:00:60:69:10:62:ac
switchBeacon: OFF
port 0: sw Online
F-Port 50:06:0b:00:00:09:f9:04
port 1: sw Online
L-Port 1 public
port 3: sw Online
port 4: sw Online
F-Port 50:06:0b:00:00:09:f9:26
Storage Competency Centre SEA
COS
011000;
PortName
NodeName
TTL(sec)
3;50:06:0b:00:00:09:f9:04;50:06:0b:00:00:09:f9:05; na
FC4s: FCP
Fabric Port Name: 20:00:00:60:69:10:62:ac
NL 011101;
3;50:06:0b:00:00:02:27:c2;50:06:0b:00:00:02:27:c3; na
FC4s: FCP
Fabric Port Name: 20:01:00:60:69:10:62:ac
N
011900;
3;50:00:60:e8:01:8a:55:01;50:00:60:e8:01:8a:55:01; na
OPEN-XP256
5248]
0 13
3 0
1: 37k 529
1 0
2: 96k 27k 0
0 0
3: 149k 12k 0
0 16
0 0
4: 177k 1.6k 0
0 0
5: 97k 12k 0
0 0
portType: 3.1
portState: 1 Online
portPhys: 6 In_Sync
portScn: 6 F_Port
portRegs: 0x80020000
portData: 0x10f5eab0
portId:
011100
portWwn: 20:01:00:60:69:10:62:ac
7) errDump
14) portRegShow
21) nsAllShow
2) uptime
8) switchShow
15) portRouteShow
22) cfgShow
3) tempShow
9) portFlagsShow
16) fabricShow
23) configShow
4) psShow
10) portErrShow
17) topologyShow
24) faultShow
5) licenseShow
11) mqShow
18) qlShow
25) traceShow
6) diagShow
12) portSemShow
19) faShow
26) portLogDump
13) portShow
20) nsShow
65 811125
stat_wrx
651517215
stat_ftx
1976542811
Frames transmitted
stat_frx
1903265007
Frames received
stat_c2_frx
stat_c3_frx
1265007
stat_lc_rx
stat_mc_rx
stat_mc_to
Multicast timeouts
stat_mc_tx
tim_rdy_pri
tim_txcrd_z 479865431
Possible Issue
Storage Competency Centre SEA
download complete
brocade1:admin> switchenable
brocade1:admin> firmwaredownload
Server Name or IP Address [host]: 15.30.130.46
User Name [user]: stuartm
File Name [/usr/switch/firmware]: ./a2.4.1
Protocol (RSHD or FTP) [rshd]: FTP
Password:
60464+2248+128404, csum 6c14
loading to ram .......................
writing flash 0 .......................
writing flash 1 .......................
download complete
Storage Competency Centre SEA
OFFLINE TESTS
portRegTest
centralMemoryTest
cmiTest
sramRetentionTest
cmemRetentionTest
camTest
portLoopbackTest
spinSilk
ramTest
crossPortTest
Further Information
and Web Links