Beruflich Dokumente
Kultur Dokumente
Terminology
HBA - Host Bus Adapter, which in this case, refers to the Fibre Channel Card. In LAN
networking, its analogous to an Ethernet card.
WWN - World Wide Name, a unique 8-byte number identifying the HBA. In Ethernet
networking, its analogous to the MAC address.
FC Zone - Fibre Channel Zone, a partitioned subset of the fabric. Members of a zone are
allowed to communicate with each other, but devices are not allowed to communicate across
zones. An FC Zone is loosely analogous to a VLAN.
Steps to Zone Brocade Switch
1) Plug in the FC Connector into an open port on the switch.
2) Login to the server and verify the HBA connection. It should see the switch but not the
storage device.
3) Login to the Brocade Switch GUI interface. Youll need Java enabled on your browser.
4) Check the Brocade Switch Port.
1. On the visual depiction of the switch, click on the port where you plugged in the FC
connector.
2. The Port Administration Services screen should pop up. Youll need to enable the pop-up.
3. Verify that the Port Status is Online. Note the port number.
4. Close the Port Administration Services screen.
5) Find the WWN of your new device
1. Navigate back to the original GUI page.
2. Select Zone Admin, an icon on the bottom left of the screen. It looks like two squares and
a rectangle.
3. Expand the Ports & Attaching Devices under the Member Selection List.
4. Expand the appropriate port number. Note the attached WWN.
6) Create a new alias for this device
1. Click New Alias button
2. Follow menu instructions
abc:admin> cfgactvshow
Effective configuration:
cfg: cfg
zone: zone_PORT_5_PORT_4
10:00:00:00:c9:70:83:f0
50:06:01:60:41:e0:eb:4d
zone: zone_PORT_5_PORT_6
10:00:00:00:c9:70:83:f0
50:06:01:69:41:e0:eb:4d
zone: zone_PORT_7_PORT_4
10:00:00:00:c9:50:6a:24
50:06:01:60:41:e0:eb:4d
zone: zone_PORT_7_PORT_6
10:00:00:00:c9:50:6a:24
50:06:01:69:41:e0:eb:4d
abc:admin> cfgactvshow
Effective configuration:
cfg: cfg
zone: zone_PORT_5_PORT_4
10:00:00:00:c9:70:83:f0
50:06:01:60:41:e0:eb:4d
zone: zone_PORT_5_PORT_6
10:00:00:00:c9:70:83:f0
50:06:01:69:41:e0:eb:4d
zone: zone_PORT_7_PORT_4
10:00:00:00:c9:50:6a:24
50:06:01:60:41:e0:eb:4d
zone: zone_PORT_7_PORT_6
10:00:00:00:c9:50:6a:24
50:06:01:69:41:e0:eb:4d
==================================================
===============
Zoning in Brocade FC SAN switch for beginners
I am a SAN Engineer for a leading storage vendor. The purpose of this article is to provide you a
brief understanding on the basic, the content is very basic and can be used as a reference.
What is a FC Switch?
Fiber channel switch is an important component in storage area network (SAN) which sits in
between a multiple host and a target or multiple hosts and targets. There are various network
topology used in SAN most preferred is Core Edge model. Click here to learn more on topology.
Most common way of naming a switch is by its port speed and number of ports for example in
8/20 SAN switch , 8 denotes port speed in Gbps and 20 denotes the number of ports. This
applies for both Brocade and Cisco switches, Switches comes in different speed variants 2
Gbps, 4 Gbps and 8 Gbps. These are the most commonly seen switch models. Switch with
large number of ports as called as Director class switches. DC Switch will come with multiple
blade switch and controlled by a control processor in the same enclosure.
128 is the minimum number of ports on a director.
Most of the folks call a single switch as a fabric, but that is incorrect a fabric is a collection of
switch. But in a single switch fabric host HBA, switch and target is part of the fabric. In a fabric
there can be maximum of 256 switch and maximum of 7 hops. Number of switches and hops
varies with specific switch models and FOS. While designing a SAN multiple parameters has to
be considered.
Zoning
A switch with out an active configuration is of no use, Zoning is a process in which a channel
between host and a target is established. There are two types, hard and soft zoning. Nowadays
softzoning is implemented widely.
In simple terms soft zoning will be done using wwn of the host and target, if we use switch ports
then its called as hard zoning.
WWN - Word Wide Name
Steps:
Host and target will login to the switch as F-port, we can check the port type and wwn's by
executing the below command in CLI.
#switchshow - overall information like speed SFP info (id = SFP; cu = embedded port), type of
port (N, F, U port etc)
Zoning Steps:
Each wwn will be given a alias (for our understanding), then we group two alias and call it as a
zone, likewise multiple zone with different combination can be created and then we add the
zones to a config, config is a collection of zones. There can be multiple config's but only one can
be active at any given time. Lets see the important CLI syntaxes,
Syntax :
Syntax :
(test1 and test2 is the alias that we created in the previous step)
Syntax :
aliAdd
aliCopy
aliCreate
aliDelete
aliRemove
aliRename
aliShow
cfgAdd
cfgCopy
cfgCreate
cfgDelete
cfgRemove
cfgRename
cfgShow
zoneAdd
zoneCopy
Copy a zone
zoneCreate
Create a zone
zoneDelete
Delete a zone
zoneRemove
zoneRename
Rename a zone
zoneShow
cfgClear
cfgDisable
cfgEnable
cfgSave
cfgSize
cfgActvShow
cfgTransAbort
2.Login to the server and verify the HBA connection. It should see the switch but not
the storage device.
3.Check the Brocade Switch Port. To do so, telnet to the brocade switches and login
as user admin.
switch 1 - fabric A (SWITCH_1)
switch 2 - fabric B (SWITCH_2)
Create aliases for the hosts HBA's on each switch
Example:
switch_1> alicreate " HOSTNAME01_HBA_0","10:00:00:c9:69:3d:53"
switch_2> alicreate " HOSTNAME01_HBA_1","10:00:00:c9:69:ae:4e"
Tips: Do a switchshow to capture the WWN before start the aliases creation.
4.Create the storage zones using the aliases on each switch
switch_1> zonecreate "Z_HOSTNAME01_A", "HOSTNAME01_HBA_0"
switch_2> zonecreate "Z_HOSTNAME01_B", "HOSTNAME01_HBA_1"
Check the configuration
switch_1> zoneshow Z_HOSTNAME01_A
switch_2> zoneshow Z_HOST01_B
5.Add the zones to the fabrics on each switch
switch_1> cfgshow SWITCH_A
switch_1> cfgadd "SWITCH_A","Z_ HOSTNAME01_A"
switch_1> cfgsave
switch_1> cfgenable SWITCH_A
Check the configuration
switch_1> zoneshow
switch_2> cfgshow SWITCH_B
switch_2> cfgadd " SWITCH_B","Z_ HOSTNAME01_B"
switch_2> cfgsave
switch_2> cfgenable SWITCH_A
Check the configuration
switch_2> zoneshow
6.Login back in to the server to verify. It should now see the storage devices