ITPub博客

首页 > 数据库 > Oracle > step by step install netbackup client 6.5 on aix

step by step install netbackup client 6.5 on aix

原创 Oracle 作者:djb1008 时间:2012-03-14 15:17:37 0 删除 编辑

概述:
OS: AIX 6100-05-01-1016
NETBACKUP CLIENT: 6.5
本文描述,在AIX 6.1上安装netbackup client,用于备份aix 操作系统中的部分数据目录.
本文涉及的AIX 6.1操作系统上安装了TCP_WRAPPER软件,用于系统的安全加固,所以配置netbackup client时需要开部分权限给netbackup server .

一. 拷贝netbackup client 6.5安装目录到aix系统中
本例中是将安装文件拷贝到/imp32/netbackup_client/目录中.

xxdb_node1:/imp32/netbackup_client/#ls
IA64 NB_65_ICS_1.4.37.3_WIN32 X86 x64
Launch.bat NB_65_ICS_1.4.37.3_WINIA64 autorun.inf
NBClients NB_65_ICS_1.4.37.3_WINX64 install
xxdb_node1:/imp32/netbackup_client#chmod -R 755 *

[@more@]

二. 运行install程序,进行client软件的安装
xxdb_node1:/imp32/netbackup_client#./install

Symantec Installation Script
Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.


Installing NetBackup Client Software

NOTE: To install NetBackup Server software, insert the appropriate
NetBackup Server cdrom.

Do you wish to continue? [y,n] (y) y
Do you want to install the NetBackup client software for this client? [y,n] (y) y

This package will install RS6000/AIX5 client.

This package will install NetBackup client 6.5.

Enter the name of the NetBackup server : netbackup

Would you like to use "xxdb_node1" as the configured
name of the NetBackup client? [y,n] (y) y
x openv
x openv/lib
x openv/lib/libvxSigScheduleJNI2.so, 2542212 bytes, 4966 media blocks.
x openv/lib/libVmangle.so, 18654 bytes, 37 media blocks.
x openv/lib/libVnbatST.so_new, 278530 bytes, 545 media blocks.
x openv/lib/libVnbat.so, 487649 bytes, 953 media blocks.
x openv/lib/libVnbatST64.so_new, 16488 bytes, 33 media blocks.
x openv/lib/libVnbat64.so, 16488 bytes, 33 media blocks.
x openv/lib/libnbmangleMT.so, 2548589 bytes, 4978 media blocks.
x openv/lib/libVcvcomb.so, 662872 bytes, 1295 media blocks.

x openv/resources/libnetappfi_root.res, 2112 bytes, 5 media blocks.
x openv/resources/nbecmsg_root.res, 42656 bytes, 84 media blocks.
+ /bin/cp NB-Java.tar.Z /usr/openv
Installing NB-Java.
+ /bin/cp ./nbj.conf /usr/openv/java
Checking for a bpcd entry in /etc/inetd.conf: Adding bpcd entry.
Original /etc/inetd.conf saved as /etc/inetd.conf.03-12-12.15:33:00.
Checking for a vnetd entry in /etc/inetd.conf: Adding vnetd entry.
Checking for a vopied entry in /etc/inetd.conf: Adding vopied entry.
Checking for a bpjava-msvc entry in /etc/inetd.conf: Adding bpjava-msvc entry.
Send a SIGHUP to inetd or xinetd so the (x)inetd.conf file will be reread.

updating /etc/inittab ...

The following temporary file can be deleted after you verify the proper
modification of /etc/inittab:

/tmp/SYMCnbclt-inittab.7602452.i


An automatic startup script, /etc/rc.client.netbackup has been installed.
This will cause NetBackup client daemons to be automatically
restarted each time the server boots.

Starting nbftclnt...

LiveUpdate is not installed, skipping registration step...

File /usr/openv/tmp/install_trace.13500964 contains a trace of this install.
That file can be deleted after you are sure the install was successful.

三. 配置tcp_wrapper ,允许netbackup server通过bpcp等程序的访问aix主机
本节主要针对aix系统中安装了tcp_wrapper防护软件的情况,如果aix系统没有安装tcp_wrapper,可以跳过此节

xxdb_node1:/imp32/netbackup_client#vi /etc/hosts.allow
##添加相关服务器的访问权限
bpcd:51.123.12.149:allow
vnetd:51.123.12.149:allow
bpcd:51.123.12.143:allow
vnetd:51.123.12.143:allow

其中: 51.123.12.149 是netbackup server
51.123.12.143 是netbackup media server

编辑好/etc/hosts.allow 文件后,通过下面的命令,刷新一下inetd服务
xxdb_node1:/#refresh -s inetd
0513-095 The request for subsystem refresh was completed successfully.

四. 配置aix系统/etc/hosts文件,增加netbackup相关服务器的地址
yxdb_node1:/#more /etc/hosts
......
51.123.12.149 netbackup-svr
51.123.12.143 netbackup-mssvr

五. 配置netbackup相关服务器上的hosts文件,添加aix系统的地址
本例中netbackup有两个服务器,一个主控服务器,一个是媒体管理服务器.
需要编辑windows系统的hosts文件,本例为:C:WINDOWSSYSTEM32DRIVERSETCHOSTS文件
添加如下内容:
51.123.13.150 xxdb_node1

注意:这里的主机名称应该和操作系统的hostname完全相同,否则在备份和恢复的时候容易出现意想不到的错误.
可以事先在aix系统中,运行hostname命令,查看主机名称
xxdb_node1:/#hostname
xxdb_node1

六.配置netbackup client的配置文件bp.conf,添加相关服务器的信息
xxdb_node1:/#more /usr/openv/netbackup/bp.conf
SERVER = netbackup-svr
CLIENT_NAME = xxdb_node1
MEDIA_SERVER = netbackup-mssvr


七.在aix系统中,重新启动netbackup client进程.
在aix系统中安装了netbackup client后,安装程序在/etc/inittab 文件的最后一行增加一下内容,用于在下次操作系统重新启动时自动启动netbackup client 进程。
xxdb_node1:/#more /etc/inittab
......
tty0:2:off:/usr/sbin/getty /dev/tty0
nbclient:2:wait:/etc/rc.client.netbackup start

安装程序在安装的最后,提示有启动netbackup client的操作步骤,但实际上没有成功,在netbackup server 无法识别到。
需要手工启动netbackup client,启动前先关闭一下,然后在启动,如下:
xxdb_node1:/#/etc/rc.client.netbackup stop
xxdb_node1:/#/etc/rc.client.netbackup start


八.定义备份策略后,进行备份
登陆到netbackup server,进入netbackup 管理端,定义备份策略,使用手工启动备份的方式测试一下是否可以正常备份.


笔者曾经因为没有配置好/usr/openv/netbackup/bp.conf文件(忘了配置netbackup media server),导致备份的时候报下面的错误:
bpcd on xxxx_node1 exited with status 59: access to client was not allow

旧的bp.conf文件内容:
xxdb_node1:/#more /usr/openv/netbackup/bp.conf
SERVER = netbackup
CLIENT_NAME = xxdb_node1

添加了media server的配置信息,新的bp.conf文件内容如下:
xxdb_node1:/#more /usr/openv/netbackup/bp.conf
SERVER = netbackup
CLIENT_NAME = xxdb_node1
MEDIA_SERVER = netbackup-ms

然后进行手工启动备份,备份任务开始正常运行.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/32980/viewspace-1057585/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-27

  • 博文量
    175
  • 访问量
    778873