Wednesday, March 14, 2012

brocade zoning

hi ,
 Now i am going to  show you zoning in brocade fabric switches.

Access logix 
          access logix provides LUN masking that allows sharing of storage system.
any host that connects to the storage system will then have access to all of the
 LUNs on that storage system.in environment when multiple hosts are connected
 will cause problems.any one can access any Lun so the access logix solves the
 problems by LUN masking  - it masks certain LUNS from hosts that are not 
authorized to see them.

sample brocade zoning
 
Step by Step Procedure of Zoning via Cli.
1.Create a Zone Alias using "AliCreate"
SW0:admin> alicreate "SUNX4_HBA0"
2.Add member to Alias using "Aliadd"
SW0:admin> aliadd "SUNX4_HBA0","21:00:00:1b:32:13:a8:9f"
3.Create a Zone using "ZoneCreate"
SW0:admin> zonecreate "CX_4_SPB4_SUNX4_HBA0"
4. Add membet to Zone using "ZoneAdd"
SW0:admin> zoneadd "CX_4_SPB4_SUNX4_HBA0","CX_4_SPB4"
5.Add a Zone to Zone configuration "CfgAdd".
SW0:admin> cfgadd "SAN_U2_SW0_Config","CX_4_SPB4_SUNX4_HBA0"
6.Save the Configuration using "CfgSave".
SW0:admin> cfgsave
7.Enable the Configuration using "CfgEnable".
SW0:admin> cfgenable "SAN_U2_SW0_Config"
Note : Always use single initiator Zone which typically include one storage
 and one host wwpn.

implementing zoning  via scripting

!!NOTE: This is fabric A
!! Make all the aliases for systems
alicreate "Storage_HBA1_A", "50:01:43:81:02:45:DE:45"
alicreate "Storgae_HBA2_A", "50:01:43:81:02:45:DE:47"
alicreate "Server_HBA1_A", "50:01:23:45:FE:34:52:12"
alicreate "Server2_HBA1_A", "50:01:23:45:FE:35:52:15"
alicreate "Server2_HBA1_A", "50:01:23:45:FE:35:52:17"

!! Make the zones

zonecreate "Z_server_to_Storage_HBA1_A", "Server_HBA1_A;
 Storage_HBA1_A"

zonecreate "Z_server_to_Storage_HBA2_A", "Server_HBA1_A;
 Storage_HBA2_A"

zonecreate "Z_server2_to_Storage_HBA1_A", "Server2_HBA1_A;
 Storage_HBA1_A"

zonecreate "Z_server2_to_Storage_HBA2_A", "Server2_HBA1_A;
 Storage_HBA2_A"

!!NOTE: effective config and zone members on SWITCHA_config Fabric
cfgcreate "SWITCHA_config", "Z_server_to_Storage_HBA1_A;
 Z_server_to_Storage_HBA2_A;
 Z_server2_to_Storage_HBA1_A; Z_server2_to_Storage_HBA2_A"

cfgsave
cfgenable "SWIT
 
NOTE:
 All Brocade switches have a telnet and ssh access.These commands
can just be cut and pasted into the session to execute them. 



No comments:

Post a Comment

Popular Posts

Followers

Disclaimer

All Data and Information Provided on This BLOG is only for Education purposes only.If you done any thing else these in real time the blog is not Responsible.Try all those on your own risk.
IF you find any thing else here as per in violation of copyright law .mail me on srinathceh@gmail.com as soon as possible action will be taken.