Вы находитесь на странице: 1из 54

Brocade Administration

&
Troubleshooting

10th Jan 2014


Jayaprakash Aridos

Brocade Storage SAN Family


The Leading SAN Connectivity Solutions
for Open Systems & Mainframe Environments

SAN256B-2
(2109-M48)
16 to 384-ports
1, 2, 4, 10Gbps
FC, FICON

SAN Fabric Management Tools

Fabric Manager

EFCM

NEW

SAN64B-2
(2005-B64)
32 to 64-ports
1, 2, 4Gbps
FC, FICON

SAN140M
(2027-140)
4 to 140-ports
1, 2, 4, 10Gbps
FC, FICON

FC Routing, iSCSI
and Extension
Solutions
SAN18B-R (2005-R18)
256B FCR Blade (FC
#3450)

SAN32B-3
(2005-B5K)
16 to 32-ports
1, 2, 4Gbps FC
SAN16B-2
(2005-B16)
8 to 16-ports
1, 2, 4Gbps FC
12/30/15

SAN256M
(2027-256)
32 to 256-ports
1, 2, 4, 10Gbps
FC, FICON

256B iSCSI (FC #3460)


4 Gbps SAN
Switch Module
for IBM BladeCenter
1, 2, 4Gbps FC
Brocade Administration &
Troubleshooting

*10 Gbps on SAN256B in 3Q07

Brocade Advanced Features


Enhancing Performance and Availability

Feature

Description

8 Gbit/sec
Bandwidth

Next generation SAN


performance today.
Double SAN
bandwidth.

Dynamic Path
Selection

ISL Trunking

SAN Benefits
8 Gbit/sec
Link

Performanc
e

Dynamically balance
traffic across multiple
links and trunk
groups.

Improved Performance
8 Gbit/sec Inter-Switch Links
(ISLs)
8 Gbit/sec links to next-gen
devices
Up to 32 Gbit/sec ISL Trunks
Infrastructure
Simplification
Simpler SAN topology

Build SAN with


up to 32 Gbit/sec
performance
optimized trunks.

Increased SAN Availability


Investment Protection
Up to 32Gbit/sec Trunk

Extended
Fabric
12/30/15

Extend native FC
links up to 500 km.
Combine with ISL
Trunking up to
250 km.

Enhanced Business Continuity


SAN

Improved distances and


performance for Metro Mirroring
and Remote Backup

SAN
Brocade Administration &
Troubleshooting

Brocade Advanced Features


Enhancing Fault Isolation, Management and Security

Feature

Description

SAN Benefits

Hardware
Enforced
Zoning

Prevents one device


from communicating to
another device it is not
authorized to access.
Enforced at the ASIC
level

Fabric
Watch

Monitoring and alerting


of key SAN statistics
such as perf, error,
security

Advanced
Performance
Monitoring
Advanced
Security

12/30/15

Highly granular SAN


perf. monitoring to
differentiate traffic
between devices

SAN

Isolate devices from each other in


the fabric such that there is no
possible interaction between
devices that are not explicitly
defined. Enhance security and fault
isolation.
Enhance Business Continuity

SAN

Improve application availability


Alert admin of marginal/hard errors
Enhance performance monitoring

SAN

Robust encryption,
authentication and
authorization SAN
policies

Simplify capacity planning


Enable bill-back capabilities
Enhance Business Continuity
Protect SAN from hackers
Reduce user errors

Brocade Administration &


Troubleshooting

Brocade Advanced Features


FCIP, FC Routing and Partitioning

Feature

Description

SAN Benefits

Virtual SAN
Fabrics

Partition the SAN fabric


at port level to isolate
mngt, admin roles,
RSCNs, fabric events

Allows separation of a SAN fabric into


smaller fabrics that may overlap and
share devices

SAN LPARS

Create HW logical
partition at card level
for independent
managed directors in a
single chassis

Independent fabric services per


partition allows true Segmentation
of data, control and management
traffic

Spare
ports

Production

Test
Backup

FCIP
Tunneling

Extends FC links up to
1000s km over IP
network. FC and FCIP
Fast Write

FC Routing

Route selected SAN


traffic between SAN
islands w/o merging
fabrics and admin

12/30/15

SAN

/IP
P
TC

SAN

Enhanced Business Continuity.


Improved Global Mirroring and
Tape Vaulting

Improve storage resource sharing,


Enables SAN consolidation,
Maintains SAN security and fault
isolation
Brocade Administration &
Troubleshooting

Brocade Advanced
Features
FICON
Features
FeatureSpecificDescription
FICON/FC
Intermix

SAN Benefits

FICON and FCP


protocol intermix at the
port level.

N-Port
Virtualization
(NPIV)

Allows multiple Linux


Logical Partitions to
share a single FCP
channel

High Integrity
Fabrics

Binds Switches to
Fabric for increased
Security

zSerie
siSerie
s
pSeries
xSeries

Auto-sensing protocol and port

DS8000 speeds increase flexibility and


DS6000 provides greater port level
DS4000

z9

M48

12/30/15

FICON in-band
management of
Directors from the
Mainframe

Use fewer FCP channels on


Mainframe
Better channel utilization and
simpler infrastructure

M48

Enhanced Business Continuity.

M48

Improved distances/performance
for Metro Mirroring and Remote
Backup

z9

Simplify management and


monitoring of directors

(FICON
Cascading)
FICON CUP

granularity.

In-band
M48
Management
Brocade Administration &
Troubleshooting

Single point of management for


Enterprises
6

New Hardware from Brocade


10Gbps blade (FC #3470)
6-ports for 10Gbps ISL connectivity using SW, LW and ELW
XFP media
All Brocade directors now offer 10Gbps inter-switch links
Ideal for Long distance, high bandwidth BC/DR solutions
Support distances over 100km

iSCSI blade (FC #3460)


Supports iSCSI initiators and Fibre Channel
target/initiator
8 GigE ports and 8 FC ports (1/2/4 Gbps)
64 iSCSI initiators per port, 512 initiators per blade
Up to 4 blades per SAN256B (2048 tested)
12/30/15

Brocade Administration &


Troubleshooting

FOS Enhancements from Brocade


FC Routing and FCIP:
Increased Scalability for the SAN18B-R or FC-FCIP Routing Blade for
M48
Up to 12 Layer 2 switches and 12 FC Routers in the backbone fabric
FCIP tunnels offer QoS capabilities to ensure specific bandwidth
FC and FCIP FastWrite capabilities to enhance long distance mirroring
solutions
Security management:
Complete migration of Secure Fabric OS features in the base FOS
code
A new Security Administrator role for separation of security and
fabric administrators
Tracking of logins to see breaches in the fabric.
Fabric authentication with standards-based improvement for deviceto-fabric attachment (FC-SP DH-CHAP)
IPv6 capabilities for all management interfaces
IP over FC support:
Supporting Broadcast Zoning to reduce device interruption
Targeted for the film industry
When using FC as a common backbone for for host-to-storage and
host-to-host file transfer.
Reducing overall production time and improving the integrity/security
of digital data transfers.
Access Gateway feature added to SAN16B-2 to allow greater scalability and
Brocade Administration &
simplify connectivity
12/30/15
8
Troubleshooting

Brocade Switch Module for BladeCenter


Connecting to McDATA SAN fabrics
Connecting BladeCenter to McDATA fabrics:
2007 use the no-cost feature on Brocade called Access Gateway
2008 use Access Gateway feature or the M-EOS (NI) mode

Do not use the former McDATA/QLogic module


QLogic HW and firmware
Being End-of-Lifed
Not as good a solution as Brocade SAN Switch in long run

Brocade
BladeCenter
SAN Switch
Modules

Access Gateway

Native McDATA

Interoperability

Interoperability

End
Sale

McDATA/QLogi
c
FC Switch
Modules
12/30/15

2008

2007

2006

Brocade Administration &


Troubleshooting

NPIV & NPV

Two technologies that seem to have come to the fore recently are
NPIV (N_Port ID Virtualization) and NPV (N_Port Virtualization).

NPIV

What NPIV does is allow a single physical N_Port to have multiple WWPNs,
and therefore multiple N_Port_IDs, associated with it. After the normal
FLOGI process, an NPIV-enabled physical N_Port can subsequently issue
additional commands to register more WWPNs and receive more
N_Port_IDs (one for each WWPN). The Fibre Channel switch must also
support NPIV, as the F_Port on the other end of the link would see
multiple WWPNs and multiple N_Port_IDs coming from the host and must
know how to handle this behavior.
N port identifier virtualization (NPIV) provides a means to assign multiple
FC IDs to a single N port. This feature allows multiple applications on the N
port to use different identifiers and allows access control, zoning, and port
security to be implemented at the application level. The following
figureshows an example application using NPIV.

12/30/15

Brocade Administration &


Troubleshooting

10

12/30/15

Brocade Administration &


Troubleshooting

11

NPV

NPV introduces a new type of Fibre Channel port, the NP_Port. The NP_Port
connects to an F_Port and acts as a proxy for other N_Ports on the NPV-enabled
switch. Essentially, the NP_Port looks like an NPIV-enabled host to the F_Port on
the other end. An NPV-enabled switch will register additional WWPNs (and
receive additional N_Port_IDs) via NPIV on behalf of the N_Ports connected to it.
The physical N_Ports dont have any knowledge this is occurring and dont need
any support for it; its all handled by the NPV-enabled switch.
So why is this functionality useful? There is the immediate benefit of being
able to scale your Fibre Channel fabric without having to add domain IDs,
yes, but in what sorts of environments might this be particularly useful?
Consider a blade server environment, like an HP c7000 chassis, where there
are Fibre Channel switches in the back of the chassis. By using NPV on these
switches, you can add them to your fabric without having to assign a
domain ID to each and every one of them.

Benefits of NPIV

Without NPIV, its not possible because the N_Port on the physical host would
have only a single WWPN (and N_Port_ID). Any LUNs would have to be zoned and
presented to this single WWPN. Because all VMs would be sharing the same
WWPN on the one single physical N_Port, any LUNs zoned to this WWPN would be
visible to all VMs on that host because all VMs are using the same physical
N_Port, same WWPN, and same N_Port_ID.
With NPIV, the physical N_Port
Brocade
Administration
&
can
register additional
WWPNs (and N_Port_IDs).12
12/30/15
Troubleshooting
Each VM can have its own WWPN. When you build SAN zones and present LUNs

Ex., VMWare hosts & TOPS


LPARS

Ex., SANTap Module in Meritor

12/30/15

Brocade Administration &


Troubleshooting

13

Benefits of Brocade Access Gateway


No cost feature solves real-world SAN issues
Traditional Datacenter

FC
Switch

FC
Switch

FC
Switch

SAN
FC
Switch

FC
Switch

FC
Switch

Datacenter using Access Gateway

FC
Switch

SW
FC
Switch

Access Gateway Access Gateway Access Gateway


AG

Change
Modes

Brocade
Cisco
McData

Access Gateway Access Gateway Access Gateway

Concerns with Bladed Servers:

Access Gateway offers these benefits:

Difficult to connect to McDATA fabrics


Limited SAN scalability
Obscure Admin responsibility (SAN admin vs
Server admin)

Connects to McDATA Fabrics


Simplifies fabric & allows greater scalability
Clear Admin responsibility

12/30/15

Brocade Administration &


Troubleshooting

14

SAN16B-2 using Brocade Access Gateway


No cost feature simplifies edge connectivity
NEW

SAN16B-2

SAN16B-2

SAN16B-2

Change
Change
16B
16B from
from
Switch
Switch
mode
mode to
to
AG
AG mode
mode

Access Gateway Access Gateway Access Gateway

SAN32B-3

Typical Core-Edge Topology:


One to two core switches
3 to many edge switches
In this example:
1 SAN32B-3 core switch
3 SAN16B-2 edge switches
4 domains to manage
12/30/15

SAN32B-3

Core-Edge Topology with Access Gateway:


Reduce the total number of domains
Connect to FOS, M-EOS and Cisco fabrics with NPIV
In this example:
1 SAN32B-3 core switch
3 SAN16B-2 edge Access Gateways
1 domain to manage
Brocade Administration &
Troubleshooting

15

AG Feature Support Statement


AG is supported on the 4Gb Brocade SAN Switch Module
for BladeCenter and SAN16B-2:
FOS 5.2.1b or above for SAN Switch Module for
BladeCenter
FOS 5.3+ for SAN16B-2
Access Gateway feature requires that NPIV (N-port ID
virtualization) capability be enabled on the external
switches:
Brocade switches running FOS 5.1 with NPIV enabled
McDATA switches running EOS 9.0 with NPIV enabled
M-EOS 9.6 offers NPIV in base code

Cisco switches running OS 3.0 with NPIV enabled

12/30/15

Brocade Administration &


Troubleshooting

16

Typical AG Deployment Scenarios


Use AG Feature only when needed to help overcome an issue.
Default mode for switch module should always be FC switch.
When to use AG?
Enterprise and large data centers where the fabric size is becoming a burden
Greater than 50 switches in an all b-type (Brocade) fabric
Greater than 30 switches in a fabric that includes m-type (McDATA) products

Connecting BladeCenter or 16B-2 to McDATA or Cisco SAN fabrics


Requires NPIV feature on the external switches

Customers SAN Admin group does not want an embedded switch in server
products (i.e. BladeCenter)
When NOT to use AG?
Connecting SAN targets (such as storage) directly to switch module
Environments where customers require switch features not supported by AG
ISL Trunking
Long Distance support greater than 10km (using Extended Fabric license)

12/30/15

Brocade Administration &


Troubleshooting

17

Brocade Director Roadmap


Investing Today & Tomorrow

2006

Seamless growth for


all director platforms

2007
BROCADE AG
(BladeCenter)

2008 & beyond


SAN32B-3

256B Director

384-ports 1,2,4 Gig


FCP, FICON, FCIP
FC Routing
Virtual Fabrics
NPIV

10Gig blade (ISL)


iSCSI Blade

Next Generation Core

Common Management - EFCM


Native Interoperability (M-EOS)
Partitioning
Virtual Fabrics
Features:
1, 2, 4, 8 and 10Gbps
FCP, FICON, FCIP,
FCR, iSCSI, Apps

FOS 6.x
8Gbps blades
FCP and FICON
Native Interoperability (M-EOS)

256M Director

256-ports 1,2,4 Gig


Hard Partitions
Virtual Fabrics
10Gbit/sec ISL
Open Trunking

E/OS 9.6
NPIV
Security Ench
Interoperability
enhancements and
validation

E/OS 9.7
IPv6
Interoperability
enhancements and
validation

140M Director

140-ports 1,2,4 Gig


10Gbit/sec ISL
Open Trunking
NPIV

12/30/15

Interoperability
enhancements and
validation

Brocade Administration &


Troubleshooting

E/OS 9.7
IPv6
Interoperability
enhancements and
validation

18

Next Generation Core Platform


Consolidating and Scaling Your Infrastructure
2007:

2008-2011:

4Gb products are just now


becoming prevalent. End-toEnd solutions with servers, disk
and tape.

4Gb directors will connect into hi-perf Core.


Multiple protocols & very high bandwidth allow
for greatest data center consolidation. 8Gb
FC devices will start rolling out.

140M

256M

Edge

256B

NG Core Director connects


to all 4Gb directors

Next Gen
Core

8Gb

12/30/15

No rip-and-replace for Next Gen SAN.


Seamless growth for all director
Brocade Administration &
platforms.
Troubleshooting

8Gb

Core

4Gb

19

Networking Fundamentals

FC Topology
Fabric Scalability
Initiator/Target relationship
Switch Ports
FC definitions
ISL Concepts
Cable selection
Host Support

12/30/15

Brocade Administration &


Troubleshooting

20

Design the Fabric for your requirements

Cascad
e

Cascade Configurations are


appropriate when:
Traffic patterns are localized
onto individual switches

Consider the Fabric Port


Count :
The total number of FC ports in
the Fabric, this would include
ALL ports on ALL switches for A
fabric, remember that you have
dual fabrics, larger numbers
should mean moving from
cascade / mesh to core-edge
Core-Edge Configs are
appropriate when:
Fabric is likely to grow
A flexible system is required
because of unknown or
undefined requirements
12/30/15
Reliability is required this type

CoreEdge

Brocade Administration &


Troubleshooting

Full
mesh

Mesh Configurations are


appropriate when:
Traffic patterns are evenly
distributed
Overall bandwidth consumption
is low
The maximum config is four to
five switches

21

Fabric or Network
Architectures
Types of architectures are:
Single-Switch
Cascade
Mesh
Core-Edge
Director

12/30/15

Brocade Administration &


Troubleshooting

22

Cascade
Maximum hop count supported is
three

12/30/15

Brocade Administration &


Troubleshooting

23

Mesh

Partial Mesh

12/30/15

Brocade Administration &


Troubleshooting

24

Core-Edge

12/30/15

Brocade Administration &


Troubleshooting

25

Fabric Choices What are


they?

12/30/15

Brocade Administration &


Troubleshooting

26

How many fabrics are show


below?

12/30/15

Brocade Administration &


Troubleshooting

27

Fabric Scalability
Examples of Fabric Scalability
Scale performance by adding
ISLs or additional core
switches
Scale # ISLs

Scale # Core Switches

Scale fabric
size by adding
12/30/15
switches

Scale fabric size by


replacing existing
core with a larger
core
Scale # ports

Brocade Administration &


Troubleshooting

28

Design the Fabric for your


requirements
Serviceability using a Dual Fabric Design
Firmware upgrade can be done without I/O interruption if the
following Rolling Upgrade is applied
Dual path is required from server and storage

Add new switches or upgrade current switches easily


1

Upgrade
Storage
12/30/15

Upgrade
New
Firmware Storage
Brocade Administration &
Troubleshooting

Both
Switches
have New
Firmware

Storage
29

Initiator/Target Relationship
HOST (Initiator)

Fabric/Network

Controller (Target)

Fibre Channel HBAs

Windows or UNIX
FC
driver

Application

SCSI over
Fibre Channel

FC
driver
iGroup

File
System

SCSI
driver

iSCSI
driver

iSCSI
driver

TCP/
IP

SCSI over TCP/IP


(iSCSI)

TCP/
IP

12/30/15

Brocade Administration &


Direct Attached Storage
(DAS)
Troubleshooting

WAFL
RAID

Data ONTA

Fibre Channel or
Serial ATA Attach

iSCSI HBAs or Ethernet NICs


SCSI Adapters

SCSI

LUN
30

WWNN and WWPN


Examples
HBA WWNN (World Wide Node
Name)
20:00:00:2b:34:26:a6:54

HBA WWPN (World Wide Port


Name)
21:00:00:2b:34:26:a6:54
22:00:00:2b:34:26:a6:54

12/30/15

Brocade Administration &


Troubleshooting

31

Switch Ports
E_Port - An expansion port connecting two switches to
make a fabric.

F_Port - A fabric port to which an N_Port attaches.


FL_Port - A fabric loop port to which a loop attaches;
needs FL card LED turned on. It is the gateway to the
fabric for NL_Ports on a loop.

G_Port - A generic port that supports either E_Port or


F_Port functionality.

L_Port - Node Loop port; a port supporting the


Arbitrated Loop protocol.

N_Port - A fibre channel port in a fabric or point-topoint connection.


12/30/15

Brocade Administration &


Troubleshooting

32

SAN Made Easy Auto


Discovery
What do I want to be when
I grow up?

U_Port
y/n

n
o

FL_Port

Is something plugged into the port?

yes

y/n

yes

Do you want to talk loop?

no

G_Port

F_Port

fabric
pt-to-pt

Im waiting for someone to talk to me

Are you a switch or a fabric point-to-point


device?
switch

E_Port
12/30/15

Brocade Administration &


Troubleshooting

33

FC Definitions

ISL: Inter-Switch Link or a Switch-to-Switch Link; ISLs connect between two


switch nodes to form E_ports.

Locality: The degree that I/O is confined to a particular switch or segment


of a fabric. If two devices that need to communicate with each other are
located on the same switch or segment, then these two devices are said to
have high locality. If these same devices are located on different switches
or segments of a fabric and these two devices need to communicate with
each other, then these devices are said to have low locality.

Redundancy: When devices have two or more fabrics and multiple paths
for a source to reach its destination the fabric is considered to have
redundancy. This is critical so that when an initiator primary path fails, the
secondary initiator path will be available so that initiator hosts can still
communicate with their targets, at reduced performance.

Resiliency: The ability of a fabric to adapt to or tolerate a failure of a


component. A fabric is said to have resiliency when it can tolerate 1 or
more device failures from any component within the fabric, whether it is a
switch, ISL, or HBA failure.

RSCN: Registered State Change Notification is the fabric mechanism that


allows notifications to be sent to nodes if a change occurs within the fabric,
ie. device going offline or online on a fabric port.

12/30/15

Brocade Administration &


Troubleshooting

34

SCR: State Change Registrations are used by devices to register to receive

FC Definitions

ISL Oversubscription Ratio: Inter-switch Link Oversubscription Ratio is the ratio of


device, or data input ports that might drive I/O between switches to the number of
ISLs over which the traffic could cross.

ISL Oversubscription = Number of Host Nodes: Number of ISLs, or IO=Nhn:Ni.

Fan-in ratio: The ratio of storage ports to a single host port

Fan-out ratio: The ratio of host ports to a single storage port

Buffer-to-buffer credits: The number of buffer-to-buffer credits determines the


number of Fibre Channel frames that a switch can transmit on a link at one time
before requiring an acknowledgement back from the receiver. Performance
degradation may occur if there arent enough credits available to sustain
communication between switches. As the distance between switches increases,
additional buffer-to-buffer credits are required to maintain maximum performance.
Credits are allocated from a common pool of memory on the switch ASIC.
Formula to approximate # of Credits required over long distance:
Buffer Credits = ((Distance in KM) * (Data Rate) * 1000) / 2112
Data Rate = 1.0625 Mbaud for 1 Gbit/sec Fibre Channel
Data Rate = 2.1250 Mbaud for 2 Gbit/sec Fibre Channel
Data Rate = 4.2500 Mbaud for 4 Gbit/sec Fibre Channel

12/30/15

Brocade Administration &


Troubleshooting

35

Best Practice ISL Oversubscription

A 7:1 ISL oversubscription ratio is aligned with an industry average


of 6:1 fan-out. The trend in the storage industry is that the hosts
to storage ratios are increasing, as is the performance of storage
devices. A 7:1 ISL oversubscription ratio should be targeted in SAN
designs, with the ISL oversubscription ratio being adjusted higher
or lower to meet particular performance requirements. While this
ISL oversubscription ratio is conservative, it is felt that the cost of
not having enough performance and having to reshuffle devices
and ISLs is much greater than the cost of having a few extra spare
ports that can be used to connect SAN devices at a later point in
time.

Rule of thumb: The higher the ISL oversubscription ratio, the lower
the performance and conversely, the lower the ISL
oversubscription ratio, the higher the expected I/O performance.
An ISL oversubscription ratio of 3:1 results in high performance
and fewer available ports while an ISL oversubscription ratio of
15:1 results in lower potential performance and additional
available ports reserved for devices. With the advent of 4Gbps
ISLs, higher oversubscription ratios can exist while maintaining
more than adequate bandwidth (since bandwidth is doubled per
Brocade
Administration
&
ISL) and higher device port
counts
for 2Gbps
devices.
12/30/15
36
Troubleshooting

FC SAN Host Support


OS
Vendor

HBA
Emulex /
Qlogic
Emulex /
Native 4Gb
Native

Native

* (via PVR)
12/30/15

Multipath

Host Cluster Volume Mgr

MPIO NetApp DSM /


MSCS
VERITAS DSM for MPIO*VERITAS VCS

VERITAS DMP /
MPxIO*
HP PVLinks /
VERITAS DMP
SANpath /
MPIO

File System

MMC /
NTFS
VERITAS VxVM*

VERITAS VCS /
VERITAS
Native SUN Cluster* VxVM

VERITAS
VxFS

JFS/ HFS
MC ServiceGuard / LVM /
Raw
VERITAS VCS
VERITAS VxVMVERITAS VxFS
HACMP

LVM

QLogic

QLogic

Oracle 9i, 10g RAC /


LVM Under Test
RH Cluster Suite*

QLogic

QLogic

Oracle 9i, 10g, RAC

QLogic

QLogic

Emulex
QLogic

VMware

Brocade Administration &


Troubleshooting

ext3 / ext2 /
Reiser /
GFS*
ext3
ext2
Reiser
NSS

Novell Clusters
MSCS
VirtualCenter (VMotion)

JFS/2
Raw

VMware

VMFS 2.x
Raw
37

Cable Distance Chart

12/30/15

Brocade Administration &


Troubleshooting

38

Zoning and Troubleshooting

Important Commands
Zoning (how to zone)
Zoning Best practices
Troubleshooting Procedure
Basic Troubleshooting

12/30/15

Brocade Administration &


Troubleshooting

39

FC switch tools provided by switch manufacturer


(Brocade)

switchshow
Displays status of the FC switch and all its ports
Show FC nodes currently logged into the switch (depends on
FC zones, if any)

cfgshow
Show zones currently available on the FC switch
Shows information about the current FC configuration and
which zone(s) are enabled

supportshow: Displays switch information for debugging


purposes

ssshow: Displays information about the name server


nsshow: Verifies that clients are logged into the name server
fabricshow: Displays fabric membership information
configure

Changes switch configuration settings.


Switch need to be offline
to run this
Brocade Administration
& command
12/30/15
Troubleshooting

40

FC switch tools provided by manufacturer


(Brocade) (cont.)
alicreate, zonecreate: Create aliases and zones
cfgcreate, cfgsave, cfgenable,cfgshow: Manage zone
configs
version: Displays firmware version information
portshow, portcfgshow, porterrshow, portLogDumpPort,
portenable, portdisable
Manage ports
diagshow: Displays switch diagnostics
webUI: Web GUI available by browsing to the switch ip adress
nodefind, nszonemeber To search wwns across fabric and
Brocade Administration &
12/30/15
41
inside zoning
Troubleshooting

Switch Zoning

Domain on Brocade Switches


Make sure that the Domain ID is set to a different
value on all switches in a fabric
Example : if there are two fabrics in solution then
the Domain ID on each switch in Fabric A should
be set to an increasing odd number and for Fabric
B set each Domain ID to an increasing even
number
Fabric A 11, 13, 15, 17, etc.
Fabric B 10, 12, 14, 16, etc.
Note: if HP-UX is involved then skip 8, this ID was used for
Loop Configs

Name Server service in fabric that provides


directory services and info about ALL devices in
the fabric
12/30/15

Brocade Administration &


Troubleshooting

43

Define and Implement


Zoning
How do I manage Zoning?

Manage zone physically or Logically


Three components to the zone information
One or more devices are placed in a zone
One or more zones are placed in a configuration
One and only one config is made the effective

Soft Zoning: Name Server assisted


Name Server restricts visibility
Always available when zoning enabled
No reduction in performance

Hard Zoning: Hardware Enforced


Available when certain rule checking criteria are met through
hardware logic checking.
Provides additional security in addition to Soft zoning
Prevents illegal access from bad citizens.
No reduction in performance with hard-Port level zoning.
Available using port or WWN with Brocade 2 Gbit/sec

12/30/15

Brocade Administration &


Troubleshooting

44

Define and Implement


Zoning
Zoning Setup Guidelines

Create a detailed diagram of the fabric, showing all the switches


with their ISLs
Create a blowup diagram of each switch in the fabric to account
for devices
Account for private loop devices if they exist
There are special considerations for mixed 1 Gbit/sec and
2Gbit/sec based fabrics
For security reasons, consider disabling a port if the zoned fabric is
going to contain unused ports, with nothing connected to them
Configure one zone at a time and then test it

Do not create all the zones at once; it will be troublesome to debug


After the first zone is setup in the fabric, plug in devices and then test
the connections to confirm that everything is functioning properly
This process may seem a little tedious, but it will save time and money
trying to debug this after creating all the zones and then plugging in
Brocade Administration &
12/30/15 the devices
45
Troubleshooting

Define and Implement


Zoning
Implementing Zoning

Naming convention
There typically of three types of devices, server HBA, the storage port, and
the tape port.
These will have an alias.
SRV for servers
STO for Storage
TPE for Tape
For example,
SRV_MAILPROD_SLT5 a server, hostname mailprod, in PCI slot 5
Keep names as small as possible to conserve space in zone database
Minimize duplication in alias definitions where possible
Keep zoning database as clean and accurate as possible

Fabric Name
Fabric name is the name that the fabric is generally known by.
PROD configuration is to easily identify the configuration that can be
implemented and provide the most generic services.
BACKUP_XX, TEST_XX may be used

12/30/15

Brocade Administration &


Troubleshooting

46

Define and Implement


Zoning
10 Zoning Rules - Brocade
1) If security is a priority, then a Hard Zone-based
architecture coupled with Hardware Enforcement is
recommended
2) Using aliases, though optional, should force some structure
when defining your zones.
3) Add Secure Fabric OS into the Zone Architecture if extra
security is required.
4) If a SilkWorm 12000 is part of the fabric, then use it to
administer zoning within the Fabric
5) If QuickLoop is required for legacy devices and the switch
is running Brocade Fabric OS v4.x:
QuickLoop / QuickLoop zones cannot run on switches
running Brocade Fabric OS v4.x.
QuickLoop Fabric Assist - Brocade Fabric OS v4.x cannot
have a Fabric Assist host directly connected to it.
12/30/15

Brocade Administration &


Troubleshooting

47

Define and Implement


Zoning
10 Zoning Rules - Brocade
6) Before implementing a zone run the Zone Analyzer and
isolate any possible problems.
7) Before enabling or changing a fabric configuration,
verify that no one is issuing I/O in the zone that will
change.
8) Changes to zoning should be done during preventative
maintenance to minimize any potential disruption.
9) After changing or enabling a zone configuration,
confirm that nodes and storage are able to see and
access one another.
10)LUN Masking should be used in conjunction with fabric
zoning for maximum effectiveness.
12/30/15

Brocade Administration &


Troubleshooting

48

Zoning Example Single


Fabric
Host2

Host3

Host1

Host4

zone1

FC Fabric

zone2

What is needed on the hosts


systems and on which systems is
it needed in this configuration?
Storage

12/30/15

Brocade Administration &


Troubleshooting

49

Simple Troublshooting Cmds


cfgactshow |grep cfg =====>to check the current zoneset
config

zoneshow *zone_name* <-- To search in zones
alishow *alias_name* <-- To search in alias
cfgactshow |grep <host_name> To search zone in active
zoneset
switchshow |grep <wwn> <-- to check flogi information
nszonemember <wwn> <-- FCNS database and to check
zoned' objects
portshow <interface> <-- To Show interface
portloginshow <interface> <-- To list port logins
fabricshow <-- To check switch topology
12/30/15

Brocade Administration &


Troubleshooting

50

Zoning Ex.,
Step by step zone creation and activation
cfgactvshow |grep cfg - check the current activated zoneset or configuration

alicreate "S0ADCF1S2P8_HBA2_PROD", "c0:50:76:00:51:3e:00:06" <-- To create fcalias


alicreate "S0ADCF1S2P8_HBA2_LPM", "c0:50:76:00:51:3e:00:07"

zonecreate "USCLSITPS002_S0ADCF1S2P8_HBA2_CX1571_SPA0",
"S0ADCF1S2P8_HBA2_PROD; S0ADCF1S2P8_HBA2_LPM; CX1571_SPA0" <-- To create zone

zoneshow *USCLSITPS002_S0ADCF1S2P8_HBA2_CX1571_SPA0* <--- Check the zone is


created on the switch

cfgsave <-- To save configuration file

cfgadd "Fab2_VF70_10212013", "USCLSITPS002_S0ADCF1S2P8_HBA2_CX1571_SPA0" <-- To
add zone into existing configuration (zoneset)
cfgsave <-- To save latest configuration

cfgenable "Fab2_VF70_10212013" <-- To activate configuration file (activate zoneset)

12/30/15

Brocade Administration &


Troubleshooting

51

Troubleshooting Ideas

Microsoft Word
Document

12/30/15

Brocade Administration &


Troubleshooting

52

Q&A

12/30/15

Brocade Administration &


Troubleshooting

53

THANK U

12/30/15

Brocade Administration &


Troubleshooting

54

Вам также может понравиться