连接交换机:可通过串口或网线从IE进入
创建ZONE有两种方式:
一是通过交换机port号,二是通过主机和存储的WWN号 (单个硬盘没有WWN号,存储整体才有一个)
一般不会太老的企业版的linux内核都自带了市场主流HBA的驱动,比如qlogic的ql2xxx 和emulex的lpfc,
当然你要方便的查看HBA信息的话还是要安装utilities你可以直接到厂商的网站取下在安装的,都会有pdf的文档下载
lspci |grep -i fibre LINUNX下查看HBA硬件信息
lsmod |grep qla
lsmod |grep lpfc
qle2562下载HBA卡驱动
http://driverdownloads.qlogic.com/qlogicdriverdownloads_ui/ibm_search.aspx
##############################(1)博科SAN交换机操作命令#######################
默认帐号:admin 密码password
命令:
查看当前zone状况:zoneshow
删除zone : zonedelete "zone_name"
查看domainID 和交换机名称: siwtchshow
(如果看到G-Port,主机端重新扫描,cfgmgr)
--------------------------------------------------------------------------------
光纤交换机级联状态Disable (port Throttled)
fcstat fcs0 #看速率4G还是8G
portcfgspeed 63 4 #加上端口63,4G的,与主机版本一致的速率
portdisable 63 #主机端cfgmgr重新扫描
portenable 63
switchshow #4N对应的速率为4G,8N对应的速率为8G
-----------------------------------------------------------------------------------
按上图创建zone:
创建zone : zonecreate "zone_name1","1,0;1,1"
zonecreate "zone_name2","1,9;1,8"
zonecreate "zone_name3","2,0;2,1"
zonecreate "zone_name4","2,8;2,9"
创建zone后通过进一步创建cfg来自由组合或分拆等来管理ZONE
cfgcreate "cfg_name","zone_name1;zone_name2"
cfgenable "cfg_name"
cfgsave
cfgdelete "cfg_name"
cfgadd "cfg_name","zone_name"或"zone_name3;zone_name4"
cfgremove "cfg_name","zone_name" (并非删除ZONE,只是将其移出这个CFG)
通过WWN创建ZONE:
查看光纤卡的WWN号:
lsdev -Cc adapter|more fsc
lscfg -vl fsc(0-9) 就能看到WWN号
创建其实和PORT号一样:zonecreate "zone_name","234234234234234;423424234234234"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
举例:
fcstat fcs0 查看端口是否在用
lscfg -vpl fcs0
查看机器上面的wwn号
根据wwn号对应到SAN上面的端口
SAN
zoneshow |grep b3
switchshow
-------------------------------------------------------------------------------------
(1)直接划zone的方法:
zonecreate "XNDK_newjcka","10:00:00:00:c9:ce:fe:b3;50:0e:09:e2:00:fe:91:13"
cfgadd "sw1_cfg","XNDK_newjcka"
cfgenable "sw1_cfg"
cfgsave
--------------------------------------------------------------------------------------------------------
(2)通过别名划zone
90主机上
[root@zjswj1dw1 host7]# cat /sys/class/fc_host/*/port_name 0x2100f4e9d4583ead 0x2100f4e9d4584266 0x2100f4e9d4584267 0x2100f4e9d4583eac
上面是
host10 21:00:f4:e9:d4:58:3e:ad --->2
host7 21:00:f4:e9:d4:58:42:66 --->1
host8 21:00:f4:e9:d4:58:42:67 --->2
host9 21:00:f4:e9:d4:58:3e:ac --->1
SNS5384_2:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:3e:ad" 297 3 41 34a1c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:3e:ad SNS5384_1:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:42:66" 313 4 41 33b1c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:42:66 SNS5384_2:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:42:67" 313 4 41 34b1c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:42:67 SNS5384_1:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:3e:ac" 296 3 40 33a0c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:3e:ac
----------------------------------------------------------------------------------------------
91主机上
[root@zjswj1dw2 host7]# cat /sys/class/fc_host/*/port_name 0x2100f4e9d45845ff 0x2100f4e9d45845f0 0x2100f4e9d45845f1 0x2100f4e9d45845fe
上面是
host10 21:00:f4:e9:d4:58:45:ff --->1
host7 21:00:f4:e9:d4:58:45:f0 --->1
host8 21:00:f4:e9:d4:58:45:f1 --->2
host9 21:00:f4:e9:d4:58:45:fe --->2
SNS5384_1:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:45:ff" 298 3 42 33a2c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:45:ff SNS5384_1:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:45:f0" 315 4 43 33b3c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:45:f0 SNS5384_2:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:45:f1" 315 4 43 34b3c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:45:f1 SNS5384_2:FID128:admin> switchshow |grep "21:00:f4:e9:d4:58:45:fe" 298 3 42 34a2c0 id N16 Online FC F-Port 21:00:f4:e9:d4:58:45:fe
-----------------------------------------------------------------------------------------------------------------------------------------
定义18500V3_B
在交换机1上
定义华为四个启动器的WWN的别名:N2代表2号机房,G02代表机柜
alicreate "N2_G02_18500V3_B_A_R1_P1","20:09:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_B_L1_P1","20:19:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_C_R1_P1","20:29:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_D_L1_P1","20:39:00:2e:c7:43:e3:01"
90主机
alicreate "N3_D05_KUNLUN_zjswj1dw1_host7","21:00:f4:e9:d4:58:42:66" alicreate "N3_D05_KUNLUN_zjswj1dw1_host9","21:00:f4:e9:d4:58:3e:ac"
91主机
alicreate "N3_D05_KUNLUN_zjswj1dw2_host10","21:00:f4:e9:d4:58:45:ff" alicreate "N3_D05_KUNLUN_zjswj1dw2_host7","21:00:f4:e9:d4:58:45:f0"
每个启动器分别和每台主机的一个HBA卡,要划zone,四个启动器要画四次
zonecreate "N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7","N2_G02_18500V3_B_A_R1_P1;N3_D05_KUNLUN_zjswj1dw1_host7" zonecreate "N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host7","N2_G02_18500V3_B_B_L1_P1;N3_D05_KUNLUN_zjswj1dw1_host7" zonecreate "N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7","N2_G02_18500V3_B_C_R1_P1;N3_D05_KUNLUN_zjswj1dw1_host7" zonecreate "N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host7","N2_G02_18500V3_B_D_L1_P1;N3_D05_KUNLUN_zjswj1dw1_host7" zonecreate "N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host9","N2_G02_18500V3_B_A_R1_P1;N3_D05_KUNLUN_zjswj1dw1_host9" zonecreate "N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9","N2_G02_18500V3_B_B_L1_P1;N3_D05_KUNLUN_zjswj1dw1_host9" zonecreate "N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host9","N2_G02_18500V3_B_C_R1_P1;N3_D05_KUNLUN_zjswj1dw1_host9" zonecreate "N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9","N2_G02_18500V3_B_D_L1_P1;N3_D05_KUNLUN_zjswj1dw1_host9" zonecreate "N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10","N2_G02_18500V3_B_A_R1_P1;N3_D05_KUNLUN_zjswj1dw2_host10" zonecreate "N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host10","N2_G02_18500V3_B_B_L1_P1;N3_D05_KUNLUN_zjswj1dw2_host10" zonecreate "N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10","N2_G02_18500V3_B_C_R1_P1;N3_D05_KUNLUN_zjswj1dw2_host10" zonecreate "N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host10","N2_G02_18500V3_B_D_L1_P1;N3_D05_KUNLUN_zjswj1dw2_host10" zonecreate "N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host7","N2_G02_18500V3_B_A_R1_P1;N3_D05_KUNLUN_zjswj1dw2_host7" zonecreate "N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7","N2_G02_18500V3_B_B_L1_P1;N3_D05_KUNLUN_zjswj1dw2_host7" zonecreate "N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host7","N2_G02_18500V3_B_C_R1_P1;N3_D05_KUNLUN_zjswj1dw2_host7" zonecreate "N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7","N2_G02_18500V3_B_D_L1_P1;N3_D05_KUNLUN_zjswj1dw2_host7"
把zone加到配置文件cfg01中
cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host7" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host7" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7"
cfgenable "cfg01"
cfgsave
-------------------------------------------------------------------------------------------
在交换机2上
alicreate "N2_G02_18500V3_B_A_R1_P0","20:08:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_B_L1_P0","20:18:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_C_R1_P0","20:28:00:2e:c7:43:e3:01" alicreate "N2_G02_18500V3_B_D_L1_P0","20:38:00:2e:c7:43:e3:01"
90主机上
alicreate "N3_D05_KUNLUN_zjswj1dw1_host10","21:00:f4:e9:d4:58:3e:ad" alicreate "N3_D05_KUNLUN_zjswj1dw1_host8","21:00:f4:e9:d4:58:42:67"
91主机上
alicreate "N3_D05_KUNLUN_zjswj1dw2_host8","21:00:f4:e9:d4:58:45:f1" alicreate "N3_D05_KUNLUN_zjswj1dw2_host9","21:00:f4:e9:d4:58:45:fe"
zonecreate "N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host10","N2_G02_18500V3_B_A_R1_P0;N3_D05_KUNLUN_zjswj1dw1_host10" zonecreate "N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host10","N2_G02_18500V3_B_B_L1_P0;N3_D05_KUNLUN_zjswj1dw1_host10" zonecreate "N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host10","N2_G02_18500V3_B_C_R1_P0;N3_D05_KUNLUN_zjswj1dw1_host10" zonecreate "N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host10","N2_G02_18500V3_B_D_L1_P0;N3_D05_KUNLUN_zjswj1dw1_host10" zonecreate "N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host8","N2_G02_18500V3_B_A_R1_P0;N3_D05_KUNLUN_zjswj1dw1_host8" zonecreate "N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host8","N2_G02_18500V3_B_B_L1_P0;N3_D05_KUNLUN_zjswj1dw1_host8" zonecreate "N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host8","N2_G02_18500V3_B_C_R1_P0;N3_D05_KUNLUN_zjswj1dw1_host8" zonecreate "N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host8","N2_G02_18500V3_B_D_L1_P0;N3_D05_KUNLUN_zjswj1dw1_host8" zonecreate "N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host8","N2_G02_18500V3_B_A_R1_P0;N3_D05_KUNLUN_zjswj1dw2_host8" zonecreate "N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host8","N2_G02_18500V3_B_B_L1_P0;N3_D05_KUNLUN_zjswj1dw2_host8" zonecreate "N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host8","N2_G02_18500V3_B_C_R1_P0;N3_D05_KUNLUN_zjswj1dw2_host8" zonecreate "N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host8","N2_G02_18500V3_B_D_L1_P0;N3_D05_KUNLUN_zjswj1dw2_host8" zonecreate "N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host9","N2_G02_18500V3_B_A_R1_P0;N3_D05_KUNLUN_zjswj1dw2_host9" zonecreate "N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host9","N2_G02_18500V3_B_B_L1_P0;N3_D05_KUNLUN_zjswj1dw2_host9" zonecreate "N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host9","N2_G02_18500V3_B_C_R1_P0;N3_D05_KUNLUN_zjswj1dw2_host9" zonecreate "N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host9","N2_G02_18500V3_B_D_L1_P0;N3_D05_KUNLUN_zjswj1dw2_host9"
cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host10" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host10" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host10" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host10" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host8" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host8" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw1_host8" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw1_host8" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host8" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host8" cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host8" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host8" cfgadd "cfg01","N2_G02_18500V3_B_A_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host9" cfgadd "cfg01","N2_G02_18500V3_B_B_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host9"c cfgadd "cfg01","N2_G02_18500V3_B_C_R1_P0_N3_D05_KUNLUN_zjswj1dw2_host9" cfgadd "cfg01","N2_G02_18500V3_B_D_L1_P0_N3_D05_KUNLUN_zjswj1dw2_host9"
cfgenable "cfg01"
cfgsave
----------------------------------------------------------------------------
错误清除;没加N3
cfgremove "cfg01","N2_G02_18500V3_B_A_R1_P1_D05_KUNLUN_zjswj1dw1_host7" cfgremove "cfg01","N2_G02_18500V3_B_B_L1_P1_D05_KUNLUN_zjswj1dw1_host9" cfgremove "cfg01","N2_G02_18500V3_B_C_R1_P1_D05_KUNLUN_zjswj1dw2_host10" cfgremove "cfg01","N2_G02_18500V3_B_D_L1_P1_D05_KUNLUN_zjswj1dw2_host7"
cfgremove "cfg01","N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" cfgremove "cfg01","N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" cfgremove "cfg01","N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" cfgremove "cfg01","N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7"
zonedelete "N2_G02_18500V3_B_A_R1_P1_N3_D05_KUNLUN_zjswj1dw1_host7" zonedelete "N2_G02_18500V3_B_B_L1_P1_N3_D05_KUNLUN_zjswj1dw1_host9" zonedelete "N2_G02_18500V3_B_C_R1_P1_N3_D05_KUNLUN_zjswj1dw2_host10" zonedelete "N2_G02_18500V3_B_D_L1_P1_N3_D05_KUNLUN_zjswj1dw2_host7"
alidelete "N3_D05_KUNLUN_zjswj1dw1_host7" alidelete "N3_D05_KUNLUN_zjswj1dw1_host9" alidelete "N3_D05_KUNLUN_zjswj1dw2_host10 alidelete "N3_D05_KUNLUN_zjswj1dw2_host7"
alidelete "N2_G02_18500V3_B_A_R1_P1" alidelete "N2_G02_18500V3_B_B_L1_P1" alidelete "N2_G02_18500V3_B_C_R1_P1" alidelete "N2_G02_18500V3_B_D_L1_P1"
-------------------------------------------------------------------------------------
Brocade 光纤交换机常用命令
switchshow
psshow
licenseshow
fanshow
errshow
tempshow
porterrshow
uptime
firmwareshow
###############################(2)思科SAN交换机操作命令##################################################
查看端口 show flogi database
D15_TS860
[root@localhost fc_host]# cat host7/port_name 0x21000024ff11bd49 在交换机B上,对应VPLEX_VS6_E1D01F1,VPLEX_VS6_E2D02F1 两个WWN [root@localhost fc_host]# cat host10/port_name 0x21000024ff91e012 在交换机A上,对应VPLEX_VS6_E1D01F0,VPLEX_VS6_E2D02F0 两个WWN
D16_TS860
[root@localhost fc_host]# cat host7/port_name 0x21000024ff11bc42 在交换机A上,对应VPLEX_VS6_E1D01F0,VPLEX_VS6_E2D02F0 两个WWN [root@localhost fc_host]# cat host10/port_name 0x21000024ff91dc94 在交换机B上,对应VPLEX_VS6_E1D01F1,VPLEX_VS6_E2D02F1 两个WWN
show zoneset查询zoneset的配置,看看zone是否加入正确
config t
-------------------------------------------------------
在交换机A上,对应VPLEX_VS6_E1D01F0,VPLEX_VS6_E2D02F0 两个WWN
fcalias name D15_TS860_host10 vsan 141 #D15_TS860_host10为D15机柜,TS860机器,host10端口,141为对应交换机上的数值 member pwwn 21:00:00:24:ff:91:e0:12 #成员为21:00:00:24:ff:91:e0:12为WWN号 zone name D15_TS860_host10_EMC_VPLEX vsan 141 #D15_TS860_host10_EMC_VPLEX自定义命名的zone member fcalias D15_TS860_host10 #成员为D15_TS860_host10 member fcalias VPLEX_VS6_E1D01F0 #成员为VPLEX_VS6_E1D01F0 member fcalias VPLEX_VS6_E1D02F0 member fcalias VPLEX_VS6_E2D01F0 member fcalias VPLEX_VS6_E2D02F0 #成员为VPLEX_VS6_E2D02F0 zoneset name zoneset_up vsan 141 #zoneset_up为交换机的配置文件 member D15_TS860_host10_EMC_VPLEX #D15_TS860_host10_EMC_VPLEX加入交换机的配置 然后exit退出 zoneset activate name zoneset_up vsan 141 #激活zoneset_up,注意是activate,不是active copy run start
---------------------------------------------------------
fcalias name D16_TS860_host7 vsan 141 member pwwn 21:00:00:24:ff:11:bc:42 zone name D16_TS860_host7_EMC_VPLEX vsan 141 member fcalias D16_TS860_host7 member fcalias VPLEX_VS6_E1D01F0 member fcalias VPLEX_VS6_E1D02F0 member fcalias VPLEX_VS6_E2D01F0 member fcalias VPLEX_VS6_E2D02F0 zoneset name zoneset_up vsan 141 member D16_TS860_host7_EMC_VPLEX 然后exit退出 zoneset activate name zoneset_up vsan 141 copy run start
然后验证
show zone active |grep D15 #注意是active,不是activate
show zone active |grep D16
####################################################################
在交换机B上,对应VPLEX_VS6_E1D01F1,VPLEX_VS6_E2D02F1 两个WWN
fcalias name D15_TS860_host7 vsan 142 member pwwn 21:00:00:24:ff:11:bd:49 zone name D15_TS860_host7_EMC_VPLEX vsan 142 member fcalias D15_TS860_host7 member fcalias VPLEX_VS6_E1D01F1 member fcalias VPLEX_VS6_E1D02F1 member fcalias VPLEX_VS6_E2D01F1 member fcalias VPLEX_VS6_E2D02F1 zoneset name zoneset_down vsan 142 member D15_TS860_host7_EMC_VPLEX 然后exit退出 zoneset activate name zoneset_down vsan 142 copy run start
----------------------------------------------------
fcalias name D16_TS860_host10 vsan 142 member pwwn 21:00:00:24:ff:91:dc:94 zone name D16_TS860_host10_EMC_VPLEX vsan 142 member fcalias D16_TS860_host10 member fcalias VPLEX_VS6_E1D01F1 member fcalias VPLEX_VS6_E1D02F1 member fcalias VPLEX_VS6_E2D01F1 member fcalias VPLEX_VS6_E2D02F1 zoneset name zoneset_down vsan 142 member D16_TS860_host10_EMC_VPLEX 然后exit退出 zoneset activate name zoneset_down vsan 142 copy run start
然后验证
show zone active |grep D15 show zone active |grep D16
#注意activate和active
-------------------------------------------------------
emc查看powermt display dev=all,看每块盘最大12条链路,然后3块卡,每块盘四个控制器,即12条链路
-------------------------------------------------------
注意:
安装emc多路径,需要安装许可,emcpreg -list,emcpreg -add