Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
October 2014
Brocade, the B-wing symbol, Brocade Assurance, ADX, AnyIO, DCX, Fabric OS, FastIron, HyperEdge, ICX, MLX, MyBrocade, NetIron,
OpenScript, VCS, VDX, and Vyatta are registered trademarks, and The Effortless Network and the On-Demand Data Center are trademarks
of Brocade Communications Systems, Inc., in the United States and in other countries. Other brands and product names mentioned may be
trademarks of others.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any
equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document
at any time, without notice, and assumes no responsibility for its use. This informational document describes features that may not be
currently available. Contact a Brocade sales office for information on feature and product availability. Export of technical data contained in
this document may require an export license from the United States government.
The authors and Brocade Communications Systems, Inc. assume no liability or responsibility to any person or entity with respect to the
accuracy of this document or any loss, cost, liability, or damages arising from the information contained herein or the computer programs that
accompany it.
The product described by this document may contain open source software covered by the GNU General Public License or other open
source license agreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to
the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.
Contents
Brocade VCS Storage Deployment Guide................................................................................... 5
Preface..............................................................................................................5
Storage Technology Overview.......................................................................... 5
Direct-Attached Storage........................................................................6
Network-attached storage..................................................................... 6
Storage Area Network...........................................................................7
Deployment options........................................................................................ 13
Rack server and ToR connectivity to the FC SAN using FC routing...14
Rack server and ToR connectivity to an FC SAN using an access
gateway......................................................................................... 33
FC/FCoE storage connectivity from ToR, rack server, and ToR
connectivity to storage...................................................................37
Preface
This document is a deployment guide for integrating a storage area network (SAN) into a Brocade VCS
fabric. It is written for technology decision-makers, architects, systems engineers, NOC engineers and
other experts responsible for network upgrades and migration.
This document explains the purpose and operation of a SAN, provides the configuration procedures,
and presents three common use cases for deploying a SAN in a VCS fabric.
This document provides step-by-step examples to prepare, perform, and verify the deployment of
storage in a VCS fabric. It is assumed that the reader is familiar with establishing console access and
entering commands using the Brocade CLI. For information about the Brocade CLI, refer to the Network
OS Administration Guide.
Document History
Date
Version
Description
October 2014
1.0
Initial version
Direct-Attached Storage
Direct-Attached Storage
FIGURE 1 Direct-Attached Storage
Figure 1 illustrates DAS, where the CPU is attached directly to the disk drives over the system bus,
using the SCSI protocol to write and read blocks of data to and from disk storage devices
Network-attached storage
FIGURE 2 Network-attached storage
Figure 2 illustrates NAS, where servers and other storage consumers are connected to a storage array
through an Ethernet LAN. Servers communicate with the storage arrays using the following protocols:
Network File System (NFS): NFS reads and write files to a storage device, which has a controller
that converts the file to blocks of data (block I/O) that are written and read to the local disks on the
device.
Internet Small computer system interface (iSCSI): iSCSI sends and receives blocks of data from
and to the disk on the storage device over an IP network.
SCSI reads and writes data in blocks directly from and to the storage device. Block I/O is faster
because it directly accesses the storage device.
Figure 3 illustrates a SAN, which provides access to consolidated, block level data storage over a FC
(FC) network. A SAN typically has its own network of storage devices that are generally not accessible
through the LAN by other devices. The SAN network typically has FC switches to interconnect the
storage devices and servers.
Converged Networks
Figure 4 shows a data-center where servers have both LAN and SAN connectivity. Servers are
connected to the storage arrays on the FC network using host bus adapters (HBAs). On the LAN,
servers use Ethernet ports on a network interface card (NIC) to connect to applications and clients.
Converged Networks
FC over Ethernet (FCoE) allows the transmission of FC traffic over an Ethernet network so servers do
not need separate FC HBAs to connect to the FC network. Servers in a converged network use
converged network adapters (CNAs) which provide both Ethernet and FC ports. FcoE allows a
converged network to carry both IP and FC traffic, combining the functionality of a LAN and a SAN.
Many modern data-centers use converged LAN and SAN networks working together as shown in
Figure 5 .
Fibre Channel
Fibre Channel
Fibre Channel (FC) is the technology used to build SANS. FC standards are defined by T11 of the
International Committee for Information Technology Standards.
FC was developed to address the limitations of traditional Ethernet networks, which in the past had
lower speed, and had lower reliability because it is based on collision detection which causes some loss
of frames even under normal operation. FC was developed to be lossless and to provide higher speed
and lower latency, starting with a speed of 1 Gb/s, which has been increased over time to 2, 4, 8, and
16 Gb/s.
FC Protocol (FCP) is a transport protocol similar to TCP that transports SCSI commands over FC
networks.
FCoE
FC over Ethernet (FCoE) is an encapsulation protocol that enables the transport of FC storage traffic
over a version of Ethernet called Data Center Bridging (DCB). FCoE encapsulates the entire FC frame,
keeping it intact and unchanged, into DCB frames.
DCB is an enhanced Ethernet version that enables the convergence of various applications in data
centers (LAN, SAN) into a single interconnected network.
FCoE provides a method of encapsulating FC traffic over a physical Ethernet link. FCoE frames use an
EtherType of 0x8906 and FCoE Initialization Protocol (FIP) uses an Ethertype of 0x8914. FIP enables
FCoE SAN traffic and legacy LAN Ethernet traffic to be carried on the same link.
FC frames are encapsulated in an Ethernet frame and sent from one FCoE-aware device across an
Ethernet network to a second FCoE-aware device. The FCoE-aware devices may be FCoE end nodes
(E-nodes) such as servers, storage arrays, or tape drives on one end and FCoE Forwarders on the
FC Ports
other end. FCoE Forwarders are switches that provide SAN fabric services and may also provide
FCoE-to-FC bridging.
FC Ports
Figure 6 illustrates the FC port types that are used in storage networks.
FIGURE 6 FC Port Types
Worldwide names
A worldwide name (WWN) is a unique identifier used in FC storage networks. The WWN is similar to a
MAC address in an Ethernet LAN except that it is 8 bytes in length. There are two types of WWNs,
worldwide node names (WWNs) and worldwide port names (WWPNs). The WWNN is used to identify
the switch or the host, while the WWPN is used to identify individual ports on the switch or the host.
10
FC network address
FC network address
The FC network address, called the FCID, is a 3 byte address. When a node is attached to the fabric, a
unique 24-bit address is assigned to the node. The FCID, as illustrated in Figure 7 , contains Domain
ID, Area ID and Node Address fields. The FCID is used to route traffic through the fabric.
FIGURE 7 FCID
Domain ID
In a VCS fabric, rbridge IDs are used to discover fabric creation problems, such as duplicate IDs. The
rbridge ID of a cluster unit is equal to the Domain ID of a FC switch.
Rbridge ID assignment uses the Domain ID assignment protocols used in the FC SAN. The Request for
Domain ID (RDI) and Domain ID Assignment (DIA) protocols ensure that a single switch, the principal
switch, centrally allocates the Domain IDs for every rbridge in the fabric and detects any Domain ID
conflicts. In case of a conflict, the node with a duplicate Domain ID is segmented from the fabric and the
user must resolve the conflict.
Device login
A FC device can be a storage server, host, or switch. When new devices are introduced into the fabric,
powered on, and connected, the following logins occur:
1. FLOGI/FCoE login: Fabric Login (FLOGI) establishes a 24-bit FCID for the device logging in, and
establishes buffer-to-buffer credits and the class of service supported.
2. PLOGI: Port Login (PLOGI) logs the device into the name server to register and query for devices
that share the same zone. During the PLOGI process, information is exchanged between the new
device and the fabric. The following types of information exchanges occur:
SCR: State Change Registration (SCR) registers the device. If a change in the fabric occurs, such
as a zoning change or a change in the state of a device to which this device has access, the
device receives a Registered State message.
Change Notification Registration (RSCN): The device exchanges registration information with the
name server.
Query: The devices queries the name server for information about devices it can access.
Zoning
Zoning is a fabric-based partition that creates a logical group of devices. Zoning provides security
because devices outside the zone cannot access any device inside the zone and vice versa. Zoning
also reduces SCR broadcasts from devices because it restricts all the broadcast traffic to a specific
zone.
You can use zoning to partition the FCS fabric for a number of reasons, including the following:
11
Partition the network into zones, such as winzone and unixzone, to keep Windows servers and
storage devices separated from UNIX servers and storage.
Logically consolidate equipment for efficiency or to facilitate time-sensitive functions. For example,
you can create a temporary zone to back up non-member devices.
A device in a zone can communicate only with other devices connected to the fabric within the same
zone. A device not included in the zone is not available to zone members. When zoning is enabled,
devices that are not included in any zone configuration are inaccessible to all other devices in the
fabric.
Zones can be configured dynamically and can vary in size, depending on the number of fabric
connected devices, and devices can belong to more than one zone.
FIGURE 8 FC Zones
12
Deployment options
Deployment options
The use cases that can be used for deploying zones in a VCS fabric, and which are described in this
document, include the following:
Rack server and Top of Rack (ToR) connectivity to the FC SAN using FC routing from the ToR
Rack server and ToR connectivity to the FC SAN using an access gateway
FC/FCoE storage connectivity from ToR server and ToR connectivity to storage
13
After a rack server connects to a storage device in the SAN, a Logical Unit Number (LUN) on the
storage device can be mapped to the server. This allows the server to store and read data on the
remote LUN as required. The configuration required includes the following:
Configure the server with redundant links to redundant ToR switches in the VCS fabric
Configure the VCS fabric to access the storage network
Configure a LUN on the storage device
Connect FC redundant links to storage switches
You can also configure zoning to provide access control for specific servers or LUNs.
The following summarizes the steps to configure a LUN on the storage device and map it to a server:
14
Procedure
Step 1: Configure the VCS fabric.
A VCS Fabric combines Ethernet, FCoE and FC technology to create virtualized, flexible, and
converged data center networks. When two or more Brocade VDX fabric switches are connected, they
form an Ethernet fabric and exchange information among each other using distributed intelligence. To
the rest of the network, the Ethernet fabric appears as a single logical chassis.
VCS fabric formation has the following characteristics:
All switches in the VCS fabric have the same VCS ID.
Each switch has a unique rbridge ID in the range 1 to 239.
The VCS fabric uses a link state routing protocol, First Shortest Path First (FSPF) to create the
network topology.
A broadcast tree is established to distribute fabric broadcast and multicast traffic.
Before connecting the VDX switches, configure the following:
Set the VCS Fabric ID and enable VCS Fabric mode.
Set the rbridge ID.
The following is the configuration to bring up the VCS fabric on TOR3 and TOR4 switches. A similar
configuration should be applied on the EOR1, EOR2, TOR5 and TOR6 devices. Rbridge IDs must be
unique; in this example they are configured as follows:
EOR1 Rbridge ID 1
EOR2 Rbridge ID 2
TOR1 Rbridge ID 3
TOR2 Rbridge ID 4
TOR1
TOR2
TOR1# vcs vcsid 1 enable
This operation will change the configuration to default and reboot the switch. Do you
want to continue? [y/n]:y
.
TOR1#
TOR1# conf t
Entering configuration mode terminal
TOR1(config)# rbridge-id 3
TOR1(config-rbridge-id-3)#
TOR2# vcs vcsid 1
This operation will change the configuration to default and reboot the switch. Do you
want to continue? [y/n]:y
..
TOR2#
TOR2# conf t
Entering configuration mode terminal
TOR2(config)# rbridge-id 4rbridge-id 4
TOR2(config-rbridge-id-4)#
VCS fabrics form adjacencies, called ISLs, with directly connected VCS-enabled neighboring switches.
ISLs can be separate links or Brocade-proprietary VCS fabric trunks. By default, all interfaces are
configured to detect ISLs. In this use case all ISLs are trunks. Verify that all the ISLs are up and have
formed adjacencies with neighboring devices.
Step 2: Verify the ISL status on all the devices.
EOR1
EOR1# show fab isl
Rbridge-id: 1
Src
Index
NbrName
#ISLs: 2
Src
Interface
Nbr
Index
Nbr
Interface
Nbr-WWN
BW
Trunk
15
--------------------------------------------------------------------------------------------13
Te 1/0/14
17
Te 3/0/2
10:00:00:05:33:B8:00:18
20G
Yes
"TOR1"
14
Te 1/0/15
18
Te 4/0/3
10:00:00:05:33:EC:2A:D2
10G
Yes
"TOR2"
EOR1#
EOR2
EOR2# show fabric isl
Rbridge-id: 2
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk NbrName
--------------------------------------------------------------------------------------------13
Te 2/0/14
17
Te 4/0/2
10:00:00:05:33:EC:2A:D2
20G
Yes
"TOR2"
14
Te 2/0/15
18
Te 3/0/3
10:00:00:05:33:B8:00:18
20G
Yes
"TOR1"
EOR2#
TOR1
TOR1# show fabric isl
Rbridge-id: 3
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk NbrName
--------------------------------------------------------------------------------------------17
Te 3/0/2
13
Te 1/0/14
10:00:00:05:33:A2:EB:B7
20G
Yes
"EOR1"
18
Te 3/0/3
14
Te 2/0/15
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
TOR1#
TOR2
TOR2# show fabric isl
Rbridge-id: 4
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk NbrName
--------------------------------------------------------------------------------------------17
Te 4/0/2
13
Te 2/0/14
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
18
Te 4/0/3
14
Te 1/0/15
10:00:00:05:33:A2:EB:B7
10G
Yes
"EOR1"
TOR2#
Step 3: Verify that the VCS fabric is formed on all the devices.
EOR1
EOR1# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Fabric
16
Management IP
VCS Status
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7*
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
TOR2
EOR1#
Note: >10:00:00:05:33:86:D2:B6 listed above is the principal switch.
EOR2
EOR2# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6*
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
TOR2
EOR2#
TOR1
TOR1# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18*
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
TOR2
TOR1#
TOR2
TOR2# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
--------------------------------------------------------------------------------------
17
----------------------1
10:00:00:05:33:A2:EB:B7
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
Online
EOR2
3
10:00:00:05:33:B8:00:18
Online
TOR1
4
10:00:00:05:33:EC:2A:D2*
Online
TOR2
TOR2#
10.17.0.74
Online
10.17.0.75
Online
10.17.0.111
Online
10.17.0.112
Online
Currently, FCoE VLANs can be only 802.1Q VLANs. They cannot be classified or used as C-TAGs for
other VLAN classification. All tenant FCoE traffic uses the same default FCoE VLAN (1002) as in
previous Brocade NOS releases.
TOR1. FCoE login
TOR1# show fcoe fabric-map default
=====================================================================================
=====
========
Fabric-Map
VLAN
VFID
Pri
FCMAP
FKA
Timeout
TotalFCoEEnodes
=====================================================================================
======
=======
default
1002[D] 128[D]
3[D] 0xefc00[D] 8000[D] Enabled[D]
64[D]
Total number of Fabric Maps = 1
TOR1#
TOR1#
TOR1#
TOR1# show fcoe login
=====================================================================================
========
FCOE-Port
Eth-port
Device WWN
Device MAC
Session
MAC
=====================================================================================
========
Fcoe 1/3/1
Te 3/0/10
10:00:00:05:33:90:a7:00 00:05:33:90:a7:00 0e:fc:
00:03:04:00
Total number of Logins = 1
TOR1#
TOR1# show name-server detail
PID: 030400
<- FCID allocated from TOR3 to the sever connected on this interface.
Port Name: 10:00:00:05:33:90:A7:00
18
19
trunk-enable
no shutdown
!
TOR2#
Step 6: Verify that the FC interfaces are UP and have formed an ISL with 8510.
NOTE
Refer to the configuration on the 8510 in the section "Configuring the storage network" later in this
document and make sure the configuration for the 8510 is also applied.
TOR1.
TOR1# show interface Fibrechannel 3/0/1
fibrechannel 3/0/1 is up (In_Sync). Protocol state is up (connected).
Pluggable media present
LineSpeed Actual:
8G Auto
PortSpeed:
N8Gbps
portDisableReason:
None
PortId:
0303c0
PortIfId:
43011407
PortWwn:
20:00:00:05:33:b8:00:18
Distance:
normal
Last clearing of show interface counters: 00:00:00
Interrupts:
0
Link_failure: 0
Unknown:
0
Loss_of_sync: 3
Lli:
130
Loss_of_sig: 5
Proc_rqrd:
522359
Protocol_err: 0
Timed_out:
0
Invalid_word: 107
Rx_flushed:
0
Invalid_crc: 0
Tx_unavail:
0
Delim_err:
0
Free_buffer:
0
Address_err: 0
Overrun:
0
Lr_in:
5
Suspended:
0
Lr_out:
0
Parity_err:
0
Ols_in:
0
2_parity_err:
0
Ols_out:
2
CMI_bus_err:
0
Frjt:
Fbsy:
0
0
Rate info:
Bandwidth:
8.00G
Tx performance: 35.0KB/sec
Rx performance:275.1MB/sec
TOR1#
TOR1# show fabric isl
Rbridge-id: 3
#ISLs: 3
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk NbrName
-------------------------------------------------------------------------------------------0
Fi 3/0/1
217
Fi 60/-/50:00:53:3C:01:20:0E:65
8G
Yes
"fcr_fd_60"
17
Te 3/0/2
13
Te 1/0/14
10:00:00:05:33:A2:EB:B7
20G
Yes
"EOR1"
18
Te 3/0/3
14
Te 2/0/15
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
TOR1#
Login to TOR devices as root to verify that ISL ports have come up as E(Expansion)
ports.
TOR1. E port Verification
TOR1:root>
TOR1:root> switchshow
Name:
sw0
Type:
107.6
State:
Online
20
switchMode:
Native
Role:
Fabric Subordinate
Rbridge-id:
3
switchId:
fffc03
WWN:
10:00:00:05:33:b8:00:18
zoning:
ON (cfg_vcs4)
switchBeacon:
OFF
FC Router:
OFF
FC Router BB Fabric ID: 128
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0303c0
id
N8
Online
FC
E-Port
"fcr_fd_60"
(downstream)(Trunk Primary)
50:00:53:3c:01:20:0e:65
TOR2.
TOR2# show interface Fibrechannel 4/0/2
fibrechannel 4/0/2 is up (In_Sync). Protocol state is up (connected).
Pluggable media present
LineSpeed Actual:
8G Auto
PortSpeed:
N8Gbps
portDisableReason:
None
PortId:
040340
PortIfId:
43011405
PortWwn:
20:01:00:05:33:ec:2a:d2
Distance:
normal
Last clearing of show interface counters: 00:00:00
Interrupts:
0
Link_failure: 0
Unknown:
0
Loss_of_sync: 3
Lli:
90
Loss_of_sig: 5
Proc_rqrd:
522692
Protocol_err: 0
Timed_out:
0
Invalid_word: 9
Rx_flushed:
0
Invalid_crc: 0
Tx_unavail:
0
Delim_err:
0
Free_buffer:
0
Address_err: 0
Overrun:
0
Lr_in:
4
Suspended:
0
Lr_out:
1
Parity_err:
0
Ols_in:
1
2_parity_err:
0
Ols_out:
1
CMI_bus_err:
0
Frjt:
Fbsy:
0
0
Rate info:
Bandwidth:
8.00G
Tx performance: 40.4KB/sec
Rx performance:288.2MB/sec
TOR2#
TOR2# show fabric isl
Rbridge-id: 4
#ISLs: 3
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk
NbrName
-------------------------------------------------------------------------------------------1
Fi 4/0/2
2
Fi 61/-/50:00:53:3D:E0:5A:5E:65
8G
Yes
"fcr_fd_61"
17
Te 4/0/2
13
Te 2/0/14
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
18
Te 4/0/3
14
Te 1/0/15
10:00:00:05:33:A2:EB:B7
10G
Yes
"EOR1"
TOR2#
Step 7: Login to the ToR devices as root to verify that the ISL ports have come up as E_ports.
TOR2. E port Verification
TOR2:root> switchshow
Name:
sw0
Type:
107.6
State:
Online
switchMode:
Native
Role:
Fabric Subordinate
Rbridge-id:
4
21
switchId:
fffc04
WWN:
10:00:00:05:33:ec:2a:d2
zoning:
ON (cfg_vcs4)
switchBeacon:
OFF
FC Router:
OFF
FC Router BB Fabric ID: 128
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0403c0
id
N8
No_Light
FC
1
1
040340
id
N8
Online
FC
E-Port
"fcr_fd_61"
(downstream)(Trunk Primary)
50:00:53:3d:e0:5a:5e:65
Procedure
Step 1: Configure the LSAN zoning.
22
Configure LSAN Zoning when there are multiple fabrics that require zoning (see the section Logical
SAN). Below is the running-config for the LSAN configuration in the current example.
DCX1.
DCX1# zonecreate LSAN_T1 50:06:01:6b:3e:a0:41:62; 10:00:00:05:33:90:a7:00
DCX1#cfgcreate cfg_DCX1,"LSAN_T1"
DCX1#cfgenable cfg_DCX1
DCX:root> cfgshow
Defined configuration:
cfg:
cfg_DCX1
LSAN_T1
zone: LSAN_T1 50:06:01:6b:3e:a0:41:62; 10:00:00:05:33:90:a7:00
Effective configuration:
cfg:
cfg_DCX1
zone: LSAN_T1 50:06:01:6b:3e:a0:41:62
10:00:00:05:33:90:a7:00
DCX2.
DCX1# zonecreate LSAN_T2 50:06:01:6a:3e:a0:41:62:62; 10:00:00:05:33:90:a7:01
DCX1#cfgcreate cfg_DCX2,"LSAN_T1"
DCX1#cfgenable cfg_DCX2
DCX:root> cfgshow
Defined configuration:
cfg:
cfg_DCX2
LSAN_T2
zone: LSAN_T2 50:06:01:6a:3e:a0:41:62; 10:00:00:05:33:90:a7:01
Effective configuration:
cfg:
cfg_DCX2
zone: LSAN_T2 50:06:01:6a:3e:a0:41:62
10:00:00:05:33:90:a7:01
23
DH Group: N/A
Hash Algorithm: N/A
Edge fabric's primary wwn: N/A
Edge fabric's version stamp: N/A
DCX:root>
DCX:root> switchshow
switchName:
DCX
switchType:
121.3
switchState:
Online
switchMode:
Native
switchRole:
Principal
switchDomain:
1
switchId:
fffc01
switchWwn:
10:00:00:05:33:c0:12:00
zoning:
ON (cfg_DCX1)
switchBeacon:
OFF
FC Router:
ON
FC Router BB Fabric ID: 128
Address Mode:
0
Index Slot Port Address Media Speed State
Proto
217
8
25
01d900
id
N8
Online
FC EX-Port
10:00:00:05:33:b8:00:18
"TOR1" (fabric id = 101 )(Trunk master)
E-Port
50:00:53:3c:01:2e:0f:0c "fcr_xd_2_101"
218
8
26
01da00
id
N8
In_Sync
FC Disabled
219
8
27
01db00
id
N8
No_Light
FC
DCX2. Enable FCR
DCX2:root> portdisable 2
DCX2:root>portcfgexport 2 -a 1 -f 101 -m 5 -d 61
DCX2:root> portenable 2
DCX2:root> portcfgexport 2
CAT5100:root> portcfgexport 2
Port
2
info
Admin:
enabled
State:
OK
Pid format:
Not Applicable
Operate mode:
Brocade NOS
Edge Fabric ID:
101
Front Domain ID:
61
Front WWN:
50:00:53:3d:e0:5a:5e:65
Principal Switch:
2
Principal WWN:
10:00:00:05:33:86:d2:b6
Fabric Parameters:
Auto Negotiate
R_A_TOV:
10000(N)
E_D_TOV:
2000(N)
Authentication Type: None
DH Group: N/A
Hash Algorithm: N/A
Edge fabric's primary wwn: N/A
Edge fabric's version stamp: N/A
DCX2:root>
DCX2:root>switchshow
switchName:
CAT5100
switchType:
66.1
switchState:
Online
switchMode:
Native
switchRole:
Principal
switchDomain:
10
switchId:
fffc0a
switchWwn:
10:00:00:05:33:de:05:a5
zoning:
ON (cfg_51001)
switchBeacon:
OFF
FC Router:
ON
FC Router BB Fabric ID: 120
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0a0000
id
N8
Online
FC
1
1
0a0100
id
N8
No_Light
FC
2
2
0a0200
id
N8
Online
FC
24
F-Port
EX-Port
50:0a:09:85:8d:ae:5c:9c
10:00:00:05:33:ec:2a:d2
Proto
FC F-Port
50:06:01:6b:3e:a0:41:62
25
Procedure
Step 1: Create the LUN on the VNX5300.
Open VMX Unisphere, go to the host-list, and add the server IP.
FIGURE 11 Creating a LUN on VNX5300
26
The system launches a wizard to guide you through the process of creating the LUN.
FIGURE 13 Creating the LUN Wizard
Step 3: Click Next and enter the size of the LUN in the page that is displayed.
27
Step 4: Choose an existing folder name for the LUN or create and assign a new folder.
FIGURE 15 Assigning a Folder to the LUN
28
Step 6: Confirm the LUN configuration details and note down unique LUN ID.
FIGURE 17 Confirming LUN Configuration
29
30
31
Step 6: Login to the host and verify that the LUN is mapped as a hard disk.
FIGURE 22 Verifying LUN Mapping on the Host
In this example, the LUN is mounted as disk2. The user can now read and write files from and to this
hard disk like a local disk on the host.
32
NOTE
Figure 23 is the same as Figure 10 on page 14, but it has been repeated here to illustrate a different
use case.
FIGURE 24 Access gateway
Brocade Access Gateway (AG) is a feature provided by both NOS and FOS that lets you configure the
fabric to handle additional N_Ports instead of domains. Switches in AG mode are logically transparent
to the host and the fabric. It increases the number of hosts that have access to the fabric without
increasing the number of switches in the fabric. This improves fabric scalability and simplifies
configuration and management in a large fabric by limiting the number of Domain IDs and ports.
In Figure 23 , ToR devices are configured as AGs. This causes the ToR device to appear like the
N_Port on an end node device in the SAN, so traffic is transmitted to and received only from the ToR
device, which then provides a gateway service to the hosts on the VCS NOS fabric to which it is
connected.
33
The AG feature is supported only on the VDX 6730 or 6740 switches with FC ports from NOS Release
4.1 and later.
Enable the AG feature on VDX 6730/40 platforms to configure FC ports as N_Ports and map specific
virtual fabric (VF) ports to the N_Ports. This allows direct connection of hosts attached to VF_Ports on
the VDX switch with F_Ports on a FC fabric edge switch instead of through ISL connections from a
VDX 6730 to the FC router.
AG configuration changes are required on both the VCS fabric and the SAN. The rest of the
configuration is the same as the first example. The following is a summary of the special configuration
required.
Step 1: Configure the VCS server network.
Step 2: Configure the FC SAN.
Step 3: Configure LUNs on the storage devices.
Refer to the section Configuring LUNs on the storage device on page 25 for details.
Step 4: Map the LUNs on the server.
Refer to the section Mapping LUNs on the server on page 30 for details.
To configure the AG feature, complete the following steps.
Procedure
Step 1: Configure the VCS server network.
On the VCS fabric, configure the ToR VDX switch as an access gateway.
TOR1# ag enable ?
Possible completions:
| <cr>
TOR1# ag enable
WARNING: Access Gateway mode changes the standard behavior of the switch.
Please check Access Gateway Administrator's Guide before proceeding.
Enabling agmode will remove all the configuration data on the switch
including zoning configuration and security database. Please backup your
configuration.
Enabling Access Gateway mode on the switch will reboot the switch. Do you want to
continue?
[y/n]:y
34
--------------------------------------------------------------------------------------Name
: TOR1
NodeName
: 10:00:00:05:33:b8:00:18
Number of Ports
: 76
IP Address(es)
: 10.17.0.111
Firmware Version
: v4.1.0_bld27
Number of N_Ports(Fi) : 1
Number of VF_Ports
: 1
Policies Enabled
: pg
Persistent ALPA
: Disabled
Port Group information :
PG_ID
PG_Name PG_Mode PG_Members
---------------------------------------------------------0
pg0
lb
3/0/1, 3/0/2, 3/0/3, 3/0/4,
3/0/5, 3/0/6, 3/0/7, 3/0/8,
3/0/9, 3/0/10, 3/0/11, 3/0/12,
3/0/13, 3/0/14, 3/0/15, 3/0/16
---------------------------------------------------------Fabric Information :
Attached Fabric Name
N_Ports(Fi)
---------------------------------------------------------10:00:00:05:33:c0:12:00
3/0/1
---------------------------------------------------------N_Port(Fi) information :
Port
PortID
Attached PWWN
IP_Addr
VF_Ports
----------------------------------------------------------------------------------Fi 3/0/1
0x01d900 20:d9:00:05:33:c0:12:00
10.17.0.131
1/3/1
----------------------------------------------------------------------------------VF_Port information :
VF_Port
Eth_Port
PortID
Attached PWWN
N_Port(Fi)
-----------------------------------------------------------------------------------1/3/1
Te 3/0/10
0x01d901 10:00:00:05:33:90:a7:00
3/0/1
-----------------------------------------------------------------------------------TOR1#
VF_Ports
-----------------------------------------------------------------------------------Fi 4/0/2
0x0a0200 20:02:00:05:33:de:05:a5
10.17.0.134
1/4/1
35
-----------------------------------------------------------------------------------VF_Port information :
VF_Port
Eth_Port
PortID
Attached PWWN
N_Port(Fi)
-----------------------------------------------------------------------------------1/4/1
Te 4/0/10
0x0a0201 10:00:00:05:33:90:a7:01
4/0/2
-----------------------------------------------------------------------------------TOR2#
NOTE
N_port and VF_Port information does not appear until SAN configuration is completed, as described
later.
Step 2: Configure the SAN.
This example uses a SAN an 8510 device facing the VCS, which must be configured as a regular
F_port as shown below.
DCX1. Enable FCR
DCX1:root>portdisable 8/25
DCX1:root> portcfgexport 8/25 -a 2
DCX1:root>portenable 8/25
DCX:root> switchshow
switchName:
DCX
switchType:
121.3
switchState:
Online
switchMode:
Native
switchRole:
Principal
switchDomain:
1
switchId:
fffc01
switchWwn:
10:00:00:05:33:c0:12:00
zoning:
ON (cfg_DCX1)
switchBeacon:
OFF
FC Router:
ON
FC Router BB Fabric ID: 128
Address Mode:
0
Index Slot Port Address Media Speed State
217
8
25
01d900
id
N8
Online
DCX2. Enable FCR
DCX2:root> portdisable 2
DCX2:root> portcfgexport 2 -a 2
DCX2:root>portenable 2
DCX2:root> switchshow
switchName:
CAT5100
switchType:
66.1
switchState:
Online
switchMode:
Native
switchRole:
Principal
switchDomain:
10
switchId:
fffc0a
switchWwn:
10:00:00:05:33:de:05:a5
zoning:
ON (cfg_51001)
switchBeacon:
OFF
FC Router:
ON
FC Router BB Fabric ID: 120
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0a0000
id
N8
Online
FC
1
1
0a0100
id
N8
No_Light
FC
2
2
0a0200
id
N8
Online
FC
Proto
FC F-Port
F-Port
36
FC/FCoE storage connectivity from ToR, rack server, and ToR connectivity to storage
With NOS release 4.1 and later, storage devices can be directly connected to FC interfaces of 6730.
With NOS release 5.0 and later, you can also use the VDX 6740.
In this use case there is no need for a separate SAN. VCS interconnects servers and using FCoE
interfaces and storage devices using FC interfaces. Because there is only one fabric, zoning
configuration is not required, although zoning is supported for access control.
The following are the steps required to implement this use case.
Step 1: Configure the VCS server network.
Procedure
To configure this example of converged network configuration, complete the following steps.
Step 1: Configure the VCS server network.
Bring up the VCS between TOR1, TOR2, EOR1, and EOR2 as shown below.
TOR1
TOR2
37
Brocade VCS fabric forms adjacencies with directly connected Brocade VCS enabled neighboring
switches. These adjacencies are called ISLs. These ISLs can be separate links or Brocade proprietary
VCS Fabric Trunks. By default all interfaces are configured to detect ISL(Inter Switch Links) links/
Trunks. In this use case all the ISLs are trunks. Verify if all the ISLs have come up and formed
adjacencies with neighboring devices.
Verify the ISL status on all the devices by entering the following commands:
EOR1
EOR1# show fab isl
Rbridge-id: 1
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk NbrName
-------------------------------------------------------------------------------------------13
Te 1/0/14
17
Te 3/0/2
10:00:00:05:33:B8:00:18
20G
Yes
"TOR1"
14
Te 1/0/15
18
Te 4/0/3
10:00:00:05:33:EC:2A:D2
10G
Yes
"TOR2"
EOR1#
EOR2
EOR2# show fabric isl
Rbridge-id: 2
Src
Index
38
#ISLs: 2
Src
Interface
Nbr
Index
Nbr
Interface
Nbr-WWN
BW
Trunk NbrName
-------------------------------------------------------------------------------------------13
Te 2/0/14
17
Te 4/0/2
10:00:00:05:33:EC:2A:D2
20G
Yes
"TOR2"
14
Te 2/0/15
18
Te 3/0/3
10:00:00:05:33:B8:00:18
20G
Yes
"TOR1"
EOR2#
TOR1
TOR1# show fabric isl
Rbridge-id: 3
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk
NbrName
--------------------------------------------------------------------------------------------17
Te 3/0/2
13
Te 1/0/14
10:00:00:05:33:A2:EB:B7
20G
Yes
"EOR1"
18
Te 3/0/3
14
Te 2/0/15
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
TOR1#
TOR2
TOR2# show fabric isl
Rbridge-id: 4
#ISLs: 2
Src
Src
Nbr
Nbr
Index
Interface
Index
Interface
Nbr-WWN
BW
Trunk
NbrName
-------------------------------------------------------------------------------------------17
Te 4/0/2
13
Te 2/0/14
10:00:00:05:33:86:D2:B6
20G
Yes
"EOR2"
18
Te 4/0/3
14
Te 1/0/15
10:00:00:05:33:A2:EB:B7
10G
Yes
"EOR1"
TOR2#
Verify that VCS fabric is formed on all the devices by entering the following commands:
EOR1
EOR1# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7*
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
TOR2
EOR1#
Note: >10:00:00:05:33:86:D2:B6 listed above is the principal switch.
EOR2
EOR2# show vcs
Config Mode
: Local-Only
39
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6*
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
TOR2
EOR2#
TOR1
TOR1# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
------------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18*
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2
10.17.0.112
Online
Online
OR2
TOR1#
TOR2
TOR2# show vcs
Config Mode
: Local-Only
VCS Mode
: Fabric Cluster
VCS ID
: 1
Total Number of Nodes
: 4
Rbridge-Id
WWN
Management IP
VCS Status
Fabric
Status
HostName
-----------------------------------------------------------------------------------------------------------1
10:00:00:05:33:A2:EB:B7
10.17.0.74
Online
Online
EOR1
2
>10:00:00:05:33:86:D2:B6
10.17.0.75
Online
Online
EOR2
3
10:00:00:05:33:B8:00:18
10.17.0.111
Online
Online
TOR1
4
10:00:00:05:33:EC:2A:D2*
10.17.0.112
Online
Online
TOR2
TOR2#
40
Currently, FCoE VLANs can be only 802.1Q VLANs. They cannot be classified or used as C-TAGs for
other VLAN classification. All tenant FCoE traffic is carried on the same default FCoE VLAN (1002) as
in previous NOS releases.
TOR1. FCoE login
TOR1# show fcoe fabric-map default
======================================================================================
====
========
Fabric-Map
VLAN
VFID
Pri
FCMAP
FKA
Timeout
TotalFCoEEnodes
======================================================================================
====
========
default
1002[D] 128[D]
3[D] 0xefc00[D] 8000[D] Enabled[D]
64[D]
Total number of Fabric Maps = 1
TOR1#
TOR1#
TOR1#
TOR1# show fcoe login
======================================================================================
===
====
FCOE-Port
Eth-port
Device WWN
Device MAC
Session
MAC
======================================================================================
===
====
Fcoe 1/3/1
Te 3/0/10
10:00:00:05:33:90:a7:00 00:05:33:90:a7:00 0e:fc:
00:03:04:00
Total number of Logins = 1
TOR1#
TOR1# show name-server detail
PID: 030400
<- FCID allocated from TOR3 to the sever connected on this interface.
Port Name: 10:00:00:05:33:90:A7:00
Node Name: 20:00:00:05:33:90:A7:00
SCR: 3
FC4s: FCP
PortSymb: [91] "Brocade-1020 | 3.2.1.0 | esxi51-0-99.englab.brocade.com |
VMware_ESXi_5.1.0_build-799733 | "
NodeSymb: [58] "Brocade-1020 | 3.2.1.0 | esxi51-0-99.englab.brocade.com | "
Fabric Port Name: 50:00:53:3B:80:05:30:4C
Permanent Port Name: 10:00:00:05:33:90:A7:00
Device type: Physical Initiator
Interface: Fcoe 1/3/1
Physical Interface: Te 3/0/10
Share Area: Yes
Redirect: No
Partial: No
TOR2. FCoE login
TOR2# show fcoe fabric-map default
======================================================================================
=====
=======
Fabric-Map
VLAN
VFID
Pri
FCMAP
FKA
Timeout
TotalFCoE-
41
Enodes
=====================================================================================
======
=======
default
1002[D] 128[D]
3[D] 0xefc00[D] 8000[D] Enabled[D]
64[D]
Total number of Fabric Maps = 1
TOR2#
TOR2# show name-server detail
PID: 040400 <- FCID allocated from TOR4 to the server connected on this interface
Port Name: 10:00:00:05:33:90:A7:01
Node Name: 20:00:00:05:33:90:A7:01
SCR: 3
FC4s: FCP
PortSymb: [91] "Brocade-1020 | 3.2.1.0 | esxi51-0-99.englab.brocade.com |
VMware_ESXi_5.1.0_build-799733 | "
NodeSymb: [58] "Brocade-1020 | 3.2.1.0 | esxi51-0-99.englab.brocade.com | "
Fabric Port Name: 50:00:53:3E:C2:B0:D0:4C
Permanent Port Name: 10:00:00:05:33:90:A7:01
Device type: Physical Initiator
Interface: Fcoe 1/4/1
Physical Interface: Te 4/0/10
Share Area: Yes
Redirect: No
Partial: No
Configure and verify the FC interfaces on the TOR1 and TOR2 devices by entering the following
commands:
TOR1. FCoE login
TOR1# show running-config interface FibreChannel 3/0/4
interface FibreChannel 3/0/4
desire-distance 0
no isl-r_rdy
trunk-enable
no shutdown
!
TOR1# show interface Fibrechannel 3/0/4
fibrechannel 3/0/4 is up (In_Sync). Protocol state is up (connected).
Pluggable media present
LineSpeed Actual:
8G Auto
PortSpeed:
N8Gbps
portDisableReason:
None
PortId:
030240
PortIfId:
43011401
PortWwn:
20:03:00:05:33:b8:00:18
Distance:
normal
Last clearing of show interface counters: 00:00:00
Interrupts:
0
Link_failure: 5
Unknown:
0
Loss_of_sync: 9
Lli:
403
Loss_of_sig: 15
Proc_rqrd:
53
Protocol_err: 0
Timed_out:
0
Invalid_word: 65805
Rx_flushed:
0
Invalid_crc: 0
Tx_unavail:
0
Delim_err:
0
Free_buffer:
0
Address_err: 0
Overrun:
0
Lr_in:
4
Suspended:
0
Lr_out:
6
Parity_err:
0
Ols_in:
6
2_parity_err:
0
Ols_out:
2
CMI_bus_err:
0
Rate info:
Bandwidth:
Tx performance:
Rx performance:
TOR1#
Frjt:
Fbsy:
0
0
8.00G
0 B/sec
0 B/sec
Also login as root and verify that FC interface has detected the peers wwn.
TOR1:root> switchshow
Name:
sw0
Type:
107.6
State:
Online
switchMode:
Native
Role:
Fabric Subordinate
42
Rbridge-id:
3
switchId:
fffc03
WWN:
10:00:00:05:33:b8:00:18
zoning:
OFF
switchBeacon:
OFF
FC Router:
OFF
FC Router BB Fabric ID: 128
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0303c0
id
N8
Online
FC
E-Port 50:00:53:3c:01:20:0e:65
"fcr_fd_60"
(downstream)(Trunk Primary)
1
1
030340
id
N8
No_Sync
FC
Disabled (Persistent)
2
2
0302c0
-N8
No_Module FC
3
3
030240
id
N8
Online
FC
F-Port 50:06:01:69:3e:a0:41:62
4
4
030380
-N8
No_Module FC
5
5
030300
-N8
No_Module FC
6
6
030280
-N8
No_Module FC
7
7
030200
-N8
No_Module FC
8
8
0301c0
-N8
No_Module FC
9
9
030140
-N8
No_Module FC
10 10
0300c0
-N8
No_Module FC
11 11
030040
-N8
No_Module FC
TOR2. FCoE login
TOR2# show running-config interface FibreChannel 4/0/4
interface FibreChannel 4/0/4
desire-distance 0
no isl-r_rdy
trunk-enable
no shutdown
!
TOR2# show interface Fibrechannel 4/0/4
fibrechannel 4/0/4 is up (In_Sync). Protocol state is up (connected).
Pluggable media present
LineSpeed Actual:
8G Auto
PortSpeed:
N8Gbps
portDisableReason:
None
PortId:
041400
PortIfId:
43011401
PortWwn:
20:03:00:05:33:ec:2a:d2
Distance:
normal
Last clearing of show interface counters: 00:00:00
Interrupts:
0
Link_failure: 2
Unknown:
0
Loss_of_sync: 7
Lli:
551
Loss_of_sig: 13
Proc_rqrd:
44
Protocol_err: 0
Timed_out:
0
Invalid_word: 30
Rx_flushed:
0
Invalid_crc: 0
Tx_unavail:
0
Delim_err:
0
Free_buffer:
0
Address_err: 0
Overrun:
0
Lr_in:
3
Suspended:
0
Lr_out:
3
Parity_err:
0
Ols_in:
3
2_parity_err:
0
Ols_out:
3
CMI_bus_err:
0
Rate info:
Bandwidth:
Tx performance:
Rx performance:
TOR2#
Frjt:
Fbsy:
0
0
8.00G
0 B/sec
0 B/sec
Also login as root and verify that FC interface has detected the peers wwn.
TOR2:root> switchshow
Name:
sw0
Type:
107.6
State:
Online
switchMode:
Native
Role:
Fabric Subordinate
Rbridge-id:
4
switchId:
fffc04
WWN:
10:00:00:05:33:ec:2a:d2
zoning:
OFF
switchBeacon:
OFF
43
FC Router:
OFF
FC Router BB Fabric ID: 128
Address Mode:
0
Index Port Address Media Speed State
Proto
==============================================
0
0
0403c0
id
N8
Online
FC
"fcr_fd_61"
(downstream)(Trunk Primary)
1
1
040340
id
N8
Online
FC
0 )
2
2
0402c0
-N8
No_Module FC
3
3
041400
id
N8
Online
FC
E-Port
50:00:53:3d:e0:5a:5e:65
E-Port
Disabled (Persistent)
F-Port 50:06:01:6f:3e:a0:41:62
44