CompanyName ProductName™ SAN 客户端和光纤传输指南
配置介质服务器光纤传输服务
您必须先配置介质服务器 FT 服务,然后再配置 SAN 客户端。FT 服务器必须在介质服务器上运行,以便客户端操作系统可以发现目标模式驱动程序(“FT 设备”)。在介质服务器上运行的 ProductName FT 服务器由两个服务(nbftsrvr 和 nbfdrv64)组成。
nbftsrv_config 脚本配置用于光纤传输的介质服务器。在此过程中,脚本将执行以下操作:
安装必需的驱动程序
安装 FT 服务器启动脚本
启动 FT 服务器
当 FT 服务器启动时,ProductName 目标模式驱动程序自动绑定到您已标记的 QLogic HBA 端口(默认的 QLogic 驱动程序已经绑定到“尚未”标记的端口)。HBA 端口将一直在目标模式下工作,直到再次将这些端口配置为使用标准启动器模式为止。
结束计算机上的 nbhba 模式(如果计算机处于 nbhba 模式)
在连接到 SAN 客户端的每台 ProductName 介质服务器上配置 FT 服务。
有关过程,请参见下列步骤:
您必须是 root 用户。
在 Linux 上配置光纤传输服务
- 运行 nbftsrv_config 脚本。下面是一个示例,您的系统上的输出可能与此有所不同:
/usr/openv/netbackup/bin/admincmd/nbftsrv_config Installing the Jungo driver and Fibre Transport Server. The following automatic startup and shutdown scripts (respectively) have been installed. They will cause the ProductName Fibre Transport Server daemon to be automatically shut down and restarted each time the system boots. /etc/rc.d/rc2.d/S21nbftserver /etc/rc.d/rc3.d/S21nbftserver /etc/rc.d/rc5.d/S21nbftserver /etc/rc.d/rc0.d/K03nbftserver /etc/rc.d/rc1.d/K03nbftserver /etc/rc.d/rc6.d/K03nbftserver It may be necessary to temporarily unload your QLogic drivers to free up the ports for the nbhba drivers. This is an optional step. If you choose not to do this, you may not have access to all of the HBA ports until a subsequent reboot. Would you like to uninstall and reinstall your native QLogic drivers now? [y,n] (y) y
- 必须暂时卸载 Qlogic 驱动程序,以便存根驱动程序 (ql2300_stub) 可以“在该会话期间”绑定到已标记的 HBA 端口。
如果您回答 y,则不必在此配置过程中重新启动计算机。但是,在此会话期间,挂接到该计算机上的 QLogic HBA 的任何关键设备都有可能不可用。为了确保关键设备保持可用,请回答 n。随后出现提示时,必须重新启动计算机。存根驱动程序将在引导过程中绑定到已标记的端口,而默认的 QLogic 驱动程序将绑定到未标记的端口。
如果您回答 n,则会转到步骤 5。
如果您回答 y,系统会再次提示您卸载每个 QLogic 驱动程序,如下所示:
Are you sure you want to unload QLogic driver: qla2300? [y,n] (y) y
- 要卸载 QLogic 驱动程序,请回答 y。该过程按如下所示继续进行:
Removing qla2300 Adding qla2300. Adding qla2xxx. Would you like to start the SANsurfer agent (qlremote)? [y,n] (y) y
- 如果加载了 QLogic SANsurfer 代理,则在配置过程中会询问您是否要启动该代理。若要启动 QLogic SANsurfer 代理,请回答 y。该过程按如下所示继续进行:
Starting qlremote agent service Started SANsurfer agent. /etc/udev/permissions.d/50-udev.permissions updated with Jungo WinDriver permissions. ProductName Fibre Transport Server started. Would you like to make these changes persist after a reboot? [y,n] (y) y
- 为了确保 FT 服务器始终在计算机重新启动之后启动,请回答 y。该过程按如下所示继续进行:
Running mkinitrd. Previous initrd image is saved at /boot/initrd-2.6.9-11.ELsmp.img.05-21-07.11:24:03.
如果在步骤 中回答的是 y2,则 FT 服务将启动,并且目标模式驱动程序将绑定到所标记的 HBA 端口。
- 如果在步骤 中回答的是 n2,请在出现提示时重新启动计算机。
FT 服务将启动,并且目标模式驱动程序将绑定到所标记的 HBA 端口。
在 Solaris 上配置光纤传输服务
- 运行 nbftsrv_config 脚本。下面是一个示例,您的系统上的输出可能与此有所不同:
/usr/openv/netbackup/bin/admincmd/nbftsrv_config Installing the Jungo driver and Fibre Transport Server. Waiting for driver references to ql2300_stub to free up (this may take some time). The following automatic startup and shutdown scripts (respectively) have been installed. They will cause the ProductName Fibre Transport Server daemon to be automatically shut down and restarted each time the system boots. /etc/rc2.d/S21nbftserver /etc/rc0.d/K03nbftserver Adding "pci1077,2312.1077.101" to qlc. No third party drivers found with conflicting driver aliases. Done copying driver into system directories. Done adding driver.MUST REBOOT TO COMPLETE INSTALLATION.
- 重新启动主机。
FT 服务将启动,并且目标模式驱动程序将绑定到所标记的 HBA 端口。