How to zone a Brocade SAN switch in command line base?

Here are the basics to add a new device to a Brocade SAN fabric. I’m working with a Brocade DCX switch. In this scenario, there is a new server come with 2 HBA card that going to attach to the SAN switches.

Terminology

HBA - Host Bus Adapter, HBA card is the device that connects the servers to a Storage Area Networks (SAN) via Fibre Channel.

 
WWN
 - World Wide Name, a unique 8-byte number identifying the HBA. Each WWN is an 8-byte number derived from an IEEE OUI (for the first 3 bytes) and vendor-supplied information.


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.

 

Steps to Zone Brocade Switch

 

  1. Plug in the FC Connector into an open port on the switch.
  1. Login to the server and verify the HBA connection. It should see the switch but not the storage device.
  1. 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.

 

  1. 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

 

  1. 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

 

  1. Login back in to the server to verify. It should now see the storage devices
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值