NBU备份软件安装技术说明.doc_第1页
NBU备份软件安装技术说明.doc_第2页
NBU备份软件安装技术说明.doc_第3页
NBU备份软件安装技术说明.doc_第4页
NBU备份软件安装技术说明.doc_第5页
免费预览已结束,剩余153页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

NBU安装技术文档目录1.软件安装31.1 安装环境31.2 NetBackup7.1服务器安装31.3 NetBackup7.1 SAN Media Server服务器安装121.4 NetBackup7.1客户端安装221.3.1 NetBackup Lan 客户端安装-Windows221.3.2 NetBackup Lan 客户端安装-Linux281.3.3 NetBackup 客户端安装-Solaris312.NetBackup7.1服务器配置332.1 NetBackup7.1 FT Media Server配置332.1.1在Solaris系统中配置磁带库存储设备332.1.2配置FT Media Server392.2NetBackup7.1 SANClient配置432.2.1安装SAN Client软件432.2.1客户端安装完成后,开启SAN Client的功能432.3NetBackup7.1设备配置432.3.1基于磁盘的存储单元配置432.3.2配置磁带存储设备442.3.2重复删除数据存储单元配置533.NetBackup7备份策略配置643.1 NetBackup7.1 SQLServer数据库备份643.2 NetBackup7.1 Oracle(Windows)数据库备份763.3 NetBackup7.1 Oracle(Solaris)数据库备份823.4 NetBackup7.1 Exchange邮件服务器备份943.5NetBackup7.1物理机(传统)备份策略配置-文件备份984.NetBackup7.1数据恢复1054.1物理(传统)备份方式-文件的恢复1054.3SQLServer数据库的完全恢复1084.3 Oracle数据库恢复1114.4 Exchange 单封邮件恢复1134.5操作系统的恢复-Windows1161.软件安装1.1 安装环境产品类型:Symantec Netbackup 7.1主服务器:1-Backupsvr Windows Server2003 x64 SP2 R2SAN介质服务器1:51-NBU-MEDSVRSolaris Sparc 10 U4SAN介质服务器1:54-MEDIASVRSolaris Sparc 10 U4备份设备处于就绪状态其它要求:备份服务器和备份客户端计算机之间必须能够解析到彼此的计算机名,如果没有有DNS服务器,则需要修改备份服务器和备份客户端系统的HOST文件,在备份服务器Host文件中加入每一个需要备份的客户端和IP地址的解析;在每一个客户端的Host文件中加入备份服务器的IP地址和计算机名的解析。1.2 NetBackup7.1服务器安装1. 在备份服务器上,插入光盘执行安装程序Browser.exe,打开安装界面如下图所示:2. 选择Server Software Installation开始安装。3. 在“Wecome to the Veritas NetBackup Setup Wizard(欢迎使用NetBackup安装向导)”选择“Next(下一步)”安装。4.在“License Agreement(许可协议)”安装界面,选择“I accept the terms of the license agreement”同意安装协议,Next下一步继续。5选择默认安装或则是自定义安装,这里选择“Typical(典型)”默认安装。6.输入授权证书上的Netbackup Server的KEY。然后选择“Netbackup Master Server”(主服务器的安装)。7.选择Master Server的主机名,这里默认是服务器的主机名。不用更改,默认即可。下一步继续安装8.EMM Server是Server端使用的数据库,用于存储备份介质信息,默认即可。9.在“Ready to Install the Program(准备安装程序)”点击“Install”,开始安装。10.“Installing Veritas NetBackup”界面显示安装具体过程,安装开始。11.安装完成后,会弹出“Installation Complete(安装完成)”界面,点击Add keys,输入授权证书上的所有其他key。12.点击add keys ,弹出license keys管理界面。13.点击星号出现key输入界面,输入keys选择Add即可。14.输入的key在license key的管理界面显示,激活了哪些模块都可以显示出来。点击“Close”,关闭对话框。15.如下图点击finish安装完成。整个服务器端就安装完成了。16.安装完成之后,因为新装了其它的key,所以最好重新启动Netbackup的服务。首先如要把Netbackup的服务全部停止:打开cmd窗口,cd到c:Progam FilesVeritasNetbackupbin目录,运行bpdown v f命令。如下图所示bpdown命令运行完成后,查看所有进程是否已经停止。运行bpps命令,如下图所示:运行bpup命令启动Netbackup的全部服务。1.3 NetBackup7.1 SAN Media Server服务器安装把NetBackup_7.1_Solaris_Sparc64.tar安装程序复制到需要安装的服务器上解压后,进入该目录。运行一下脚本开始安装./install Symantec Installation ScriptCopyright 1993 - 2011 Symantec Corporation, All Rights Reserved. Installing NetBackup Server SoftwareDo you wish to continue? y,n (y) NetBackup installs to the running root environment, by default.Are you installing to the running root environment? y,n (y) Processing package instance from NetBackup and Media Manager(sparc) 7.1,REV=2011.02.03.23.48Copyright 1993 - 2011 Symantec Corporation, All Rights Reserved. NetBackup and Media Manager binaries will be installed in /opt/openv and a link will be created from /usr/openv to /opt/openv, if it does not exist. Is this okay? (y) y,n,?,q y NetBackup and Media Manager 7.1 will be installed.Using as the package base directory.# Processing package information.# Processing system information.# Verifying disk space requirements.# Checking for conflicts with packages already installed.Installing NetBackup and Media Manager as # Executing preinstall script. Creating /opt/openv. Creating link from /usr/openv to /opt/openv.# Installing part 1 of 1./opt/openv/db/bin/create_nbdb/opt/openv/db/bin/dbadm/opt/openv/db/bin/dbbackup/opt/openv/db/bin/dbdsn/opt/openv/db/bin/dbeng11/opt/openv/db/bin/dbeng11.lic/opt/openv/db/bin/dberase/opt/openv/db/bin/dbexternc11/opt/openv/db/bin/dbfhide/opt/openv/db/bin/dbinfo/opt/openv/db/bin/dbinit/opt/openv/db/bin/dbisqlc/opt/openv/db/bin/dblic/opt/openv/db/bin/dblocate/opt/openv/db/bin/dblog/opt/openv/db/bin/dbns11/opt/openv/db/bin/dbping/opt/openv/db/bin/dbspawn/opt/openv/db/bin/dbsrv11/opt/openv/db/bin/dbsrv11.lic/opt/openv/db/bin/dbstop部分输出省略/opt/openv/volmgr/misc/README verifying class # Executing postinstall script. The NetBackup and Media Manager binaries are installed. Read the release notes carefully. If you ran pkgadd instead of /install, you must run /usr/openv/netbackup/bin/install_bp to initiate NetBackup.Installation of was successful.Running /usr/openv/netbackup/bin/install_bpCopying Solaris10 Client BinariesInstalling PBX.Please wait while installation is in progress.Installation completed SuccessfullyInstallation log located here: /var/tmp/installpbx-9123-111011165626.logUnpacking SYMCnbclt package.Checking for pre-existing SYMCnbclt package.Installing SYMCnbclt package.Installation of SYMCnbclt was successful.More details regarding SYMCnbclt can be found in file/tmp/install_cltpkg_trace.9104 on MEDIASVR.Terminating NetBackup and/or Media Manager processes.Installing NB-Java.Unpacking SYMCnbjava package.Checking for pre-existing SYMCnbjava package.Installing SYMCnbjava package.Installation of SYMCnbjava was successful.More details regarding SYMCnbjava can be found in file/tmp/install_javapkg_trace.9952 on MEDIASVR.Unpacking SYMCnbjre package.Checking for pre-existing SYMCnbjre package.Installing SYMCnbjre package.Installation of SYMCnbjre was successful.More details regarding SYMCnbjre can be found in file/tmp/install_jrepkg_trace.9952 on MEDIASVR.+ /bin/cp ./nbj.conf /usr/openv/javaDirectory /usr/openv/logs does not exist.No log files to migrate.+ Extracting PDDE server package (/usr/openv/pddeserver.tar.gz).+ Extracting PDDE agent package (/opt/openv/netbackup/client/Solaris/Solaris10/pddeagent.tar.gz).Unpacking SYMCpddea package.Checking for pre-existing SYMCpddea package.Installing SYMCpddea package.Creating /etc/pdregistry.cfg.Copying pdregistry.cfg file to /usr/openv/pdde/pdconfigure/cfg/userconfigs/pdregistry.cfg.Starting setup for PDDE scriptDone setup for PDDE scriptChecking to see if the PDDE configuration needs upgradingpdregistry.cfg exists.No existing PDDE configuration detected.PDDE install finished successfully.The following automatic startup and shutdown scripts (respectively)have been installed. They will cause the NetBackup daemons to beautomatically shut down and restarted each time the system boots./etc/rc2.d/S77netbackup/etc/rc0.d/K01netbackup/etc/rc1.d/K01netbackupInstallation of Java LiveUpdate agent succeeded. Refer to file/tmp/JLU-Log/JavaLiveUpdate-Install.log on MEDIASVRfor installation details.Checking LiveUpdate registration for the following products: NB This may take a few minutes.Product NB is installed and will be registered.Updating LiveUpdate registration now.this may take some time.A NetBackup Server or Enterprise Server license key is neededfor installation to continue.提示输入序列号:Enter license key: OENT-7K4S-R92Z-3NPN-RJ3S-L4LA-MM7A-MPPP-NC4CEvaluation NetBackup Enterprise Server with Dec 31, 2011 expiration date will be registered.Is this OK? y,n (y) OENT-7K4S-R92Z-3NPN-RJ3S-L4LA-MM7A-MPPP-NC4C: Evaluation NetBackup Enterprise Server Base product with the following features enabled: PureDisk Remote Office PureDisk Option SAN Client PureDisk MS Exchange Agent Enterprise Vault Agent PureDisk MS SQL Server Agent Flexible Disk Option OpenStorage Disk Option Virtual Tape Option Bare Metal Restore Encryption Open File Backup Remote Client Support Robotic Library Sharing Support Remote Media Server Support Microsoft RSM Robotic Libraries ADIC DAS/SDLC Robotic Libraries IBM ATL Robotic Libraries Fujitsu LMF Robotic Libraries StorageTek ACS Robotic Libraries Snapshot Client MS SharePoint Agent Inline Tape Copy Vault Library Based Tape Drives DataStore Encryption (Legacy DES 56-bit) Encryption (Legacy DES 40-bit) SAP extension Sybase extension Informix extension Oracle extension Lotus Notes extension DB2 extension MS SQL Server extension MS Exchange extension Shared Storage Option NDMP Additional clients has been registered.提示是否输入其它Licensekey,如果不输入其它License,输入n回车。All additional keys should be added at this time.Do you want to add additional license keys now? y,n (y) NUse /usr/openv/netbackup/bin/admincmd/get_license_keyto add, delete or list license keys at a later time.Installing NetBackup Enterprise Server version: 7.1If this machine will be using a different network interface than thedefault (MEDIASVR), the name of the preferred interface should be usedas the configured server name. If this machine will be part of acluster, the virtual name should be used as the configured server name.提示是否使用默认的计算机名作为NetbackupServer的名称,直接回车。Would you like to use MEDIASVR as the configuredNetBackup server name of this machine? y,n (y) 提示本台服务器是否是Master Server,输入n,回车Is MEDIASVR the master server? y,n (y) n提示输入主服务器的完整计算机名What is the fully qualified name of the master server? backupsvr.raffles.localChecking network connections.bp.conf: IP_ADDRESS_FAMILY = AF_INET: default value, no update neededSending SIGHUP to inetd process. Copied files to /kernel/drv/sparcv9.Doing add_drv of the sg driverCreating /dev/sg.Added entry in /etc/devlink.tab file.Made links in /dev/sgEnter the Enterprise Media Manager server (default: backupsvr.raffles.local): Converting STREAMS files. This may take a few minutes.STREAMS files conversion is complete.Successfully updated the session cache parameters.Starting the NetBackup network daemon.Starting the NetBackup client daemon.Starting the NetBackup SAN Client Fibre Transport daemon.Creating /usr/openv/tmp/sqlanyInstalled SQL Anywhere Version 468Installation completed successfullyStarting the NetBackup Event Manager.Starting the NetBackup Deduplication Manager.Starting the NetBackup Deduplication Engine.Starting the NetBackup compatibility daemon.Starting the Media Manager device daemon processes.Starting the NetBackup Remote Monitoring Management System.Starting the NetBackup Key Management daemon.Starting the NetBackup Service Layer.Starting the NetBackup Service Monitor.Starting the NetBackup Bare Metal Restore Boot Server daemon.NetBackup server installation complete.File /usr/openv/tmp/install_trace.8250 contains a trace of this install.That file can be deleted after you are sure the install was successful.You have new mail in /var/mail/root安装完成1.4 NetBackup7.1客户端安装Netbackup7.1支持直接调用Vmware的备份接口直接备份,在Vwmare ESX Server中的虚拟机可以不安装Netbackup 7.1的客户端进行备份。如果要备份物理服务器,或要求虚拟机中的系统需要以实体物理服务器的方式备份,则需要在需要备份的服务器上安装Netbackup客户端。1.3.1 NetBackup Lan 客户端安装-Windows1在需要安装Netbackup Lan Client的服务器上光驱内插入Netbackup7.1的光盘,双击Browser.exe。2选择“Client Software Installation”。3.选择“Install Client Software(安装客户端软件)”,开始安装。4 在“Welcome to the Veritas NetBackup Sectup Wizard(欢迎使用Veritas NetBackup安装向导)”页面,单击“Next”继续。5 在“Lisence Agreement”界面,选择“I Accept the terms of the lisence agreement”单选框,单击“Next”。6在“Veritas Netbackup Installation Type(安装类型)”,选择默认,单击“Next”按钮。7设置“Master Server Name(主服务器名) ”为“NBU-Master”。设置“Client Name”为默认,单击“Next”。8.在“Ready to Install the Program”,点击“Install”开始安装。9等待安装过程完成。10.在“Installation Complete”,单击“Finish”按钮,完成安装。1.3.2 NetBackup Lan 客户端安装-Linux1把NetBackup_7.1_CLIENTS_tar安装程序复制到需要安装客户端的Linux服务器某个目录,解压后进入该目录。2输入./install,开始安装NBU软件,在Choose an option输入3,选择安装Netbackup 客户端软件。3.在Do you want to install the NetBackup Client Software for this client?输入 y,回车,确认安装。4 在“Enter the name of the Netbackup Master Server”输入:Backupsvr,回车。5 在“Would you like to use the “客户端计算机名” as the configured name of the NetBackup Client?,输入y,回车。6安装将开始,并自动完成。7安装完成后。如下图所示。1.3.3 NetBackup 客户端安装-Solaris3、开始安装NBUClient把Netbackup Client安装程序复制到需要安装Netbackup Client的目标计算机上,解压后,进入解压目录# ./installSymantec Installation ScriptCopyright 1993 - 2011 Symantec Corporation, All Rights Reserved.Installing NetBackup Client SoftwareNOTE: To install NetBackup Server software, insert the appropriateNetBackup Server cdrom.Do you wish to continue? y,n (y) yDo you want to install the NetBackup client software for this client? y,n (y) yThis package will install Solaris/Solaris10 client.This package will install NetBackup client -指定NBUServer端得名称:Enter the name of the NetBackup server : Backupsvr-指定NBUClient端的名称:Would you like to use vplmapp as the configuredname of the NetBackup client? y,n (y) yx openv, 0 bytes, 0 tape blocksx openv/lib, 0 bytes, 0 tape blocks.LiveUpdate is not installed, skipping registration step.File /usr/openv/tmp/install_trace.9361 contains a trace of this install.That file can be deleted after you are sure the install was successful.# 安装成功。2.NetBackup7.1服务器配置2.1 NetBackup7.1 FT Media Server配置2.1.1在Solaris系统中配置磁带库存储设备在solaris中,NBU提供了自己的驱动程序,用于与SCSI控制的机械手外围设备通信,该驱动程序称为 SCSA (通用 SCSI PASSTHRU 驱动程序),也称为 sg(SCSI Generic) 驱动程序。此外,NBU需要st驱动程序,去管理磁带机设备。判断sg程序是否已经安装的办法就是检查内核ash-3.00# /usr/sbin/mod info | grep sg114 7bb46f60 1718 97 1 sysmsg (System message redirection (fan)178 7bb58000 3d90 151 1 sgen (SCSI generic driver 1.11)235 7bbdc000 37a8 316 1 sg (SCSA Generic Revision: 3.7)236 7ba9e558 1bb0 49 1 msgsys (System V message facility)236 7ba9e558 1bb0 49 1 msgsys (32-bit System V message facilit)bash-3.00# /usr/openv/volmgr/bin/sg.scan /dev/sg/c0tw5000cca00463a219l0: Disk (/dev/rdsk/c1t0d0): HITACHI HUS1514FBSUN146G/dev/sg/c0tw5000cca00465e52dl0: Disk (/dev/rdsk/c1t1d0): HITACHI HUS1514FBSUN146G/dev/sg/c0tw500110a0008cbbdal0: Tape (/dev/rmt/0): HP Ultrium 4-SCSI /dev/sg/c0tw500110a0008cbbe0l0: Tape (/dev/rmt/1): HP Ultrium 4-SCSI /dev/sg/c0tw500110a0008cbbe0l1: Changer: HP MSL G3 Series/dev/sg/c0tw5006016830232c5el0: Disk (/dev/rdsk/c3t5006016830232C5Ed0): DGC LUNZ/dev/sg/c0tw5006016841e09ca2l0: Disk (/dev/rdsk/c3t5006016841E09CA2d0): DGC LUNZ/dev/sg/c0tw5006016b3ce06245l0: Disk (/dev/rdsk/c3t5006016B3CE06245d0): DGC RAID 5备份Solaris系统中st.conf和sg.confbash-3.00# cd /kernel/bash-3.00# cd drv/bash-3.00# cp st.conf st.conf.bakbash-3.00# cp sg.conf sg.conf.bak (如果sg.config已存在)bash-3.00# cd /usr/openv/netbackup/bin/driver/bash-3.00# cfgadm -al -o show_FCP_dev | egrep changer|tape 查看所需Driver的WWN。c3:500110a0008cbbda,0 tape connected configured unknownc3:500110a0008cbbe0,0 tape connected configured unknownc3:500110a0008cbbe0,1 med-changer connected configured unknownNBU提供了一个脚本sg.build来帮助用户自动的配置sg.conf和st.conf以及sg.link三个配置文件bash-3.00# / usr/openv/volmgr/bin/sg.build all -mt 2 -ml 2The file ./st.conf should be appended to /kernel/drv/st.conf.A reboot may be necessary to create any new device files.Created file ./sg.conf.Created file ./sg.links.该命令的含义是将SCSI ID为0到2 LUN值为0和3的设备范围添加到上述的三个配置文件中。-mt 2参数指定在任何 SCSI 总线上使用的(或绑定到光纤通道设备的)最大目标 ID;-ml 2 参数指定在任何 SCSI 总线上使用的(或光纤通道设备所使用的)最大目标逻辑单元号。执行该命令后,就需要将该脚本生成的/usr/openv/volmgr/bin/driver/st.conf替换了内核配置文件/kernel/drv/st.conf;在把原有的/kernel/drv/sg.conf文件删除,用/usr/openv/volmgr/bin/driver/sg.install命令,自动的将新的sg.conf文件替换到内核中去。这样,sg和st程序就可以识别所有的已经连接好的存储设备了。bash-3.00# cat st.conf name=st class=scsi target=0 lun=0;name=st class=scsi target=0 lun=1;name=st class=scsi target=0 lun=2;name=st class=scsi target=1 lun=0;name=st class=scsi target=1 lun=1;name=st class=scsi target=1 lun=2;name=st class=scsi target=2 lun=0;name=st class=scsi target=2 lun=1;name=st class=scsi target=2 lun=2;bash-3.00# vi /kernel/drv/st.conf# Copyright 2004 Sun Microsystems, Inc. All rights reserved.# Use is subject to license terms.#pragma ident (#)st.conf 1.34 04/06/24 SMI# The officially supported devices do not require a entry under# tape-config-list as their configuration is built in to the driver.# A non configured drive will say Unconfigured Drive: and have single quoted# Vendor and Product strings displayed when its status is checked with mt.# mt -f /dev/rmt/# status# Unconfigured Drive: Vendor VENDOR Product A Product ID # sense key(0x0)= No Additional Sense residual= 0 retries= 0# file no= 0 block no= 0# If your drive is displayed like this first check to see if a newer version# of the st driver has added support for your drive.# If your drive is not supported by Sun, check the drive manufacturers# documentation or web site for their recommended configuration strings.# To configure a drive not supported by the driver, use the single quoted# Vendor and Product strings to create a entry under tape-config-list.# A starting point for your st.conf entry can be obtained by read

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论