NBU7.5SANClient实施文档1安装前环境准备准备NBUSANClient功能是NBU6.5时候推出的,主要是减轻LAN-Free备份中客户端的压力的一种方式。在实施之前需要对FTMeidaserver和SANClient做规划。首先看上图,FTMeidiaserver中需要两块支持特定功能的HBA卡,相关HBA卡型号可以在NBU的兼容性列表中找到。FTMeidaServer中一块HBA卡修改为target模式,目的是模拟虚拟的类似驱动器资源,这样SANClient端就能够识别到类似TapeDrive资源,FTMeidaserver中另一块HBA卡initiator模式保持不变,这块HBA卡可以连接VTL,PTL或者DISK。最终达到的目的是备份数据流从SANClient端传送到target模式的HBA卡传送到FTMeidaserver,然后通过另一块HBA卡传送到备份目标端,达到LAN-Free备份的目的。下面是典型的SANClient环境系统拓扑图:推荐的方式是FTMediaServer不要和MasterServer是同一台机器。实施SANCleint的客户端的用于备份的HBA卡和FTMeidaServer中target模式的HBA卡在一个SANSwitchzone里面。FTMeidaServer中initiator模式的HBA和备份目标端的Disk或者VTL或者PTL在同一个Zone中。NBU7.5中支持的FTMediaServer的系统版本是NovellSuSEEnterpriseLinux10onx86-64SP2/SP3;RedHatEnterpriseLinux4onx86-64Update3/Update5;RedHatEnterpriseLinux5onx86-64GA/Update2/Update3;RedHatEnterpriseLinux5onx86-64Update4/Update5/Update6/Update7;RedHatEnterpriseLinux6onx86-64GA/Update1.只有这些系统版本才支持FTMediaServer.2实施过程2.1系统环境:MasterServer:redhat5.8X64alsoOpscenterserverFTMeidaServer:redhat5.4X642qlogic2560HBAcardClients:AIX5300-10;redhat5.6X64;redhat4.6X64MasterServerNetbackupVersion7.5.0.3FTMeidaServerFTNetbackupVersion7.5.0.3ClientAIXNetbackupVersion7.5.0.3Clientredhat5.4NetbackupVersion7.5.0.3Clientredhat4.6NetbackupVersion7.1.0.4VTL:suresaveVTL5000:虚拟出来STKL40PTL:DellPTLDisk:10Tdiskpool2.2安装过程:2.2.3系统环境MasterServer安装nbu7.5并打补丁到7.5.0.3FTMeidaServer安装nbu7.5并打补丁到7.5.0.3AIX客户端安装nbu7.5客户端并打补丁到7.5.0.3Redhat5.4客户端安装nbu7.5客户端并打补丁到7.5.0.3Redhat4.6客户端安装nbu7.1客户端并打补丁到7.1.0.42.2.4SANClient配置过程:2.2.4.1在FTMediaServer上启动nbhba模式:#cd/usr/openv/openv/netbackup/bin/admincmd/./nbftsrv_config–nbhbaInstallingnbhbadriver.UninstalledWinDriverforFTServermode.ItmaybenecessarytotemporarilyunloadyourQLogicdriverstofreeuptheportsforthenbhbadrivers.Thisisanoptionalstep.Ifyouchoosenottodothis,thenbhbadriversmaynothaveaccesstotheHBAportsuntilasubsequentreboot.WouldyouliketounloadandreloadyournativeQLogicdriversnow?[y,n](y)yAreyousureyouwanttounloadQLogicdriver:qla2xxx?[y,n](y)yRemovingqla2xxx.Installeddriverfornbhbamode.2.2.4.2查看HBA模式状态#./nbhba-L4portsrecognized;0targetmodeports;mode:driverinnbhbamodeHBAIndex#1DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=0Mode=initiator(designatedforotheruse)(138)HBAIndex#2DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=1Mode=initiator(designatedforotheruse)(138)HBAIndex#3DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=0Mode=initiator(designatedforotheruse)(138)HBAIndex#4DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=1Mode=initiator(designatedforotheruse)(138)2.2.4.3修改HBA模式Command:nbhba–modify–wwnHBAWWPN-modetarget[root@admincmd]#./nbhba-modify-wwn21:00:00:E0:8B:9B:96:F0-modetargetModifiedportwithWWN21:00:00:E0:8B:9B:96:F0ModifiedportwithWWN21:01:00:E0:8B:BB:96:F0注意:这里改模式的时候,会同时更改同一块HBA上的多个端口。所以规划阶段必须要两块物理上的HBA卡,一个双口卡或者4口卡算成一个。2.2.4.4确认模式更改成功[root@admincmd]#./nbhba-L4portsrecognized;2targetmodeports;mode:driverinnbhbamodeHBAIndex#1DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=0Mode=initiator(designatedforotheruse)(138)HBAIndex#2DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=1Mode=initiator(designatedforotheruse)(138)HBAIndex#3DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=0Mode=target(designatedforFTServer)(8138)HBAIndex#4DeviceID=2432WorldWideName=XX:XX:XX:XX:XX:XX:XX:XXModelName=QLE2462Port=1Mode=target(designatedforFTServer)(8138)2.2.4.5配置FTMeidaServer服务[root@admincmd]#./nbftsrv_configInstallingtheJungoWinDriverandFibreTransportServer.UninstalledWinDriverforFTServermode.Removingql2300_stub.Thefollowingautomaticstartupandshutdownscripts(respectively)havebeeninstalled.TheywillcausetheNetBackupFibreTransportServerdaemontobeautomaticallyshutdownandrestartedeachtimethesystemboots./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/K03nbftserverInstalleddriverforFTServermode./etc/udev/rules.d/50-windrvr.rulesdoesnotexist,creating.../etc/udev/rules.d/50-windrvr.rulesupdatedwithJungoWinDriverpermissions.InstalledWinDriverforFTServermode.NetBackupFibreTransportServerstarted.Wouldyouliketomakethesechangespersistafterareboot?[y,n](y)yRunningmkinitrd.Previousinitrdimageissavedat/boot/initrd-2.6.18-194.el5.img.03-23-12.13:20:23.SSIDChange:MUSTREBOOTTOCOMPLETEINSTALLATION.完成后重启FTMediaServer.2.2.4.6验证服务重启完成后验证FTMediaServer针对SANClient的服务是否启动查看是否有下面标红的服务[root@~]#cd/usr/openv/netbackup/bin/[root@bin]#./bppsroot28731913:27?00:00:05/usr/openv/netbackup/bin/nbftsrvrroot31381013:27?00:00:00/usr/openv/netbackup/bin/vnetd-standaloneroot31431013:27?00:00:00/usr/openv/netbackup/bin/bpcd-standaloneroot31473143013:27?00:00:00[bpcd]defunctroot33231013:27?00:00:00/usr/openv/netbackup/bin/bpcompatdroot33311013:27?00:00:00/usr/openv/netbackup/bin/nbrmmsroot33531013:27?00:00:00/usr/openv/netbackup/bin/nbslroot34081013:27?00:00:00/usr/openv/netbackup/bin/nbsvcmonroot3770