最近在做一个存储项目,刚刚收工,将其中的一些技术要点分享下.
此项目主要是IBM高端存储系统DS8100和磁带库TS3500(3584)和两台B64光纤交换机.在这里先将光纤交换机的配置做个总结, 存储系统DS8100请参见其它文章,一会有空我再将项目中的DS8100配置和实施过程做总结.请注意留意我的空间.谢谢.:)呵呵.
再做存储项目时常常会用到光纤交换机的配置,其中有一个zone的配置方法.其实很简单,现在我将其两种常用的方法做下总结,以供朋友们参考,一种是基于端口的划分,另一种是基于WWW-NAME的划分方法.
下面就将这两种划分方法做说明:
端口zone
zonecreate "z1","1,0;1,1;1,2;1,3"
zonecreate "z2","1,4;1,5;1,6;1,7"
zonecreate "z3","1,8;1,9;1,10;1,11"
zonecreate "z4","1,12;1,13;1,14;1,15"
cfgcreate "cfgbase","z1;z2;z3;z4"
cfgsave
cfgenable "cfgbase"
适用于:设备经常更换的场合,可以随意更换设备,特别是在更换光纤卡的情况下,不需要修改SAN配置,发挥优势。
www-zone
aliCreate "p570c_1","10:00:00:00:C9:46:08:96"
aliCreate "p570c_2","10:00:00:00:C9:46:11:F1"
aliCreate "p570d_1","10:00:00:00:C9:44:EA:AD"
aliCreate "p570d_2","10:00:00:00:C9:45:06:6E"
aliCreate "F600_1_A","20:06:00:a0:b8:16:7d:1d"
aliCreate "F600_1_B","20:07:00:a0:b8:16:7d:1d"
aliCreate "F600_2_A","20:06:00:a0:b8:13:a0:8d"
aliCreate "F600_2_B","20:07:00:a0:b8:13:a0:8d"
aliCreate "F600_1_B","20:07:00:a0:b8:16:7d:1d"
aliCreate "F600_2_A","20:06:00:a0:b8:13:a0:8d"
aliCreate "F600_2_B","20:07:00:a0:b8:13:a0:8d"
zoneCreate "z1_c_5","p570c_1;F600_1_A"
zoneCreate "z1_c_6","p570c_2;F600_1_B"
zoneCreate "z1_c_7","p570d_1;F600_1_A"
zoneCreate "z1_c_8","p570d_2;F600_1_B"
zoneCreate "z1_c_6","p570c_2;F600_1_B"
zoneCreate "z1_c_7","p570d_1;F600_1_A"
zoneCreate "z1_c_8","p570d_2;F600_1_B"
zoneCreate "z2_c_5","p570c_1;F600_2_A"
zoneCreate "z2_c_6","p570c_2;F600_2_B"
zoneCreate "z2_c_7","p570d_1;F600_2_A"
zoneCreate "z2_c_8","p570d_2;F600_2_B"
zoneCreate "z2_c_6","p570c_2;F600_2_B"
zoneCreate "z2_c_7","p570d_1;F600_2_A"
zoneCreate "z2_c_8","p570d_2;F600_2_B"
cfgadd "cfg0603","z1_c_5;z1_c_6;z1_c_7;z1_c_8;z2_c_5;z2_c_6;z2_c_7;z2_c_8"
cfgsave
cfgenable "cfg0603"
适用于:设备位置经常更换的场合
特别是在将设备从一个物理位置移动到其他物理位置的时候,不需要修改SAN配置,发挥优势…
cfgsave
cfgenable "cfg0603"
适用于:设备位置经常更换的场合
特别是在将设备从一个物理位置移动到其他物理位置的时候,不需要修改SAN配置,发挥优势…
将光纤交换机的一些命令贴出来,以供学习参考.
>help
aaaconfig Configure RADIUS for AAA services
ad Specifies all administration domain (AD)-level
operations
ag Configure the Access Gateway feature
agshow Displays the Access Gateway information registered
with the fabric
agtcfgdefault Reset SNMP agent to factory default
aliadd Add a member to a zone alias
alicreate Create a zone alias
alidelete Delete a zone alias
aliremove Remove a member from a zone alias
alishow Print zone alias information
aptpolicy Get and set Advanced Performance Tuning policy
auditcfg Modifies and displays audit log filter
configuration.
authutil Get and set authentication configuration
backplanetest Backplane connection test for multi-blade systems.
backport Test for back-end ASIC pair to ASIC pair links.
bannerset Set security banner
bannershow Display security banner
bcastshow Display broadcast routing information
bladebeacon Enables or disables blade beaconing or displays the
current mode.
bladedisable Disables all user ports on a blade.
bladeenable Enables all User Ports on a blade.
burninerrclear Clear errors that are stored in the non-volatile
storage
burninerrshow Display errors that are stored in the non-volatile
storage
burninstatus Display the diagnostics burnin status.
camtest Verify QuickLoop's Content Addressable Memory
(CAM).SID translation
centralmemorytest Test ASIC central memory operation.
cfgactvshow Display Effective zone configuration information
cfgadd Add a member to a configuration
cfgclear Clear all zone configurations
cfgcreate Create a zone configuration
cfgdelete Delete a zone configuration
cfgdisable Disable a zone configuration
cfgenable Enable a zone configuration
cfgremove Remove a member from a configuration
cfgsave Save zone configurations in flash
cfgshow Print zone configuration information
cfgsize Print size details of zone database
cfgtransabort Abort zone configuration transaction
cfgtransshow Print zone configurations in transaction buffer
chassisconfig Display or set the chassis configuration
chassisname Display or set the chassis's Name
chassisshow Display all Field Replaceable Units (FRU)
chipregshow Displays the port registers for a given chip
number.
cmemretentiontest Data retention test of the central memory SRAMs.
cmitest Verify CMI bus between ASICs.
configdefault Reset config to factory default
configdownload Load switch config from a server
configshow Print switch config parameters
configupload Save switch config to a server
configure Set switch config parameters
datatypeshow Display available diagnostic data types.
date Print/set the system date and time
dbgshow Display debug levels of various modules
defzone Activates or deactivates a default zone
configuration.
diagclearerror Clears diagnostics failure status.
diagcommandshow Display diagnostic command descriptions.
diagdisablepost Disable diagnostic POST.
diagenablepost Enable diagnostic POST.
diagenv Diagnostic debug parameters management package.
diaghelp Display diagnostic command descriptions.
diagloopid Select the diagnostics loop ID.
diagmodeshow Displays diagnostic mode configuration.
diagpost Displays the contents of port registers and
memories.
diagretry Sets diagnostic retry m
aaaconfig Configure RADIUS for AAA services
ad Specifies all administration domain (AD)-level
operations
ag Configure the Access Gateway feature
agshow Displays the Access Gateway information registered
with the fabric
agtcfgdefault Reset SNMP agent to factory default
aliadd Add a member to a zone alias
alicreate Create a zone alias
alidelete Delete a zone alias
aliremove Remove a member from a zone alias
alishow Print zone alias information
aptpolicy Get and set Advanced Performance Tuning policy
auditcfg Modifies and displays audit log filter
configuration.
authutil Get and set authentication configuration
backplanetest Backplane connection test for multi-blade systems.
backport Test for back-end ASIC pair to ASIC pair links.
bannerset Set security banner
bannershow Display security banner
bcastshow Display broadcast routing information
bladebeacon Enables or disables blade beaconing or displays the
current mode.
bladedisable Disables all user ports on a blade.
bladeenable Enables all User Ports on a blade.
burninerrclear Clear errors that are stored in the non-volatile
storage
burninerrshow Display errors that are stored in the non-volatile
storage
burninstatus Display the diagnostics burnin status.
camtest Verify QuickLoop's Content Addressable Memory
(CAM).SID translation
centralmemorytest Test ASIC central memory operation.
cfgactvshow Display Effective zone configuration information
cfgadd Add a member to a configuration
cfgclear Clear all zone configurations
cfgcreate Create a zone configuration
cfgdelete Delete a zone configuration
cfgdisable Disable a zone configuration
cfgenable Enable a zone configuration
cfgremove Remove a member from a configuration
cfgsave Save zone configurations in flash
cfgshow Print zone configuration information
cfgsize Print size details of zone database
cfgtransabort Abort zone configuration transaction
cfgtransshow Print zone configurations in transaction buffer
chassisconfig Display or set the chassis configuration
chassisname Display or set the chassis's Name
chassisshow Display all Field Replaceable Units (FRU)
chipregshow Displays the port registers for a given chip
number.
cmemretentiontest Data retention test of the central memory SRAMs.
cmitest Verify CMI bus between ASICs.
configdefault Reset config to factory default
configdownload Load switch config from a server
configshow Print switch config parameters
configupload Save switch config to a server
configure Set switch config parameters
datatypeshow Display available diagnostic data types.
date Print/set the system date and time
dbgshow Display debug levels of various modules
defzone Activates or deactivates a default zone
configuration.
diagclearerror Clears diagnostics failure status.
diagcommandshow Display diagnostic command descriptions.
diagdisablepost Disable diagnostic POST.
diagenablepost Enable diagnostic POST.
diagenv Diagnostic debug parameters management package.
diaghelp Display diagnostic command descriptions.
diagloopid Select the diagnostics loop ID.
diagmodeshow Displays diagnostic mode configuration.
diagpost Displays the contents of port registers and
memories.
diagretry Sets diagnostic retry m