最近做了一个小项目,是思科MDS9124存储交换机的。因为没有经验,只能一边找资料,一边测试着做了。具体情形如下。
拓扑图:
如上图所示,Server-1和Server-2分别通过光纤连接到MDS9124交换机的Fc 1/1和Fc 1/2口;两台MDS9124交换机通过Fc 1/4口Trunk级联,并通过Fc 1/3口连接到一台磁盘阵列设备。
配置模板(两台MDS9124交换机配置相同):
1.配置VSAN 100,并且划入所需要的端口。
!
vsan database
vsan 100
!
vsan database
vsan 100 interface fc1/1
vsan 100 interface fc1/2
vsan 100 interface fc1/3
vsan 100 interface fc1/4
vsan 100 interface fc1/5
vsan 100 interface fc1/6
vsan 100 interface fc1/7
vsan 100 interface fc1/8
!
2.创建两个ZONE,分别对应连接两台服务器的接口;
!
zone name zone13 vsan 100
member interface fc1/1
member interface fc1/3
!
zone name zone23 vsan 100
member interface fc1/2
member interface fc1/3
!
3.创建ZONESET,并激活之。
!
zoneset name full-zoneset vsan 100
member zone13
member zone23
!
zoneset activate name full-zoneset vsan 100
!
4.配置Fc1/4端口为Trunk(端口默认的Trunk是打开的,交换机互联时,需要配置端口模式为E)
!
interface fc1/4
switchport mode E
!
#show int fc 1/4
fc1/4 is down (Link failure or not-connected)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:04:00:0d:ec:4c:13:c0
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port vsan is 100
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
1 frames input, 168 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
1 frames output, 168 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
!
5.配置管理接口的IP地址和网关(因为实际情形是连接到华为交换机,这里需要强制速度和双工)。
!
interface mgmt0
switchport speed 100
switchport duplex full
ip address 192.168.1.1 255.255.255.0
!
ip default-gateway 192.168.1.254
ip routing
!
6.Telnet管理,默认是打开的。
# sh telnet server
telnet service enabled
#
# sh ssh server
ssh is not enabled
#
但是,还有两个疑问:
1)VSAN、ZONE的规划有缺陷吗?
2)两台MDS9124的级连口Fc 1/4的配置正确嘛?
3)由服务器到磁盘阵列设备的数据流量是怎么走的,可以控制吗?
希望高手帮忙解答,赶紧不尽啊!