1、SAN Client 备份测试(SAN Client & NetBackup 5200 & VMware & Deduplication)Version 1.0Arthur Xu2011-04-201 环境介绍VMware SAN & SAN Client & Dedup(5200)这种方式下所有的数据流均通过 SAN 方式来传送。1. NBU 5200 被配置为 FT Media Server2. Backupproxy1 配置为 SAN Client3. 数据通过 Backupproxy1 通过 SAN 读取后,通过 SAN 网络传送到NBU52004. NBU5200 上实现重复数据删除
2、5. 目前 NBU5200 已经可以通过手工方式开启 SAN Client 支持a) NBU5200 近期将实现 SAN Client 官方支持(GUI 界面?)SAN Client 方式传输有如下特点:1. SAN Client 广泛支持各种类型的 OS。2. SAN Client 方式下,只能支持 Media Server 端重复数据删除。1.1 NBU 5200 上手工开启 FT Media Server 方法1.1.1 卸载 HBA 卡驱动rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhbaIn
3、stalling nbhba driver. Uninstalled WinDriver for FT Server mode. 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, the nbhba drivers may not have access to the HBA ports until a subsequent
4、reboot.Would you like to unload and reload your native QLogic drivers now? y,n (y) Are you sure you want to unload QLogic driver: qla2xxx? y,n (y) Removing qla2xxx. Cannot continue since qla2xxx is in use and cannot be removed. Please release references to qla2xxx before trying the install again.该步骤
5、可能不成功,主要是 qla2xxx 驱动绑定到内核中了。编辑 /etc/modprobe.conf 注释掉 qla2xxx 模块rootnetbackup7 boot# cat /etc/modprobe.conf alias eth0 forcedeth alias eth1 forcedeth alias eth2 forcedeth alias eth3 forcedeth alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptsas #alias scsi_hostadapter2 qla2xxx alias scsi_ho
6、stadapter3 usb-storage 编辑/etc/modprobe.d/blacklist 文件,在文件尾添加 “blacklist qla2xxx“重启机器并再次运行 nbftsrv_config -nbhba 命令检查是否成功rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbftsrv_config -mode nbhba installed1.1.2 获得对应的 HBA 卡 WWN 号rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbhba -l 1 2432 21:
7、00:00:1B:32:91:E0:F9 “QLE2462 “ 0 0 143 2 2432 21:01:00:1B:32:B1:E0:F9 “QLE2462 “ 1 0 143 rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbhba -L Card #1 HBA Index #1 Device ID = 2432 World Wide Name = 21:00:00:1B:32:91:E0:F9 Model Name = “QLE2462 “ Port = 0 Mode = initiator (designated for othe
8、r use)(143) HBA Index #2 Device ID = 2432 World Wide Name = 21:01:00:1B:32:B1:E0:F9 Model Name = “QLE2462 “ Port = 1 Mode = initiator (designated for other use)(143) 1.1.3 设置对应的 HBA 卡工作在 Target 方式rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbhba -modify -wwn 21:00:00:1B:32:91:E0:F9 -mode targ
9、et Modified port with WWN 21:00:00:1B:32:91:E0:F9 通过命令检查rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbhba -L Card #1 HBA Index #1 Device ID = 2432 World Wide Name = 21:00:00:1B:32:91:E0:F9 Model Name = “QLE2462 “ Port = 0 Mode = target (designated for FT Server)(8142)HBA Index #2 Device ID =
10、2432 World Wide Name = 21:01:00:1B:32:B1:E0:F9 Model Name = “QLE2462 “ Port = 1 Mode = initiator (designated for other use)(142)1.1.4 完成配置工作rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbftsrv_config Installing the Jungo WinDriver and Fibre Transport Server. Uninstalled WinDriver for FT Server
11、 mode. Removing ql2300_stub. The following automatic startup and shutdown scripts (respectively) have been installed. They will cause the NetBackup 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/S21n
12、bftserver /etc/rc.d/rc5.d/S21nbftserver /etc/rc.d/rc0.d/K03nbftserver /etc/rc.d/rc1.d/K03nbftserver /etc/rc.d/rc6.d/K03nbftserver Installed driver for FT Server mode. /etc/udev/rules.d/50-windrvr.rules does not exist, creating. /etc/udev/rules.d/50-windrvr.rules updated with Jungo WinDriver permissi
13、ons. Installed WinDriver for FT Server mode. NetBackup Fibre Transport Server started. Would you like to make these changes persist after a reboot? y,n (y) Running mkinitrd. Previous initrd image is saved at /boot/initrd-2.6.18-128.el5.img.08-11-10.11:29:34.删除原来对/etc/modprobe.conf 的 qla2xxx 的注释删除对/e
14、tc/modprobe.d/blacklist 中添加的“blacklist qla2xxx“重新启动 检查 FT 服务是否启动rootnetbackup7 # /usr/openv/netbackup/bin/admincmd/nbftsrv_config -mode Fibre Transport server installed and running.1.2 SAN Client 配置1.2.1 发现 FT 设备NBU Media Server NB5200 上显示 Fiber Transport Device客户端发现对应设备1.2.2 配置 Service手工启动 SAN Client FT Service1.2.3 NBU 中配置检查SAN Clients 中列出对应的服务器1.3 配置 SAN Client 传输SAN Client 配置Master 服务器配置1.4 备份速度和 NBU5200 Dedup 性能