灌溉梦想,记录脚步
« »
2015 年 05 月 17 日技术合集

NetBackup SAN Client光纤连接

通常SAN Switch连接设计为:

  • FT Media Server启用Target 模式的端口连接到SAN Switch(假设1口)
  • Client端口连接到SAN Switch(假设2口)
  • 1口和2口创建一个Zone。
  • 在配置完成后,在JavaConsole中看不到设备,FT Media Server日志中可以看到:

    0,51216,137,199,32,1448943642598,14971,1090509120,0:,20:parsing = >7.6.1.2
    < ,23:parsePatchVersionString,1
    0,51216,137,199,33,1448943642598,14971,1090509120,0:,12:theRest = >< ,23:parsePatchVersionString,1 \
    0,51216,199,199,33,1448943643588,14971,1125271872,0:,16:targets 2 luns 2,35:FTServerMgr_i::listAllPseudoDevices,1
    0,51216,199,199,34,1448944596103,14971,1110579520,0:,212:A LOGO or link down was observed on PN=1 for 15 
    minutes. Please check the port-switch connectivity. Setting the port speed on the switch to Fixed instead of Auto-negotiate 
    has been known to fix some login issues.,23:PerformDeadPortWatchDog,1

    Client日志里可看到如下信息:

    vxlogview -o 200 -d all
     
    04/12/16 15:06:53.337 [Debug] NB 51216 nbftclnt 200 PID:48890074 TID:1 File ID:200 [No context] 1 /
    [FTClientMgr_i::scanDevices] Rescan of FT Devices not supported on this OS in this version

    在交换机查看端口状态:

    sr-m-san-nbu02:FID128:admin> portstatsshow 8
    er_enc_in               26412           Encoding errors inside of frames
    er_crc                  2341           Frames with CRC errors

    明显可以看到有错误的生成。默认情况下SAN Switch端口速率为N8(自适应),解决办法是将更改连接**FT Media Server Target**的端口为指定速率,4gb是一个推荐值。

    sr-m-san-nbu02:FID128:admin> portcfgspeed 
    Error in input options
     Usage: portCfgSpeed PortNumber Speed_Level
     
     OR
            portcfgspeed -i <port_index | portindex_range> [-f] Speed_Level
     
     OR
            portcfgspeed <-slot | -s > <slot | slotrange> Speed_Level
     
            -i:            Confirms port swap has been disabled and to give port index as operand
            -x:            Confirms port swap has been disabled and to give port index in HEX format as operand
            -f:            ignores non-existing indexes
     
            portindex_range: Specifies the range of port index <portindex1-portindex2> (example: 12-14)
            Speed_Level:     0  -  Auto Negotiate (Hardware)
                             1  -  1Gbps
                             2  -  2Gbps
                             4  -  4Gbps
                             8  -  8Gbps
                            10  - 10Gbps
                            16  - 16Gbps
                            ax  - Auto Negotiate (Hardware) + retries
                            s   - Auto Negotiate (Software)
    sr-m-san-nbu02:FID128:admin> portcfgspeed -i 8-16 -f 4

    更改后查看端口状态不再有错误增长即为正常,如果Client和FT Media Server连接到了不同的SAN Switch,SAN Switch之间的级连端口也要固定速率。

    更改完成后可通过portcfgshow查看配置:

    sr-m-san-nbu02:FID128:admin> portcfgshow 8
    Area Number:              8
    Octet Speed Combo:        1(16G|8G|4G|2G)
    Speed Level:              4G
    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 Port                  AE
    Port Auto Disable:        OFF
    Rate Limit                OFF
    EX Port                   OFF
    Mirror Port               OFF
    SIM Port                  OFF
    Credit Recovery           ON
    F_Port Buffers            OFF
    E_Port Credits            OFF
    Fault Delay:              0(R_A_TOV)
    NPIV PP Limit:            126
    CSCTL mode:               OFF
    D-Port mode:              OFF
    D-Port over DWDM:         OFF
    Compression:              OFF
    Encryption:               OFF
    FEC:                      ON

    SAN Switch端口默认启用Trunk,在没有License的情况下并不生效,所以可以忽略,Client连接到SAN Switch的端口启用了NPIV可能会对配置造成影响,这里不做讨论。

    如果更改速率后错误仍旧产生,可通过portdisable和portenable禁用启用下端口。

    日志信息 »

    该日志于2015-05-17 21:34由 kevin 发表在技术合集分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

    没有评论

    发表评论 »