您的位置:首页 > 数据库

nbu备份数据库报Communication with the server has not been initiated

2013-12-15 19:17 721 查看
环境介绍:
nbu客户端主机
操作系统:redhat 6.1 64bit
主机名:FLY007-DB
oracle数据库版本:10.2.0.5.0
nbu客户端软件版本:7.5
业务平面地址:192.168.19.71
管理平面IP:192.168.20.71 (备份走管理平面网络)
nbuserver主机
操作系统:suse 10 sp2 64bit
主机名:nbumaster
nbu版本:7.5.0.6
业务平面地址:192.168.19.134
管理平面IP:192.168.20.134
1、nbu客户端和nbumaster主机的/etc/hosts配置,注意修改/etc/hosts后,需要手动清除nbu侧缓存,
否则nbu仍旧以缓存来解析IP和主机名
[root@FLY007-DB]# cat /etc/hosts
127.0.0.1   localhost
192.168.20.134  nbumaster
192.168.20.71 fly007_db
[root@FLY007-DB]# /usr/openv/netbackup/bin/bpclntcmd -clear_host_cache;
nbumaster:~ # cat /etc/hosts
127.0.0.1   localhost
192.168.20.134  nbumaster
192.168.20.71 fly007_db
nbumaster:~ # /usr/openv/netbackup/bin/bpclntcmd -clear_host_cache
2、 在nbu客户端主机安装的客户端软件版本是7.5,电话咨询之前过来部署nbu的工程师,说是7.5的nbu客户端软件应该是支持redhat 6的,安装7.5的客户端后,在nbu侧建立policy,手动备份文件到磁带,是可以成功的,但备份数据库报错:
RMAN> run {
2> allocate channel ch00 type 'SBT_TAPE';
3> backup full database;
4> release channel ch00;
5> }
using target database control file instead of recovery catalog
allocated channel: ch00
channel ch00: sid=2161 devtype=SBT_TAPE
channel ch00: Veritas NetBackup for Oracle - Release 7.5 (2013061020)
Starting backup at 10-12月-13
channel ch00: starting full datafile backupset
channel ch00: specifying datafile(s) in backupset
input datafile fno=00008 name=/oradata2/fly/TBS_fly001.dbf
input datafile fno=00034 name=/oradata3/fly/TBS_fly001.dbf
input datafile fno=00037 name=/oradata4/fly/TBS_fly001.dbf
channel ch00: starting piece 1 at 10-12月-13
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch00 channel at 12/10/2013 16:29:08
ORA-19506: failed to create sequential file, name="1mor64mj_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
VxBSACreateObject: Failed with error:
Server Status:  Communication with the server has not been initiated or the server status has not been retrieved from the serve
3、从上面报错信息初步看来,怀疑是通信的问题,备份文件是单向通信的,只需要nbuclient到nbumaster的1556,13724,13782端口通即可,而备份数据库的通信是需要双向的,需要双方都能够telnet对方的1556,13724,13782端口,其实nbuclient和nbumaster是同一网段的,两者之间的权限是完全放开的,但还是telnet一把吧

nbumaster:~ # telnet fly007_db 1556
Trying 192.168.20.71...
Connected to fly007_db.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
nbumaster:~ # telnet fly007_db 13724
Trying 192.168.20.71...
Connected to fly007_db.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
nbumaster:~ # telnet fly007_db 13782
Trying 192.168.20.71...
Connected to fly007_db.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
nbumaster:~ # ssh oracle@192.168.19.71
oracle@192.168.19.71's password:
Last login: Wed Dec 11 08:57:50 2013 from 192.168.19.71
ONLY Authorized users only! All accesses logged
-bash-4.1$ su - root
密码:
[root@FLY007-DB]# telnet nbumaster 1556
Trying 192.168.20.134...
Connected to nbumaster.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@FLY007-DB]# telnet nbumaster 13724
Trying 192.168.20.134...
Connected to nbumaster.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@FLY007-DB]# telnet nbumaster 13782
Trying 192.168.20.134...
Connected to nbumaster.
Escape character is '^]'.
^]
telnet> quit
4、执行bpclntcmd -self,bpclntcmd -pn,分别确认自我解析,以及client到server的通信是否有问题,确认结果是没有问题的:
(关于bpclntcmd命令的解释,请参考下面的链接)
DOCUMENTATION: Explanation of bpclntcmd options and recommended troubleshooting when the commands return errors
http://www.symantec.com/business/support/index?page=content&id=TECH50198
[root@FLY007-DB]# /usr/openv/netbackup/bin/bpclntcmd -self
yp_get_default_domain failed: (12) 未设置本地域名
NIS does not seem to be running: (1) 请求参数错误
gethostname() returned: fly007_db
host fly007_db: fly007_db at 192.168.20.71
aliases:     fly007_db     192.168.20.71
getfqdn: 成功
[root@FLY007-DB]# /usr/openv/netbackup/bin/bpclntcmd -pn
expecting response from server nbumaster
fly007_db fly007_db 192.168.20.71 2393
5、另外,在nbu图形界面,选择Host Properties->Clients->选择对应的主机fly007_db->单机两下->在status字段显示Connected,通过该方式也可以看到nbuclient安装的客户端版本,以下方式也可以看到客户端软件的版本
[root@FLY007-DB]# cat /usr/openv/netbackup/bin/version
NetBackup-RedHat2.6.18 7.5.0
6、检查防火墙,selinux,防火墙没有策略,selinux是Permissive状态,确认不是防火墙和selinux导致的
[root@FLY007-DB bin]# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@FLY007-DB bin]# getenforce
Permissive
7、查看client端/usr/openv/netbackup/logs/dbclient目录下日志
[root@FLY007-DB]#cat /usr/openv/netbackup/logs/dbclient/log.121013
16:29:06.879 [65130] <8> xbsa_GetEnv: WRN - NBBSA_SCHEDULE not found in environment block
16:29:06.880 [65130] <2> int_LogSystemInfo: INF -
Client Host:    fly007_db
16:29:06.880 [65130] <2> int_GetMMInfo: INF - Initialized Signal
16:29:06.880 [65130] <2> int_GetMMInfo: INF - support for Proxy Copy enabled
16:29:07.559 [65130] <8> file_to_cache_item: [vnet_addrinfo.c:6574] fopen() failed ERRNO=13 FILE=/usr/openv/var/host_cache/16d/88e2036d+0,1,402,2,1,0+rman_db1.txt
16:29:07.559 [65130] <8> file_to_cache_item: [vnet_addrinfo.c:6574] fopen() failed ERRNO=13 FILE=/usr/openv/var/host_cache/013/676ac613+bprd,1,20,2,1,0+nbumaster.txt
16:29:07.561 [65130] <2> vnet_pbxConnect: pbxConnectEx Succeeded
16:29:07.561 [65130] <2> logconnections: BPRD CONNECT FROM 192.168.20.71.52298 TO 192.168.20.134.1556 fd = 23
16:29:07.567 [65130] <2> xbsa_ProgressLogSetup: INF - No progress log: Job will proceed without progress logging
16:29:07.567 [65130] <16> openProgressFile: ERR - failed to open comm file:<13>:</usr/openv/netbackup/logs/user_ops/dbext/logs/65130.0.1386664147>
16:29:07.567 [65130] <16> CreateNewImage: ERR - openProgressFile() failed
16:29:07.567 [65130] <16> VxBSACreateObject: ERR - Could not create new image with file /1mor64mj_1_1.
16:29:07.568 [65130] <16> xbsa_CreateObject: ERR - VxBSACreateObject: Failed with error:
Server Status:  Communication with the server has not been initiated or the server status has not been retrieved from the serve
16:29:08.588 [65130] <4> sbtend: INF - --- END of SESSION ---
16:29:08.588 [65130] <8> close_image: Session being terminated abnormally, cleaning up
16:29:08.588 [65130] <4> close_image: INF - backup FAILED
16:29:08.588 [65130] <4> close_image: INF ---- end of Backup ---
16:29:08.588 [65130] <16> VxBSAEndTxn: ERR - Transaction ended with active Backup/Restore.
16:29:08.588 [65130] <16> xbsa_EndTransaction: ERR - VxBSAEndTxn: Failed with error:
The transaction was aborted.
8、从上面的信息,看到/usr/openv/netbackup/logs/user_ops/dbext/logs/目录下的日志,因为之前user_ops目录权限被更改过,但nbu工程师说,该目录的权限是不能更改的,建议重装nbu客户端,并且升级nbu客户端到7.5.0.6,虽然不确定什么因素导致该问题,但有时候补丁包肯定是修复了一些问题,重装就重装吧,和服务端相同版本的客户端,毕竟可以排除掉客户端版本较低的问题,redhat 6.1也确实是比较新的操作系统,闲话不多说了
9、以下为安装nbu客户端软件7.5.0
9.1.停止nbu客户端服务
[root@FLY007-DB]# /usr/openv/netbackup/bin/bpps -x
NB Processes
------------
root     12415     1  0 Dec10 ?        00:00:01 /usr/openv/netbackup/bin/vnetd -standalone
root     12420     1  0 Dec10 ?        00:00:01 /usr/openv/netbackup/bin/bpcd -standalone
Shared Symantec Processes
-------------------------
root     10846     1  0 Dec10 ?        00:00:00 /opt/VRTSpbx/bin/pbx_exchange
[root@FLY007-DB]# /usr/openv/netbackup/bin/goodies/bp.kill_all
Looking for NetBackup processes that need to be terminated.
Looking for more NetBackup processes that need to be terminated.
Stopping bpcd...
Stopping vnetd...
[root@FLY007-DB]# /opt/VRTSpbx/bin/pbx_exchange stop
[root@FLY007-DB]# /usr/openv/netbackup/bin/bpps -x
9.2.删除/usr/openv/目录,卸载之前安装的nbu客户端软件
[root@FLY007-DB]# cd /usr/
[root@FLY007-DB usr]# hostname
FLY007-DB
[root@FLY007-DB usr]# rm -rf openv/
9.3.先安装7.5.0的nbu客户端软件,然后再升级到7.5.0.6,解压7.5.0的nbu客户端软件tar包
[root@FLY007-DB nbu_soft]# ls
NB_CLT_7.5.0.6.tar  NetBackup_7.5_CLIENTS.tar.gz
[root@FLY007-DB nbu_soft]# tar -zxvpf NetBackup_7.5_CLIENTS.tar.gz
NetBackup_7.5_CLIENTS/
NetBackup_7.5_CLIENTS/NBClients/
NetBackup_7.5_CLIENTS/NBClients/catalog/
..........
......
9.4.安装nbu 7.5客户端软件
[root@FLY007-DB nbu_soft]# ls
NB_CLT_7.5.0.6.tar  NetBackup_7.5_CLIENTS  NetBackup_7.5_CLIENTS.tar.gz
[root@FLY007-DB nbu_soft]# cd NetBackup_7.5_CLIENTS
[root@FLY007-DB NetBackup_7.5_CLIENTS]# ls
Doc  install  LICENSE  NBClients  VSM_README
[root@FLY007-DB NetBackup_7.5_CLIENTS]# ./install
Symantec Installation Script
Copyright 1993 - 2012 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client Software
Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding.  The agreement includes
details on the NetBackup Product Improvement Program.
For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup. 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 Linux/RedHat2.6.18 client.
This package will install NetBackup client 7.5.
Enter the name of the NetBackup server : nbumaster
Would you like to use "FLY007-DB" as the configured
name of the NetBackup client? [y,n] (y) y
Client binaries are located in /oradata5/nbu_soft/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18.
NetBackup Deduplication software is incorrectly installed.
/etc/pdregistry.cfg was unexpectedly found.
Moving to /etc/pdregistry.cfg.2013-12-10_16:55 in order to continue.
Saving client binaries for Linux/RedHat2.6.18.
Installing PBX...
A more up-to-date version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-7516-121013165547.log
Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Removing 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.7293 on FLY007-DB.
Terminating NetBackup and/or Media Manager processes.
Installing NB-Java.
Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Removing 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.8285 on FLY007-DB.
Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Removing 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.8285 on FLY007-DB.
+ /bin/cp ./nbj.conf /usr/openv/java
Directory /usr/openv/logs does not exist.
No log files to migrate.
Checking network connections.
bp.conf: IP_ADDRESS_FAMILY = AF_INET: default value, no update needed
No [x]inetd process found.
No previous install detected.  Performing a fresh install.
+ Extracting PDDE agent package (/oradata5/nbu_soft/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/pddeagent.tar.gz)...
Using /tmp/pdde_pkg to store temporary package data.
Unpacking SYMCpddea package.
Checking for pre-existing SYMCpddea package.
Removing pre-existing SYMCpddea package.
Installing SYMCpddea package.
Creating /etc/pdregistry.cfg.
Saving a copy of the uninstall script to /opt/pdde/pddeuninstall.sh
Checking to see if the PDDE configuration needs upgrading
Agent config file path found: {/etc/puredisk/Agent.cfg}
Making changes to /usr/openv/lib/ost-plugins/pd.conf
RESTORE_DECRYPT_LOCAL already in pd.conf
PREFETCH_SIZE already in pd.conf
META_SEGKSIZE already in pd.conf
Making changes to /usr/openv/lib/ost-plugins/pd.conf
FIBRECHANNEL already in pd.conf
PDDE install finished successfully.
Version now installed:
7.0000.0012.0118
Full PDDE installation log saved to: /var/log/puredisk/2013-12-10_16:56-pdde-install.log
Copying /etc/rc.d/init.d/netbackup to
/usr/openv/netbackup/bin/goodies/netbackup.12-10-13.16:55:23
for future reference.  Any local modifications to
/etc/rc.d/init.d/netbackup should be re-evaluated.
The following automatic startup and shutdown scripts (respectively)
have been installed.  They will cause the NetBackup daemons to be
automatically shut down and restarted each time the system boots.
/etc/rc.d/rc2.d/S77netbackup
/etc/rc.d/rc3.d/S77netbackup
/etc/rc.d/rc5.d/S77netbackup
/etc/rc.d/rc0.d/K01netbackup
/etc/rc.d/rc1.d/K01netbackup
/etc/rc.d/rc6.d/K01netbackup
Successfully updated the session cache parameters.
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting bmrbd...
Installation of Java LiveUpdate agent succeeded.  Refer to file
/tmp/JLU-Log/JavaLiveUpdate-Install.log on FLY007-DB
for installation details.
Checking LiveUpdate registration for the following products: CLT
This may take a few minutes.
Product CLT is installed and will be registered.
Updating LiveUpdate registration now...this may take some time.
File /usr/openv/tmp/install_trace.7115 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
9.5.解压升级包NB_CLT_7.5.0.6.tar
[root@FLY007-DB nbu_soft]# tar -xvpf NB_CLT_7.5.0.6.tar
NB_update.install
VrtsNB_CLT_7.5.0.6.README
VrtsNB_CLT_7.5.0.6.postinstall
VrtsNB_CLT_7.5.0.6.postuninstall
VrtsNB_CLT_7.5.0.6.preinstall
VrtsNB_CLT_7.5.0.6.HP-UX-IA64.tar.gz
VrtsNB_CLT_7.5.0.6.HP9000-800.tar.gz
VrtsNB_CLT_7.5.0.6.INTEL.tar.gz
VrtsNB_CLT_7.5.0.6.Linux-IA64.tar.gz
VrtsNB_CLT_7.5.0.6.Linux.tar.gz
VrtsNB_CLT_7.5.0.6.MACINTOSH.tar.gz
VrtsNB_CLT_7.5.0.6.RS6000.tar.gz
VrtsNB_CLT_7.5.0.6.Solaris.tar.gz
9.6.升级nbu客户端软件从7.5到7.5.0.6
[root@FLY007-DB nbu_soft]# ls
NB_CLT_7.5.0.6.tar            VrtsNB_CLT_7.5.0.6.HP9000-800.tar.gz  VrtsNB_CLT_7.5.0.6.Linux.tar.gz      VrtsNB_CLT_7.5.0.6.preinstall
NB_update.install             VrtsNB_CLT_7.5.0.6.HP-UX-IA64.tar.gz  VrtsNB_CLT_7.5.0.6.MACINTOSH.tar.gz  VrtsNB_CLT_7.5.0.6.README
NetBackup_7.5_CLIENTS         VrtsNB_CLT_7.5.0.6.INTEL.tar.gz       VrtsNB_CLT_7.5.0.6.postinstall       VrtsNB_CLT_7.5.0.6.RS6000.tar.gz
NetBackup_7.5_CLIENTS.tar.gz  VrtsNB_CLT_7.5.0.6.Linux-IA64.tar.gz  VrtsNB_CLT_7.5.0.6.postuninstall     VrtsNB_CLT_7.5.0.6.Solaris.tar.gz
[root@FLY007-DB nbu_soft]# ./NB_update.install
There is 1 pack available in /oradata5/nbu_soft:
(* denotes installed pack)
NB_CLT_7.5.0.6
Enter pack name (or q) [q]: NB_CLT_7.5.0.6
Install pack NB_CLT_7.5.0.6 Tue Dec 10 16:57:44 CST 2013 Rev. 1.46.8.14
Can not install pack when NetBackup daemons are running.
Do you want to kill all NetBackup daemons? [y,n] (y) y
Looking for NetBackup processes that need to be terminated.
Looking for more NetBackup processes that need to be terminated.
Stopping bpcd...
Stopping vnetd...
Pack install will continue.
Creating /usr/openv/netbackup/client/Linux/RedHat2.6.18
Performing install of Linux/RedHat2.6.18 client binaries locally.
Running preinstall script.
See /usr/openv/pack/pack.history for more details.
/oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.preinstall: Running. Hardware/OS Type=Linux/RedHat2.6.18
+ /bin/cp /usr/openv/netbackup/bin/tar /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar
+ /bin/cp /usr/openv/netbackup/bin/version /usr/openv/netbackup/client/Linux/RedHat2.6.18/version
+ /bin/cp /usr/openv/java/nbj.conf /usr/openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf
Saving files for rollback.
Extracting files out of /oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.Linux.tar.gz.
Extract /oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.Linux.tar.gz usr/openv/netbackup/client/Linux/RedHat2.6.18
Extract /oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.Linux.tar.gz  usr/openv/netbackup/client/Linux/Debian2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/JRE.tar.gz
usr/openv/netbackup/client/Linux/RedHat2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/SuSE2.6.16/JRE.tar.gz usr/openv/netbackup/client/Linux/Debian2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/RedHat2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/SuSE2.6.16/NB-Java.tar.gz usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/.sizes_JRE
usr/openv/netbackup/client/Linux/RedHat2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/SuSE2.6.16/.sizes_JRE usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/.sizes_NB-Java
usr/openv/netbackup/client/Linux/RedHat2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/SuSE2.6.16/.sizes_NB-Java
#
Running PBX upgrade script.
Same version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-10790-121013165901.log
PBX was upgraded successfully.
Running postinstall script.
See /usr/openv/pack/pack.history for more details.
/oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.postinstall: Running. Hardware/OS Type=Linux/RedHat2.6.18
/oradata5/nbu_soft/VrtsNB_CLT_7.5.0.6.postinstall: Installing Linux/RedHat2.6.18 client binaries locally.
Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Removing pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar /usr/openv/netbackup/bin/tar
Installing new Java GUI on FLY007-DB.
Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Removing pre-existing SYMCnbjava package.
Installing SYMCnbjava package.
Installing new JRE on FLY007-DB.
Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Removing pre-existing SYMCnbjre package.
Installing SYMCnbjre package.
Running /usr/openv/netbackup/client/Linux/RedHat2.6.18/pdinstall to update PDDE.
Checking for SYMCpddea package.
SYMCpddea package is installed.
NetBackup Deduplication software is installed, overwriting binaries.
Existing version:
7.0000.0012.0118
+ Extracting PDDE agent package (/usr/openv/netbackup/client/Linux/RedHat2.6.18/pddeagent.tar.gz)...
Using /tmp/pdde_pkg to store temporary package data.
Unpacking SYMCpddea package.
Checking for pre-existing SYMCpddea package.
Removing pre-existing SYMCpddea package.
Installing SYMCpddea package.
Keeping existing /usr/openv/lib/ost-plugins/pd.conf
Saving a copy of the uninstall script to /opt/pdde/pddeuninstall.sh
Checking to see if the PDDE configuration needs upgrading
Agent config file path found: {/etc/puredisk/Agent.cfg}
Making changes to /usr/openv/lib/ost-plugins/pd.conf
RESTORE_DECRYPT_LOCAL already in pd.conf
PREFETCH_SIZE already in pd.conf
META_SEGKSIZE already in pd.conf
CLIENT_POLICY_DATE already in pd.conf
Making changes to /usr/openv/lib/ost-plugins/pd.conf
FIBRECHANNEL already in pd.conf
PDDE install finished successfully.
Version now installed:
7.0005.0013.0531
Full PDDE installation log saved to: /var/log/puredisk/2013-12-10_16:59-pdde-install.log
Copying /etc/rc.d/init.d/netbackup to /etc/rc.d/init.d/netbackup.12-10-13.16:59:26
for future reference.  Any local modifications to
/etc/rc.d/init.d/netbackup should be re-evaluated.
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar /usr/openv/netbackup/bin/tar
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/version /usr/openv/netbackup/bin/version
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf /usr/openv/java/nbj.conf
------------------------------------------------
Installation of pack NB_CLT_7.5.0.6 completed Tue Dec 10 16:57:44 CST 2013 Rev. 1.46.8.14.
------------------------------------------------
Checking LiveUpdate registration for the following products: CLT
This may take a few minutes.
Product CLT is installed and will be registered.
Updating LiveUpdate registration now...this may take some time.
There is 1 pack available in /oradata5/nbu_soft:
(* denotes installed pack)
NB_CLT_7.5.0.6 *
Enter pack name (or q) [q]: q
There are stopped daemons.
Do you want to restart all NetBackup daemons? [y,n] (y) y
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting bmrbd...
Exiting NB_update.install
9.7.备份oracle数据库,需要对oracle数据库做动态链接,以oracle用户执行以下操作,提示需要关闭数据库,但是实际是不需要的
[root@FLY007-DB bin]# su - oracle
-bash-4.1$ export ORACLE_SID=fly
-bash-4.1$ cd /usr/openv/netbackup/bin
-bash-4.1$ ./oracle_link
2013年 12月 10日 星期二 17:03:22 CST
All Oracle instances should be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (y/n)
y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /oracle/product/10.2.0/db_1
Oracle version: 10.2.0.5.0
Platform type: x86_64
Linking LIBOBK:
Moving 64-bit libobk.so to libobk.so.back
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/product/10.2.0/db_1/lib/libobk.so
Done
Please check the trace file located in /tmp/make_trace.13544
to make sure the linking process was successful.
9.8. 因该主机在nbu侧只对应一个策略,手动发起备份测试时,不需要指定备份策略名称,nbuserver主机名称,nbu客户端主机名称等
-bash-4.1$ rman target backup_rman/backup_rman
Recovery Manager: Release 10.2.0.5.0 - Production on 星期二 12月 10 17:05:20 2013
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
connected to target database: fly (DBID=2141445974)
RMAN> run {
2> allocate channel ch00 type 'SBT_TAPE';
3> backup current controlfile;
4> release channel ch00;
5> }
allocated channel: ch00
channel ch00: sid=2168 devtype=SBT_TAPE
channel ch00: Veritas NetBackup for Oracle - Release 7.5 (2013061020)
Starting backup at 10-12月-13
channel ch00: starting full datafile backupset
channel ch00: specifying datafile(s) in backupset
including current control file in backupset
channel ch00: starting piece 1 at 10-12月-13
###channel ch00: finished piece 1 at 10-12月-13
piece handle=1por673r_1_1 tag=TAG20131210T171019 comment=API Version 2.0,MMS Version 5.0.0.0
channel ch00: backup set complete, elapsed time: 00:03:25
Finished backup at 10-12月-13
released channel: ch00
备份成功,则可能的原因就是没有升级到7.5.0.6导致nbuclient和nbumaster的版本保持一致比较好,另外,手动配置/etc/hosts后,请记得在nbu侧清理缓存,执行如下命令
/usr/openv/netbackup/bin/bpclntcmd -clear_host_cache
本文出自 “斜阳悠悠寸草心” 博客,请务必保留此出处http://fly007.blog.51cto.com/8301004/1340870
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: