远距离存储级灾备方案

现状及需求分析

  1. 需求
    客户要做存储级的灾备,现已有两台IBM V7000存储,计划使用V7000存储的 FlashCopy 功能实现两个存储的远程复制功能。由于异地裸光纤部署限制条件多以及成本太高,需要提供一个基于专线的FC SAN组网解决方案,总结来说此项目需要在没有裸光纤的前提下将两个现有的异地FC SAN Fabric组成一个更大的光纤交换网。
  2. 客户现有环境
    • 专线路由(网关)
      • 生产机房:xxx.xxx.xxx.xxx
      • DR机房:xxx.xxx.xxx.xxx
    • SAN Fabric
      • 生产机房:4台SAN Switch,两两级联,两套SAN网络做冗余
      • DR机房:1台SAN Switch

方案设计

方案概述

本方案采用两台EMC² MP-7500B多协议SAN交换机,使用FCIP协议设备实现远距离的连接;同时不采用MP-7500B与现有的SAN Fabirc进行级联,而采用FC routing (FC路由)的方式连接,这样可以避免对现有SAN Fabirc的影响,方案整体设计示意图如下:

enter description here

本方案中的相关技术术语

  1. FCIP
    FCIP的全称是Fibre Channel over Internet Protocol,是通过在IP网络的两个端点之间建立一条隧道来传输光纤通道数据,使得可以将两个距离比较远的Fibre Channel网络连接在一起,组成一个更大的存储交换网络。它的好处是无需在两地之间再部署光纤网络,就可以实现使用现有的以太网络架构进行IP协议封装FC协议传输。
  2. FC routing
    FC SAN 的路由器 ( router )成为FC routing(简称 FCR),用于了传统 FC SAN 网络的扩充能力 。我们在连接两个或多个 fabrics 时 , 都必须将 fabric 的信息 ( 例如 : zone 的数据 ) 结合 ; 但基与 FC 到 FC 的路由( FC-to-FC routing )功能,我们可以不用结合 fabric 的信息,即可连接两个或多个 fabrics 。
  3. 其他术语
    • ISL:Inter Switch Linke(内部交换链路)

方案实施部署

EMC² MP-7500B设备

1. 本方案中的需求

  1. License

    Production:admin> licenseshow
    RSdRedy9SSSTeSfv:
    Obsolete license
    Sb9Sez9bbcTcATfb:
    Obsolete license
    bbRRzdbdSyccSS0S:
    Fabric license     //级联License,必须有
    9QSdQdydQARTeRr:
    Extended Fabric license
    Sb9Sez9bbcTkATfj:
    High-Performance Extension over FCIP/FC license  //FCIP License,必须有
  2. 新设备的port都是disable的,配置后需要enable对应端口

    • enable端口命令格式:portcfgpersistentenable <port>
    • 查看disable的端口:
      
      Production:admin> portcfgpersistentdisable
      Slot 0     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 
      ---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---
      Disabled  YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES 

    Slot 0 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    ---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---
    Disabled YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES

    Slot 0 ge0 ge1
    ---------+---+---
    Disabled YES YES

  3. VE port与GE Port和Tunnle ID的关系
    enter description here

FCIP配置

1. 实验环境说明

设备:两台EMC² MP-7500,一台三层网络交换机Cisco 3560G模拟客户的网络环境

  1. 生产机房的MP-7500B设备

    • Fabric OS:6.4.1a
    • Switchname:Production
    • ge0:
      IP:192.168.1.10
      NETMASK:255.255.255.0
      MTU:1500
    • ge1:
      IP:192.168.1.11
      NETMASK:255.255.255.0
      MTU:1500
  2. DR机房的MP-7500B设备

    • Fabric OS:6.4.1a
    • Switchname:DR
    • ge0
      • IP:192.168.2.10
      • NETMASK:255.255.255.0
      • MTU:1500
    • ge1
      • IP:192.168.2.11
      • NETMASK:255.255.255.0
      • MTU:1500
  3. 网络环境:一台Cisco 3560G设备

    • Cisco的三层交换机用两个VLAN实现不同网段的通讯
      • VLAN1:8~11口,192.168.1.1,接生产机房的MP-7500
      • VLAN2:12~15口,192.168.2.1,接DR机房的MP-7500
    • 网络环境中必须关闭防火墙或开启以下端口
      • FCIP traffic (TCP port 3225) and IPSec traffic(UDP port 500)
      • TCP port 3226
      • 如果需要启动ipperf session时,需开启3227的TCP端口(默认端口,可指定其他端口)

2. 配置生产机房的MP-7500B

  1. 修改switchDomain ID
    这个算是级联,需要修改switchDomain ID,本台不修改,修改DR的MP-7500B

  2. GE port网络配置

    • IP信息配置命令格式:
      portcfg ipif <port> create <IP_Address> <Subnetmask> <MTU>
    • 到达192.168.2. 0/24(DR机房网段)需要创建静态route到192.168.1.1(本地网关),直连不需要配置
    • 命令格式:portcfg iproute <port> create <host_subnet> <Subnetmask> <Gateway>
    • 注意:必须在以太网环境中开通3225和3227端口或关闭防火墙。
    • ge0和ge1端口配置log记录
produce:admin> portshow ipif all      //查看所有端口的ip信息
No IP Interfaces found
Production:admin> portcfg ipif ge0 create 192.168.1.10 255.255.255.0 1500
Operation Succeeded
Production:admin> portcfg iproute ge0 create 192.168.2.0 255.255.255.0 192.168.1.1
Operation Succeeded
Production:admin> 
Production:admin> portcfg ipif ge1 create 192.168.1.11 255.255.255.0 1500
Operation Succeeded
Production:admin> portcfg iproute ge1 create 192.168.2.0 255.255.255.0 192.168.1.1
Operation Succeeded
Production:admin> portcfgpersistentenable ge0    //enable相应的port
Production:admin> portcfgpersistentenable ge1

/* 下面是查询命令 */
produce:admin> portshow ipif all    //也可以查询指定端口,将all换成port号
Port: ge0
Interface IPv4 Address    NetMask         Effective MTU  Flags
--------------------------------------------------------------
    0     192.168.1.10    255.255.255.0   1500           
Port: ge1
Interface IPv4 Address    NetMask         Effective MTU  Flags
--------------------------------------------------------------
    0     192.168.1.11    255.255.255.0   1500           
    Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
       N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp

Production:admin> portshow iproute all
Port: ge0
IP Address      Mask            Gateway        Metric   Flags
-------------------------------------------------------------
192.168.1.0     255.255.255.0   192.168.1.10     0  Interface 
192.168.2.0     255.255.255.0   192.168.1.1      0  
Port: ge1
IP Address      Mask            Gateway        Metric   Flags
-------------------------------------------------------------
192.168.1.0     255.255.255.0   192.168.1.11     0  Interface 
192.168.2.0     255.255.255.0   192.168.1.1      0  
  1. 创建Remote地址192.168.2.10和Local地址192.168.1.10的FCIP隧道(tunnel)1

    • 命令格式:portcfg fciptunnel <port> create <tunnel ID> <Remote_IP> <Local_IP> <speed_in_bytes>
    • log
    Production:admin> portcfg fciptunnel ge0 create 1 192.168.2.10 192.168.1.10 10000   //速率根据实际环境来配置
    Operation Succeeded
    Production:admin> portcfg fciptunnel ge1 create 2 192.168.2.11 192.168.1.11 10000
    Operation Succeeded                     //ge1口的tunnel ID 也可以为1,ge0和ge1不冲突的
    
    Production:admin> portcfgpersistentenable 17    //ge0端口、tunnel ID为1对应的VE Port为17
    Production:admin> portcfgpersistentenable 26    //ge1端口、tunnel ID为2对应的VE Port为26
    Production:admin> portshow fciptunnel all            //查看FCIP tunnel的信息    
    Port: ge0
    -------------------------------------------
        Tunnel ID 1
        Tunnel Description Not Configured
        Remote IP Addr 192.168.2.10
        Local IP Addr 192.168.1.10
        Remote WWN Not Configured    
        Local WWN 10:00:00:05:1e:39:b8:fa
        Compression off
        Fastwrite off
        Tape Pipelining off
        Committed Rate 10000 Kbps (0.010000 Gbps)
        SACK on
        Min Retransmit Time 100
        Keepalive Timeout 10
        Max Retransmissions 8
        VC QoS Mapping off
        DSCP Marking (Control): 0, DSCP Marking (Data): 0
        VLAN Tagging Not Configured
        TCP Byte Streaming off
        Status : Inactive    //注意:只有两端都配置且配置正确是此状态为active,这里对端MP-7500B未配置
        Connected Count: 2
    
    Port: ge1
    -------------------------------------------
        Tunnel ID 2
        Tunnel Description Not Configured
        Remote IP Addr 192.168.2.11
        Local IP Addr 192.168.1.11
        Remote WWN Not Configured
        Local WWN 10:00:00:05:1e:39:b8:fa
        Compression off
        Fastwrite off
        Tape Pipelining off
        Committed Rate 10000 Kbps (0.010000 Gbps)
        SACK on
        Min Retransmit Time 100
        Keepalive Timeout 10
        Max Retransmissions 8
        VC QoS Mapping off
        DSCP Marking (Control): 0, DSCP Marking (Data): 0
        VLAN Tagging Not Configured
        TCP Byte Streaming off
        Status : Inactive
        Connected Count: 0

3. 配置DR机房的MP-7500B

  1. 和生产机房的MP-7500B配置类似,这里只记录配置过程的log

    /* 修改switchDomain ID */
    DR:admin> switchdisable 
    DR:admin> configure
    Configure...
    
        Fabric parameters (yes, y, no, n): [no] y
        Domain: (1..239) [1] 2
        R_A_TOV: (4000..120000) [10000] 
        E_D_TOV: (1000..5000) [2000] 
        WAN_TOV: (0..30000) [0] 
        MAX_HOPS: (7..19) [7] 
        Data field size: (256..2112) [2112] 
        Sequence Level Switching: (0..1) [0] 
        Disable Device Probing: (0..1) [0] 
        Suppress Class F Traffic: (0..1) [0] 
        Per-frame Route Priority: (0..1) [0] 
        Long Distance Fabric: (0..1) [0] 
        BB credit: (1..27) [16] 
        Disable FID Check (yes, y, no, n): [no] 
      Insistent Domain ID Mode (yes, y, no, n): [no] 
      Configure edge hold time (yes, y, no, n): [no] 
      Virtual Channel parameters (yes, y, no, n): [no] 
      F-Port login parameters (yes, y, no, n): [no] 
      Zoning Operation parameters (yes, y, no, n): [no] 
      RSCN Transmission Mode (yes, y, no, n): [no] 
      Arbitrated Loop parameters (yes, y, no, n): [no] 
      System services (yes, y, no, n): [no] 
      Portlog events enable (yes, y, no, n): [no] 
      ssl attributes (yes, y, no, n): [no] 
      rpcd attributes (yes, y, no, n): [no] 
      cfgload attributes (yes, y, no, n): [no] 
      webtools attributes (yes, y, no, n): [no] 
    
    WARNING: The domain ID will be changed. The port level zoning may be affected
    
    DR:admin> switchenable 
    
    /* 配置ge端口网络 */
    DR:admin> portshow ipif all
    No IP Interfaces found
    DR:admin> portcfg ipif ge0 create 192.168.2.10 255.255.255.0 1500
    Operation Succeeded
    DR:admin> portcfg iproute ge0 create 192.168.1.0 255.255.255.0 192.168.2.1
    Operation Succeeded
    DR:admin> portcfg ipif ge1 create 192.168.2.11 255.255.255.0 1500
    Operation Succeeded
    DR:admin> portcfg iproute ge1 create 192.168.1.0 255.255.255.0 192.168.2.1
    Operation Succeeded
    DR:admin> portcfgpersistentenable ge0
    DR:admin> portcfgpersistentenable ge1
    
    /* 查询端口的网络信息 */
    DR:admin> portshow ipif all
    Port: ge0    
    Interface IPv4 Address    NetMask         Effective MTU  Flags   
    --------------------------------------------------------------   
        0     192.168.2.10    255.255.255.0   1500           
    Port: ge1   
    Interface IPv4 Address    NetMask         Effective MTU  Flags   
    --------------------------------------------------------------   
        0     192.168.2.11    255.255.255.0   1500            
    
    Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running   
           N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp   
    DR:admin> portshow iproute all   
    Port: ge0   
    IP Address      Mask            Gateway        Metric   Flags
    -------------------------------------------------------------
    192.168.2.0     255.255.255.0   192.168.2.10     0  Interface 
    192.168.1.0     255.255.255.0   192.168.2.1      0  
    Port: ge1
    IP Address      Mask            Gateway        Metric   Flags
    -------------------------------------------------------------
    192.168.2.0     255.255.255.0   192.168.2.11     0  Interface 
    192.168.1.0     255.255.255.0   192.168.2.1      0  
    DR:admin> 
    
    /* 配置FCIP tunnel */
    DR:admin> portcfg fciptunnel ge0 create 1 192.168.1.10 192.168.2.10 10000
    Operation Succeeded
    DR:admin> portcfg fciptunnel ge1 create 2 192.168.1.11 192.168.2.11 10000
    Operation Succeeded
    
    DR:admin> portcfgpersistentenable 17 
    DR:admin> portcfgpersistentenable 26
    
    DR:admin> portshow fciptunnel all
    
    Port: ge0
    -------------------------------------------
        Tunnel ID 1
        Tunnel Description Not Configured
        Remote IP Addr 192.168.1.10
        Local IP Addr 192.168.2.10
        Remote WWN Not Configured
        Local WWN 10:00:00:05:1e:c1:05:88
        Compression off
        Fastwrite off
        Tape Pipelining off
        Committed Rate 10000 Kbps (0.010000 Gbps)
        SACK on
        Min Retransmit Time 100
        Keepalive Timeout 10
        Max Retransmissions 8
        VC QoS Mapping off
        DSCP Marking (Control): 0, DSCP Marking (Data): 0
        VLAN Tagging Not Configured
        TCP Byte Streaming off
        Status : Active     //此状态不正常时,等1分钟左右再检查,若状态还不正常,则再检查配置
        Connected Count: 2
        Uptime 23 minutes, 3 seconds
    
    Port: ge1
    -------------------------------------------
        Tunnel ID 2
        Tunnel Description Not Configured
        Remote IP Addr 192.168.1.11
        Local IP Addr 192.168.2.11
        Remote WWN Not Configured
        Local WWN 10:00:00:05:1e:c1:05:88
        Compression off
        Fastwrite off
        Tape Pipelining off
        Committed Rate 10000 Kbps (0.010000 Gbps)
        SACK on
        Min Retransmit Time 100
        Keepalive Timeout 10
        Max Retransmissions 8
        VC QoS Mapping off
        DSCP Marking (Control): 0, DSCP Marking (Data): 0
        VLAN Tagging Not Configured
        TCP Byte Streaming off
        Status : Active
        Connected Count: 2
        Uptime 7 minutes, 52 seconds
    

4. 基本的检查排错命令

  1. 查看ge端口的模式

    produce:admin> portshow mode ge0
    Port: ge0
    ----------------------------------
    Mode:    FCIP
    produce:admin> portshow mode ge1
    Port: ge1
    ----------------------------------
    Mode:    FCIP
    //DR
    DR:admin> portshow mode ge0
    Port: ge0
    ----------------------------------
    Mode:    FCIP
    DR:admin> portshow mode ge1
    Port: ge1
    ----------------------------------
    Mode:    FCIP
  2. ge端口互ping

    produce:admin> portcmd --ping ge1 -s 10.172.28.201 -d 192.168.1.200  //-s:本机ge1端口ip;-d:对端MP-7500的任意ge端口ip
    Pinging 192.168.1.200 from ip interface 10.172.28.201 on 0/ge1 with 64 bytes of data
    Reply from 192.168.1.200: bytes=64 rtt=1ms ttl=97
    Reply from 192.168.1.200: bytes=64 rtt=1ms ttl=96
    Reply from 192.168.1.200: bytes=64 rtt=0ms ttl=96
    Reply from 192.168.1.200: bytes=64 rtt=0ms ttl=96
    
    Ping Statistics for 192.168.1.200:
        Packets: Sent = 4, Received = 4, Loss = 0 ( 0 percent loss)
        Min  RTT = 0ms, Max RTT = 1ms Average = 0ms
  3. 查看两IP间的路由节点

    Production:admin> portcmd --traceroute ge0 -s 192.168.1.10 -d 192.168.2.10
    Traceroute to 192.168.2.10 from IP interface 192.168.1.10 on 0/ge0, 30 hops max
     1  192.168.1.1  0 ms  1 ms  0 ms
     2  *  *  *
     3  *  *  *
     4  192.168.2.10  0 ms  0 ms  0 ms
    Traceroute complete.
  4. disabel/enable port
    enable命令格式:DR:admin> portcfgpersistentdisable <port>
    disable命令格式:DR:admin> portcfgpersistentenable <port>

  • 可以是ge端口,也可以是FC端口
  1. 清除端口信息
    portcfgdefault <port>

5. 测试配置

  1. 查看switch端口状态信息

    /* 生产机房MP-7500 */
    Production:admin> switchshow
    switchName: Production
    switchType: 46.2
    switchState:    Online   
    switchMode: Native
    switchRole: Principal
    switchDomain:   1
    略......
     17  17   011100   --    --   Online      VE  VE-Port  10:00:00:05:1e:c1:05:88 "DR" (downstream)
     略......
     26  26   011a00   --    --   Online      VE  VE-Port  10:00:00:05:1e:c1:05:88 "DR" 
     略......
     31  31   011f00   --    --   Offline     VE  Disabled (Persistent) 
         ge0  id    1G   Online    FCIP 
         ge1  id    1G   Online    FCIP 
    
    /* DR机房MP-7500 */
    DR:admin> switchshow 
    switchName: DR
    switchType: 46.2
    switchState:    Online   
    switchMode: Native
    switchRole: Subordinate
    switchDomain:   2
    略......
     17  17   021100   --    --   Online      VE  VE-Port  10:00:00:05:1e:39:b8:fa "Production" (upstream)
     略......
     26  26   021a00   --    --   Online      VE  VE-Port  10:00:00:05:1e:39:b8:fa "Production" 
     略......
     31  31   021f00   --    --   Offline     VE  Disabled (Persistent) 
         ge0  id    1G   Online    FCIP 
         ge1  id    1G   Online    FCIP 
  2. 配置zone,存储mapping LUN到主机(这里只是测试FCIP tunnels用)  

    Production:admin> portcfgpersistentenable 1
    Production:admin> switchshow
    ......
      1   1   010100   id    N4   Online      FC  F-Port  50:01:43:80:09:ac:63:08  //HP PC
    ......
    
    DR:admin> portcfgpersistentenable 1
    ......
      1   1   020100   id    N4   Online      FC  F-Port  20:14:00:a0:b8:26:11:a6  //DS4700 A控
    ......
    
    /* 下面所有配置在生产机房的MP-7500B进行 */
    Production:admin> alicreate "HP_PC","50:01:43:80:09:ac:63:08"
    Production:admin> alicreate "DS4700_A","20:14:00:a0:b8:26:11:a6"
    Production:admin> zonecreate "Test","HP_PC;DS4700_A"
    Production:admin> cfgcreate "cfg01","Test"
    Production:admin> cfgsave
    You are about to save the Defined zoning configuration. This 
    action will only save the changes on Defined configuration. 
    Any changes made on the Effective configuration will not 
    take effect until it is re-enabled.
    Do you want to save Defined zoning configuration only?  (yes, y, no, n): [no] y
    Updating flash ...
    Production:admin> cfgenable cfg01
    You are about to enable a new zoning configuration.
    This action will replace the old zoning configuration with the
    current configuration selected. If the update includes changes 
    to one or more traffic isolation zones, the update may result in  
    localized disruption to traffic on ports associated with
    the traffic isolation zone changes
    Do you want to enable 'cfg01' configuration  (yes, y, no, n): [no] y
    zone config "cfg01" is in effect
    Updating flash ...
    
    /* 查看配置 */
    Production:admin> cfgshow
    Defined configuration:
     cfg:   cfg01   Test
     zone:  Test    HP_PC; DS4700_A
     alias: DS4700_A    
            20:14:00:a0:b8:26:11:a6
     alias: HP_PC   50:01:43:80:09:ac:63:08
    
    Effective configuration:
     cfg:   cfg01   
     zone:  Test    50:01:43:80:09:ac:63:08
            20:14:00:a0:b8:26:11:a6
    
    DR:admin> cfgshow       //这台的zone配置自动同步
    Defined configuration:
     cfg:   cfg01   Test
     zone:  Test    HP_PC; DS4700_A
     alias: DS4700_A    
            20:14:00:a0:b8:26:11:a6
     alias: HP_PC   50:01:43:80:09:ac:63:08
    
    Effective configuration:
     cfg:   cfg01   
     zone:  Test    50:01:43:80:09:ac:63:08
            20:14:00:a0:b8:26:11:a6
    
    • DS4700截图
      enter description here

    • HP PC Server截图
      enter description here

FC routing配置

1. 分配backbone Fabric IDs

如果您的配置只有一个backbone fabric,则不需要分配骨干网组织ID,因为此情况下的FID缺省值为128(如果虚拟网桥被禁用,缺省的FID为1)
一个backbone fabric中的所有交换机必须具有相同的FID
两个不同的backbones连接到同一个edge fabric时,FID不同,但是edge fabric ID应该相同。

  1. 设定生产机房MP-7500B的Fabric ID(FID)

    Production:admin> switchdisable 
    Production:admin> fosconfig --disable fcr
    FC Routing service is disabled
    Production:admin> fcrconfigure 
    FC Router parameter set. <cr> to skip a parameter
    Please make sure new Backbone Fabric ID does not conflict with any configured EX-Port's Fabric ID
    Backbone fabric ID: (1-128)[2] 3
    Production:admin> fosconfig --enable fcr        //开启FC routing服务
    FC Routing service will be enabled the next time switch is enabled   //提示下次enable交换机是开启fcr
    Production:admin> switchenable      //enable交换机
    Production:admin> 
    Production:admin> fosconfig --show    //验证下fcr是否开启
    FC Routing service:     enabled
    iSCSI service:          Service not supported on this Platform
    iSNS client service:        Service not supported on this Platform
    Virtual Fabric:         Service not supported on this Platform
    Ethernet Switch Service:    Service not supported on this Platform
  2. 设定DR机房MP-7500B的Fabric ID(FID)
    一个backbone fabric中的所有交换机必须具有相同的FID

    DR:admin> switchdisable 
    DR:admin> fosconfig --disable fcr
    FC Routing service is disabled
    DR:admin> fcrconfigure 
    FC Router parameter set. <cr> to skip a parameter
    Please make sure new Backbone Fabric ID does not conflict with any configured EX-Port's Fabric ID
    Backbone fabric ID: (1-128)[2] 3
    DR:admin> fosconfig --enable fcr      
    FC Routing service will be enabled the next time switch is enabled  
    DR:admin> switchenable      

2. 为edge和backbone连接配置IFL

  1. 在生产机房MP-7500B设置

    Production:admin> portcfgexport 
    Usage: portcfgexport [SlotNumber/]PortNumber
                    [-a 1-enable 2-disable] [-f fid(1..128)]
                    [-r r_a_tov] [-e e_d_tov] [-d domain]
                    [-p 0-native 1-core 2-extended edge]
                    [-m 0-Brocade 1-Open 2-McDATA Fabric 3-McDATA Fabric Legacy]
                    [-t 1-Enable 2-Disable]
    Production:admin> portcfgexport 2 -a 1 -f 3
    Port needs to be disabled for configuration   //配置前必须disable对应端口
    Production:admin> portdisable 2
    Production:admin> portcfgexport 2 -a 1 -f 3
    Fabric ID being set conflicts with local fabric ID   //不能占用本机的FID
    Production:admin> portcfgexport 2 -a 1 -f 4
    Production:admin> portcfgexport 2
            Port   2   info
    Admin:              enabled
    State:              NOT OK
    Pid format:         Not Applicable
    Operate mode:       Brocade Native
    Edge Fabric ID:     4
    Preferred Domain ID:    160
    Front WWN:          50:00:51:e3:9b:8f:ae:04
    Fabric Parameters:  Auto Negotiate
    R_A_TOV:            Not Applicable
    E_D_TOV:            Not Applicable
    Authentication Type: None
    DH Group: N/A
    Hash Algorithm: N/A
    Edge fabric's primary wwn: N/A
    Edge fabric's version stamp: N/A
    
    Production:admin> fcredgeshow 
      FID    EX-port    E-port   Neighbor Switch (PWWN, SWWN )
    ------------------------------------------------------------------------
       4        2          -        OFFLINE
    
    Production:admin> portenable 2
    Production:admin> portcfgpersistentenable 2
  2. 同上配置DR机房的MP-7500B
    注意不能与生产机房分配的FID一样

  3. 分别用光纤线连接两个机房的MP-7500B与现有的SAN Fabirc

  4. 验证

    Production:admin> portcfgshow 2
    Area Number:          2
    Speed Level:          AUTO(HW)
    Fill Word:        0(Idle-Idle)
    AL_PA Offset 13:      OFF
    Trunk Port        ON
    Long Distance         OFF
    VC Link Init          OFF
    Locked L_Port         OFF
    Locked G_Port         OFF
    Disabled E_Port       OFF
    Locked E_Port         OFF
    ISL R_RDY Mode        OFF
    RSCN Suppressed       OFF
    Persistent Disable    OFF
    LOS TOV enable        OFF
    NPIV capability       ON
    QOS E_Port        OFF
    Port Auto Disable:    OFF
    EX Port           ON
    Mirror Port       OFF
    FC Fastwrite          OFF
    F_Port Buffers        OFF
    Fault Delay:          0(R_A_TOV)
    NPIV PP Limit:        126
    
    Production:admin> portcfgexport 2
            Port   2   info
    Admin:              enabled
    State:              OK
    Pid format:         core(N)
    Operate mode:       Brocade Native
    Edge Fabric ID:     4
    Front Domain ID:        160
    Front WWN:          50:00:51:e3:9b:8f:ae:04
    Principal Switch:   2
    Principal WWN:      10:00:00:05:1e:c1:05:88
    Fabric Parameters:  Auto Negotiate
    R_A_TOV:            10000(N)
    E_D_TOV:            2000(N)
    Authentication Type: None
    DH Group: N/A
    Hash Algorithm: N/A
    Edge fabric's primary wwn: N/A
    Edge fabric's version stamp: N/A
    
    Production:admin> switchShow
    略......
      2   2   010200   id    N4   Online      FC  EX-Port  10:00:00:05:1e:c1:05:88 "DR" (fabric id = 4 )
    略......
    
    Production:admin> fcrfabricshow 
    FC Router WWN: 10:00:00:05:1e:39:b8:fa, Dom ID:   1, 
    Info: 10.172.28.17, "Production"
       EX_Port   FID    Neighbor Switch Info (enet IP, WWN, name)
       ------------------------------------------------------------------------
           2      4 10.172.28.16     10:00:00:05:1e:c1:05:88   "DR"

3. Lsan Zone

  1. 在生产机房的SAN Fabirc中作如下配置

    Production:admin> cfgshow    //配置过程省略,只看结果
    Defined configuration:
     cfg:   test    lsan_test
     zone:  lsan_test   
            DS4700_A; HP_PC
     alias: DS4700_A    
            20:14:00:a0:b8:26:11:a6
     alias: HP_PC   50:01:43:80:09:ac:63:08
    
    Effective configuration:
     cfg:   test    
     zone:  lsan_test   
            20:14:00:a0:b8:26:11:a6
            50:01:43:80:09:ac:63:08
  2. 在DR机房的SAN Fabirc中做如下配置

    DR:admin> cfgshow
    Defined configuration:
     cfg:   Test    lsan_test
     zone:  lsan_test   
            DS4700_A; HP_PC
     alias: DS4700_A    
            20:14:00:a0:b8:26:11:a6
     alias: HP_PC   50:01:43:80:09:ac:63:08
    
    Effective configuration:
     cfg:   Test    
     zone:  lsan_test   
            20:14:00:a0:b8:26:11:a6
            50:01:43:80:09:ac:63:08
  3. 测试结论

    • 经过路由设备的zone的名字只能以lsan_开头,配置才能有效
    • 只有在两个edge Fabrics中都配置的lsan zone,才能进行通信
  4. 验证

    • DS4700
      enter description here

    • HP PC Server
      enter description here

微信扫一扫,分享到朋友圈

远距离存储级灾备方案
0
别把想做的事情,留给遥不可及的未来!
上一篇

EMC VNX5700/5800存储更换电池

下一篇

Linux下的逻辑卷管理 — LVM

发表评论

您的电子邮件地址不会被公开。 必填项已用 * 标注

提示:点击验证后方可评论!

插入图片
返回顶部