domainid可以通过 switchshow命令获取:
IBM-256-01:admin> switchshow |more
switchDomain: 25
cfg名称可以通过cfgshow命令获取:
IBM-256-01:admin> cfgshow |more
Defined configuration:
cfg: IBM_256_01_cfg
光交的每个端口号都有一个Index,Index和WWN可通过switchshow可以获取:
Index Slot Port Address Media Speed State Proto
===================================================
0 1 0 5e0000 id N4 Online FC F-Port 50:06:0e:80:05:48:96:00
1、创建一般ZONE--[一台光交内]
SAN光交1
zonecreate "hostname_storage_sn","2;4;6;8"
cfgadd "IBM_256_01_cfg","hostname_storage_sn"
cfgenable "IBM_256_01_cfg"
2、创建一般ZONE--[级联光交]
[SAN光交1 domainid 25]<====>[SAN光交2 domainid 26] 直连/级联模式
要把2台光交的Index为2,4,6,8,10打成一个ZONE:
zonecreate "hostname_storage_sn","25,2;25,4;25,6;25,8;26,2;26,4;26,6;26,8;"
cfgadd "IBM_256_01_cfg","hostname_storage_sn"
cfgenable "IBM_256_01_cfg"
在[SAN光交1]上创建了,会自动同步到[SAN光交2]去。
3、创建LSAN--[跨SAN路由]
[SAN光交1]<====>[SAN光交路由器]<====>[SAN光交3]
根据WWN来创建,名称必须以LSAN开头,且[SAN光交1]和[SAN光交3]都要配置:
zonecreate "LSAN_hostname1_hostname2_fc1","10:00:00:00:c9:ba:ae:30;21:00:00:24:ff:5c:63:4c"
zonecreate "LSAN_hostname1_hostname2_fc2","10:00:00:00:c9:ba:b7:52;21:00:00:24:ff:5c:62:0c"
cfgadd "IBM_256_01_cfg","LSAN_hostname1_hostname2_fc1"
cfgadd "IBM_256_01_cfg","LSAN_hostname1_hostname2_fc2"
cfgenable "IBM_256_01_cfg"
通过fcping来测试是否联通:
IBM-256-01:admin> fcping 10:00:00:00:c9:ba:b7:52 21:00:00:24:ff:5c:62:0c
Source: 10:00:00:00:c9:ba:b7:52
Destination: 21:00:00:24:ff:5c:62:0c
Zone Check: Zoned
阅读(3329) | 评论(0) | 转发(0) |