Brocade 1
Brocade 1
Brocade 1
BROCADE
Silk Worm
Generations of Brocade
Gen-5
8Gbps
Gen-4
4Gbps
Gen-3
2Gbps
Gen-2
1Gbps
Gen-1 Bandwidth increased generation
1Gbps by generation(1Gbps – 8 Gbps)
Outdated
in 1998
Hardware components of Switch
In Brocade switches
- HDD is replaced by FP-ROM.
- The processor is called ASIC
- RAM is SD-RAM
ASIC (Application Specific Integrated Circuit)
Generation -1 - Stitch
Generation -2 - Loom
Generation -3 - Bloom, Bloom-2
Generation -4 - Golden Eye
Generation -5 - Contour
GENERATIONS OF ASIC
• The capacity of FP-ROM is initially very low as the cost of flash chips are
expensive those days. Now the prices of Flash chips are slashed down and
the flash chips with huge capacities are placed in the switch depending on
the functional requirements.
FOS.x Application
VXWORKS
& RTOS
LINUX
RTOS (Real Time Operating System)
• RTOS is more powerful than normal Operating System, It consists of kernel, drivers
and modules.
• In Brocade switches up to Bloom ASIC the RTOS is VXWORKS, later from Bloom 2
Linux RTOS is introduced.
VXWORKS:
- It is a powerful RTOS that never crashes
- It is very thin in size
- It has almost all kinds of device drivers , maintained in binary file format
Prior to Bloom II the cost of FPROM was high, later the prices slashed down the size of
chip is not a cost factor anymore.
Linux RTOS:
- It is a powerful RTOS with more advanced features
- It is thick in size
- It has almost all kinds of device drivers in RPM format
Fabric OS (FOS)
FOS is an application that runs on top of RTOS.
LICENSES
WEB TOOLS To manage switch using browser
High end switches are hot pluggable and highly available, they are called core
switches or director switches
Brocade MPR
MPR (Multi – Protocol – Router): MPR AP 7420
Router supports all protocols like- FOS XPath
- FCP RTOS Netbsd
- IFCP
FOS XPath cannot be upgraded to
- FCIP
- ISCSI FOS 5.X, but Netbsd can be replaced
With Linux
…..
Colour of LED
- If the switch boots - Green
Else - Amber
- If the fan of Switch works properly - Green
Else - Amber
- If the power supply is normal - Green
Else - Amber
LED
Power FAN Power
Button
Rear Panel
DIFFERENT WAYS TO ACCESS SWITCH
Switch can be accessed through various tools and services.
- Telnet
- Secure Telnet
- SSH
- Web Tools
- SNMP
- SMI - S
- Fabric Manager( GUI tool of brocade)
- Brocade API (Freely downloadable)
- Hyper Terminal
ACCESS LEVELS OF SWITCH
• Newly shipped brocade switch is provided with Ethernet cable, power cable
and serial cable.
>psshow
displays the rate of power consumption
- Switch parameters
>timeout 5 (current time out value of telnet)
generally set 5minutes
>quietmode 1 (to stop alert infos)
>switchshow (displays the summary of the switch)
•
CONT’D
Configure switch (initial configuration of switch is disruptive, disable the switch)
>switchdisable
>configure (change the required parameters like domain ID, PID etc)
:d (save and quit)
:c (quit without save)
>switchenable (To enable the switch)
> config show (Displays the parameters of the switch)
> license show (To show the licenses of switch)
>license add (To add the license)
>switch beacon 1 (To turn on the LEDs)
>switch beacon 0(To turn off the LEDs)
Switch
Firmware upgrade
• FOS is a single binary file of size • FOS is a zip file with a bundle of
2mb. rpms of size 40 mb.
• Once the firmware is upgraded • Once firmware is upgraded, it will
the previous version is over- not over-write the previous older
written by new version and one. It divides FP-ROM into two
cannot be reverted partitions, primary and
secondary. If the newer version
is not supportive, we can revert
the changes and retain to the
older firmware. If the latest
version is comprehensive ,the
upgrade can be saved, and
reboot is required for the
changes to take effect.
Cont’d
• Download the upgrades from the website to the FTP server and later down
load to the switch for upgrade.
• The version difference to upgrade/downgrade the firmware should be two.
Firmware
upgrade
FOS 4.0 FOS 4.2 FOS 4.4
Firmware
Down grade
1. Download firmware from website to FTP server
2. Back-up/upload switch configuration to FTP server. http://
http://
3. Download firmware to switch
4. Restore / Download switch configuration to switch 1
from FTP server
Firmware
Firmware
Config.txt
Config.txt
3
2
4
Config.txt
Switch
Firmware
Security
Zoning : To create the virtual bus in a physical san to limit the scope of
initiator and enhance security is called zoning.
SAN ensures any – to- any connectivity, which has advantages as well as
disadvantages. Any host can access any Lun,that results in threat to the
security.
• Selective lun presentation process is vast and those days lpfc is not
dynamic and any new additions of discs should be entered manually in
lpfc.conf files in entire host in the network which is practically impossible in
the environments where there are more than two hundreds of hosts.
• The next layer of HBA was introduced with dynamic lpfc drivers which are
used by switches to be the member of zone to provide security to Luns, but
this concept is confined to Jbod level.
- lp8000 is static
-lp9000 is dynamic.
• At switch level discs of Jbod are visible but not the luns of storage sub
system. To provide lun security, the following techniques are developed.
- Lun mapping
- Lun security
- Lun masking
Zoning
• In a fabric there can be many number of storage sub systems as well as hosts with
heterogeneous operating platforms and applications and conducted via devices like
switches ,hubs etc.
• In this vast infrastructure ,if the access between hosts and storage sub systems is
not aligned and restricted properly, this turns to be major threat to data.
- By any chance two hosts within the fabric with two different operating
environments access same lun,its catastrophic.
- To a fabric up to 16000 devices can be connected, if a host reboots and
initiator starts probing the devices, It takes the management host days together to
boot.
Considering the above adverse factors ,the concept of zoning has evolved, to
restrict the access between hosts and storage subsystems and assign a few
particular hosts to gain access to the storage sub systems
• Zoning : To create the virtual bus in a physical san to limit the scope of initiator and
enhance security and performance is called zoning.
Zoning
3
2 Z1 –Zone 1
4
Z2 –Zone2
1 Zone1:
5
Allows hosts 1 and 2 to access
storage subsystem A. Remaining
SAN
SAN hosts are forbidden.
Z1
Z2 Zone2:
Allows hosts 4 and 5 to access
storage subsystem B Remaining
hosts are forbidden.
Static zone
Works with domain ID and port number
Frames are filtered by ASIC
Secured but not flexible
Lack of flexibility is the main disadvantage, for every change at switch level
should be configured which may happen quiet often
- Device zoned to a particular port cannot be a member of zone if it is
connected to another port in a fabric
- If a domain ID of a switch changes, zones will be disabled
- If any switch component is replaced, the zones should be re-configured, but
this is an exception for HBA
- If HBA is replaced at host level need not re-configure
Hardware Zoning
zone
Host HOS
T
Storage
0 5 0 0 0 0 0 5 0 1 0 0 0 5 0 2 0 0
Software Zoning
zone
Host HOS
Storage T
5 0 0 1 0 0 0 5 0 1 0 0
1 0 0 1 b 4 0 5 0 1 2 0
wwpn 1 0 0 1 0 f 0 e 0 1 4 3
SOFTWARE ZONING
In brocade switches software zoning traverses through two phases, one phase
Is up to loom and another phase starts from bloom
• Zoning that is performed using WWPN’S as well as domain and port id’s is
mixed zoning.
Members
Members
WWN numbers of Hba's , discs as well as
storage sub systems are given alias names
called members
Zones Zones
Combination of multiple members is called
Zone
Configs Configs
Combination of zones or a zone is
called config. There may be any
number of configs, but only one
config is enabled at a time
Associating objects of Zone
3 Members
2
4
1 2
1 A
5
SAN
SAN Zone 1
Z1 (Z1)
1 2
A
Config cfg1
Zone 1
(Z1)
A
B 1 2
A
Associating objects of Zone
3 Members Members
2
4
1 2 4 5
1 A
5 B
SAN
SAN Zone 1 Zone 2
(Z2)
Z1 (Z1)
Z2
1 2 4 5
A B
Config cfg2
Zone 2 (Z2)
Zone 1 (Z1)
A
B 1 2 4 5
A B
Features of Zone
• Zone should include atleast one initiator member and one target
member
• This way switch internal hardware, CPU, RAM and FP ROM manage zones.
• Defined configuration
• Effective configuration
• Saved configuration
• Disabled configuration
ISL
RAM RAM
Defined config Effective Defined config Effective
config config
(cfg1 Z1) (cfg1 Z1)
Cfg1 Z1 Cfg1 Z1
Saved Saved
Configuration Configuration
(cfg1) ASIC (cfg1) ASIC
+ +
cfg1 cfg1
FP ROM FP ROM
NEW SWITCH
OLD SWITCH
New switch to fabric
• When a new switch is attached to the fabric, it has no configurations stored
either in RAM or FP-ROM.
• Once the new switch is joined to the switch in fabric, the following
propagations takes place:
1) Defined configuration in the inactive portion of RAM in old
switch is propagated to inactive portion of the RAM in New switch.
2) Effective configuration in the active portion of RAM in old switch
is propagated to active portion of the RAM in New switch
3) Later the configurations are propagated to FPROM
Thus the new switch added to the fabric participates in enforcing existing
effective configuration
Addition of switch with
own configurations
Before Connecting
switches
RAM RAM
Defined config Effective Defined config Effective
config config
(cfg1 Z1) (cfg2 Z2)
Cfg1 Z1 Cfg2 Z2
Saved Saved
Configuration Configuration
(cfg1) ASIC (cfg2) ASIC
+ +
cfg1 cfg2
FP ROM FP ROM
RAM RAM
Defined config Effective config Defined Effective config
(cfg1 Z1) config(cfg1 Z1)
Cfg1 Z1 Cfg1 Z1
(cfg2 Z2) (cfg2 Z2)
Saved Saved
Configuration Configuration
(cfg1)(cfg2) ASIC (cfg2)(CFG1) ASIC
+ +
cfg1 Cfg1
FP ROM FP ROM
RAM RAM
Defined config Effective config Defined config Effective config
(cfg1 Z1)(cfg2 (cfg1 Z1)(cfg2
Z2) Cfgall(z1,z2)
Z2)
(cfgall(z1,z2))
(cfgall(z1,z2) (cfgall(z1,z2))
Saved Saved
Configuration Configuration
(cfg1)(cfg2)(cfgall) ASIC (cfg2)(CFG1)(cfgall) ASIC
+ +
cfgall Cfg1
FP ROM FP ROM
• Once the port is enabled the communication between the two switches open
up and the configuration of new switch is propagated to the existing switch
and loaded and saved in FPROM.
VC0 VC0
S VC1 VC1 S
w w
VC2 VC2
I I
VC3 VC3
t t
VC4 VC4
C C
VC5 VC5 h
h VC6 VC6
1 2
VC7 VC7
Core switch
Storage
Principal Switch/Sub-ordinate switch
• In a fabric 239 switches can be connected
• Only one switch can be a principal switch in a fabric ,that maintains domain
integrity.
• principal switch updates its time from NTP server and pushes the same to
the sub-ordinate switches.
• The first octet consists of domain ID which should be unique for both the
switches, independently
Sub-ordinate
principal Switch
switch
Domain ID 1
Domain ID 1
- Once the sub-ordinate switch is powered on, principal switch send Domain
ID list to sub –ordinate switch.
principal
principal Switch
switch
Domain ID 1
Domain ID 2
E-Port
Sub-ordinate
Switch
Fabric Shortest Path First
Fabric shortest path first:
- It is first proposed by Brocade
- Now it is available with almost all SAN switches
- It is basically routing protocol
What is Path?
- Distance between two points
- Reference point is required (hops) A b c D
- Involves source and destination
What is route?
- It is a part of a path
- A map between in port to out port.
b c
- Finally reaches the destination
FSPF
- FSPF down loads routing table to ASIC.
- The cumulative cost of all ISL’s between source and target is called ISL cost
- Cost is calculated based on the speed
50
75
0
500 750 500 250
0
25
25
0 500
25
0
500
LINK COST METRIC
1000 at 1Gbps
500 at 2 Gbps
250 at 4 Gbps
• Its selects the path in round robin way using algorithm developed by
brocade
• If DLS is set and any host is removed the other host will shift to next ISL
a
Round robin b
sharing
c
DYNAMIC LOAD SHARING
1 2 3 1 2 3 1 2 3
TRUNKING
Frames
ISL
Cont’d
• Preserves in-order delivery
• Difference between longest ISL and shortest ISL is called diskew value
IOD (In order delivery)
• Frames are delivered in order in spite of being traversed across multiple-
path.
• If any changes occurs in the topology, the principal ISL goes down. the
frames may go out-of –order, during a brief time during the RCF.
• The default behavior is to automatically enable out-of-order frames during
fabric topology changes.
• To reroute frames after a fabric topology change and ensure in – order
delivery.