NetBackup™ SAN 客户端和光纤传输指南

Last Published:
Product(s): NetBackup & Alta Data Protection (11.0)
  1. 介绍 SAN 客户端和光纤传输
    1.  
      关于 NetBackup SAN 客户端和光纤传输
    2.  
      关于光纤传输
    3.  
      关于光纤传输介质服务器
    4.  
      关于 SAN 客户端
    5.  
      关于光纤传输服务管理器
    6.  
      关于 NetBackup 版本说明
  2. 规划部署
    1.  
      规划 SAN 客户端部署
    2.  
      SAN 客户端操作说明
    3. 关于 SAN 客户端存储目标
      1.  
        关于 SAN 客户端磁盘存储目标
      2. 关于 SAN 客户端磁带存储目标
        1.  
          SAN 客户端磁带存储限制
    4.  
      如何选择 SAN 客户端和光纤传输主机
    5.  
      关于 NetBackup SAN 客户端对代理的支持
    6.  
      关于 NetBackup SAN 客户端对群集的支持
    7.  
      关于 NetBackup SAN 客户端对 Windows Hyper-V 服务器的支持
    8.  
      关于 NetBackup SAN 客户端不支持的还原
    9.  
      关于光纤传输吞吐量
    10.  
      将 SAN 介质服务器转换为 SAN 客户端
  3. 准备 SAN
    1.  
      准备 SAN
    2.  
    3.  
    4.  
      关于 SAN 客户端和光纤传输介质服务器的 HBA
    5.  
      关于 SAN 客户端和光纤传输介质服务器的 16 GB 目标模式 HBA
    6.  
      为 SAN 客户端选择 HBA 端口时
    7.  
      关于 SAN 客户端的受支持 SAN 配置
  4. 对 SAN 客户端和光纤传输授权
    1.  
      关于 SAN 客户端安装
    2.  
      关于 SAN 客户端许可证密钥
    3.  
      升级 SAN 客户端和光纤传输时
  5. 配置 SAN 客户端和光纤传输
    1.  
      配置 SAN 客户端和光纤传输
    2. 配置光纤传输介质服务器
      1.  
        关于目标模式驱动程序
      2.  
        关于 nbhba 模式和 ql2300_stub 驱动程序
      3.  
        关于 FC 挂接的设备
      4.  
        如何标识 HBA 端口
      5.  
        关于 Solaris 上的 HBA 端口检测
      6.  
        关于光纤传输介质服务器和 VLAN
      7.  
        启动 nbhba 模式
      8.  
        标记光纤传输介质服务器 HBA 端口
      9.  
        配置介质服务器光纤传输服务
      10.  
        配置介质服务器光纤传输服务,以获得 16 GB 目标模式 HBA 支持
      11.  
        显示 FTMS 状态,以获得 16 GB 目标模式 HBA 支持
      12.  
        识别 HBA 端口,以获得 16 GB 目标模式 HBA 支持
    3. 配置 SAN 客户端
      1.  
        关于配置 SAN 客户端的防火墙
      2.  
        SAN 客户端驱动程序要求
      3.  
        配置 SAN 客户端光纤传输服务
    4. 在群集中配置 SAN 客户端
      1.  
        注册 SAN 客户端群集虚拟名称
      2.  
        使用命令行设置 NetBackup 配置选项
    5.  
      关于配置光纤传输属性
    6.  
      配置“光纤传输”属性
    7. “光纤传输”属性
      1.  
        关于 Linux 并行 FT 连接数
    8.  
      关于 SAN 客户端用法首选项
    9. 配置 SAN 客户端 用法首选项
      1.  
        SAN 客户端 用法首选项
  6. SAN 客户端和光纤传输的管理
    1.  
      启用或禁用光纤传输服务
    2.  
      启用或禁用光纤传输服务,以获得 16 GB 目标模式 HBA 支持
    3.  
      重新扫描 SAN 客户端的光纤传输设备
    4.  
      查看 SAN 客户端光纤传输作业详细信息
    5.  
      查看光纤传输通信量
    6.  
      添加 SAN 客户端
    7.  
      删除 SAN 客户端
  7. 禁用 SAN 客户端和光纤传输
    1.  
      关于禁用 SAN 客户端和光纤传输
    2.  
      禁用 SAN 客户端
    3.  
      禁用光纤传输介质服务器
    4.  
      禁用光纤传输介质服务器,以获得 16 GB 目标模式 HBA 支持
  8. SAN 客户端和光纤传输故障排除
    1.  
      关于 SAN 客户端和光纤传输的故障排除
    2.  
      SAN 客户端故障排除技术说明
    3.  
      查看光纤传输日志
    4. 关于统一日志记录
      1.  
        关于使用 vxlogview 命令查看统一日志
      2.  
        使用 vxlogview 查看统一日志示例
    5.  
      停止和启动光纤传输服务
    6.  
      停止和启动光纤传输服务,以获得 16 GB 目标模式 HBA 支持
    7.  
      即使光纤传输设备可用,备份也会故障转移到 LAN
    8.  
      Cohesity 模块加载时显示的内核警告消息
    9.  
      SAN 客户端服务未启动
    10.  
      SAN 客户端光纤传输服务验证
    11.  
      SAN 客户端未选择光纤传输
    12.  
      介质服务器光纤传输设备处于脱机状态
    13.  
      未发现光纤传输设备
  9. 附录 A. AIX 特定的配置详细信息
    1.  
      AIX 参考信息
    2.  
      在 AIX 上配置 NetBackup 的准备工作
    3.  
      关于 AIX 持久命名支持
    4.  
      关于在 AIX 中配置机械手控制 设备文件
    5.  
      关于 AIX 上 SAN 客户端的设备文件
    6.  
      关于 AIX 上的非 QIC 磁带驱动器
    7.  
      关于 AIX 上的无倒带设备文件
    8.  
      创建磁带驱动器的 AIX 无倒带设备文件
    9.  
      禁用 AIX 动态跟踪
  10. 附录 B. HP-UX 特定的配置详细信息
    1.  
      HP-UX 参考信息
    2.  
      HP-UX 上有关配置 NetBackup 的准备工作
    3.  
      关于旧式设备文件的 HP-UX 设备驱动程序
    4.  
      关于旧式机械手控制设备文件
    5.  
      关于旧式磁带驱动器设备文件
    6.  
      关于磁带驱动器旧式直通路径
    7.  
      在 HP-UX 上为 SAN 客户端创建设备文件
    8. 关于配置旧式设备文件
      1. 在 HP-UX 上创建旧式 SCSI 和 FCP 机械手控制
        1.  
          如何为 SCSI (PA-RISC) 创建 sctl 设备文件的示例
        2.  
          如何为 FCP (PA-RISC) 创建 sctl 设备文件的示例
        3.  
          如何为 FCP (Itanium) 创建 sctl 设备文件的示例
      2.  
        关于创建旧式磁带驱动器设备文件
      3.  
        创建磁带驱动器直通设备文件
  11.  
    索引

配置介质服务器光纤传输服务,以获得 16 GB 目标模式 HBA 支持

您必须先配置介质服务器 FT 服务,然后再配置 SAN 客户端。FT 服务器必须在介质服务器上运行,以便客户端操作系统可以发现目标模式驱动程序(“FT 设备”)。在介质服务器上运行的 NetBackup FT 服务器由一个服务 (nbftsrvr) 组成。

nbftsrv_config 脚本配置用于光纤传输的介质服务器。在此过程中,脚本将执行以下操作:

  • 安装必需的驱动程序

  • 安装 FT 服务器启动脚本

  • 启动 FT 服务器

    当 FT 服务器启动时,NetBackup 目标模式驱动程序自动绑定到 QLogic 或 Emulex HBA 端口。HBA 端口在目标模式下运行,直到禁用 FTMS 为止。

在连接到 SAN 客户端的每台 NetBackup 介质服务器上配置 FT 服务。

有关过程,请参见下列步骤:

您必须是 root 用户。

注意:

使用 nbftsrv_confignbftserver 脚本配置光纤传输介质服务器后,在用于备份和还原的 NetBackup SAN 客户端上重新加载 HBA 端口的目标驱动程序。此步骤可确保客户端操作系统检测到光纤传输介质服务器导出的磁带设备。或者,可以重新启动客户端计算机以重新加载驱动程序并刷新设备树。

如果计划使用 Emulex LPe31000/LPe35000 系列作为目标模式 HBA,请确保固件版本受支持。如果固件不受支持,请在配置 SAN 客户端和光纤传输之前将其升级到特定版本。有关支持的固件版本的信息,请参见以下位置的硬件兼容性列表:

http://www.netbackup.com/compatibility

在 Linux 上配置光纤传输服务

  1. 运行 nbftsrv_config 脚本。下面是一个示例,您的系统上的输出可能与此有所不同:
    /usr/openv/netbackup/bin/admincmd/nbftsrv_config -scst -install
    Checking for SCST drivers and firmwares in the package. [yes]
    Checking if the server is not NetBackup Appliance. [yes]
    Checking for kernel version 4.18.0-372.9.1. [yes]
    Checking for QLogic QLE2562 8Gb or QLE2692 16Gb or QLE2770 
    QLE2772 32Gb, or other supported QLogic 16/32Gb HBA cards on 
    the server. [yes]
    Checking for Emulex LPe31002 16Gb, LPe31004 16Gb, and other 
    supported Emulex 32Gb HBA cards on the server. [yes]
    
    
    DISCLAIMER:
    -----------
    NOTE:
    1. When you install the SAN client with 16Gb/32Gb HBA, the script stops the original qla2xxx and lpfc driver and updates the firmware ql2500_fw.bin. QLogic QLE2562 8Gb and QLE2692 16Gb and QLE2770 QLE2772 32Gb HBA models, Emulex LPe31002 16Gb, LPe31004 16Gb, and other qualified QLogic/Emulex 32Gb HBA models are supported by this NetBackup version.
    2. Ensure that there is no other process that uses the HBAs. If there is an active process that uses qla2xxx or lpfc, manually restart the process after the installation completes.
    3. If you use the SANsurfer agent during the deployment of the environment, the script stops and restarts the SANsurfer agent daemon (qlremote).
    4. Stop all the backup jobs that use the FT user interface.
    
    
    Do you acknowledge this disclaimer? [y,n] (n) y
    
  2. 将重新加载 QLogic 驱动程序,以便在此会话期间可以检测到 HBA 端口。
    Proceeding to deploy SCST environment  [ok]
    
    Stopping the NetBackup Fibre Transport Server.
    Waiting for nbftsrvr to shut down (this may take some time).
    
    HBA-Type         Port WWN                Status   Supported Speeds               Current Speed
    LPe31000-M6-D    10:00:00:10:9b:df:92:0e Online   4 Gbit, 8 Gbit, 16 Gbit        16 Gbit
    QLE2772          21:00:f4:c7:aa:0c:2a:87 Online   8 Gbit, 16 Gbit, 32 Gbit       32 Gbit
    QLE2692          21:00:f4:c7:aa:0b:d6:88 Online   4 Gbit, 8 Gbit, 16 Gbit        16 Gbit
    QLE2692          21:00:f4:c7:aa:0b:d6:89 Online   4 Gbit, 8 Gbit, 16 Gbit        16 Gbit
    QLE2772          21:00:f4:c7:aa:0c:2a:86 Online   8 Gbit, 16 Gbit, 32 Gbit       32 Gbit
    LPe35000-M2-D    10:00:00:10:9b:f1:63:a8 Linkdown 8 Gbit, 16 Gbit, 32 Gbit       unknown
    
    NOTE:
    The types of HBA cards listed below are filtered by the chip model. All of these HBA cards are not verified. Choose supported HBA card according to NetBackup hardware compatibility list. Some of the WWNs may be used to connect to an external storage and other external devices.
    
    Do you want to continue? [y,n] (n)
    
  3. 输入端口号,并确认在此会话期间出现的操作警告。
    Please input the Port WWNs you want to use as the targets (separated by commas like: wwn1,wwn2...):10:00:00:10:9b:1d:4c:6a,10:00:00:10:9b:1d:4c:6b
    The input is: 10:00:00:10:9b:1d:4c:6a,10:00:00:10:9b:1d:4c:6b
    The targets you defined are Emulex HBAs
    The targets you defined: 10:00:00:10:9b:1d:4c:6a 10:00:00:10:9b:1d:4c:6b
    Do you want to redefine the targets? [y,n] (n) n
    Do you want to add additional targets? [y,n] (n) n
    The targets you defined: 10:00:00:10:9b:1d:4c:6a 10:00:00:10:9b:1d:4c:6b
    The targets you have defined contain 16Gb HBA cards.
    
    NOTE:
    1. Make sure that you do not use a WWN that is used to connect to external storage.
    2. Make sure to define the input WWNs as targets.
    3. Make sure the WWNs can be zoned with WWNs of clients.
    Do you want to continue to setup the WWNs as targets? [y,n] (n) y
  4. 已部署 FTMS 环境。
    --------------------------------------------
    FTMS environment installation started.
    --------------------------------------------
    Successfully created the dependent path: /var/lib/scst/pr.
    Successfully created the dependent path: /var/lib/scst/vdev_mode_pages.
    Successfully copied /usr/openv/netbackup/bin/driver/lancerg6_A12.8.340.8.grp to /lib/firmware/LPE31004.grp.
    Successfully copied /usr/openv/netbackup/bin/driver/scst/ocs_fc_scst.ko.3.10.0-1160.el7.x86_64 to /lib/modules/3.10.0-1160.15.2.el7.x86_64/extra/ocs_fc_scst.ko.
    Successfully copied /usr/openv/netbackup/bin/driver/scst/scst.ko.3.10.0-1160.el7.x86_64 to /lib/modules/3.10.0-1160.15.2.el7.x86_64/extra/scst.ko.
    Successfully copied /usr/openv/netbackup/bin/driver/scst/scst_user.ko.3.10.0-1160.el7.x86_64 to /lib/modules/3.10.0-1160.15.2.el7.x86_64/extra/scst_user.ko.
    Successfully created /etc/modprobe.d/ocs_fc_scst.conf.
    Successfully copied /usr/openv/netbackup/bin/nbftsrvr to /usr/openv/netbackup/bin/nbftsrvr_old.
    Successfully copied /usr/openv/netbackup/bin/goodies/nbftserver_scst to /etc/rc.d/init.d/nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc2.d/S21nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc3.d/S21nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc5.d/S21nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc0.d/K03nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc1.d/K03nbftserver.
    Successfully linked /etc/rc.d/init.d/nbftserver /etc/rc.d/rc6.d/K03nbftserver.
    Successfully enabled nbftserver.
    Successfully created /etc/modules-load.d/scst.conf.
    Successfully find PCIID:0000:07:00.0 for target:10:00:00:10:9b:1d:4c:6a
    Successfully find PCIID:0000:07:00.1 for target:10:00:00:10:9b:1d:4c:6b
    Successfully bind target mode for pciid: 0000:07:00.0.
    Successfully bind target mode for pciid: 0000:07:00.1.
    Successfully rebind emulex target ports.
    Successfully modify the attribute of /sys/kernel/scst_tgt/targets/ocs_xe201/10:00:00:10:9b:1d:4c:6a/enabled with value 1.
    Successfully write /sys/class/fc_host/host13/issue_lip with value 1
    Enable target: 10:00:00:10:9b:1d:4c:6a
    Successfully modify the attribute of /sys/kernel/scst_tgt/targets/ocs_xe201/10:00:00:10:9b:1d:4c:6b/enabled with value 1.
    Successfully write /sys/class/fc_host/host14/issue_lip with value 1
    Enable target: 10:00:00:10:9b:1d:4c:6b
    Previous initramfs image is saved at /boot/initramfs-3.10.0-1160.15.2.el7.x86_64.img.03-19-21.19:31:51.
    Running dracut, it may take several minutes to complete...
    /sbin/dracut succeeded
    Successfully moved /boot/initramfs-3.10.0-1160.15.2.el7.x86_64.img.tmp to /boot/initramfs-3.10.0-1160.15.2.el7.x86_64.img
    NetBackup Fibre Transport Server started.
    -------------------------------
    Driver ocs_fc_scst is loaded
    -------------------------------
    Driver scst is loaded
    -------------------------------
    Driver scst_user is loaded
    
    --------------------------------------------
    FTMS environment installation completed.
    --------------------------------------------