[键入文字]
NBU 6.5
For SuSE Linux 10.1
安装
手册
华为质量管理手册 下载焊接手册下载团建手册下载团建手册下载ld手册下载
安装手册安装手册安装手册
[键入文字]
目目目目 录录录录
第一章第一章第一章第一章 安装安装安装安装 NETBACKUP 之前的准备工作之前的准备工作之前的准备工作之前的准备工作 1
1. NetBackup 许可证密钥要求许可证密钥要求许可证密钥要求许可证密钥要求 1
2. NetBackup SuSE Linux 服务器安装要求服务器安装要求服务器安装要求服务器安装要求 1
第二章第二章第二章第二章 SUSE LINUX 服务器服务器服务器服务器 NETBACKUP 软件安装软件安装软件安装软件安装 2
1. 安装软件安装软件安装软件安装软件 CD 2
2. 安装安装安装安装 NetBackup 服务器服务器服务器服务器及及及及 NDMP 软件软件软件软件 2
3. 安装安装安装安装 NetBackup 服务器软件服务器软件服务器软件服务器软件补丁补丁补丁补丁 11
4. 执行执行执行执行 NetBackup 服务器软件服务器软件服务器软件服务器软件 14
5. 确认确认确认确认 NetBackup 服务器软件服务器软件服务器软件服务器软件 Version 15
6. 确认确认确认确认 NetBackup 服务器服务器服务器服务器主要进程运行正常主要进程运行正常主要进程运行正常主要进程运行正常 16
[键入文字]
[键入文字]
第一章第一章第一章第一章 安装安装安装安装 NetBackup 之前的准备工作之前的准备工作之前的准备工作之前的准备工作
1. NetBackup 许可证密钥要求许可证密钥要求许可证密钥要求许可证密钥要求
在安装 NetBackup 主服务器或介质服务器时,必须输入 NetBackup 基本产品的许可证密
钥。
� 备份主模块许可证密钥一份。
� NDMP 代理服务许可证密钥一份或二份。
� 磁带库驱动器许可证密钥二份或四份。
2. NetBackup 服务器安装要求服务器安装要求服务器安装要求服务器安装要求
� 建议先删除 SuSE Linux 10.1 系统上当前配置的任何其他供应商的备份软件。
� 确保拥有 SuSE Linux 10.1 系统服务器的 root 口令以及适当的许可证密钥,尤其是 NDMP
代理服务许可证密钥。
� 建议 SuSE Linux 10.1 系统主服务器的内存不小于 2 GB。
� 确保 SuSE Linux 10.1 系统服务器的 NetBackup 安装目录/usr/openv 有不少于 10GB 的空间
� 确保最低屏幕分辨率配置为 1024x768,256 色。
� 确保 SuSE Linux 10.1 系统服务器可与 NAS 客户机系统相互识别。需要在客户机的/etc/hosts
文件中定义服务器,并在服务器的该文件中定义 NAS 客户机。
在 SuSE Linux 10.1 系统服务器/etc/hosts 中添加一台或二台 NAS 的 IP,并确认可以 ping 通
� 确保 SuSE Linux 10.1 系统服务器使用的设备,如 FC HBA 驱动正常。
� 请确保在本地系统上安装 gzip 和 gunzip 命令,并且在 root 用户的 PATH 环境变量设置中
包含这些命令的安装目录。
� NetBackup 不支持在装入 NFS 的目录中安装。
� NetBackup 6.5 中的一些功能依赖于 Infrastructure Core Services (ICS) 的新产品,即
VERITAS Private Branch Exchange (PBX) ,在 NetBackup 安装过程中必须安装 PBX。
� NAS 必须能够正确识别磁带库,驱动正常,并且能够正确读写磁带,需要创建一个 NDMP
用户,拥有足够的读写权限。
� 必须有一个不同于 NBU 安装目录的逻辑分区存在,能够用于 Catalog Database 保存灾难恢
复文件。
[键入文字]
[键入文字]
第二章第二章第二章第二章 SuSE Linux 服务器服务器服务器服务器 NetBackup 软件安装软件安装软件安装软件安装
1. 安装软件安装软件安装软件安装软件 CD
注意事项:在安置之前,确认主机名和 IP 地址正确,确认启动了 inetd(或 xinetd)服务。
� 以 root 身份登录。
� 放入 DVD 安装介质到驱动器(此项目为第二张 DVD),用以下命令找到 DVD 的 mount 点。
# mount
/dev/hda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda3 on /home type reiserfs (rw,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sr0 on /media/65_DVD2_20070723 type iso9660 (ro,nosuid,nodev,utf8,uid=0)
注意:这次 备份改造项目,使用第 2,4 张 DVD,DVD 的卷名日期部分有可能不同
2. 安装安装安装安装 NetBackup 服服服服务器务器务器务器及及及及 NDMP软件软件软件软件
2.2.1 安装安装安装安装 NBU 主备份服务软件主备份服务软件主备份服务软件主备份服务软件
� 执行执行执行执行 install,,,,按提示输入按提示输入按提示输入按提示输入 Y。。。。
# /media/65_DVD2_20070723/install
Symantec Installation Script
Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.
Installing NetBackup Server Software
NOTE: To install only NetBackup Client software locally on this machine
or to load additional UNIX client software on this server, insert
the NetBackup UNIX Clients cdrom.
Do you wish to continue? [y,n] (y)
The NetBackup and Media Manager software is built for use on LINUX_SUSE_X86 hardware.
Do you want to install NetBackup and Media Manager files? [y,n] (y)
NetBackup and Media Manager are normally installed in /usr/openv.
Is it OK to install in /usr/openv? [y,n] (y) y
Reading NetBackup files from /media/65_DVD2_20070723/linuxS_x86/anb
usr/openv/man/man1/bplist.1.gz
usr/openv/man/man1/bpmedia.1.gz
.........
Reading Media Manager files from /media/65_DVD2_20070723/linuxS_x86/anb
usr/openv/volmgr/bin/goodies/drive_mount_notify
usr/openv/volmgr/bin/goodies/drive_unmount_notify
[键入文字]
[键入文字]
usr/openv/volmgr/bin/mmcrawl
usr/openv/volmgr/bin/vmadm
.........
Done executing NB.inst.
If you ran NB.inst instead of
/install, you must
run /usr/openv/netbackup/bin/install_bp to initiate NetBackup.
Running /usr/openv/netbackup/bin/install_bp -p /media/65_DVD2_20070723
Copying SuSE2.6 Client Binaries
openv/
openv/lib/
openv/lib/libvxSigScheduleJNI2.so
openv/lib/libnbservice.so
openv/lib/libVmangle.so
.........
Installing NB-Java.
/bin/tar: Read 4096 bytes from -
/bin/tar: Read 8704 bytes from -
+ /bin/cp ./nbj.conf /usr/openv/java
Running insserv command to enable /etc/init.d/nbclient init script.
Starting nbftclnt...
LiveUpdate is not installed, skipping registration step...
The following package(s) are missing and must be installed
before NetBackup can be installed:
VRTSpbx
� 自动提示安装自动提示安装自动提示安装自动提示安装 ICS,,,,按提示输入按提示输入按提示输入按提示输入 Y。。。。
The listed package(s) are part of the Symantec
Infrastructure Core Services (ICS) CDs/DVDs which
are included in the corresponding NetBackup media kit.
The ICS image is contained on the currently mounted media at:
/media/65_DVD2_20070723/NB_65_ICS_1.4.37.0_LinuxX86
Do you want to install the listed package(s) now? [y,n] (y)
[键入文字]
[键入文字]
Installing VRTSpbx...
� 自动提示输入许可证自动提示输入许可证自动提示输入许可证自动提示输入许可证密钥密钥密钥密钥,,,,按提示输入按提示输入按提示输入按提示输入。。。。
A NetBackup Server or Enterprise Server license key is needed
for installation to continue.
Enter license key:
XXXX-XXXX- XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
XXXX-XXXX- XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX:
NetBackup Enterprise Server Base product with all the features enabled
has been registered.
All additional keys should be added at this time.
Do you want to add additional license keys now? [y,n] (y)
� 输入输入输入输入 配置的其他几种配置的其他几种配置的其他几种配置的其他几种许可证密钥许可证密钥许可证密钥许可证密钥,,,,输完后选输完后选输完后选输完后选 n。。。。
Do you want to add additional license keys now? [y,n] (y) n
Use /usr/openv/netbackup/bin/admincmd/get_license_key
to add, delete or list license keys at a later time.
Installing NetBackup Enterprise Server version: 6.5
If this machine will be using a different network interface than the
default (linux-y29w), the name of the preferred interface should be used
as the configured server name. If this machine will be part of a
cluster, the virtual name should be used as the configured server name.
� 选择默认的选择默认的选择默认的选择默认的 master server 和和和和 media server name,输输输输入入入入 y。。。。
Would you like to use "linux-y29w" as the configured
name of the NetBackup server? [y,n] (y) y
Is linux-y29w the master server? [y,n] (y) y
Do you have any media servers? [y,n] (n) n
Checking /etc/services for the needed NetBackup and Media Manager services.
Copying original /etc/services file to /etc/services.NBU_041809.12:25:32
[键入文字]
[键入文字]
Editing /etc/services to update NetBackup and Media Manager services.
/etc/services will be updated to add the following entries for
NetBackup/Media Manager.
bpjobd 13723/tcp bpjobd
vmd 13701/tcp vmd
acsd 13702/tcp acsd
tl8cd 13705/tcp tl8cd
tldcd 13711/tcp tldcd
odld 13706/tcp odld
tl4d 13713/tcp tl4d
tshd 13715/tcp tshd
tlmd 13716/tcp tlmd
tlhcd 13717/tcp tlhcd
rsmd 13719/tcp rsmd
/etc/services has been updated to contain NetBackup and Media
Manager services.
WARNING: ypwhich: Can't communicate with ypbind
WARNING: No such map services.byname. Reason: Request arguments bad
Found the necessary NetBackup services in /etc/services.
Sending SIGHUP to xinetd process.
Reload INET services (xinetd)...done
Running insserv command to enable netbackup init script.
NetBackup maintains a centralized catalog (separate from the image
catalog) for data related to media and device configuration, device
management, storage units, hosts and host aliases, media server status,
NDMP credentials, and other information. This is managed by the
Enterprise Media Manager server.
Enter the Enterprise Media Manager server (default: linux-y29w):
If this machine will be using a different network interface than the
default (linux-y29w), the name of the preferred interface should be used
[键入文字]
[键入文字]
as the configured server name. If this machine will be part of a
cluster, the virtual name should be used as the configured server name.
Would you like to use "linux-y29w" as the configured
name of the NetBackup server? [y,n] (y) y
Is linux-y29w the master server? [y,n] (y) y
Do you have any media servers? [y,n] (n) n
Checking /etc/services for the needed NetBackup and Media Manager services.
Copying original /etc/services file to /etc/services.NBU_041809.12:25:32
Editing /etc/services to update NetBackup and Media Manager services.
/etc/services will be updated to add the following entries for
NetBackup/Media Manager.
bpjobd 13723/tcp bpjobd
vmd 13701/tcp vmd
acsd 13702/tcp acsd
tl8cd 13705/tcp tl8cd
tldcd 13711/tcp tldcd
odld 13706/tcp odld
tl4d 13713/tcp tl4d
tshd 13715/tcp tshd
tlmd 13716/tcp tlmd
tlhcd 13717/tcp tlhcd
rsmd 13719/tcp rsmd
/etc/services has been updated to contain NetBackup and Media
Manager services.
Found the necessary NetBackup services in /etc/services.
Sending SIGHUP to xinetd process.
Reload INET services (xinetd)...done
Running insserv command to enable netbackup init script.
NetBackup maintains a centralized catalog (separate from the image
catalog) for data related to media and device configuration, device
management, storage units, hosts and host aliases, media server status,
[键入文字]
[键入文字]
NDMP credentials, and other information. This is managed by the
Enterprise Media Manager server.
Enter the Enterprise Media Manager server (default: linux-y29w):
Starting the NetBackup Database Server.
DBMS Server 9.0.2 is being installed
bin/
bin/dberase
bin/dbfhide
bin/dbisqlc
bin/dbbackup
bin/dbspawn
bin/dbvalid
bin/dbwrite
bin/dbcollat
bin/dbexpand
...........
Installation completed successfully
Starting the NetBackup Event Manager.
Database server is NB_linux-y29w
Creating the NetBackup database.
Creating NetBackup data files in: /usr/openv/db/data
Creating /usr/openv/db/data
Creating NetBackup index files in: /usr/openv/db/data
Creating NetBackup transaction log file in: /usr/openv/db/data
Database "/usr/openv/db/data/NBDB.db" created successfully
Starting the NetBackup database.
Authenticating the NetBackup database.
VXDBMS_NB_DATA entry in bp.conf updated successfully.
Setting of database authentication for NBDB successful.
Change of dba password for NBDB successful.
Creating the NetBackup database files.
Creating the NetBackup EMM schema.
Verifying the running version of NBDB ...
NBDB version 6.5.0.0 verified.
Nothing to upgrade. Version unchanged.
Database validation successful.
Database [NBDB] is alive and well on server [NB_linux-y29w].
Starting the NetBackup database manager process (bpdbm).
Creating Directive Set for LotusNotes
[键入文字]
[键入文字]
Creating Directive Set for MS_Exchange_5.x
Creating Directive Set for MS_Exchange_Mailbox
Creating Directive Set for MS_Exchange_200x
Creating Directive Set for MS_Exchange_SRS
Creating Directive Set for MS_Exchange_Public_Folders
Creating Directive Set for MS_Exchange_KMS
Creating Directive Set for MS_SharePoint_Portal_Server_2001
Creating Directive Set for MS_SharePoint_Portal_Server_2003
Creating Template Set for Oracle_RMAN
Creating Template Set for Oracle_XML_Export
Creating Template Set for DB2
Creating Directive Set for Windows2000
Creating Directive Set for Windows2003
Policy conversion summary:
Number of original policies: 0
Number of non-snapshot policies skipped: 0
Number of policies not needing conversion: 0
Number of policies converted to
'auto' snapshot method: 0
Number of policies converted: 0
Number of new policies created due to
multiple clients in a policy that had
different snapshot method configurations: 0
Starting the NetBackup compatibility daemon.
Starting the NetBackup Enterprise Media Manager.
Starting the NetBackup Resource Broker.
Populating the database tables. This will take some time.
Starting the Media Manager device daemon processes.
� 选择启动选择启动选择启动选择启动 bprd 进程进程进程进程,输输输输入入入入 y。。。。
Do you want to start the NetBackup bprd process so
backups and restores can be initiated? [y,n] (y)
Starting the NetBackup request daemon process (bprd).
Starting the NetBackup Job Manager.
Starting the NetBackup Policy Execution Manager.
Starting the NetBackup Storage Service Manager.
Starting the NetBackup Remote Monitoring Management System.
[键入文字]
[键入文字]
Starting the NetBackup Service Layer.
Starting the NetBackup Service Monitor.
File /usr/openv/tmp/install_trace.3701 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
File /usr/openv/tmp/install_trace.3701 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
2.2.2 安装安装安装安装 NBU for NDMP 服务软件服务软件服务软件服务软件
先确认NBU for NDMP License安装正常。将第四张DVD放入驱动器,使用mount命令查看,然
后:
#/media/65_DVD4_20070723/install
Symantec Installation Script
Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.
Installation Options
1 NetBackup Add-On Product Software
2 NetBackup Database Agent Software
q To quit from this script
Choose an option [default: q]: 1
**********
NetBackup Add-On Product Installation
Choose the Add-On Products you wish to install
one at a time or select Install All Add-On Products.
1) NetBackup Encryption
2) NetBackup LiveUpdate Agent
3) NetBackup for NDMP
4) NetBackup Snapshot Client
5) NetBackup Vault
6) Install All Add-On Products
q) Done Selecting Products
x) Exit from this Script
Choose an option:3
Choose an option: q
You have chosen to install these Add-On Products:
NetBackup for NDMP
Is this list correct? [y,n] (y)
NOTE: A license key for NetBackup for NDMP
will be required on the master server in order for it
[键入文字]
[键入文字]
to function properly.
Installing NetBackup for NDMP
Do you want to install NetBackup for NDMP for linuxS_x86? [y,n] (y) y
NetBackup for NDMP will be installed in /usr/openv.
The "linuxS_x86" binaries will be loaded.
usr/openv/lib/libndmpclient.so
usr/openv/netbackup/bin/ndmpagent
usr/openv/share/version_ndmp
usr/openv/volmgr/bin/set_ndmp_attr
/bin/tar: Read 5120 bytes from -
LiveUpdate is not installed, skipping registration step...
NetBackup for NDMP installation completed.
**********
Execution of ./install is complete.
File /usr/openv/tmp/install_options_trace.7428 contains a trace of this install.
Symantec Installation Script
Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.
Installation Options
1 NetBackup Add-On Product Software
2 NetBackup Database Agent Software
q To quit from this script
Choose an option [default: q]:q
[键入文字]
[键入文字]
3. 安装安装安装安装 NetBackup 服务器软件补丁服务器软件补丁服务器软件补丁服务器软件补丁
� 将将将将 NB_6.5.3.linuxS_x86_314585.tar, NB_DMP_6.5.3_314598.tar,NB_CLT_6.5.3_314595.tar
等补丁包考入等补丁包考入等补丁包考入等补丁包考入/tmp/nbu/并解压并解压并解压并解压。。。。
# cd /tmp
# mkdir nbutmp
# cd nbutmp
# tar xvf NB_6.5.3.linuxS_x86_314585.tar
NB_update.install
VrtsNB_6.5.3.README
VrtsNB_6.5.3.postinstall
VrtsNB_6.5.3.postuninstall
VrtsNB_6.5.3.preinstall
VrtsNB_6.5.3.preuninstall
VrtsNB_6.5.3.linuxS_x86.tar.Z
# tar xvf NB_CLT_6.5.3_314595.tar
NB_update.install
VrtsNB_CLT_6.5.3.README
VrtsNB_CLT_6.5.3.postinstall
VrtsNB_CLT_6.5.3.postuninstall
VrtsNB_CLT_6.5.3.preinstall
VrtsNB_CLT_6.5.3.ALPHA.tar.Z
VrtsNB_CLT_6.5.3.HP-UX-IA64.tar.Z
VrtsNB_CLT_6.5.3.HP9000-800.tar.Z
VrtsNB_CLT_6.5.3.INTEL.tar.Z
VrtsNB_CLT_6.5.3.Linux-IA64.tar.Z
VrtsNB_CLT_6.5.3.Linux.tar.Z
VrtsNB_CLT_6.5.3.MACINTOSH.tar.Z
VrtsNB_CLT_6.5.3.RS6000.tar.Z
VrtsNB_CLT_6.5.3.SGI.tar.Z
VrtsNB_CLT_6.5.3.Solaris.tar.Z
# tar xvf NB_DMP_6.5.3_314598.tar
NB_update.install
VrtsNB_DMP_6.5.3.README
VrtsNB_DMP_6.5.3.hp_ux.tar.Z
VrtsNB_DMP_6.5.3.hpia64.tar.Z
VrtsNB_DMP_6.5.3.linux.tar.Z
VrtsNB_DMP_6.5.3.linuxR_x86.tar.Z
VrtsNB_DMP_6.5.3.linuxS_x86.tar.Z
VrtsNB_DMP_6.5.3.rs6000.tar.Z
VrtsNB_DMP_6.5.3.solaris.tar.Z
VrtsNB_DMP_6.5.3.solaris_x86.tar.Z
[键入文字]
[键入文字]
� 运行运行运行运行./NB_update.install
# ./NB_update.install
There are 3 packs available in /tmp/nbutmp/nbu6.5.3:
(* denotes installed pack)
NB_6.5.3
NB_CLT_6.5.3
NB_DMP_6.5.3
Enter pack name (or q) [q]: NB_6.5.3
Pack NB_6.5.3 requires pack NB_CLT_6.5.3 or a later.
Pack NB_6.5.3 requires the following pack levels(s) :
NB_CLT_6.5.3.
Pack NB_6.5.3 will not be installed at this time.
Installing required pack, NB_CLT_6.5.3, now.
Pack NB_CLT_6.5.3 co-requires the following pack level(s) :
NB_6.5.3.
Install pack NB_CLT_6.5.3 Sun Apr 19 10:51:12 CST 2009 Rev. 1.6.4.14.4.2
Can not install pack when NetBackup daemons are running.
Do you want to kill all NetBackup daemons? (y/n) [n] Y
Looking for NetBackup processes that need to be terminated.
Stopping nbsvcmon...
Stopping nbsl...
... ...
Starting nbsvcmon...
Starting nbftclnt...
Exiting NB_update.install
... ...
NB_6.5.3 *
NB_CLT_6.5.3 *
NB_DMP_6.5.3
Enter pack name (or q) [q]: NB_DMP_6.5.3
Install pack NB_DMP_6.5.3 Sun Apr 19 10:59:29 CST 2009 Rev. 1.6.4.14.4.2
Can not install pack when NetBackup daemons are running.
Do you want to kill all NetBackup daemons? (y/n) [n] Y
Looking for NetBackup processes that need to be terminated.
Stopping nbsvcmon...
Stopping nbsl...
Stopping nbrmms...
Stopping nbstserv...
Stopping nbpem...
Stopping nbjm...
[键入文字]
[键入文字]
Stopping nbproxy...
Suspending or cancelling jobs...
Stopping bprd...
Stopping bpcompatd...
Stopping bpdbm...
Looking for Media Manager processes that need to be terminated.
Stopping ltid...
Stopping vmd...
Stopping nbrb...
Stopping nbemm...
Stopping nbevtmgr...
Looking for VxDBMS processes that need to be terminated.
Stopping VxDBMS database server ...
Pack install will continue.
Saving pre-existing binaries.
Saved binaries successfully.
Extracting files out of /tmp/nbu6.5.3/VrtsNB_DMP_6.5.3.linuxS_x86.tar.Z.
Tar extraction successful.
See /usr/openv/pack/pack.history for more details.
------------------------------------------------
Installation of pack NB_DMP_6.5.3 completed Sun Apr 19 10:59:29 CST 2009 Rev.
1.6.4.14.4.2.
------------------------------------------------
[键入文字]
[键入文字]
4. 执行执行执行执行 NetBackup 服务器软件服务器软件服务器软件服务器软件
� 输输输输入入入入以下命令执行以下命令执行以下命令执行以下命令执行 NetBackup。。。。
# /usr/openv/netbackup/bin/jnbSA &
� 输入输入输入输入 password 后后后后,,,,进入进入进入进入 NetBackup Admin console 界面界面界面界面,,,,说明软件安装成功说明软件安装成功说明软件安装成功说明软件安装成功。。。。
[键入文字]
[键入文字]
5. 确认确认确认确认 NetBackup 服务器软件服务器软件服务器软件服务器软件 Version
确认 NetBackup 服务器软件安装补丁的 Version 为 6.5.3,选 Netbackup management->Host
Properties->Master Servers->查看右边的 master server version。
[键入文字]
[键入文字]
6. 确认确认确认确认 NetBackup 服务器主要进程运行正常服务器主要进程运行正常服务器主要进程运行正常服务器主要进程运行正常
确认 NetBackup 服务器主要进程运行正常,之后可以进入 NetBackup 初始配置。选 Activity
Monitor->选右边左下角 Daemons。