Академический Документы
Профессиональный Документы
Культура Документы
HP Training
Student guide
Introduction to SANs
Rev. 4.21 HP Restricted
HP Training
Student guide
Copyright 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use these materials to deliver training to any person outside of your organization without the written permission of HP. Printed in the United States Introduction to SANs Student guide June 2004 HP Restricted Contact HP Education for customer training materials.
Contents
Overview
Facilities ................................................................................................................... 2 Introductions............................................................................................................. 3 Course prerequisites ................................................................................................. 4 Course objectives ..................................................................................................... 5 Course outline .......................................................................................................... 7 Additional resources weblinks .......................................................................... 15
Rev. 4.21
HP Restricted
Introduction to SANs
HP Restricted
Rev. 4.21
Contents
Rev. 4.21
HP Restricted
Introduction to SANs
HP Restricted
Rev. 4.21
Contents
Introduction to SANs
HP standard SAN fabric topologies ....................................................................... 64 Cascaded fabric topology............................................................................... 65 Ring fabric topology ...................................................................................... 66 Meshed fabrics ............................................................................................... 67 Backbone fabrics............................................................................................ 68 Advantages of backbone fabrics .................................................................... 69 Fat tree and skinny tree designs ..................................................................... 70 Fat vs. skinny example................................................................................... 71 HA considerations .................................................................................................. 72 HA Recommendations............................................................................................ 73 Watch the Max Hops!............................................................................................. 74
HP Restricted
Rev. 4.21
Contents
Introduction to SANs
HP Restricted
Rev. 4.21
Introduction to SANs
Course overview
Introduction to SANs
Course overview
2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Overview 1
Introduction to SANs
Course overview
Facilities
Rev. 4.21
Overview 2
Introduction to SANs
Course overview
Introductions
Name Location Years with company Experience with SANs Expectations for this course
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 3
Introduction to SANs
Course overview
Course prerequisites
HP-UX or Windows administration SCSI, RAID, Fibre Channel and Backup technologies Storage Area Network architecture and function
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 4
Introduction to SANs
Course overview
Course objectives
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 5
Introduction to SANs
Course overview
Course outline (1 of 4)
Lecture
Module 1 Introduction to SANs Module 2 Fibre Channel Technologies Module 3 San Topologies Module 4 Brocade Fibre Channel Addressing Module 5 Configuring a Brocade Switch
Labs
Lab 1 Getting Started Lab 2 Preparing the Switch Lab 3 Configuring Ports
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 6
Introduction to SANs
Course overview
Course outline (2 of 4)
Lecture
Module 6 Brocade Simple Name Server Module 7 Brocade Zoning Module 8 Cascading Brocade Switches
Labs
Lab 4 Zoning Lab 5 Cascading Lab 6 Merging and Splitting B-Series Fabrics Lab 7 Trunking Lab 8 Dynamic load sharing and routing
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 7
Introduction to SANs
Course overview
Course outline (3 of 4)
Lecture
Labs
Lab 9 Preparing for Heterogeneous SAN Lab 10A HP-UX and HSG80 SAN installation Lab 10B HP-UX and VA SAN Installation Lab 11 Windows 2000 Secure Path 4.0c Installation Lab 12 HP-UX Secure Path V3.0D installation
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 8
Introduction to SANs
Course overview
Course outline (4 of 4)
Lecture
Labs
Rev. 4.21
HP Restricted
Rev. 4.21
Overview 9
Introduction to SANs
Course overview
Rev. 4.21
HP Restricted
10
Rev. 4.21
Overview 10
Introduction to SANs
Course overview
Cybrary
http://cybrary.inet.cpqcorp.net/
Rev. 4.21
HP Restricted
11
Rev. 4.21
Overview 11
Introduction to SANs
Course overview
Rev. 4.21
Overview 12
Introduction to SANs
Introduction to SANs
Introduction to SANs
Module 1
Introduction to SANs
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Introduction to SANs
Introduction to SANs
Objectives
After completing this module, the student will be able to:
Define the Storage Area Network (SAN) Classify the SAN components in categories List the benefits of a SAN
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
SAN is a high speed network that allows heterogeneous servers access to a common or shared pool of heterogeneous storage devices. devices. -- HP Storage University
[Rev. # or date] HP Restricted
Introduction to SANs
Introduction to SANs
SAN Infrastructure
SAN Management
Software
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
High Availability
Clustering for fault tolerance Remote real-time mirroring of data
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
Disk System
Backup Library
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
Serverless Backup
Server
Server
Disk System
Backup Library
[Rev. # or date]
HP Restricted
Introduction to SANs
Introduction to SANs
Server A
Server B
Switch A
Switch B
Disk Array A
[Rev. # or date] HP Restricted
Disk Array B
9
Introduction to SANs
Introduction to SANs
DAS
[Rev. # or date]
HP Restricted
10
Direct Attached Storage (DAS): Direst Attached Storage (DAS) is the traditional method of locally attaching storage to servers via a dedicated communication channel between the server and storage. DAS is commonly implemented as a SCSI connection, but other methods may also be used. DAS storage may be disk drives, a RAID subsystem, or another storage device. The server typically communicates with the storage subsystem using a block-level interface. As shown in the above figure, the file system resides on the server and determines which data blocks are needed from storage device to complete the file request from application.
Introduction to SANs
Introduction to SANs
Application server
NAS appliance
Application server
Windows clients
UNIX clients
[Rev. # or date]
HP Restricted
11
Introduction to SANs
Introduction to SANs
[Rev. # or date]
HP Restricted
12
Introduction to SANs
Introduction to SANs
Clients
NAS SAN
DAS
[Rev. # or date]
HP Restricted
13
Introduction to SANs
Introduction to SANs
Learning check
Learning Check
1. What are some of the benefits of a SAN? . . 2. What components make up a SAN? . . 3. What is the difference between a SAN, NAS, and DAS network? . .
Introduction to SANs
Introduction to SANs
Introductions to SANs
Module 2
Introduction to SANs
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introductions to SANs
Objectives
This unit prepares students to:
Rev. 4.21
Introductions to SANs
Fibre Channel
Fibre Channel is an industry-standard interconnect and high-performance serial I/O protocol that delivers a high level of reliability, throughput, and distance flexibility for the server industry The levels of the Fibre Channel standard define:
Physical media Transmission rates Encoding scheme Framing protocol and flow control Common service Upper-level application interfaces
[Rev. # or date]
HP Restricted
Rev. 4.21
Introductions to SANs
FC Protocol Architecture
Channels Networks
FC-4 FCFC-4 FC-3 FCFC-3 FC-2 FCFC-2 FC-1 FCFC-1 FC-0 FCFC-0
SBCCS
802.2 IP ATM
Node Node
Port Port
Encode / Decode
133 133
Mbits/s Mbits/s
266 266
Mbits/s Mbits/s
531 531
Mbits/s Mbits/s
1063 1063
Mbits/s Mbits/s
2125 2125
Mbits/s Mbits/s
4250 4250
Mbits/s Mbits/s
[Rev. # or date]
HP Restricted
FC Protocol Architecture
It is often easier to understand a communications protocol when it is first broken down into parts or layers. Fibre Channel is structured as a set of hierarchical functions: FC-0, FC-1, FC-2, FC-3, and FC-4. FC-0 Physical Layer, includes definition of connectors, cables, and electrical characteristics of transition. FC-1 Encoding Layer, defines the encoding/decoding and transmission protocol. FC-2 Framing Protocol, determines how the data from the upper level will be framed for handling by the transport layer. It incorporates the management of frames, flow control and CRC. FC-3 Common Services, is open for future implementation. FC-4 Protocol Mapping, establishes the interface between F/C and the upper layer protocols. This function is usually provided by the vendors device driver.
Rev. 4.21
Introductions to SANs
[Rev. # or date]
HP Restricted
FC-0 Layer
The lowest level defines the physical link in the system, including the fibre, connectors, optical and electrical parameters for a variety of data rates.
Rev. 4.21
Introductions to SANs
[Rev. # or date]
HP Restricted
Rev. 4.21
Introductions to SANs
[Rev. # or date]
HP Restricted
Encoding and decoding has to do with the manner that the data is placed on the wire so that the receiver will be able to interpret it. Fibre channels inherent reliability has much to do with the 8bit/10bit encoding scheme that reduces the bit error rate to somewhere in the range of 10-9 or about 1 bit error every trillion bits. Fibre channel encapsultates 8 data bits into 10 bit transmission characters. This scheme provides an extra parity bit per character over the traditional 8-bit parity used in ethernet. Additional reliability is added by creating a balanced line of equal numbers of ones and zeros on the media. 10-bit characters can have positive, negative or neutral disparity. Positive disparity has more zeros than ones. Negative disparity has more ones than zeros. Neutrally disparate characters have an equal number of ones and zeros. Neutral disparity prevents an electrical shift caused by an imbalance of too many ones or zeros. Because not all data characters have equal numbers of ones and zeros, special characters are used to maintain a running disparity.
Rev. 4.21
Introductions to SANs
Transmission Word
4 10-bit Characters Data Word
First transmission character is the K28.5 special character Frame Delimiter (SOF and EOF)
K28.5
Primitive Signal (e.g., IDL, ARB, OPN(x), CLS, MRK(x) Primitive Sequence (e.g., LIP, LPB, LPE)
[Rev. # or date]
HP Restricted
Transmission Word Groups of four characters (40-bits) form a transmission word. Words can be either data, where the first character is an encoded data byte, or an ordered set, where the fourth character (first byte) is the K28.5 special character used to provide character synchronization. Ordered sets permit control functions to be embedded in the bit stream. Ordered Set An ordered set is a transmission word beginning with a special character, K28.5. An ordered set can be a Frame delimiter Primitive signal, or Primitive sequence A frame delimiter defines what class of service is required. The frame contains a start-of-frame (SOF) and an end-of-frame (EOF) delimiter.
Rev. 4.21
Introductions to SANs
[Rev. # or date]
HP Restricted
Encoding and decoding has to do with the manner that the data is placed on the wire so that the receiver will be able to interpret it. Fibre channels inherent reliability has much to do with the 8bit/10bit encoding scheme that reduces the bit error rate to somewhere in the range of 10-9 or about 1 bit error every trillion bits. Fibre channel encapsultates 8 data bits into 10 bit transmission characters. This scheme provides an extra parity bit per character over the traditional 8-bit parity used in ethernet. Additional reliability is added by creating a balanced line of equal numbers of ones and zeros on the media. 10-bit characters can have positive, negative or neutral disparity. Positive disparity has more zeros than ones. Negative disparity has more ones than zeros. Neutrally disparate characters have an equal number of ones and zeros. Neutral disparity prevents an electrical shift caused by an imbalance of too many ones or zeros. Because not all data characters have equal numbers of ones and zeros, special characters are used to maintain a running disparity.
Rev. 4.21
Introductions to SANs
Primitive Signals
An ordered set with special meaning Fill Words
[Rev. # or date]
HP Restricted
10
A Primitive Signal is an Ordered Set designated by this standard to have special meaning. They indicate events at the sending port. Primitive Signals are used to indicate events or actions and are normally transmitted once. Fill Word (Idle, ARB(X), ARB(F0), ARB(FF) transmitted on a link whenever a port is operational and has no other specific information to send Non-Fill Word (R_RDY, VC_RDY, CLS, OPN, DHD, MRK, SYNx,y,z)- signal the events. All FC_Ports recognize R_RDY and IDLE Primitive Signals amongst others.
Idle Idle is a Primitive Signal transmitted on the link to indicate that link initialization is complete and to maintain link synchronization. Idles are transmitted on the link during periods of time when frames, other Primitive Signals or Primitive Sequences are not required to be transmitted.
Rev. 4.21
10
Introductions to SANs
Transmission Hierarchy
8B/10B Transmission Character Transmission Word Frame Sequence Exchange
Sequence
Frame 2148 bytes
FC-2
Exchange
Sequence
FC-1
10-bit Character
10-bit Character
10-bit Character
[Rev. # or date]
HP Restricted
11
Rev. 4.21
11
Introductions to SANs
Rev. 4.21
12
Introductions to SANs
Exchange
Sequence
Frame Frame
Sequence
Frame Frame
Sequence
Frame Frame
[Rev. # or date]
HP Restricted
13
Frame Formatting All information transferred in fibre channel is packaged in a data structure called a frame. A frame contains the information to be transmitted (payload), link control information and the addresses of the initiator and destination ports. Frame formatting is the functionality of FC-2 layer by which it breaks the data to be transmitted into pre-determined frame size and reassemble them at the receiving port. Sequence Management A sequence is a set of one or more related frames transmitted unidirectionally from one port to another port. The port that initiates the sequence is called the sequence initiator. It follows that t he port that receives the sequence is called the sequence recipient. Each frame within a sequence is uniquely identified by a sequence count. Management of sequence by FC-2 includes sequence identification, maintaining of sequence count, streaming the sequences and sequence completion. Exchange Rev. 4.21 Management
13
Introductions to SANs
Frame Structure
Link Control Frame
provides flow control via ACK for class 1 and 2 frames contains no payload
Data Frame
>2 idles
6 idles
[Rev. # or date]
HP Restricted
14
A frame is the basic unit of data transfer and can be up to 2112 bytes. The Start of Frame (SOF) and End of Frame (EOF) are special FC transmission words that act as frame delimiters. The CRC is 4 octets long and uses the same 32-bit polynomial used in FDDI. The FC Header is 24 octets long and contains several fields associated with the identification and control of the Data Field. The Data Field is of variable size, ranging from 0 to 2112 octets, and includes the user data in the Frame Payload field, and Optional Headers. The currently defined Optional Headers are: - ESP_Header; - Network_Header; - Association_Header; - Device_Header. The value of the SOF field determines the FC Class of service associated with the frame. Five Classes of service are specified in [FC-FS]. They are distinguished primarily by the method of flow control between the communicating Nx_Ports and by the level of data integrity provided. A given Fabric or Nx_Port may support one or more of the following Classes of service: - Class 1: Dedicated physical connection with delivery confirmation; - Class 2: Frame multiplexed service with delivery confirmation; - Class 3: Datagram service; - Class 4: Fractional bandwidth; - Class 6: Reliable multicast via dedicated connections. Rev. 4.21
14
Introductions to SANs
Frame Header
[Rev. # or date]
HP Restricted
15
The frame header is 24 bytes long and is present in all frames. It is used to control link operation, control device protocol transfers, and to detect missing frames or frames that are out of order. DF_CTL Data Field Control specifies the presence of optional headers in the payload of the frame. D_ID The 24-bit N_port address to which the frame is being sent. Destination ID. F_CTL 24-bit field contains control information relating to the frame content. OFFSET
Rev. 4.21
15
Introductions to SANs
Sequence
A group of related frames transmitted in the same direction between two N_Ports Primitive Sequences initiate or indicate port states Sequence initiative Segmentation and reassembly Sequence Management
[Rev. # or date]
HP Restricted
16
Sequences are made up of one or more frames. Several nonconcurrent signals make up an exchange. You can think of an exchange as a conversation made up of sentences (sequences) spoken over a CB radio, where each party has to let the other party know when to speak. For example, SCSI-3 FCP uses bidirectional exchanges with information passing in one direction at a time. To send data in the opposite direction, a sequence initiative is passed from one port to another and back again. Each port generates one or more sequences within the exchange. An application level payload such as IPv6 is called Information Unit at the FC-4 level of Fibre Channel. Each FC-4 Information Unit is mapped to an FC Sequence by the FC-2 level. An FC Sequence consists of one or more FC frames related by the value of the Sequence_ID (SEQ_ID) field of the FC Header. The maximum data that may be carried by an FC frame is 2112 octets. The maximum usable frame size depends on the Fabric and Nx_Port implementations and is negotiated during the Rev. 4.21 16 Login process. Whenever an Information Unit to be transmitted
Introductions to SANs
Exchange
Asynchronous
Separate exchanges in each direction Sequence Initiative held by the Common Transport
Synchronous
[Rev. # or date]
HP Restricted
17
Exchange Management An Exchange is a set of one or more sequences. Sequences for the same exchange may flow in the same direction or in the opposite direction one sequence at a time. For an exchange to occur, the initiator initiates the exchange by sending an OX-ID (originator exchange id). The recipient on receipt replies with RX-ID (Responder exchange id). Both OX-ID and RX-ID are used to identify the exchange. Management of the exchange is done by maintaining and monitoring the Ebbs (Exchange Status Blocks) at the originator and the responder. An ESB is a logical construct representing the format of the exchange status information. It is used to track the progress of an exchange on a sequence by sequence basis. The Originator of an Exchange initiates the first Sequence as the Sequence Initiator. If the Sequence Initiative bit (bit 16) is set to zero, the Sequence Initiator holds the initiative to continue transmitting Sequences for the duration of this Sequence Initiative.
Rev. 4.21
17
Introductions to SANs
Control Field
Exchange Context
Description
0 = Originator of Exchange 1 = Responder of Exchange 0 = Sequence Initiator
Sequence Context
22
First_Sequence
21
Last_Sequence
[Rev. # or date]
20
1 = Responder of Exchange
18
HP Restricted
Rev. 4.21
18
Introductions to SANs
Flow Control
Buffer to Buffer
Flow control for two ports that share a link Uses R_RDY primitive signal for flow control
End-to-End
Flow control for source and destination N_Ports Uses ACK link control frame for flow control
Credit can be asymetrical
[Rev. # or date]
HP Restricted
19
Flow Control The concept of flow control deals with the problem where a device receives frames faster than it can process them. When this happens, the result is that the device is forced to drop some of the frames. Fibre Channel has a built-in flow control solution to this problem. The idea is simple enough. A device can transmit frames to another device only when the other device is ready to accept them. Before the devices can send data to each other, they must login to each other. One of the things accomplished in login is establishing credit. Credit refers to the number of frames a device can receive at a time. This value is exchanged with another device during login, so each knows how many frames the other can receive. After enough frames have been transmitted and credit runs out, no more frames can be transmitted until the destination device indicates it has processed one or more frames and is ready to receive new ones. Thus, no device should ever be overrun with frames. Fibre Channel uses two types of flow control, buffer-to-buffer and end-to-end. Rev. 4.21 19
Introductions to SANs
Buffer-to-Buffer
BB_Credit The Login credit which represents the number of frames that may be transmitted before receiving an R_RDY. Frames are sent from one buffer to the other using R_RDY primitive signals Frame flow is always from the source to the destination buffer Multiple intermediate buffers may be in between source and destination
[Rev. # or date]
HP Restricted
20
Rev. 4.21
20
Introductions to SANs
End-to-End
EE_Credit The number of receive buffers allocated by a recipient port to an originating port. Used by Class 1 and 2 services to manage the exchange of frames across the fabric between source and destination.
[Rev. # or date]
HP Restricted
21
Rev. 4.21
21
Introductions to SANs
Receive Buffer
8-bit 8-bit 8-bit 8-bit Byte Byte Byte Byte
8 bit character
Frame
Serial Transfer
[Rev. # or date]
HP Restricted
22
FC-2 defines the structure and organization of the information being delivered and how that delivery is controlled and managed. Exchange management is the mechanism that two fibre channel ports use to identify and assign an exchange ID number for a set of related information units. When the entire stream of data will fit in a single frame (2112 bytes) a single exchange id is created and a sequence number is assigned. However, when a stream of data will not fit into a single frame (2112 bytes), data is put into sequences of frames. Within the exchange ID sequence management is used to number the sequence segments in the stream of data. Sequence numbers associated with the exchange will be used at the recipient to re-order the sequence segments, to re-assemble as a contiguous stream of data. In other protocols, this is commonly known as fragmentation and re-assembly. Frame Structure has a start-offrame delimiter ordered set and ends with an end-of-frame delimiter set. Flow control is the process to deliver a frame. When a frame is ready for transmission, it is sent thru the encoder (8b/10b), to the serializer (sfp/gbic) and transmitted to the receiver port where it is deserialized, decoded and stored in a receive buffer. The receiving port sends to the transmitting port a credit to send another frame and decrements a credit from the credit value established during the login session (buffer to buffer credit). When the receiving port moves the buffer to the next port, the debit is restored. Buffer credits regulate the
22
Rev. 4.21
Introductions to SANs
Flow Control
ACK Acknowledgement R_Ready Receiver Ready Flow Control is related to Class of Service
[Rev. # or date]
HP Restricted
23
Rev. 4.21
23
Introductions to SANs
2112 bytes Data Field 2112 bytes Data Field 2048 bytes Payload 2048 bytes Payload
CTL CTL
Seq_Cnt Seq_Cnt
Seq_ID Seq_ID
Exchange_ Exchange_ ID ID
[Rev. # or date]
HP Restricted
24
In the header of the frame contains: CTL-Defines what type of frame this is, Data or Control. Source Address- where the frame is starting from (PID) Destination Address-the destination (PID) of the frame. Type-FC-4 Types: Most common are SCSI (8) and IP (5) Seq_Cnt-A Each Frame within a sequence is uniquely numbered with a Sequence Count. Seq_ID-Each Sequence has its own unique identifier. Exchange_ID An Exchange is composed of one or more nonconcurrent sequences for a single operation.
Rev. 4.21
24
Introductions to SANs
[Rev. # or date]
HP Restricted
25
information unit across multiple links. Hunt groups - The ability for more than one Port to respond to the same alias address. This improves efficiency by decreasing the chance of reaching a busy N_Port. Multicast - Multicast delivers a single transmission to multiple destination ports. This includes sending to all N_Ports on a Fabric (broadcast) or to only a subset of the N_Ports on a Fabric. FC-4 Layer: The highest level in the FC structure defines the application interfaces that can execute over Fibre Channel. It specifies the mapping rules of upper layer protocols using the FC levels below. Fibre Channel is equally adept at transporting both network and channel information and allows both protocol types to be concurrently transported over the same physical interface. The following network and channel protocols are currently specified or proposed as FC-4 Layer: Small Computer System Interface (SCSI) Intelligent Peripheral Interface (IPI) High Performance Parallel Interface (HIPPI) Framing Protocol Internet Protocol (IP) ATM Adaptation Layer for computer data (ATM-AAL5) Link Encapsulation (FC-LE) Single Byte Command Code Set Mapping (SBCCS) IEEE 802.2
Rev. 4.21
25
Introductions to SANs
Optical
[Rev. # or date]
HP Restricted
26
Rev. 4.21
26
Introductions to SANs
GBIC
SFP
SC Connector
[Rev. # or date] HP Restricted
LC Connector
27
Rev. 4.21
27
Introductions to SANs
Single-Mode Fiber
One coherent stream of light to travel single path Longwave lasers Single-mode, step-index fiber
Core
Single-Mode
[Rev. # or date]
HP Restricted
28
Rev. 4.21
28
Introductions to SANs
[Rev. # or date]
HP Restricted
29
Step-index fiber does not align the light rays along the axis of the core. Typically, the modal dispersion of a step-index fiber is high; however, with a single-mode fiber and a single mode of light traveling in the core, step-index fiber provides adequate conductive characteristics. Single-mode fiber has the highest bandwidth and lowest loss performance. The core is so small that only a single mode of light can enter it. Therefore, the chromatic and modal dispersion are greatly reduced or eliminated. The information-carrying capabilities of the single-mode fiber are infinite. Single-mode fiber supports speeds of tens of gigabits per second and can carry many gigabit channels simultaneously. Each channel carries a different wavelength of light without any interference. Single-mode fiber is the preferred medium for long-distance telecommunications. It is also useful in networks for inter-building runs and high-speed backbones. Applications for singlemode fiber to the desk are not anticipated.
Rev. 4.21
29
Introductions to SANs
Multimode Fiber
Multiple streams of light to travel different paths Most popular for networking
50/125 62.5/125
Core
Multimode
[Rev. # or date]
HP Restricted
30
Rev. 4.21
30
Introductions to SANs
[Rev. # or date]
HP Restricted
31
Step-index fiber has a high modal dispersion. The core material (n1) is not graded, it does not focus the light beam to follow the cores axis (axial transmission). The different light rays leaving the source simultaneously reach the destination at significantly different times, reducing the bandwidth of the fiber and its distance. Step-index fiber: Is inexpensive Decreases bandwidth and distance Has a higher modal dispersion than graded-index fiber Is seldom used in networking and data communications
Rev. 4.21
31
Introductions to SANs
[Rev. # or date]
HP Restricted
32
Grading of the fiber-optic core focuses the light beam closer to the axis of the core. The light rays travel closer to the axis, which reduces travel distance and synchronizes arrival rates. Grading is achieved by varying the chemical composition of the core material (n1). Graded-index fiber: Is more expensive than step-index fiber. However, manufacturing advances and wide adoption of fiber-optic cabling have significantly reduced its manufacturing costs. Increases bandwidth and distance. Has a lower modal dispersion than step-index fiber because it provides more accurate signal transmission. Is frequently used in networking and data communications (nearly all multimode fibers used in networking have a graded index).
Rev. 4.21
32
Introductions to SANs
Attenuation
Loss of power as a signal travels over a distance Specified in decibels per kilometer (dB/km) Is lessened with higher-quality, more expensive, single mode fibers Is greater with lower quality, less expensive, multimode fibers
[Rev. # or date]
HP Restricted
33
Attentuation can result from: Light absorption caused by material impurities Light scattering caused by material impurities or by the defects at the core/cladding interface, and by the scattering of the molecules of the medium (silica) Macro bends (cable bends beyond the specified radius) Micro bends (cable wrapping or squeezing) Scattering and reflection at cable splices.
Rev. 4.21
33
Introductions to SANs
Dispersion
[Rev. # or date]
HP Restricted
34
Dispersion is the degree of scattering of the light beam as the light beam travels along the fiber-optic cable. Types of dispersion: Scattering Loss of a light signal caused by microscopic impurities of the material Chromatic dispersion Loss of light signal caused by different wavelengths traveling at different speeds Modal dispersion Loss of light signal caused by different light rays traveling different path lengths within the fiber
Rev. 4.21
34
Introductions to SANs
Macro Bending
25mm
[Rev. # or date]
HP Restricted
35
Macrobending is the physical bending of the fiber cable past the specified radius (25 mm). As the fiber exceeds the specified radius, the light loses some particles and attenuation increases.
Rev. 4.21
35
Introductions to SANs
Micro Bending
[Rev. # or date]
HP Restricted
36
Microbend Loss
Minimum bend radius is the radius of an optical fiber or fiber-optic cable that should not be bent. The minimum bend radius is of particular importance in the handling of fiber-optic cables. It will vary with different cable designs. The manufacturer should specify the minimum radius to which the cable may safely be bent during installation, and for the long term Minimum bend radius for a fiber channel cable should be at least 3 centimeters. If the cabling is bent beyond 3 cm., data loss or corruption is likely to occur. The cabling can crack or break. When the light encounters a break or microbend it scatters.
Rev. 4.21
36
Introductions to SANs
[Rev. # or date]
HP Restricted
37
Rev. 4.21
37
Introductions to SANs
[Rev. # or date]
HP Restricted
38
Rev. 4.21
38
Introductions to SANs
Bit rates between 100 Mb/s and 2.5 Gb/s Wavelength Division Multiplexing devices can be used to extend the distance between two Fibre Channel switches Devices are transparent to the switches themselves and do not count as an additional hop Wavelength Division Multiplexing is supported for both 1 Gbps and 2 Gbps.
[Rev. # or date]
HP Restricted
39
Rev. 4.21
39
Introductions to SANs
[Rev. # or date]
HP Restricted
40
Protocol that encapsulates Fibre Channel frames into IP packets and tunnels them through an existing IP network infrastructure to transparently connect two or more SAN fabrics together FCIP Gateways perform Fibre Channel encapsulation process into IP Packets and reverse that process at the other end FC Switches connect to the FCIP gateways through an E_Port for SAN fabric extension to remote locations A tunnel connection is set up through the existing IP network routers and switches across LAN/WAN/MAN
Rev. 4.21
40
Introductions to SANs
Learning check
Learning Check
1. What is Microbending? . . 2. What Fibre Channel layer is responsible for encoding and decoding? . . 3. What is the difference between Single-mode and Multimode fiber? . .
Rev. 4.21
41
Introductions to SANs
Rev. 4.21
42
Introduction to SANs
SAN Topologies
SAN Topologies
Module 3
HP Restricted
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introduction to SANs
SAN Topologies
Objectives
This unit prepares students to:
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
Point-to-point
Is inexpensive Uses full bandwidth Connects two devices only
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
FC-AL
Node A
NL_Port 0 NL_Port 0 Receiver Receiver
Transmitter Transmitter Transmitter Transmitter
Node B
NL_Port 1 NL_Port 1
Receiver Receiver
FC HUB
Node D
NL_Port 3 NL_Port 3 Receiver Receiver
Transmitter Transmitter Transmitter Transmitter
Node C
NL_Port 2 NL_Port 2
5
Receiver Receiver
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
WWN identifiers
50 00 - 1F E1 00 0B - 00 08
Vendor-specified Identifier IEEE Company Identifier. 0001FE = Digital Equipment Corporation. FC-PH WWN format identifier
[Rev. # or date] HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
Loop initialization
The AL_PA is assigned during the loop initialization A port on the loop assumes the role of loop master to manage the generation of a positional map of the loop If an FL_port is present on the loop, it becomes the temporary loop master; otherwise, an NL_port assumes the role The loop master generates and transmits a 128-bit map used to assign the loop addresses
This map is transmitted in a frame from loop port to loop port around the loop Each loop port examines the map to view the unassigned addresses. When an unassigned address is present, the loop port fills in the map to designate that the address has been assigned and forwards the map to the next loop port.
After the AL_PA bit map has returned to the loop master, it contains a complete map of all the ports on the loop The loop master then transmits the completed frame so that all the ports on the loop can capture the completed positional map.
[Rev. # or date] HP Restricted
Rev. 4.21
Introduction to SANs
SAN Topologies
Private loop
A private loop can accommodate up to 126 NL_ports A private loop contains only devices which are not fabric aware Private loop devices cannot communicate with fabric devices
HUB
[Rev. # or date]
HP Restricted
10
Rev. 4.21
10
Introduction to SANs
SAN Topologies
Public loop
A public loop can accommodate up to 126 NL_ports and one FL_port The FL_port extends the number of nodes for communication.
HUB
HUB
[Rev. # or date]
HP Restricted
11
A Public Loop device or node is capable of logging into the fabric and can communicate with other devices in the fabric. Note: Fibre Channel Public Loop devices must communicate through the fabric. Switches cannot connect to one another through the loop. Each public loop device must connect to the fabric through only one FL_port.
Rev. 4.21
11
Introduction to SANs
SAN Topologies
[Rev. # or date]
HP Restricted
12
Rev. 4.21
12
Introduction to SANs
SAN Topologies
NL_Ports
NL_Port 0 NL_Port 0 Receiver Receiver Transmitter Transmitter Transmitter Transmitter Receiver Receiver
Node B Node B
NL_Port 1 NL_Port 1
Node B
N_Port 1 N_Port 1 FL_Port FL_Port F_Port F_Port
Receiver Receiver
Transmitter Transmitter
Transmitter Transmitter
FC_AL
Node D Node D NL_Port 3 NL_Port 3 Receiver Receiver
FC HUB
Transmitter Transmitter
Transmitter Transmitter
Receiver Receiver
Receiver Receiver
Node A
N_Port 0 N_Port 0
Transmitter Transmitter
Fabric
F_Port F_Port
Receiver Receiver
Transmitter Transmitter
Receiver Receiver
[Rev. # or date]
HP Restricted
13
A network of switches in a Fibre Channel environment is referred to as a fabric. Nodes connect into this fabric to access other nodes. A wide-open architecture uses intelligent switches to connect many ports. The Fibre Channel fabric was designed as a generic interface between a node and the physical layer. By adhering to this interface, Fibre Channel nodes can communicate over the fabric with other nodes, without knowing what that node is. A fabric is often referred to as a switch topology. Frames are routed through various switches by having the fabric elements interpret the destination address identifier in a frame as it arrives at each fabric element. Ports on one node can communicate with ports on other nodes connected to the same fabric. With the fabric topology, many connections can be active at the same time. The any-to-any connection service and peer-to-peer communication service provided by a fabric is fundamental to Fibre Channel architecture.
Rev. 4.21
13
Introduction to SANs
SAN Topologies
SS = Switch Domain ID (Switch Number) PT = Port Type 1 = 2nd/3rd Generation Switch 4 = 2nd Generation Compat. Mode 0 = 1st Generation
(SS = Switch 1 239) (SS = Switch 0 31) 5 bits (SS = Switch 0 31) 5 bits
P = Switch Port Number. When Core PID = 1, both PT & P comprise the port number. Ex: 26 = Port 38 (2 x 16 + 6) If FF = 00 then port is F-Port or fabric. If FF = A non-zero value, then port is FLPort. This is the ALPA for the port.
[Rev. # or date] HP Restricted
14
HP no longer sells 1st Generation switches and has replaced most of them through an exchange program when the 2cd Generation switches came out. There is the possibility there may still be some 1st Generation switches in customer sites.
Rev. 4.21
14
Introduction to SANs
SAN Topologies
[Rev. # or date]
HP Restricted
15
A fabric facilitates device discovery by using a Name Server service in each switch. The name server is a database of registered devices. N_PORTS (or public NL_PORT) register with the Name Server by performing a successful PLOGI to 0xFFFFFC well-known address. The device may register values for some or all of the database objects, 64-bit Port Name, 64-bit Node Name, class of service parameters, FC-4 protocols supported, and port type, such as N_Port or NL_Port. For example, the Name Server makes it possible for a file server to begin discovering disk targets by inquiring for a list of all port addresses registered with the switch, or only those ports addresses that reported SCSI-3 support.
Rev. 4.21
15
Introduction to SANs
SAN Topologies
Translative Mode
Fabric direct attach Nodes
NN NN NN
N F Public Loop Address F Private Loop Address FL FL N
LL LL PP
Public Loop NL NL
00 00 PP
Public Loop
NL
Public Nodes
[Rev. # or date] HP Restricted
Private Node
16
Translative mode allows private loop devices to communicate with fabric-capable devices. This can be accomplished by manipulating the loop identifier of the private loop devices port address. On a private loop segment, the loop identifier is x0000, indicating that the device is non-fabric. The fabric can proxy a loop identifier and create an entry in the SNS, which would allow fabric-capable devices to access it. Private devices use an address format of 00 00 PP, where PP = the local loop address (AL_PA). This type of address is all that a Private device is capable of receiving or sending (8 bits). Therefore, the Private devices may only communicate with the devices it can see on the local loop. Fabric attached devices use an address format of NN NN NN, where: NN NN NN is the address of any Fabric-attached device that has logged into the fabric. This type of address is used by all fabric-attached devices to communicate across the fabric (24 bits). Fabric-attached devices are either directly attached via G_Port or are loop attached via an FL_Port. Public Loop attached devices use an address format of LL LL PP, where: LL LL is assigned by the fabric at login time PP is the local loop address (AL_PA). This type of address is simply a fabric assigned address for a device attached to an FL_Port (24 bits). The value of LL LL is the same for all Public Loop devices attached to the same FL_Port.
Rev. 4.21
16
Introduction to SANs
SAN Topologies
Learning check
Learning Check
1. What is the difference between a public and private loop? . . 2. Describe the fabric login process. . . .
Rev. 4.21
17
Introduction to SANs
SAN Topologies
Rev. 4.21
18
Introduction to SANs
Module 4
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Introduction to SANs
Objectives
This unit prepares students to:
Describe Brocade Native Addressing Mode Describe Brocade CORE_PID Addressing Mode Describe Brocade Extended Edge Addressing Mode
[Rev. # or date]
HP Restricted
Introduction to SANs
XX1YZZ
XX IS A VALUE BETWEEN 0x1 and 0xEF inclusive (Domain ID 1-239 in decimal. The 1 means native mode. Y is the port number 0x0 0xF (0-15 decimal). ZZ is the AL_PA for a Loop device or 00 for an F-port.
12141C = Domain 18, Port 4, AL_PA 1C 041A00 = Domain 4, Port 10, Fabric Direct Attach
[Rev. # or date]
HP Restricted
Introduction to SANs
Core PID - Designed for switches of any port count Supported in Fabric OS v2.X, v3.X, and v4.X Default setting in Fabric OS v3.X and v4.X All switches in a fabric must be set to the same PID format
[Rev. # or date]
HP Restricted
The Native PID format was introduced with the SilkWorm 2000-series switches. This format supports up to 16 ports per switch. The Core PID format was introduced to support SilkWorm switches with more than 16 ports. This format supports up to 128 ports per switch.
Introduction to SANs
XXSPZZ
XX IS A VALUE BETWEEN 0x1 and 0xEF inclusive (Domain ID 1-239 in decimal. The 1 means native mode. X is the logical slot number 0x0 0x3 (0-3 decimal on 12000, 0-1 decimal on 3900) P is the physical port in that slot 0x0 to 0xF (0-15 decimal). ZZ is the AL_PA for a Loop device or 00 for an F-port.
12141C = Domain 18,Slot 1, Port 4, AL_PA 1C 040A00 = Domain 4, Slot 0, Port 10, Fabric Direct Attach
[Rev. # or date]
HP Restricted
Introduction to SANs
Problem - solution
Problem: Adding high-port count switch (SilkWorm 3900/ 12000/ 24000) to a Native PID fabric can be disruptive to some servers
High-port count switches require Core PID format on all switches in the fabric Once you change the PID format on the existing switches to Core PID, the switch port PIDs change as well Servers that use static PID binding may need to be reconfigured and rebooted a disruptive event
Solution: Need a new PID format that is compatible with Native PID Format and supports high-port count switches
Result: Existing Native PID format switches continue to present the same PID no host reboot required!
[Rev. # or date]
HP Restricted
Since all switches in a fabric must have the same PID format, converting a Native PID format switch to Core PID format changes the switch port PIDs. For example, the switch port PID for port 1 on domain 8 in Native PID format is 0x081100; in contrast, the switch port PID for port 1 on domain 8 in Core PID format is 0x080100 (note the difference in the third nibble). Any attached device will then change their PID as well, causing problems for those devices (particularly servers) that statically bind system parameters (SCSI ID, etc.) to the device PID.
Introduction to SANs
[Rev. # or date]
HP Restricted
The new Extended Edge PID format starts PID values at 0x10 the same value as does Native PID format. The maximum YY value in the PID is still 0x7f, as in the Core PID format, so when the port area value is between 112 and 127 (slot 10 in the SilkWorm 24000), the YY values wraps to the unused values 0x00 through 0x0f. Extended Edge PID format replaces Native PID format in Fabric OS v4.2.
Introduction to SANs
[Rev. # or date]
HP Restricted
The real advantage for the Extended Edge PID format is: Native PID switches (like the SilkWorm 3200 in the example above) can be converted to Extended Edge PID format without changing the switch port PID. This make it easier to add high-port count switches (SilkWorm 3900, 12000, and 24000) to an existing fabric of lower-port count Native PID switches.
Introduction to SANs
Configuring PID
Some Fabric OS license features may be affected by changes in the PID format particularly those features that require a port area value
Secure Fabric OS - DCC Policy Advanced Zoning domain, port zone member definitions Advanced Performance Monitor SID/DID definitions
[Rev. # or date]
HP Restricted
There are two ways to change the PID format: Use the configure command: First, disable the switch with the switchdisable command. Run the configure command. Change the Switch PID Format value to 0 (for Native PID), 1 (for Core PID), or 2 (for Extended Edge PID). Re-enable the switch with the switchenable command. Download a configuration file with the configdownload command Which approach is recommended? The configure command automatically translates port area values to reflect the new PID format. Do not change the PID format and the security policy, zoning database, or APM monitors at the same time the automatic updates may not be completed correctly! The configdownload command may not automatically translate port area values to reflect the new PID format. If the downloaded switch configuration includes security policies, zone values, or APM monitors, those area values are not automatically translated Solution: omit these settings from the configuration file
Introduction to SANs
Learning check
Learning Check
1. Why is the PID format necessary? . . 2. Under what circumstances would you use a format other than the Native PID format? . .
Introduction to SANs
Introduction to SANs
Module 5
Introduction to SANs
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introduction to SANs
Objectives
This unit prepares students to:
Setup COM port connection to Brocade switch Determine if the switch has booted successfully after POST Configure IP addresses for switches Logon via telnet to Brocade switch Upgrade Brocade switch Firmware Reset the switch to its Factory Default settings Change the switch configuration parameters Save and restore configuration Verify Brocade switch status using show commands
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
P I S A N S wi h 2 / 6 c t 1 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5
Power supply#1
Power supply#2
1. 2. 3. 4. 5. 6.
Insert SPFs in the port slots Connect serial port to a PC with HyperTerminal Connect power cords to each installed Power supply Turn on switch power; Wait for the switch to run POST and boots boots Configure switch IP address using HyperTerminal (Br2400 only) Connect FC cables from switch ports to hosts and devices
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
Each time the switch is powered on, rebooted, or reset, the switch automatically runs a Power-On Self Test (POST). During POST the port status LEDs flash, verifying that the switch is operating properly. POST completes in approximately six minutes, with total boot time approximately seven minutes. If the switch prompt does not display when POST completes, POST was unsuccessful. To determine whether POST completed without errors, verify that all LEDs return to a normal state after POST is complete.
Rev. 4.21
Introduction to SANs
P I SA NS wi h 2 / 6 c t 1 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5
Required Cable :
Need A PC with: HP P/N XHP-000027 HyperTerminal Utility Tip: Any straight-through serial cable (DB9 female Available COM port to female) with only pins 2, 3 and 5 9600 Baud 8 bits No parity One stop bit No hardware flow control
5
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
For Br3800, use the COM port To set IP address: Establish a connection to the shell over the serial port Enter the data to the ipAddrSet command Copy the IP Address to the label provided on the front panel To reset factory defaults: Establish a connection to the shell over the serial port Enter the configDefault command
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
Logon
Login capabilities
Admin: access all switch commands in the help menu User: access commands that do not modify the switch state
e.g. show commands
Changing passwords
`admin login to change passwords for all users Type `passwd command; Each username is displayed in sequence allowing the administrator to change each password and username Enter a password or name while a user name is displayed to replace the existing password or name Resetting to factory defaults will clear the customer password
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
Logon
Based on VxWorks shell, Telnet is the superset of the management choices User needs the following for successful logon: Switch Name or IP address User Name Password Only one Telnet session is allowed per switch at a time Login synopsis: telnet [Switch_Name | IP_address] SilkWorm login: [admin | user] Password: [password] Survival commands you should know help [command] to display list of available commands switchShow to display switch information nsShow to display SNS information fabricShow to display fabric information reboot to reboot the switch fastBoot to reboot without testing memory Tip: Command to save and restore customers configuration. This is recommended before any modification. Proceed as follow: configUpload (Immediately `Return will force interactive mode) IP Address: IP address of the host to save file to. Username: root Protocol: <rshd |ftp> Password: (mandatory if Ftp is used) Filename: (e.g. /tmp/my_config) And to restore the configuration, in case of troubles: ConfigDownload (Immediately `Return will force interactive mode) IP Address: IP address of the host to save file to. Username: root Protocol: <rshd |ftp> Password: (mandatory if Ftp is used) Filename: (e.g. /tmp/my_config)
Rev. 4.21
Introduction to SANs
firmwareDownload
Download the firmware file from source Logon to the switch as `admin via telnet Type the command FirmwareDownload (Immediate`Return will force interactive mode) Host IP Address Username = `root Protocol = <rshd |ftp> Password (mandatory if Ftp is used) Filename (e.g. v2.1.9f) fastboot
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
Rev. 4.21
10
Introduction to SANs
[Rev. # or date]
HP Restricted
11
Rev. 4.21
11
Introduction to SANs
Rev. 4.21
12
Introduction to SANs
Configuration Parameters
Switch:admin> configure Configure Fabric parameters (yes,y,no,n): [no] Virtual Channel parameters(yes,y,no,n): [no] Arbitrated Loop parameters(yes,y,no,n): [no] System service (yes,y,no,n): [no]
[Rev. # or date]
HP Restricted
13
Rev. 4.21
13
Introduction to SANs
Configuration Parameters
The configure command is navigated by entering a series of collapsible top-level menus. Each menu divides up the various switch configuration parameters into logical groupings, which include: fabric parameters, virtual channel parameters, arbitrated loop parameters, and system service parameters. Each top-level menu and its associated sub-menus consist of a text prompt, a list of acceptable values, and the current value (shown in brackets). The current value is used in the absence of an entered value when a carriage return is the only input entered at the prompt. These menus change with firmware revisions. The current firmware may not match this example completely. Detail of configure command:
switch:admin> configure Configure... Fabric parameters (yes, y, no, n): [no] yes Domain: (1..239) [1] BB credit: (1..16) [16] R_A_TOV: (4000..120000) [10000] E_D_TOV: (1000..5000) [2000] Data field size: (256..2112) [2112] Non-SCSI Tachyon Mode: (0..1) [0] Disable Device Probing: (0..1) [0] Unicast-only Operation: (0..1) [0] VC Encoded Address Mode: (0..1) [1] Per-frame Route Priority: (0..1) [0] Virtual Channel parameters (yes, y, no, n): [no] yes VC Link Control: (0..1) [0] VC Class 2: (2..5) [2] VC Class 3: (2..5) [3] VC Multicast: (6..7) [7] VC Priority 2: (2..3) [2] VC Priority 3: (2..3) [2] VC Priority 4: (2..3) [2] VC Priority 5: (2..3) [2] VC Priority 6: (2..3) [3] VC Priority 7: (2..3) [3] Arbitrated Loop parameters (yes, y, no, n): [no] yes Send FAN frames?: (0..1) [1] System services (yes, y, no, n): [no] yes rstatd (on, off): [off] on rusersd (on, off): [off] on No changes. Disable Translative Mode: (0..1) [1]
Rev. 4.21
14
Introduction to SANs
nsShow nsAllShow
Displays local Nam Server inform tion, which includes e a inform tion about devices connected to this switch, and a cached inform tion about devices connected to other a switches in the Fabric. Displays the (24-bit Fibre C annel) port IDs of all devices h in all switches in the Fabric. The nsAllShow com and m optionally takes an integer param ter, the value of the FC e PH type. The possible values for FC Type are: 4
5 - FCIP 8 - SC I-FC S P
Displays the switch and port status. Displays a list of switches and m lticast alias groups in a u fabric. Displays the current Q ickLoop configuration. u
HP Restricted
15
Rev. 4.21
15
Introduction to SANs
Learning check
Learning Check
1. Describe the process used to change the TCP/IP address of the switch. . . 2. What command do you use to update the switch firmware? . 3. What command do you use to reset the switch to its factory default settings? .
Rev. 4.21
16
Introduction to SANs
Rev. 4.21
17
Introduction to SANs
Rev. 4.21
18
Introduction to SANs
Module 6
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introduction to SANs
Objectives
This unit prepares students to:
Describe the process of how a device communicates with SNS Identify the main attributes that are automatically registered with SNS Describe Brocades implementation of SNS
[Rev. # or date]
HP Restricted
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
Introduction to SANs
Node attributes
Node name (World Wide Name) IP address Initial Process Associator Node symbolic name
[Rev. # or date] HP Restricted
Rev. 4.21
Introduction to SANs
Initiator N-port
Fabric Login : FLOGI
F-port
Fabric
ACK
F-port
N-port
Recipient
2. 3. 4.
Fabric notifies all N-Ports of new entry in the SNS (State Change Notification). Each N-Port does a PLOGI to SNS to learn all N-Port WWIDs, then disconnects. An N-port does a Process Login (PRLI) through fabric to another N-port to create connections.
HSG PLOGI to KGPSA
Port Login: PLOGI PLOGI ACK ACK ACC : Accept Receives Parameters ACK ACK
5.
Each switch port automatically Logs_Out a link if it loses either light or carrier.
HP Restricted
[Rev. # or date]
Rev. 4.21
Introduction to SANs
Initiator N-port
Fabric Login : FLOGI
F-port
Fabric
ACK
F-port
N-port
Recipient
2. 3. 4.
Fabric notifies all N-Ports of new entry in the SNS (State Change Notification). Each N-Port does a PLOGI to SNS to learn all N-Port WWIDs, then disconnects. An N-port does a Process Login (PRLI) through fabric to another N-port to create connections.
HSG PLOGI to KGPSA
Port Login: PLOGI PLOGI ACK ACK ACC : Accept Receives Parameters ACK ACK
5.
Each switch port automatically Logs_Out a link if it loses either light or carrier.
HP Restricted
[Rev. # or date]
Rev. 4.21
Introduction to SANs
nsShow
switch06:admin> nsshow The Local Name Server has 8 entries { Type Pid COS PortName NodeName N 021300; 3;50:06:0b:00:00:07:d5:00;50:06:0b:00:00:07:d5:01; FC4s: FCP Fabric Port Name: 20:03:00:60:69:10:32:0a NL 0217c9; 3;10:00:00:e0:02:21:ef:7b;10:00:00:e0:02:01:ef:7b; FC4s: FCP [HP C7200 1330] Fabric Port Name: 20:07:00:60:69:10:32:0a NL 021d02; 1,2,3;10:00:00:10:83:b8:7e:f7;10:00:00:10:83:b8:7e:f7; Fabric Port Name: 20:0d:00:60:69:10:32:0a NL 021f7a; 3;50:06:0b:00:00:05:92:33;50:06:0b:00:00:05:92:33; FC4s: FCP [HP A5236A HP06] Fabric Port Name: 20:0f:00:60:69:10:32:0a NL 021f8f; 3;21:00:00:20:37:0f:c4:95;20:00:00:20:37:0f:c4:95; FC4s: FCP [SEAGATE ST39102FC HP03] Fabric Port Name: 20:0f:00:60:69:10:32:0a NL 021f90; 3;21:00:00:20:37:26:51:79;20:00:00:20:37:26:51:79; FC4s: FCP [SEAGATE ST39102FC HP03] Fabric Port Name: 20:0f:00:60:69:10:32:0a NL 021f97; 3;21:00:00:20:37:0f:bc:f1;20:00:00:20:37:0f:bc:f1; FC4s: FCP [SEAGATE ST39102FC HP03] Fabric Port Name: 20:0f:00:60:69:10:32:0a NL 021f98; 3;21:00:00:20:37:0f:c5:62;20:00:00:20:37:0f:c5:62; FC4s: FCP [SEAGATE ST39102FC HP03] Fabric Port Name: 20:0f:00:60:69:10:32:0a
TTL(sec) na
na
na na
na
na
na
na
[Rev. # or date]
HP Restricted
Nsshow prints the local name server information Type - the port type which can be either N_Port or NL_Port Pid -the addressID of the port in hexidecimal COS - the Class of Service supported by the device PortName the Port World Wide Name NodeName the Node World Wide Name associated with the port TTL - the time-to-live value of the entry. Tis is usually set to n/a FC4s The FC4 protocols used Fabric Port Name the WWN of the switchports
Rev. 4.21
Introduction to SANs
nsAllShow
switch06:admin> nsallshow 17 Nx_Ports in the Fabric {0110e0 011300 011f8f 011f90 011f97 011f98 021300 0217c9 021d02 021f7a 021f8f 021f90 021f97 021f98} Switch06 : admin> nsAllShow 5 2 FC-IP Ports in the Fabric 011200 021200 Switch06 : admin> nsShowAll 8 8 FCP Ports in the Fabric 0118e2 0118e4 0118e8 0214e2 0214e4 0214e8
[Rev. # or date]
HP Restricted
nsAllShow displays the (24-bit Fibre Channel) port Ids of all devices in all switches of the fabric. The command usually takes a aprameter, the value of the FC4 type 5 - FC-IP 8 - SCSI-FCP
Rev. 4.21
Introduction to SANs
CN RS
RS CN
[Rev. # or date]
HP Restricted
HBAs need to be good citizens to work correctly with the Name Server. The attributes of a good citizen are: It supports RSCNs (Registered State Change Notification It queries the Name Server for available ports It accesses only ports that are defined by the Name Server
Rev. 4.21
Introduction to SANs
First two bytes 10:00 is the IEEE format. The first four bits are used by the vendor, and the remaining three nibbles 0:00 are all zeroes; they are reserved for future use. Example of Port WWN format from the SilkWorm:
20:04:00:60:69:00:00:55
First two bytes 20:04 are the IEEE Header. The difference between the Port WWN and the Node WWN is that in the Port WWN, the lower three nibbles can be used by the vendors as they wish; for instance, Brocade puts the port number in the three nibbles. 0:04 means this port is port 4. The WWN are assigned to manufacturers.
Rev. 4.21
10
Introduction to SANs
portShow
switch06:admin> portshow 3 portFlags: 0x23805b NOELP LED ACCEPT portType: 3.1 Online In_Sync F_Port PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN
[Rev. # or date]
HP Restricted
11
11
Introduction to SANs
[Rev. # or date]
HP Restricted
12
xFF FFF5 Multicast Server. This service acts as the destination port for responses and aggregates them properly in order to send a single response to the multicast originator so as to provide a reliable, acknowledged unidirectional multicast. xFF FFF6 Clock Synchronization Server. Used for synchronizing fabric-wide real-time clocks. xFF FFF7 Security Key Distribution Server. Used for securely distributing authenticated private keys for port pairs so that they may securely exchange encrypted data. xFF FFF8 Alias Server. When alias addresses are implemented, the entity addressed at this address will maintain Alias identifier mappings. xFF FFF9 Quality-of-Service Facilitator. This service allows reservation of some fraction of the available link bandwidth and/or allows a guarantee of maximum delivery latency. xFF FFFA Management Server is an optional entity, which collects and reports information on link usage and quality, errors, and so on. xFF FFFB Time Server is an optional entity used to distribute synchronized time values. xFF FFFC Directory Server or Name Server. An optional entity contained either within the fabric or at an N_Port that maintains tables correlating N_Port Address Identifiers with N_Port Name Identifiers and possibly many other port characteristics. xFF FFFD Fabric Controller. A required entity within the fabric that controls the general operation of the fabric, including fabric initialization, frame routing, generation of link responses, and setup and tear down of dedicated connections. xFF FFFE Fabric Login Server is a required entity within the fabric that provides access to the fabric for Fabric Login (FLOGI). This entity assigns, confirms, or reassigns N_Port address identifiers and notifies N_Ports of the operating characteristics of the fabric, if present. xFF FFFF Broadcast address. If this optional function is supported, the fabric will route frame with this destination ID to every connected N_Port.
Rev. 4.21
12
Introduction to SANs
Learning check
Learning Check
1. What functionality does a SNS server provide? . . 2. How does a device register with the SNS server? . . 3. What information is gathered by the SNS server? . .
Rev. 4.21
13
Introduction to SANs
Rev. 4.21
14
Brocade Zoning
Module 7
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Objectives
This module prepares students to:
Describe zoning concept advantages and limitations Define the different types of zoning for Brocade switches Configure a multiple zone fabric Perform merging of two fabrics with zoning configurations
Security Comparisons
Comparisons of different security models Advantages
Host Level (OV-SAM Allocater)
Disadvantages
Management software is host/HBA specific and must be present on all hosts in the SAN to be effective. Someone can plug a host into the SAN that can see and corrupt data. This is particularly vulnerable in a multiple campus situation. Granularity is at port and node level or WWN level (Not LUN level). When connecting switches from different vendors, zoning choices may be limited. Most switch vendors use WWN zoning when flexibility is required. (i.e. Separating devices on loop into different zones.)
Mixed heterogeneous devices Independent of target devices Ease the management of a storage pool.
Independent of hosts and target devices. Safe-guard unauthorized hosts to interrupt the SAN
Device dependent low end array or JBOD may not support this function. Administration may become cumbersome for large node counts (e.g. 200 NT servers sharing a LUN for mail database.) Firmware changes can disturb settings (Secure Manager Only)
Security Comparisons
Data access can be implemented at several different levels within the SAN environment. Each of these has advantages and disadvantages. The level selected will be chosen for the particular needs of the customers SAN environment. Host level security offers a single point of management for a large data center. Hosts with many different operating systems can be managed by Open View Storage Area Manager, as clients. However, a host that lacks the software may be unaware of the disk allocations and may access and corrupt storage in the SAN. Switch level security may be more secure than host security, but can be constrained by the topology. Port zoning is very limiting for topologies that have many devices connected through hubs. Switch level zoning cannot separate LUN access for a given device. Device level security is highly secure, but may require time-consuming administration to implement. Not all devices have this function. Firmware changes on these devices may alter the security function, and can impact the availability of the device.
Zoning Example
The server in the red zone sees one loop of disks and one tape The server in the blue zone sees two storage arrays The server in the green zone sees one loop, one array, and one tape No server sees loop 2
Zoning Example
Zones may be configured dynamically. The number of zones and zone members are effectively unlimited. Zones vary in size and shape, depending on the number of Fabric connected devices and device locations. Devices may be members of more than one zone. This is called over-lapping zones. In addition, multiple configurations can be created, as an example, for enterprise backup and for normal work access. Zone members see only members in their zones and, therefore, access only one another. A device not included in a zone is not able to access any devices devices.
Zoning Components
A Hierarchical Structure
Fabric
Cfg_I
Fabric may have more than one Cfg Only one Cfg can be active Cfg is a container for zones Zones may overlap Zone is a container for members Members may be Defined with Aliases Member can be A fabric physical port number A node or port WWN An AL_PA An Alias
Member#n
Zone_XYZ
Cfg _N
Zone Enforcement
Soft zoning Soft zoning is software enforced Brocade zoning. The zoning enforcement is implemented in the firmware, using the entries of the Simple Name Server to determine if the transaction is allowed. The members of the zones must be good citizens. A good citizen is a member that uses the Name Server, supports RSCN (Remote State Change Notification) and does not circumvent the Name Server for access to other ports. A bad citizen is a node that probes the switch, either because of malfunction or malice, to access a device that it should not access. What this means is if there is a server/HBA/Driver that will probe the ports on the switch, that server/HBA/Driver would be able to talk to any device it found because it did not use the Name Server and behave properly. In the Brocade 2x00 Silkworm switches, WWN zoning is software enforced. The term soft zoning became used to mean the same thing as World-wide Name zoning. In the Brocade 3x00 Silkworm switches, WWN zoning can be hardware enforced. It is important to separate the enforcement from the format for zoning. Hard zoning Hard zoning is hardware enforced zoning. Zoning is enforced by the ASIC. It is not vulnerable to probing by a bad citizen node. In the Brocade 2x00 Silkworm switches, port zoning is enforced in the hardware. The term hard zoning came to mean the same thing as port zoning. With the 3x00 Silkworm switches, WWN zoning is also hard zoning. This terminology is no longer valid.
2x00 zoning
Mechanisms Soft Zoning for WWNs Hardware Zoning for Domain, Port Enforced at fabric-level QuickLoop Soft Zoning for AL-PAs Granularity (domain, port), WWNs, AL-PA (QuickLoop) Security Hardware enforcement is very secure Probing possible when soft zoning
3x00 zoning
Mechanism Port-level zoning is Hardware Enforced WWN zoning is Hardware Enforced Mixed zones, Fabric Assist zones and Quick Loop zones remain enforced through Name Server (Soft zoning) Granularity Same as in v2.x Security Hardware enforced zoning is very secure Probing is still possible for ports with no hardware enforcement
Software Zoning (3x00 Silkworm) Mixed configurations are enforced in Soft zoning, as with the following command: zoneCreate mZone1 3,4; WWN1
Soft Porting
If a device is defined by port (D,P) in one zone and by WWN in another, the hardware enforcement at the port will be turned OFF and the zoning control will be controlled by Name Server. This is called soft porting. Example: aliCreate Host1a, 1,2 aliCreate Storage1a, 1,4 zoneCreate pZone1, Host1a; Storage1a zoneCreate pZone2 ,1,5; 2,4 aliCreate Host1a, 50:00:0b:01:b2:2f:14 aliCreate Storage1b, 50:00:0b:01:00:2f:25 zoneCreate pZone3, Host1b; Storage1b zoneCreate pZone4, 50:00:0b:01:b2:2f:14; 50:00:0b:01:00:2f:25 Host1a is defined by port zoning in pZone1 and by WWN zoning in pZone3.
Soft porting
In the example shown, the device identified as Host1a is defined using port zoning in Zone1, and defined using its WWN in Zone3. Either definition alone would result in Hard zoning. However, when the device is defined in each zoning type within a single configuration, the switch will not be able to enforce zoning within the ASIC. Soft zoning will be used, instead.
Zoning Rules(3x00)
ERROR/WARNING CODES
HARDSOFTMIX(warning) - Overlapping SOFT/FA and HARD zones. WWNINPORT Overlapping hard WWN and PORT zones. FAQLMIX Overlapping hard WWN or PORT zones with QL or FA zones DRIVERERR port-level detected unknown error NOMORECAM port-level depleted hardware resource CHECKBADWWN WWN probing detected
Port Zoning
Orange Zone: Host 1,1;2,11; O 2,11 1,1 1,8; 1,5;2,15; 1 11 1,4;2,14 8 Switch 1
1,8 Bridge 5 15 4 14
Switch 2
DLT DLT
1,4 1,5 2,15 2,14 1,14 2,4 2,5
DLT
XP
XP
Port Zoning
Port zoning is defined within the Brocade switch by specifying the switch Domain and physical Port. In the example there are two zones defined: the Orange Zone and the Green Zone. Access is allowed only through the specified port. If the cable to a port is moved to another port, the device will be unavailable. If the port is down or disabled, there will be no device access on that path. This example shows alternate paths in the zones. Port zoning logic is consistent with the HP-UX address and device file structure. Port zoning cannot separate or individually identify zone members of a looplet. All devices on the loop are defined in the zone by the port. Port zoning can be a disadvantage for consolidated storage devices, like the XP family. All the LUNs accessed through the port belong to the zone.
B-L0/6
Host G G-L0/6
1 14 4
G-L0/7
1
B-DLTS
11 15 4 14
11 8
G-DLTS
Bridge
8 5
Switch 1
Switch 2
5 15
Bridge
DLT DLT
B-FC1 B-XP1 B-XP2 B-FC2 G-FC1 G-FC2 G-XP1
DLT
XP B-L0/6: 50:06:0b:00:00:e6:e8
XP
Zoning commands (1 of 4)
Very important: This has no effect on the effective configuration until you execute a cfgEnable command.
Zoning commands (2 of 4)
cfgAdd Adds a zone to a configuration. cfgCreate Creates a zone configuration. cfgDelete Deletes a zone configuration. cfgRemove Removes a zone from a configuration. cfgShow Shows the zone configurations (defined and effective). aliAdd Adds a member to a zone alias. aliCreate Creates a zone alias. aliDelete Deletes a zone alias. aliRemove Removes a member from a zone alias. aliShow Shows all defined aliases.
Zoning commands (3 of 4)
zoneAdd Adds a member to a zone. zoneCreate Creates a zone. zoneDelete Deletes a zone. zoneRemove Removes a member from a zone. zoneShow Shows all defined zones.
Zoning commands (4 of 4)
Create Configurations
aliCreate zoneCreate cfgCreate
SDRAM
Switch Domain 1
Flash Memory
Brocade SilkWorm
Configuration Definitions Enabled Configuration
SDRAM
Switch Domain 1
Flash Memory
SDRAM
Switch Domain 1
Flash Memory
Configuration Definitions
SDRAM
Switch Domain 1
Flash Memory
SDRAM
Switch Domain 1
Flash Memory
If you have issued a cfgclear and then a cfgsave the switch will now save the cleared SDRAM into flash and everything in the switch will be cleared.
=> aliCreate Alias_Name,member;member;member Alias_Name member;member;member => zoneCreate Zone_Name,Alias_Name;1,2; WWN Zone_Name WWN => cfgCreate cfg_Name,Zone_Name;Zone_Name cfg_Name Zone_Name;Zone_Name => cfgEnable cfg_Name cfg_Name => cfgSave cfg_Name cfg_Name => configUpload host_IP,user,/file_name,password host_IP user /file_name password
Splitting fabric
If an ISL goes down, causing a fabric to split into two separate fabrics, then each new fabric retains the same zone configuration Fabric will re-merge when ISL is back up and no zone changes have been made
Zoning Example #1
ZoneG is enabled. Which devices can Host A see? Which devices can Host B see?
0/2/0/0
Host A
0/4/0/0
0/2/0/0
Host B
0/4/0/0
Switch 8 6
15
3 9
Switch 7 7
15 0
DLT
Host A
Host B
3 7 0
Switch 8 6
15
Switch 7 7
15 0
DLT
Host A
Host B
3 7 0
Switch 8 6
15
Switch 7 7
15 0
DLT
Switch 8 6
15
Switch 7 7
15 0
DLT
Switch 8 6
15
Switch 7 7
15 0
DLT
Learning check
Learning Check
1. What is the difference between hard and soft zoning? . . 2. Describe the relationship between zone members, zones, and zoning configurations. . . 3. What is the process for merging two separate fabrics together as it pertains to zoning? . .
Lab title
Lab #
Module 8
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Objectives
This unit prepares students to:
Perform cascading of Brocade switches Verify dynamic routing in a fabric Configure static route in a fabric Verify fabric topology Verify and Configure Dynamic Load Sharing Verify and Configure In Order Delivery Verify and Configure ISL Trunking
[Rev. # or date]
HP Restricted
Domain 1
12
14 Domain 2 3
11 Cost = 1000
Cost = 1000
Storage
A ROUTE is a map between an input port and an available PATH, to reach the next hop
[Rev. # or date] HP Restricted
Fully distributed (no single point of failure within the fabric) Fast recovery in case of link or switch failure Traffic load sharing over equivalent paths Link State Protocol FSPF (Fibre Channel Shortest Path First) Identify switches by DOMAIN_ID Determines the shortest paths, then maps into Routing
tables
[Rev. # or date]
HP Restricted
In a fabric, every switch has a path to every other switch. There is usually more than one path from a source switch to a
destination switch.
[Rev. # or date]
HP Restricted
Fast computation of new paths in the case of an E-Port failure or SAN topology change. The shortest route information (hop path) is then moved into the
hardware routing tables.
Traffic load sharing over equivalent cost metric paths High priority FSPF frames for fast fabric reconfiguration times FSPF frames used negligible bandwidth. Completely flexible for any fabric topology. Guaranteed in-order delivery, even during topology changes.
6
[Rev. # or date]
HP Restricted
In a stable fabric (one not undergoing topology changes), FSPF transmits less than 100 bytes of information every 10 seconds.
Path 1 goes directly from domain 1 to domain 3. Path 2 goes from domain 1 to domain 2, then to domain 3.
Only the shortest path (path 1) will be programmed into the routing tables.
HP Restricted
[Rev. # or date]
The optimum path between two switches is the one with the
lowest associated link cost.
The link cost is a cost metric which is inversely proportional to the bandwidth of the ISL. The link cost for a 1Gbps link is 1000. The link cost for a 2Gbps link is only 500. The linkCost command can be used to view or modify the
associated cost of any ISL. For example: linkCost 7, 500
The cost of a path between two switches is the sum of the cost of
all the traversed ISLs.
HP does not recommend the use of the linkCost command to alter costs because the switches are designed to automatically optimize SAN performance.
HP Restricted
[Rev. # or date]
Domain 1
1 3 4 6 2
5
10 10 00
00
7 8
9
1000
1 11
1000
10
Domain 2
Domain 3
[Rev. # or date]
HP Restricted
B-Series switches follow the FSPF protocol. This protocol assigns a cost metric according to bandwidth. The default value for a 1 Gbps ISL is 1000, with 2 Gbps ISL being 500. The path that is selected from a source domain (switch) to a destination domain (switch) is based on the total least metric cost. In the route selection diagram above, it is important to note that domain 1 has a total of 3 routes to domain 3. Two of the routes have a total metric cost of 1000 and one route has a total metric cost of 2000. Based on the FSPF protocol, only the routes with the total least metric cost count will be kept in the routing tables. In this case, 2 routes will be kept in domain 1s routing tables. Because the 3rd route to domain 3 is not kept in domain 1s routing table, it will never be selected to route frames to domain3. If this route has very little usage, the total possible bandwidth will not be realized between domain 1 and domain 3.
Domain 1
1 3 4 6 2
5
10 10 00
00
7 8
9
1
11
Domain 2
In the SAN diagramed above, the link metric cost has been altered with the linkCost command to include a 3rd route from domain 1 to domain 3. The fabric administrator must have a good understanding of existing routing throughout the fabric along with bandwidth utilization. If this is not taken into consideration when setting link costs, a negative performance condition may occur. An example of this would be setting the link cost between domain 1, port 5 to domain 3 to a value of 500. Since the FSPF protocol will only keep entries in the routing table for routes with the least metric cost count, this will reduce the number of routes from domain 1 to domain 3 to one! This may create a negative performance condition, since there is now only one path to domain 3 from domain 1. By issuing the linkCost command and specifying a port, this will display the metric cost for a single ISL. By issuing the linkCost without a parameter, this will display all ISLs and their link costs.
500
500
12
10
Domain 3
4 47 10
Domain 1
1 3 4 6 2
5
50 50 0
0
7
500
1
11
Domain 2
250
8
9
250 500
12
10
Domain 3
[Rev. # or date]
HP Restricted
4 48-49 11
In the route selection diagram above, the link metric cost has been altered with the linkCost command to include a third route from domain 1 to domain 3. By changing the metric cost for an ISL, this may also change the routing tables kept in the fabric and thus influence routing and overall path selection. In the above example, the linkCost command has been invoked from domains 1 and 2. First the linkCost for the ISL from port 6 on domain 1. The second linkCost command has been issued from domain 2 to reduce the metric cost from 1000 to 500 between domain 2, port 12 and domain 3. By reducing the ISL metric cost for these two ISLs, we now have 3 routes from domain 1 to domain 3 with equal total metric costs. All 3 routes will be kept in domain 1s routing table.
Static Routing:
Manually configurable Automatically re-route if ISL goes down Automatically re-take effect when ISL is back up Silkworm 2x00/3x00 and higher switches only
[Rev. # or date]
HP Restricted
12
Node 1
Node 2
Node 3
Node 1
Node 1
Switch 1
4 5 6 7
Switch 1
4 5 6 7
Switch 1
4 5 6 7
Switch 2
4 5 6 7
Switch 2
4 5 6 7
Switch 2
4 5 6 7
Initial Topology
[Rev. # or date]
HP Restricted
Load sharing
When multiple ISLs exist between two switches, and the ISLs
have the same link cost:
Each inport selects one ISL port for all communications to the other switcha static route. The outports are assigned to the inports based on the lowest number of static routes so that the workload is distributed as equally as possible between all available ISLs.
[Rev. # or date]
HP Restricted
14
An inport is any switch port that is not an E-port. An outport is any E-port or ISL.
uRouteConfig 2, 3, 12 uRouteRemove 2, 3
[Rev. # or date] HP Restricted
Storage
15
Fc 16B
Fc 16B
[Rev. # or date]
HP Restricted
16
Interswitch Link (ISL) trunking enables multiple links between switches to be combined to form single logical Fibre Channel links at aggregate speeds up to 8Gbps. These trunks simplify network design, optimize bandwidth utilization, and ensure that server-storage performance remains balanced under heavy network load. They result in better utilization of bandwidth at lower overall management cost. Trunking guarantees in-order delivery, which requires hardware support. Frames are striped from an individual sequence across multiple links rather than simply choosing a less loaded ISL out of the group for all the traffic for a given transaction. The link between switches is maintained, even if one of the individual ISLs fails.
ISL Trunking
Aggregate traffic onto fewer logical links
Automatically created when switches are connected Managed as a single logical 8Gbps ISL Fault-tolerant will withstand failure of individual links
[Rev. # or date]
HP Restricted
17
0.4 [Gb/s]
Host B
1.6 [Gb/s]
Host C
switch
switch
1 1 1
Disk A
Disk B
Disk C
<1.6 [Gb/s]
[Rev. # or date]
0.4 [Gb/s]
HP Restricted
<1.6 [Gb/s]
18
Assume 2Gb/s links. Prior to ISL Trunking, blocking could occur if Host A io and Host C io are routed through the same ISL. Static routing commands can mitigate this situation, but manual tuning is required. One of the primary performance constraints with current SAN implementations is that all fabric switches, regardless of vendor, have had to load share data traffic across multiple ISLs to ensure the in-order delivery that storage subsystems require. For instance, with three servers routed across two ISLs, each would be assigned a routetypically through a roundrobin method. At least two servers would be routed across the same ISL, potentially leading to congestion on the ISL, even if the other ISL has available bandwidth. Because devices and applications do not typically sustain or achieve full 100 Mbit/sec performance today, congestion has typically not been an issue. If congestion did become a concern, administrators could intervene by creating routes to prevent the higher performing servers from using the same ISL. However, as scaling and performance requirements continue to grow, more devices have to be routed across the network increasing the likelihood of congestion. Moreover, it becomes more difficult to create and manage static routes due to the complexity of the routes and network.To help solve this potential scalability issue, Brocade has developed high-performance ISL Trunking.
ISL Trunking
1.6 [Gb/s]
Host A
0.4 [Gb/s]
Host B
1.6 [Gb/s]
Host C
switch
switch
1 1 1
Disk A
Disk B
Disk C
1.6 [Gb/s]
[Rev. # or date]
0.4 [Gb/s]
HP Restricted
1.6 [Gb/s]
19
ISL Trunking automatically ties together as many as four 2 Gbit/sec ISLs to form up to a full 8 Gbit/sec ISL. Rather than having to load share across multiple links (as is the case with all of todays fabric switches), the links can balance the load across all of the ISLs through trunking.This load balancing helps ensure that there is no congestion in larger networks.The only possibility of congestion with a load-balanced trunk would be if the total traffic across the trunk actually exceeded the entire trunk bandwidth. Moreover, the number of devices routed across the ISLs no longer affects the congestion.This benefit enables administrators to focus on overall network performance rather than worrying about possible congestion due to a chance routing of multiple higher performance devices across a specific ISL.
[Rev. # or date]
HP Restricted
20
islShow
Aggregate Bandwidth
[Rev. # or date]
HP Restricted
21
Islshow gives information about all ISLs. Trunking Groups are identified in the rightmost column. Aggregate bandwidth is displayed. Only the Trunk Master is shown (slave links are not). This screen shot show 3 ISLs. One 6G Trunk and 2 1 G ISLs.
switchShow
[Rev. # or date]
HP Restricted
22
Here we can see the 2 1 G ISLs on ports 0 and 1. Even though they are on the same ASIC and going to the same switch they are not capable of trunking because they are at 1 G speed. They are most likely ISLd to a 2x00 switch incapable of trunking feature. Ports 4, 5 and 6 are going to another switch capable of trunking. Port 5 is the trunkmaster, 4 + 6 are the slave ISLs
Trunkable Switch
Fabric initialization process determines whether an E_Port can become a trunking port To guarantee in-order delivery all trunking ports must:
All All
ports in trunking group must reside in same ASIC quad ports must run the same 2G link speed way skew value between all ports in trunking group must be almost identical. The skew value is related to the cable length.
one
[Rev. # or date]
HP Restricted
23
The ASIC quads are ports 0-3, 4-7, 8-11, 12-15 on a 16 port switch. The ASIC quads are ports 0-3, 4-7, 8-11, 12-15, 16-19, 20-23, 24-27, 28-31 on a 32 port switch.
[Rev. # or date]
HP Restricted
24
Deskew counter
Minimum deskew is 150 ns Maximum deskew is 2550 ns Deskew values are represented in nanoseconds divided by 10 Maximum cable difference is about 400m Recommend less than 30m difference to avoid any performance impact
Fc 16B
Fc 16B
[Rev. # or date]
HP Restricted
25
A programmable timeout constant register is available in Bloom to define the time during which a list is bound to a particular transmit port. There are some potential performance advantages for minimizing the link-to-link skew and allowing the the binding time constant to be variable. For example, suppose a number of relatively large frames are available to be t transmitted from the same queuing list at the same time. At some point, the first frame may begin transmission on one link. Then, even though the first frame is in progress, a second frame may be transmitted across another link in the group after the binding timeout period expires. If the binding time is small, the delay between transmission of multiple frames from a given list across different links may be minimized, allowing the transmit queue to be drained that much more quickly, possibly relieving switch congestion more rapidly.
trunkShow
[Rev. # or date]
HP Restricted
26
The trunking master implicitly defines the trunking group. All ports with the same master are considered to be part of the same group. Each trunking group includes a single trunking master and from 1 to 3 trunking slave links. The first ISL found in any trunking group is assigned to be the trunking master, also known as the principal ISL. After the trunking group is fully established, all data packets intended for transmission across the trunk are dynamically distributed at the frame level across the ISLs in the trunking group, while preserving in-order delivery.
portCfgTrunkPort
[Rev. # or date]
HP Restricted
27
Portcfgtrunkport is used to turn on or off trunking configuration for one port. The last parameter indicates on or off ( 1 for on and 0 for off).
switchCfgTrunk
[Rev. # or date]
HP Restricted
28
trunkDebug
[Rev. # or date]
HP Restricted
29
This command reports one of the following messages based on the trunking property of the specified two ports:
Switch doesn't support trunking
Trunking license required port<port_id> is not E port port<port_id> trunking disabled port<port_id> speed is not 2G port<port_id> and port<port_id> are not on same quad port<port_id> and port<port_id> connects to different switches port<port_id> is not Trunk port due to: E port being disabled,or trunking may be disabled at remote port port<port_id> and port<port_id> can't trunk, please check link length to make sure difference is less than 400m
portCfgShow
[Rev. # or date]
HP Restricted
30
Port CfgShow displays the entire switch port configuration on one screen.
[Rev. # or date]
HP Restricted
31
[Rev. # or date]
HP Restricted
32
Trunking Summary
Trunking combines 2 to 4 ISLs to in effect create One
fat ISL The new 3rd Generation chip allows traffic to be evenly distributed across ISLs and preserves in-order delivery Trunking is only available on 2G switches Trunking can join up to 4 ISLs to create an 8 Gbps ISL trunk There are many useful commands to determine trunking status and performance
[Rev. # or date]
HP Restricted
33
Routing Algorithm
1 hop route
5 3 2 3
2 hop route
1 4
QL + Fabric
[Rev. # or date]
HP Restricted
34
Q: What is a hop? A: When a FC frame is transferred from one switch to another is called hop. Q: When is the routing table built? A: During switch boot time or if a new ISL is established.
4 5
1 2
3 switch A 6
3 switch C 6
QL + Fabric
3 switch B
[Rev. # or date]
HP Restricted
35
Q: Which Route will be taken for IOs from the hosts to the storage? A: The fabric will always select the route with the shortest path to reach the destination domain. In the example above, all IOs from both hosts will be routed by switch A through port 5 to switch C / port 2. Only in case of a link failure, the IOs will be rerouted through switch B. Once the failed link between switch A and C comes up again, the IOs will be rerouted to the shorter path again. Q: How is the shortest path determined? A: The shortest path between a source and a destination port of the fabric is the route with the minimum number of hops (switch to switch).
4 5
1 2
3 switch A 6
3 switch C 6
QL + Fabric
3 switch B
[Rev. # or date]
HP Restricted
36
4 5
1 2
3 switch A 6
3 switch C 6
QL + Fabric
3 switch B
[Rev. # or date]
HP Restricted
37
4 5
1 2
3 switch A 6
3 switch C 6
QL + Fabric
3 switch B
[Rev. # or date]
HP Restricted
38
4 5
1 2
3 switch A 6
3 switch C 6
QL + Fabric
3 switch B
[Rev. # or date]
HP Restricted
39
When IOD parameter is set, frames are either delivered inorder or dropped
[Rev. # or date]
HP Restricted
40
iodShow Indicates whether or not IOD is set. When a configDefault command is issued, switches will not have
iodSet.
The HP default is to have iodSet. Therefore, it must be set manually after the issuance of a configDefault command. hp maintains a default switch parameter settings location at the following URL: http://stgwrks.americas.cpqcorp.net/dsgga/switchsettings/switchsettings.h
tm
[Rev. # or date]
HP Restricted
41
[Rev. # or date]
HP Restricted
42
Important Rule: Dont change any of the default timing values on the switch.
Otherwise: In order delivery can *not* be guaranteed !
[Rev. # or date]
HP Restricted
43
Note: Currently most operating systems rely on in-order-package-delivery from the IO system. Changing the fabric timing values may cause out-of-order-package-delivery in a meshed environment. The SW2800 routing algorithm will ensure in order package delivery in a meshed environment even in case of topology changes, when using the default timing values. Remember: Out-of-order-package-delivery will cause most current OS versions to crash!
uRouteShow
switch38:admin> uRouteShow Local Domain ID: 38 In Port Domain Out Port Metric Hops Flags Next (Dom, Port) ---------------------------------------------------------------------------2 29 7 1500 2 D 39,7 39 7 500 1 D 39,7 5 29 39 13 14 1500 500
HP Restricted
2 1
D D
39,13 39,14
44
[Rev. # or date]
In addition to the uRouteShow command, there is a uRouteConfig command. The syntax is: uRouteConfig <INPUT-PORT>, <DESTINATION DOMAIN ID>, <OUTPUT PORT>. Example: uRouteConfig 5, 4, 13. The uRouteConfig command allows you to manually configure the routing tables. This command can have negative performance consequences and should therefore be used with great caution or under the direction of hp switch engineering. If the OUTPUT PORT fails, the route is treated as a regular route and is allocated to a different path if one is available. When the OUTPUT PORT resumes functioning, the port is rerouted back to the static route. If a PORT has a static route, the flags field in uRouteShow is set to S instead of D. Note that this does not affect the flags field in the topologyShow command which will always indicate dynamic paths (D). To remove a route use the uRouteRemove command: Example uRouteRemove <INPUT-PORT>, <DESTINATION DOMAIN ID>
uRouteShow
switch38:admin> uRouteShow Local Domain ID: 38 In Port Domain Out Port Metric Hops Flags Next (Dom, Port) ---------------------------------------------------------------------------2 29 7 1500 2 D 39,7 39 7 500 1 D 39,7 5 29 39 13 14 1500 500
HP Restricted
2 1
D D
39,13 39,14
45
[Rev. # or date]
In addition to the uRouteShow command, there is a uRouteConfig command. The syntax is: uRouteConfig <INPUT-PORT>, <DESTINATION DOMAIN ID>, <OUTPUT PORT>. Example: uRouteConfig 5, 4, 13. The uRouteConfig command allows you to manually configure the routing tables. This command can have negative performance consequences and should therefore be used with great caution or under the direction of hp switch engineering. If the OUTPUT PORT fails, the route is treated as a regular route and is allocated to a different path if one is available. When the OUTPUT PORT resumes functioning, the port is rerouted back to the static route. If a PORT has a static route, the flags field in uRouteShow is set to S instead of D. Note that this does not affect the flags field in the topologyShow command which will always indicate dynamic paths (D). To remove a route use the uRouteRemove command: Example uRouteRemove <INPUT-PORT>, <DESTINATION DOMAIN ID>
topologyShow
switch38:admin> topologyShow 3 domains in the fabric; Local Domain ID: 38 Domain Metric Hops Out Port In Ports Flags Bandwidth Name ----------------------------------------------------------------------29 1500 2 7 0x00000004 D 2 (Gbs) "switch29" 13 0x00000020 D 2 (Gbs) 14 0x00000000 D 2 (Gbs) 39 500 1 13 7 14 0x00000000 0x00000004 0x00000020
HP Restricted
D D D
"Switch39"
[Rev. # or date]
46
switch29:admin> uRouteShow Local Domain ID: 29 In Port Domain Out Port Metric Hops Flags Next (Dom, Port) ---------------------------------------------------------------------------4 38 1 1500 2 D 39,12 39 2 1000 1 D 39,10 switch29:admin> topologyShow 3 domains in the fabric; Local Domain ID: 29 Domain Metric Hops Out Port In Ports Flags Name ----------------------------------------------------------------38 1500 2 1 0x00000010 D "switch38" 2 0x00000000 D 39 1000 1 2 1 0x00000010 0x00000000
HP Restricted
D D
"Switch39"
[Rev. # or date]
47
switch29:admin> uRouteShow Local Domain ID: 29 In Port Domain Out Port Metric Hops Flags Next (Dom, Port) ---------------------------------------------------------------------------4 38 1 1500 2 D 39,12 39 2 1000 1 D 39,10 switch29:admin> topologyShow 3 domains in the fabric; Local Domain ID: 29 Domain Metric Hops Out Port In Ports Flags Name ----------------------------------------------------------------38 1500 2 1 0x00000010 D "switch38" 2 0x00000000 D 39 1000 1 2 1 0x00000010 0x00000000
HP Restricted
D D
"Switch39"
[Rev. # or date]
48
Switch39:admin> topologyShow 3 domains in the fabric; Local Domain ID: 39 Domain Metric Hops Out Port In Ports Flags Bandwidth Name ----------------------------------------------------------------------29 1000 1 10 0x00002004 D 1 (Gbs) "switch29" 12 0x00004080 D 1 (Gbs) 38 500 1 7 13 14 0x00000004 0x00000400 0x00001000 D D D 2 (Gbs) 2 (Gbs) 2 (Gbs) "switch38"
[Rev. # or date]
HP Restricted
49
Cascading HUBs
NL
NL
NL
NL
NL
NL
50
Q: How many HUBs can I cascade? A: Currently HP supports 2 cascaded HUBs. Q: How many links can I have between the two HUBs? A: Exactly 1 link. Q: Would additional links between both HUBs increase performance? A: No.
Bypassed
Always Listen
or
Normal
RX
TX
NL_Port
[Rev. # or date] HP Restricted
51
More Expensive
52
Q: What is a hop? A: When a FC frame is transferred from one switch to another is called a hop. The above config shows a 1 hop setup. Q: How many links between switch (ISL) are supported? A: Currently 8 ISLs are supported between any of two switches.
Q: How many hops are currently supported? A: The Br3800 is capable of operating in a 7 hop configuration. Please check for current supported configurations in the ESBU Configuration Matrix http://essd-tm.boi.hp.com/essdatc/config_matrix.htm Q: How many links between switch (ISL) are supported? A: On the SW3800 all 16 ports can be used as ISLs.
NL
NL
NL
54
Q: Why cant there be 2 FL_Ports on a Loop? A: An FL_Port has a dedicated AL_PA = 00h on the Loop. Two or more FL_Ports would cause a address conflict during the LIP. Only one FL_Port will be able to gain AL_PA(00h), all other FL_Port would go into a non participation mode.
NL
NL
NL
portDisable
[Rev. # or date]
HP Restricted
55
Q: What happens if a FL_Port is being disabled? A: The disabled FL_Port will go into bypass mode. Therefore the connected loop will be able to continue to communicate locally. Any node within the the loop will not be able to communicate with any device outside the loop. Also any node outside the loop will not be able to communicate with devices inside the loop. Note: The Loop will become a private loop until the FL_Port is being re-enabled.
FL
FL
[Rev. # or date]
HP Restricted
56
Q: Can there be 2 FL_Ports connected to a Loop? A: No. An FL_Port has a dedicated AL_PA = 00h on a Loop. Two or more FL_Ports would cause an address conflict during the LIP. Only one FL_Port will be able to gain AL_PA(00h), all other FL_Port would go into a non participation mode.
[Rev. # or date]
HP Restricted
57
Q: Can I cascade two switch through a Hub? A: No. E_Ports run a point to point protocol whereas the Hub always runs arbitrated loop protocol.
Link utilization
rep
req
req
req
req
req
req
sw
Q: What is the FC cable latency? A: Although speed of light may be fast but it becomes noticeable slow when using Gbit rates as the FC does. For example on a 10km long wave FC cable multiple FC frames can be on transit 512 byte frame -> 10 frames on transit 1024 byte frame -> 5 frames on transit 2048 byte frame -> 2.5 frames on transit Note - The Buffer-To-Buffer credit on each switch port makes it possible to use the FC link pipeline effect. This reduces the overall latency if multiple frames are being transmitted.
QL + Fabric
[Rev. # or date]
HP Restricted
60
Q: How many ISLs can a switch have? A: Maximum throughput between two switches can be achieved having 8 ISLs. All 16 ports on a switch could be used as ISLs (E-ports) on the SW3800 if the switch happens to be an interconnecting switch in a meshed configuration. Q: Does the switch automatically load balance across ISLs? A: Yes. But it will only load balance across ISLs which have an equivalent path. Q: Adding additional ISLs, will it change the HW paths on the host? A: No. Adding ISLs is transparent to the hosts.
[Rev. # or date]
HP Restricted
61
[Rev. # or date]
HP Restricted
62
A cascaded fabric SAN is a set of switches connected together, by one or more ISLs, in a tree-like arrangement. Cascaded fabric designs are well suited to environments with local data access patterns. In these cases, I/O requests from a servers attached to a given switch are made most often to storage systems that are attached to the same switch. Groups of servers and their storage systems can be connected to the same switch to provide the highest level of I/O performance. Cascading provides a means to scale the SAN for additional connectivity of servers and storage, and allows for centralized management and backup, while maintaining the high I/O performance of local access. Cascaded designs can also be used for centralized or distributed access; however, traffic patterns should be well understood and should be factored into the design to ensure that there are an adequate number of ISLs to meet performance requirements. Using more than one ISL between switches in a cascade also provides redundant paths between a given pair of switches in the fabric. HP highly recommends that cascaded designs be implemented with a minimum of two ISL connections on each switch, either as a pair of ISLs between the same two switches or by connecting every switch to at least two other switches in the fabric. Features of a cascaded fabric:
Accommodates diverse geographic conditions Scales easily for additional connectivity Supports shared backup Supports shared management Optimal for local access Multiple subscribers share 100 MB/sec or 200 MB/sec 2 to 28 switches, up to 7 hops Scales easily for additional connectivity Servers and storage typically on the same switch HP highly recommends a minimum of 2 ISL connections on each switch
[Rev. # or date]
HP Restricted
63
A ring fabric is a continuous ring of switches connected together into a single fabric. Each switch is connected to adjacent switches, with the last switch in the ring connected back to the first. This arrangement of switches provides almost the same level of fabric resiliency as the mesh design, with full fabric connectivity and at least two internal fabric paths or routes. If you use fewer than 12-switches in a ring constructed using B-Series Product Line switches, you can add additional switches to the outside of the ring. These satellite switches provide additional user ports with only a slight reduction in fabric availability. For example, 11 satellite switches can be connected to a 11-switch ring. This results in a 22-switch fabric and maintains the overall seven hop limit. Features of a ring fabric topology: Modular design Simple and non-disruptive scaling Supports shared backup Supports centralized management Optimizes local access needs Multiple Subscribers share 200 MB/sec or 400 MB/sec 2 to 15 switch ring Up to 7 hops 2 to 11 switches in ring Up to 11 satellite switches (one outside switch is cascaded from each of the ring switches.) Max. 7 hops in either direction Multiple ISLs for resiliency
Meshed fabrics
[Rev. # or date]
HP Restricted
64
In a meshed fabric design, all of the switches are interconnected so there are at least two paths or routes from any one switch to any other switch in the fabric. This type of connectivity provides fabric resiliency. If a single ISL or ISL port interface fails, the fabric can automatically re-route data through an alternate path. The new route can even pass through additional switches in the fabric. As switches are added to a meshed topology, the number of ISLs required to maintain full connectivity between any switch and any other switch becomes excessive. This reduces the number of user ports in comparison to the total number of ports, which is a measure of the connection efficiency of the fabric. Meshed fabrics are well suited to applications where data access is a mix of local and distributed. The full connectivity (or high connectivity, in the case of modified meshes) supports many-to-many access, while at the same time allowing localized access to individual switches, servers and storage. Features of a meshed fabric: 2 to 28 switches, up to 7 hops Can be configured for many to many or local access, or a mix Provides protection against link and switch port failures Scales easily for additional connectivity Optimal distributed access is inherent in the design Centralized or Many to One Traffic Patterns
Backbone fabrics
[Rev. # or date]
HP Restricted
65
A backbone fabric has one or more Fibre Channel switches primarily dedicated to connecting to other switches within the fabric. The backbone switches provide high bandwidth and redundant connectivity to the other switches. This type of implementation offers the best "many-to-many" connectivity. Backbone fabrics are well suited for implementations where the primary requirement is for full network many-to-many connectivity with high performance. They are the most conservative design approach in cases where the I/O traffic patterns are unknown or varying. They are also the best design to choose if you plan to implement SAN-wide storage pooling and sharing, and for environments that use storage virtualization.
[Rev. # or date]
HP Restricted
66
67
Skinny tree Fat Tree Six 16 port switches, two backbone, four edge Skinny = 64 user ports Fat = 32 user ports
[Rev. # or date] HP Restricted
68
HA considerations
QL + Fabric
[Rev. # or date]
HP Restricted
69
HA Recommendations
14
14
Non HA configuration
14
14
14
14
HA configuration
14 14
[Rev. # or date]
HP Restricted
70
Note It is important to mention, for full HA behavior two completely independent Sans must be established. That means, no Inter-Switch-Link (ISL) between both fabrics must be installed. The reason for this strict rule is, that meshed switch configurations form one virtual fabric. There are some theoretical (rare) scenarios, where a fault switch may flood the fabric with packages causing massive congestion on the links.
4 5 6 7 8
In a meshed environment make sure the max number of hops is not exceeded!
Remember a failing ISL may cause re-routing.
2 1
[Rev. # or date]
HP Restricted
71
Learning check
Learning Check
1. What is a Path? What is a Route? . . 2. What are the two types of Brocade routing? . 3. Describe the benefits of ISL trunking. . . 4. If you wanted higher cross-sectional bandwidth, would you use a Fat-tree or Skinny-tree topology? Why? . .
Module 9
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Objectives
After completing this module, the student will be able to: Verify device connectivity for OVMS, TRU64, HP-UX, and Windows OSs
[Rev. # or date]
HP Restricted
analyze /system
Tru64 Unix
emxmgr
HP-UX:
ioscan
Windows:
[Rev. # or date]
HP Restricted
OpenVMS connectivity
TR Adapter ADP Hose Bus BusArrayEntry Node CSR Vec/IRQ Port Slot Device Name / HW-Id -- ----------- ----------------- ---- ----------------------- ---- ---------------------- ---- ---- --------------------------1 KA2208 FFFFFFFF.81457840 0 BUSLESS_SYSTEM 2 PCI FFFFFFFF.81457C80 1 PCI FFFFFFFF.814580A0 38 FFFFFFFF.85B6F800 FC PKA: 7 Symbios 895 FFFFFFFF.81458110 48 FFFFFFFF.85B72800 40 9 PPB5 3 PCI FFFFFFFF.814584C0 1 PCI FFFFFFFF.814587F8 220 FFFFFFFF.85B76000 DC EIA: 4 DE602-AA i82558 100BaseTX FFFFFFFF.81458830 228 FFFFFFFF.85B78800 D8 EIB: 5 DE602-AA i82558 100BaseTX 4 PCI FFFFFFFF.81458EC0 0 PCI FFFFFFFF.81459230 28 FFFFFFFF.85B7E800 40 5 MFPCI FFFFFFFF.81459268 30 FFFFFFFF.85BA5000 8C 6 MFPCI FFFFFFFF.814592A0 38 FFFFFFFF.85BB1800 BC GZA: 7 ELSA GLoria Synergy (3Dlabs P2A) FFFFFFFF.814592D8 40 FFFFFFFF.85BB4000 AC FGA: 8 KGPSA-CA (Emulex LP8000) FFFFFFFF.81459310 48 FFFFFFFF.85BB6800 9C FGB: 9 KGPSA-CA (Emulex LP8000)
[Rev. # or date]
HP Restricted
The output on this slide is enlarged below and descriptions are provided on the next page.
#emxmgr -t emx2 emx2 state information: Link : connection is UP Point to Point Fabric attached FC DID 0x210413 (tells us the HBA is plugged into switch 1 port 4) Link is SCSI bus 3 (this adapter was assigned scsi bus 3) SCSI target id 7 portname is 1000-0000-C921-07C4 nodename is 1000-0000-C921-07C4 N_Port at FC DID 0x210013 - SCSI tgt id 5 : portname 5000-1FE1-0001-8932 (HBA driver assigned SCSI ID 5 to the bottom right controller port assuming MB) nodename 5000-1FE1-0001-8930 Present, Logged in, FCP Target, FCP Logged in, N_Port at FC DID 0xfffffc - SCSI tgt id -1 : portname 20FC-0060-6900-5A1B nodename 1000-0060-6900-5A1B Present, Logged in, Directory Server, N_Port at FC DID 0xfffffe - SCSI tgt id -1 : portname 2004-0060-6900-5A1B nodename 1000-0060-6900-5A1B Present, Logged in, F_PORT,
1. Emx1 link status The connection is a point-to-point fabric (switch) connection, and the link is up. The adapter is on SCSI bus 3 at SCSI ID 7. Both the port name and node name of the adapter (WWN) are provided. The Fibre Channel DID number is the physical Fibre Channel address being used by the N_Port. 2. List of all other Fibre Channel devices on this SCSI bus, with their SCSI ID, port name, node name, physical Fibre Channel address, and other items such as: Present The adapter indicates that this N_Port is present on the fabric. Logged in The adapter and remote N_Port have exchanged initialization parameters and have an open channel for communications (nonprotocolspecific communications). FCP target This N_Port acts as a SCSI target device (it receives SCSI commands). FCP Logged in The adapter and remote N_Port have exchanged FCPspecific initialization parameters and have an open channel for communications (Fibre Channel protocol-specific communications). Logged Out The adapter and remote N_Port do not have an open channel for communication. FCP Initiator The remote N_Port acts as a SCSI initiator device (it sends SCSI commands). FCP Suspended The driver has invoked a temporary suspension on SCSI traffic to the N_Port while it resolves a change in connectivity. F_PORT The fabric connection (F_Port) allowing the adapter to send Fibre Channel traffic into the fabric. Directory Server The N_Port is the FC entity queried to determine who is present on the Fibre Channel fabric. 3. A target ID of -1 (or -2) shows up for remote Fibre Channel devices that do not communicate using Fibre Channel protocol, the directory server, and F_Port.
HP-UX connectivity
Available switches -f (full output) -n (show device node information) -k (scans kernel instead of I/O path this means you will not see
any new devices)
-C (scan devices in a specific class, ex.-C disk) -d td (restrict output to only td devices)
[Rev. # or date]
HP Restricted
ioscan
Ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results. For each hardware module on the system, ioscan displays by default the hardware path to the hardware module, the class of the hardware module, and a brief description. By default, ioscan scans the system and lists all reportable hardware found. The types of hardware reported include processors, memory, interface cards and I/O devices. Scanning the hardware may cause drivers to be unbound and others bound in their place in order to match actual system hardware. Entities that cannot be scanned are not listed.
If the ioscan output is similar to the following, HP-UX detected the adapter, but the drivers are not properly loaded.
Class fc I 0 H/W Path 8.0 Driver fcT1 S/W State UNCLAIMED H/W Type UNKNOWN Description
[Rev. # or date]
HP Restricted
HP Fibre Channel Mass Storage installation is verified if the ioscan output lists all mass storage devices attached to the adapter. Verify that all devices you attached to the Fibre Channel adapter are listed in the ioscan output.
H/W Path
Driver
Description
DEC HSG80
==================================================================
333 0/2/0/0.38.5.255.0.0.1 sdisk /dev/dsk/c95t0d1 /dev/rdsk/c95t0d1
Field Class I
Description Device category such as disk, tape, or printer Instance number associated with the device or card. It is a unique number assigned to a card or device within a class. If no driver is available for the hardware component or an error occurs binding the driver, the kernel will not assign an instance number and a (-1), is listed.
[Rev. # or date]
HP Restricted
H/W Path
Description
DEC HSG80
==================================================================
333 0/2/0/0.38.5.255.0.0.1 /dev/dsk/c95t0d1 /dev/rdsk/c95t0d1
Description A decimal numerical string of hardware components, notated sequentially from the bus address to the device HBA path.domain id.port.255.bus.target.lun HBA Path Internal hardware path to the bus converter and HBA Domain ID Domain ID of the switch used to get to this storage Port Port of the switch used to get to this storage 255 Always set to 255 for fabric connected array controller Bus Dependent on addressing mode(PDF,LU,VSA)
[Rev. # or date]
HP Restricted
10
0/2/0/0 38.5.255.0.0.1 would indicate Switch Domain = 38 Port on Switch = 5 HP-UX sees every array controller as 255. Followed by a second line of information detailing the devices on the array : 0/2/0/0 38.5.0.0.0.1 would indicate FABRIC DIRECT ATTACHED LUN 1 0/2/0/0 38.5.255.1.7.1 would indicate PERIPHERAL DEVICE ADDRESSING AL_PA 17h LOOP-ID 119d
H/W Path
Driver
sdisk
S/W State
CLAIMED
H/W Type
DEVICE
Description
DEC HSG80
==================================================================
333 0/2/0/0.38.5.255.0.0.1 /dev/dsk/c95t0d1 /dev/rdsk/c95t0d1
Field
Description
Software The result of software binding state CLAIMED software bound successfully UNCLAIMED No associated software found DIFF_HW Software found does not match the associated software NO_HW Hardware at this address is no longer responding ERROR Hardware at this address is responding but is in an error state SCAN Node locked, try again later
[Rev. # or date]
HP Restricted
11
I
333
H/W Path
0/2/0/0.38.5.255.0.0.1
H/W Type
DEVICE
Description
DEC HSG80
==================================================================
/dev/dsk/c95t0d1 /dev/rdsk/c95t0d1
Description
Entity identifier for the hardware component UNKNOWN No hardware associated or the type of hardware is
unknown
PROCESSOR Hardware component is a processor MEMORY Hardware component is memory BUS_NEXUS Hardware component is bus converter or bus adapter INTERFACE Hardware component is an interface card DEVICE Hardware component is a device bus type. Bus type
[Rev. # or date]
HP Restricted
12
Windows connectivity
[Rev. # or date]
HP Restricted
13
The Windows driver is the device driver installation file (called an INF file) needed by the Windows Operating System. The storage controller needs no driver in reality, as the HBA is in the Host server. But this file lets the Windows Device Manager register the controller's Controller LUN as a "System" device, so that the Device Manager thereafter will not consider the controller LUN to be an unknown or "newly discovered" device with every reboot. Using this file, a User only has to "identify the controller to the Device Manager" once. To install (register) the controller, use the included INF file. A controller LUN must also set up on the controller so that Windows can "discover" it. When the controller FC link is up, the user can either reboot the PC, or run the "Scan for new Hardware" function of the Windows Device Manager. Either action should cause the HBA to issue a SCSI Inquiry command, to which the controller replies with its ASCII Inquiry string. Initially, the Windows Hardware Wizard will use this string to refer to the controller. After this discovery interaction occurs, the Hardware Wizard will prompt the user to install a device driver. The user should then select the Wizard's "Search for a suitable driver" option, and specify the folder containing the controller INF file. The Hardware Wizard scans all the INF files in the specified folder, and selects the first INF file it finds with a device entry containing a matching hardware ID string. It then copies the selected INF file, renaming it to "oem<#>.inf," where the '#' is some integer, and places the copy into the "C:\WINNT\inf" folder. It "compiles" the INF file to a ".PNF" file with the same root filename, and uses its controller model entry information to install -- or register in the controller's case -- the newly discovered device.
LPUTILNT
[Rev. # or date]
HP Restricted
14
The LightPulse Utility/NT, LPUTILNT, is a component of the Emulex HBA driver kit and is installed during the HBA driver installation. Use this utility to update firmware, BIOS, view registry parameters, perform persistent binding operations on selected targets, and obtain specific information about all Emulex HBAs installed in the server. The data display lists all available device driver parameters, along with the current, minimum, maximum, and default values. Parameters that have their value specified in the system registry are denoted with either a G or an L in the left-most column of the screen. The G indicates that the value is set in the global registry entry, which applies to all HBAs that do not have a local registry entry. The L indicates that the value is set in a registry entry specific to the selected HBA, which overrides the value settings in the global entry.
[Rev. # or date]
HP Restricted
15
OpenVMS multipath
Multipath capability is integrated into O/S Allows failover between device paths Mount verify invoked when path is switched Failover between controllers takes 1-15 seconds Failover between controller ports instantaneous Multipath set is created when two or more paths to a single
device are discovered
16
If a device is mounted as foreign the device will not failover to an alternate path.
Disks that have only had one path do not show up with a
SHOW DEVICE/MULTIPATH command.
[Rev. # or date]
HP Restricted
17
I/O paths to device Path PGA0.5000-1FE1-000B-B283 Error count Path PGA0.5000-1FE1-000B-B282 Error count Path PGB0.5000-1FE1-000B-B281 Error count Path PGB0.5000-1FE1-000B-B284 Error count
4 (VMS24), primary path, current path. 0 Operations completed (VMS24). 0 Operations completed (VMS24). 0 Operations completed (VMS24). 0 Operations completed
46 46 46 46
[Rev. # or date]
HP Restricted
18
Switches -f (full output) -n (show device node information) -k (scans kernel instead of I/O path this means you will not see
any new devices)
-C (scan devices in a specific class, ex.-C disk) -d td (restrict output to only td devices)
[Rev. # or date]
HP Restricted
19
ioscan
Ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results. For each hardware module on the system, ioscan displays by default the hardware path to the hardware module, the class of the hardware module, and a brief description. By default, ioscan scans the system and lists all reportable hardware found. The types of hardware reported include processors, memory, interface cards and I/O devices. Scanning the hardware may cause drivers to be unbound and others bound in their place in order to match actual system hardware. Entities that cannot be scanned are not listed.
cxtydz
x = Adapter number t = SCSI target ID d = SCSI LUN number
Block device
/dev/dsk/cxtydz
Raw device
/dev/rdsk/cxtydz
[Rev. # or date]
HP Restricted
20
Devices can be classified in two categories, raw and block. A raw or charactermode device, such as a line printer, transfers data in an unbuffered stream and uses a character device special file. Block devices, as the name implies, transfer data in blocks by means of the system's normal buffering mechanism. Block devices use block device special files and may have a character device interface too. When creating device special files, it is recommended that the following standard naming convention be used: /dev/prefix/devspec[options]
prefix indicates the subdirectory for the device class (for example, rdsk for
raw device special files for disks, dsk for block device special files for disks, rmt for raw tape devices).
devspec indicates hardware path information and is typically in the format c#t#d# as follows:
c# Instance number assigned by the operating system to the interface card. There is no direct correlation between instance number and physical slot number. t# Target address on a remote bus (for example, SCSI or HP-IB address). d# Device unit number at the target address (for example, SCSI LUN). compatibility), tape density selection for a tape device, or surface specification for magneto-optical media.
[Rev. # or date]
HP Restricted
21
This output was derived from a Hewlett Packard 9000 series A400 system.
All devices found are assigned (in order) the next available disk instance number.
These devices show up with all paths showing stale, but their device special files are retained.
HP Restricted
[Rev. # or date]
22
[Rev. # or date]
HP Restricted
23
Where:
[Rev. # or date]
HP Restricted
24
Using Tru64 V5.x, the device special file name remains the same even
if the devices BTL is changed.
Why? = The device is recognized by its 128 bit WWID, not by its BTL location.
25
[Rev. # or date]
HP Restricted
[Rev. # or date]
HP Restricted
26
After completing the installation of both the HBA driver and the solutions software (requires reboot), the server sees the storage presented to it. Open disk manager, and the server scans for all disks. When new disks are discovered, disk manager starts the New Disk Signature wizard. This wizard writes a signature and by default promotes the disk to a dynamic disk. To write a signature, right-click on the disk.
Learning check
Learning Check
1. What utility do you use to scan for storage devices in HP-UX? . . 2. What command do you use to search for new storage units in OVMS? . .
Introduction to SANs
Secure Path
Secure Path
Module 10
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Introduction to SANs
Secure Path
Objectives
After completing this module, the student will be able to:
State the function of Secure Path components Describe how profiles are created and implemented Discuss device states Describe path definitions Explain the installation process Identify common problems/troubleshooting
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
Definition
Secure Path is: A multi-path component used in high availability and fault tolerant solutions.
Maintains connections to storage Monitors I/O paths and alerts on significant events Assists in load balancing
Used in
Stand Alone Configurations Cluster configurations Disaster Tolerant Solutions SAN configurations
[Rev. # or date]
HP Restricted
HP Secure Path provides a fault-tolerant solution for continuous availability of RAID storage systems. It allows multi-controller HP StorageWorks RAID Array systems to be cabled on independent interconnects, using multiple host bus adapters in single-server or clustered environments. When combined with the inherent fault-tolerant features of the RAID Array, Secure Path eliminates single points of failure, such as disk drives, controllers, interconnect cables, hubs, switches, and host adapters in the storage system. Secure Path also automatically detects path failures and reroutes I/O to a functioning, alternate path.
Introduction to SANs
Secure Path
Features
High availability: Manages up to 32 paths per virtual disk, allowing for no-single-point-offailure in a SAN Increased performance: Monitors and reroutes data with dynamic load balancing for best use of storage Simple: Allows policies to be set with web-based manager and alerts you if changes occur Manageable: Enables simple administration for Windows hosts with Secure Path Manager web GUI Integrated: Offers multi-path support for a variety of storage arrays Flexible: Supports storage consolidation, allowing large RAID sets to be shared among Windows hosts Note: Features vary depending on operating system and storage system differences in storage capabilities
differences in OS capabilities There is an effort underway to equalize all features across platforms.
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
Support
Operating systems that require Secure Path
Linux HP-UX IBM AIX Microsoft Windows Novell NetWare SUN Solaris
Note: Support for storage subsystems and operating systems continually changes. For an updated list of supported OSs and storage devices, please see: http://h18006.www1.hp.com/products/sanworks/secure-path/index.html
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
Components
Drivers installed by Secure Path:
Raidisk.sys hpap.sys rdfil.sys
Software components:
Hs_Service Secure Path Agent SPM CLI (spmgr) SPM SPEM Persistent Reservation Clear utility Secure Path and Auto Path registry editing utilities
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
Introduction to SANs
Secure Path
Profiles
[Rev. # or date]
HP Restricted
Profiles
Secure Path provides the capability of managing large configurations through a single instance of Secure Path Manager. However, there are certain practical limits on the configuration size that can be displayed and managed in a single window. Secure Path Manager uses the concept of a profile to express this working configuration limit. Each storage system must be configured and connected in multiple-bus failover mode. The host systems may be standalone servers or grouped into clusters, as long as all servers in the profile have access to all of the storage systems listed in that profile. Secure Path provides the capability of managing large configurations through a single instance of Secure Path Manager. However, there are certain practical limits on the configuration size that can be displayed and managed in a single window. Secure Path Manager uses the concept of a profile to express this working configuration limit. Each storage system must be configured and connected in multiple-bus failover mode. The host systems may be standalone servers or grouped into clusters, as long as all servers in the profile have access to all of the storage systems listed in that profile. Secure Path Manager supports the creation of multiple profiles stored as separate files in the same directory in which it resides. .
Introduction to SANs
Secure Path
Configuration limits
A maximum of 128 servers (host systems) Connected to and sharing up to 128 storage systems
[Rev. # or date]
HP Restricted
10
Introduction to SANs
Secure Path
Load balancing
Server 1 2 3 4
LUN1 is online to Controller A LUN2 is online to Controller B HBA1=A2 LUN1 round robin HBA2=B1 between HBA1 & HBA3 LUN2 round robin HBA3=A1 between HBA2 & HBA4 HBA4=B2
FC Switch
FC Switch
LUN1
LUN2
Active Active
1 Controller A 2 1 Controller B 2
Active Active
[Rev. # or date]
HP Restricted
11
With load distribution enabled, multiple paths between a host and a specific storageset can be used for parallel I/O. I/O intended for units connected to a specified controller is alternately dispatched through the set of appropriate paths, spreading the load across all ports to maximize performance. Load distribution requires a Fibre Channel SAN configuration that has at least four unique paths from the host node to the storage subsystem. While this can be accomplished using several different physical configurations, maximum performance potential is achieved when all four ports of the RAID storage subsystem are utilized. With load distribution enabled, the Secure Path driver marks all paths to the owning controller as Preferred by default. This is true when a host boots, when Secure Path fails over a storageset from one controller to the other, or if a user manually moves a selected storageset between controllers using Secure Path Manager. The user can also modify the operational mode of individual paths to discrete storagesets.
Introduction to SANs
Secure Path
Device states
A device can exist in the following states:
Degraded At least one or more paths are failed to the storage unit. Working The Secure Path device can be accessed on at least one path. Failed Unable to communicate with the unit. This can indicate no available path or a failed device.
[Rev. # or date]
HP Restricted
12
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
13
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
14
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
15
Introduction to SANs
Secure Path
Troubleshooting (1 of 3)
Secure Path Element Manager/Agent considerations
Use the Agent Configuration utility, and set the password in the Password Dialog box.
[Rev. # or date]
HP Restricted
16
Introduction to SANs
Secure Path
Troubleshooting (2 of 3)
[Rev. # or date]
HP Restricted
17
Introduction to SANs
Secure Path
Troubleshooting (3 of 3)
Make sure that you use the same name type, either
NetBIOS or FQDN, during Secure Path client login that you have entered in the agent's database.
Make sure that the names you use can be mapped to the
associated IP address using one of the following methods:
HOSTS file Static text file with either NetBIOS or FQDN mapped to IP Windows Internet Naming Service WINS with a NetBIOS name Domain Name System DNS with an FQDN
[Rev. # or date]
HP Restricted
18
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
19
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
20
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
21
Introduction to SANs
Secure Path
SAN Director
64-port 1-Gb 254512-B21 (DS-DMGGD-AA) These switches need their port speeds set correctly, and must not
be set to auto-negotiate.
[Rev. # or date]
HP Restricted
22
Introduction to SANs
Secure Path
swsp driver
Failover driver is a pseudo-HBA driver Present multiple paths as a single device to host SCSI driver
hsx driver
Provides paths from HBA driver to swsp driver Specifies commands to migrate a LUN
spmgr
Utility used to monitor and manage devices, paths /sbin/spmgr
[Rev. # or date]
HP Restricted
23
Introduction to SANs
Secure Path
spagent
Daemon that communicates with the multipath drivers Path change notification through email
Not required to be running for full failover functionality Must be running for spmgr commands to operate /sbin/spagent
spinit
Used to start/stop the spagent (/sbin/spagent) Start /sbin/init.d/spinit start Stop /sbin/init.d/spinit stop
[Rev. # or date]
HP Restricted
24
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
25
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
26
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
27
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
28
Introduction to SANs
Secure Path
29
Introduction to SANs
Secure Path
-c[v] [controller_serial_number] -d[v] [device] -p [path_instance] -r[v] [WWNN] -u (unattached units) (no argument) example next page v=verbose flag
[Rev. # or date]
HP Restricted
30
Introduction to SANs
Secure Path
Controller ZG10505167
Controller ZG10506981
HP Restricted
The output on this slide is enlarged below. Server: hp.mydomain.com Report Created: Thu, Sep 13 16:11:50 2001 Command: spmgr display ======================================= Storage: 5000-1FE1-0010-5B00 Load Balance: Off Path Verify: On HBAs: td0 td1 Controller: ZG10505167, Operational ZG10506981, Operational Devices: c16t0d0 c16t0d1 TGT/LUN Device WWLUN_ID 0/ 0 4 c16t0d0 6000-1FE1-0010-5B00-0009-1050-6981-0013 255/255/0/.0.0 H/W_Path #_Paths Auto-restore: Off Verify Interval: 30
Controller ZG10505167
Preferred? no no
Path_Status Standby
Standby
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
32
Introduction to SANs
Secure Path
Ensure the storage subsystem has been set to multibus. Completely configure all storage units before installing
Secure Path.
[Rev. # or date]
HP Restricted
33
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
34
Introduction to SANs
Secure Path
See the Secure Path V3.0C release notes for how to disable HSG80 hardware monitoring (optional), or how to disable EVA hardware monitoring (required).
[Rev. # or date]
35
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
36
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
37
Storage Management Appliance Environment To log into Secure Path Manager in a Storage Management Appliance environment: 1. 2. 3. 4. 5. Log in to Open SAN Manager. Expand the Applications folder in the Navigation pane. Expand the Networking folder in the Navigation pane. Click the SANworks Secure Path icon. Click Launch in the Content pane.
Introduction to SANs
Secure Path
Profiles
[Rev. # or date]
HP Restricted
38
Profiles
Profiles define a set of agent hosts and parameters that relate to a common storage system or group of storage systems. A profile includes: Agent Host Names Password Polling Interval View type (for example: is the operating system Windows NT or Novell NetWare?)
Profile Passwords
When you set up a Secure Path profile, you must enter a Secure Path password. This password must match the password that was assigned to the Secure Path Agents when they were installed. SPM uses this password to establish a secure network connection with all Secure Path hosts included in the profile. For storage profiles that include more than one host, be sure to assign the same password to the profile that was assigned to each of the agents. When you save the profile, you can also save the password. If you save the password, you are not prompted to reenter the password each time you launch the profile. If the passwords do not match, the host displays a question mark icon and the communication status displays as validation failed.
Introduction to SANs
Secure Path
Profile views
[Rev. # or date]
HP Restricted
39
Profile by Subsystem Choose View > Profile by Subsystem All subsystems are displayed at the top level of the Navigation pane. Each system is displayed only once. The subsystem has a 64-bit value subsystem ID. Profile by Host Choose View > Profile By Host When selected, all hosts are displayed at the top level of the Navigation pane. All storage systems attached to a host are displayed beneath it. A storage system may display under multiple hosts.
Introduction to SANs
Secure Path
LUN views
[Rev. # or date]
HP Restricted
40
LUNs by
View LUNs by selections are displayed in the Navigation pane. Choose View > LUNs by and select any of the following: Default View - Displays the default view based on host type Disk Number - Displays the disk numbers assigned by the operating system Drive Letter - Displays the drive letters and mount points assigned by the operating system LUN UUID - Displays the LUN UUID Bus, Target, LUN - Displays the Bus number, Target ID and LUN ID Volume Label - Displays the system-supplied label Set Default Views - Sets the default view to be used by a specific host type Show Default Views - Displays the defined default views Note: Defaults are indicated by color: Black- Generated by the system Blue - Generated by the user Red - Unrecognized operating system. The view defaults to LUN UUID.
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
41
Content pane
The Content pane contains detailed information about the controller, host, LUN, and storage subsystem components. The information displays in the Content pane when you click any of the Navigation pane icons or on the Host Selection buttons shown below the Quick Reference menu bar.
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
42
Introduction to SANs
Secure Path
Path Operation
[Rev. # or date]
HP Restricted
43
Path Operation
Single Host or Cluster Environment Preferred Path rules: You can only add preferred paths to the LUNs on the same controller. You may transfer a preferred path to another controller by moving a LUN or a group of LUNs to that controller. You can take any alternate path offline. You cannot take the last preferred active path offline. When you return a path to the online state, it comes back in the last state it was in. Load Balancing rules: Use one path to set up Load Balancing and then add preferred paths. All preferred available paths become preferred active paths. The last preferred path cannot be taken offline. Cluster Only Paths In a cluster environment, the owning host in the cluster has the preferred active path. The Preferred available paths are on other non-owning cluster hosts. If host ownership changes through a cluster-administrated move or a failover event, the preferred available path becomes the preferred active path.
Introduction to SANs
Secure Path
[Rev. # or date]
HP Restricted
44
Introduction to SANs
Secure Path
Learning check
Learning Check
1. What components make up a Secure Path solution? . . 2. What is the purpose of a profile? . 3. What is the maximum number of servers that a Secure Path Manager can manage? . 4. What command do you use for Secure Path Manager for HP-UX? .
Introduction to SANs
Secure Path
Introduction to SANs
Secure Path
Introduction to SANs
SAN Troubleshooting
SAN Troubleshooting
Module 11
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Objectives
After completing this module, the student will be able to: Understand how to trace SAN problems Gather troubleshooting data Use switch commands to gather information
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
About Troubleshooting
P I S A NS wi h 2 / 2 c t 3
1 6
1 7
1 8
1 9
2 0
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
2 9
3 0
3 1
1 0
1 1
1 2
1 3
1 4
1 5
Troubleshooting should begin at the center of the SAN the fabric. Because switches are located between the hosts and storage devices, and have visibility into both sides of the storage network; starting with them can help narrow the search path. After eliminating the possibility of a fault within the fabric, see if the problem is on the storage side or the host side, and continue a more detailed diagnosis from there. Using this approach can quickly pinpoint and isolate problems. For example, if a host cannot see a storage device, run a switch command to see if the storage device is logically connected to the switch. If not, focus first on the storage side. Use storage diagnostic tools to better understand why it is not visible to the switch. Once the storage can be seen from the switch, if the host still cannot see the storage device, then there is still a problem between the host and the switch.
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Tracing problems
What has changed? Has anything new been added/removed/reconfigured? When was it working last? Analyze physical system setup Devices attached to switch ports Diagram of system configuration Gather external switch information Is the power LED on? List the LED colors by port
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Analysis
Based on analysis of initial information:
Hardware or Software?
Hardware
Run diagnostics as necessary
Software
Review log/traces portLogShow/Dump supportShow Analyzer Traces
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Troubleshooting tools
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
SupportShow command
SupportShow prints the switchs information for debugging purposes and executes the following commands in the order shown:
version uptime tempShow psShow licenseShow diagShow errDump switchShow portFlagsShow portErrShow mqShow portSemShow portShow portRegShow portRouteShow FabricShow TopologyShow qlShow nsShow nsAllShow cfgShow configShow faultShow traceShow portLogDump
Rev. 4.21
Introduction to SANs
SAN Troubleshooting
errShow command
Two errors which been detected (in this example) The task ID and task name that incurred the error The error type, date and time, the error level, and description If there is more than one occurrence of an error type, the number of occurrences is shown in brackets following the date and timestamp
Rev. 4.21
10
Introduction to SANs
SAN Troubleshooting
switchShow command
Switch Diagnostics
The switch status can be either Healthy/OK, Marginal/Warning, or Down. The overall status of a switch is determined by the status of several individual components within the switch. Enter the switchshow command at the command line. This command displays the following information for a switch: switchname - Displays the switch name. switchtype - Displays the switch model and firmware version numbers. switchstate - Displays the switch state: Online, Offline, Testing, or Faulty. switchrole - Displays the switch role: Principal, Subordinate, or Disabled. switchdomain - Displays the switch Domain ID. switchid - Displays the embedded port D_ID of the switch. switchwwn - Displays the switch World Wide Name. switchbeacon - Displays the switch beaconing state: either ON or OFF. The switchshow command also displays the following information for ports on the specified switch: Module type - The GBIC type if a GBIC is present. Port speed - The speed of the Port (1G, 2G, N1, N2, or AN). The speed can be fixed, negotiated, or auto negotiated. Port state - The port status. Comment - Displays information about the port. This section may be blank or display WWN for F_port or E_port, Trunking state, upstream or downstream status.
Rev. 4.21
11
Introduction to SANs
SAN Troubleshooting
portshow
Rev. 4.21
12
Introduction to SANs
SAN Troubleshooting
portstatsshow
Rev. 4.21
13
Introduction to SANs
SAN Troubleshooting
Hardware diagnostics
Hardware monitoring commands: fanshow
psshow
tempshow
Rev. 4.21
14
Introduction to SANs
SAN Troubleshooting
Helpful Commands 1 of 3
Error Log Switch Offline errDump switchDisable Displays the error log without page breaks. Sets the switch to offline state necessary to run certain switch diagnostics. Checks CPU RAM memory. Run offline or online. Checks that the registers and static memory in each ASIC can be successfully accessed.Run offline. Checks that the central memory in each ASIC can be successfully accessed. Run offline.
Memory Test
ramTest
portRegTest
centralMemoryTest
Rev. 4.21
15
Introduction to SANs
SAN Troubleshooting
Helpful Commands 2 of 3
Control Message Interface (CMI) Conn Test Content Addressable Memory (CAM) Test Error Log Port Loopback Test
cmiTest
camTest
errDump portLoopbackTest
Verifies that control messages can be sent from ASIC to ASIC. Run offline. Verifies CAM functionality. Run offline. Displays error log without page breaks. Checks all switch main board\ hardware. Frames transmitted are looped back and received. Run offline
Rev. 4.21
16
Introduction to SANs
SAN Troubleshooting
Helpful Commands 3 of 3
Cross Port Test Spin Silk Test SRAM Data Retention Test CMem Data Retention Test
CmemRetentionTest
Checks all switch paths. Run offline or online. Checks all switch paths. Run offline. Verifies that data written into ASIC memories is retained. Runs offline. Verifies that data written into ASIC SRAMs is retained. Runs offline.
Rev. 4.21
17
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
18
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
19
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
20
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
21
Introduction to SANs
SAN Troubleshooting
Learning check
Learning Check
1. When gathering troubleshooting data, what specific tools or commands can you use? 2. What command do you use to gather information about the switch temperatures? 3. If you had connectivity issues within your SAN, what would you check first?
Rev. 4.21
22
Introduction to SANs
SAN Troubleshooting
Rev. 4.21
23
Introduction to SANs
Module 12
2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Rev. 4.21
Introduction to SANs
Enterprise
core 2/64 SAN director 128 director 2/140 director 2/64 MDS 9509 MDS 9506
Mid-range
switch 2/32
edge 2/32
MDS-9216
Entry level
edge 2/24 switch 2/16 switch 2/8 EL MSA SAN Switch 2/8 edge 2/12 MDS 9140 MDS 9120
Supported switches as of May, 2004. B-series Manufactured by Brocade M-series Manufactured by McData C-series Manufactured by Cisco
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
System Architecture - 16 2-Gbit/second non-blocking Fibre Channel ports Number of Fibre Channel Ports - 16 universal SFP (Small Form factor Pluggable) ports Port Types - FL_Port, F_Port, and E_Port; self-discovery based on switch type (U_Port) Data Traffic Types - Unicast, multicast (256 groups), and broadcast Performance - 2.125 Gbit/sec line speed, full duplex Maximum Frame Size - 2112 bytes per frame Fabric Latency - Less than 2 microseconds with no contention, cut-through routing Data Transmission Range - Up to 300m (~975 ft) for short-wavelength optical link at 2 Gbps Topology - Fabric Crossbar Switch Fabric Services Simple Name Server, Registered State Change Notification (RSN), Alias Server (multicast), Zoning, WEB TOOLS, Optional QuickLoop, Fabric Watch, Extended Fabrics, Remote Switch Supported Software Telnet, SNMP, WEBTOOLS, Zoning, Fabric Watch, Extended Fabrics, Remote Switch Management Access - 10/100 Ethernet (RJ-45), serial port Diagnostics - POST and embedded online/offline diagnostics
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
System Architecture - 16 2-Gbit/second non-blocking Fibre Channel connections Number of Fibre Channel Ports - 16 Port Types - G_port Media Type - Hot plug, industry-standard LC Small Form Factor Port Speed - 1.0625 2.125 Gb/sec, full duplex Switch Bandwidth - 64 Gbps end-to-end Maximum Frame Size - 2112 bytes per frame Fabric Latency - Less than 2 microseconds average Topology - Fabric Crossbar Switch Fabric Services - Simple Name Server, In-order delivery (Class 2, 3), Management Server (optional), Broadcast, Name Server Zoning Management Options - HP StorageWorks HA-Fabric Manager, Command Line Interface, Embedded Web Server, SNMP Management Access - In-band, Ethernet (10/100 Mbps) Availability Features - Hot plug power supplies and fans, Hot plug optics, Hot load firmware upgrades, Call-home, email, Maintenance port (DSUB), Thermal protection, Unit, port, FRU beaconing, System error LED, FRU failed LED Diagnostics - Power-on self test (POST), On-line port, CTP, SBAR, Internal and external loopback, On-line system health
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
System Architecture - 32 2-Gbit/second non-blocking Fibre Channel connections Number of Fibre Channel Ports - 32 Port Types - G_port Media Type - Hot plug, industry-standard LC Small Form Factor Port Speed - 1.0625 2.125 Gb/sec, full duplex Switch Bandwidth - 128 Gbps end-to-end Maximum Frame Size - 2112 bytes per frame Fabric Latency - Less than 2 microseconds average Topology - Fabric Crossbar Switch Fabric Services - Simple Name Server, In-order delivery (Class 2, 3), Management Server (optional), Broadcast, Name Server Zoning Management Options - HP StorageWorks HA-Fabric Manager, Command Line Interface, Embedded Web Server, SNMP Management Access - In-band, Ethernet (10/100 Mbps) Availability Features - Hot plug power supplies and fans, Hot plug optics, Hot load firmware upgrades, Call-home, email, Maintenance port (DSUB), Thermal protection, Unit, port, FRU beaconing, System error LED, FRU failed LED Diagnostics - Power-on self test (POST), On-line port, CTP, SBAR, Internal and external loopback, On-line system health
Rev. 4.21
Introduction to SANs
[Rev. # or date]
HP Restricted
System Architecture - 24 2-Gbit/second non-blocking Fibre Channel connections Number of Fibre Channel Ports - 24 universal SFP ports Port Speed - 1.0625 Gb/s, full duplex, 2.125 Gb/s, full duplex Switch Latency - Less than 1 microsecond average Aggregate Bandwidth - 96 Gb/s Media Type - Hot-plug, industry standard LC Small Form Factor (SFP) Fabric Services SNS, In order delivery (Class 2,3), Management Server (optional), Broadcast, Name server zoning Management Access - In-band over Fibre Channel, 10/100Mb/s Ethernet (RJ-45) Diagnostics - Power on self-test (POST), On-line port, Internal & external loopback, On-line system health
Rev. 4.21
Introduction to SANs
Cisco MDS9120
Cisco MDS 9120 Multilayer Fabric Switch C-Series Switch Cisco MDS 9120 (346700-B21)
[Rev. # or date]
HP Restricted
Maximum Number of Devices/Ports 20 Fibre Channel ports (9120) 1 10/100 Mb Ethernet port Port Speed - 1 or 2 Gb/sec auto-sensing /Fibre Channel Diagnostics and Troubleshooting Tools Fibre Channel ping and trace route SPAN Protocol analysis and decoding Zone and VSAN merge analysis Integrated Call Home capability.
Rev. 4.21
Introduction to SANs
Cisco MDS9216
Cisco MDS 9216 Multilayer Fabric Switch Cisco MDS 9216 (332315-B21)
[Rev. # or date]
HP Restricted
Port Speed - 1 or 2 Gigabit/sec auto-sensing /FC port Ports per Chassis 16 to 48 Auto-Sensing 2 / 1-Gb Auto-Sensing FibreChannel ports Upto 8 1-Gb Ethernet ports (user configurable foriSCSI or FCIP) Port Types 1 / 2 Gigabit FC ports 10/100 Mb Ethernet port (management) RS-232 RJ-45 console port DB-9 COM port Supported Protocols Fibre Channel (auto-sensing 1 / 2 Gigabit) iSCSI FCIP Diagnostics and Troubleshooting Tools SPAN FC Traceroute FC Ping Call Home Embedded Fibre Channel protocol analyzer Zone and VSAN merge analysis System health monitoring IP Storage Services Module Capable - Yes
Rev. 4.21
Introduction to SANs
Complete Lab 13
Rev. 4.21
Introduction to SANs
Rev. 4.21
10