温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

NBU 8.0客户端安装和备份配置

发布时间:2020-08-11 17:11:03 来源:ITPUB博客 阅读:195 作者:gycixput 栏目:关系型数据库
suse 11sp4
nbu client 8.0


首先将客户端地址和服务端地址添加到相互hosts文件中。

nbu 8.0支持Oracle 12c备份,备份脚本包括各种模板
FA1XXXXXXS00P:/tmp # tar -xvf NetBackup_8.0_CLIENTS_linux.tar 
FA1XXXXXXS00P:/faXXXX/backup/NetBackup_8.0_CLIENTS2 # ./install 


Veritas Installation Script
Copyright (c) 2016 Veritas Technologies LLC. All rights reserved.
        Installing NetBackup Client Software




Please review the VERITAS 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 Veritas Services and Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.veritas.com/netbackup.


Do you wish to continue? [y,n] (y) y




Checking for required system conditions...


ok be_nb_same_host: inapplicable on linux: skipping
ok unsupported_platform: Passed checks for unsupported platforms.


Checking for recommended system conditions...


ok hotfix_auditor: NetBackup is not installed or there is no hotfix or EEB data present. Skipping HF/EEB Auditor check.


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


This package will install Linux/SuSE3.0.76 client.


This package will install NetBackup client 8.0.


Enter the name of the NetBackup master server : jdnbuserver


Would you like to use "FA1XXXXXXS00P" as the configured
name of the NetBackup client? [y,n] (y) 


Client binaries are located in /faXXXX/backup/NetBackup_8.0_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76.


Starting NetBackup Deduplication installer
testing: /tmp/pdde_pkg_dir_30081
NetBackup Deduplication preinstall check passed
Installing VRTSnbpck ...
Installation of VRTSnbpck was successful. Check /tmp/install_VRTSnbpck.rpm_trace.30047 for details.
Installing VRTSpbx ...
Installation of VRTSpbx was successful. Check /tmp/install_VRTSpbx.rpm_trace.30047 for details.
Installing VRTSnbclt ...
Installation of VRTSnbclt was successful. Check /tmp/install_VRTSnbclt.rpm_trace.30047 for details.


Terminating NetBackup and/or Media Manager processes.


Installing NB-Java.
Installing VRTSnbjre ...


Installation of VRTSnbjre was successful.
More details regarding VRTSnbjre can be found in file
/tmp/install_VRTSnbjre.rpm_trace.30483 on FA1XXXXXXS00P.
Installing VRTSnbjava ...


Installation of VRTSnbjava was successful.
More details regarding VRTSnbjava can be found in file
/tmp/install_VRTSnbjava.rpm_trace.30483 on FA1XXXXXXS00P.
+ /bin/cp ./nbj.conf /usr/openv/java


Migrating log files in /usr/openv/logs
Migration of log files complete.


Send a SIGHUP to (x)inetd so the (x)inetd.conf file will be reread.
Reload INET services (xinetd)...done
Installing VRTSpddea.rpm ...
Installation of VRTSpddea.rpm was successful. Check /tmp/install_VRTSpddea.rpm_trace.30047 for details.
Installing VRTSnbcfg.rpm ...
Installation of VRTSnbcfg.rpm was successful. Check /tmp/install_VRTSnbcfg.rpm_trace.30047 for details.




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


##手动配置链接,或者执行脚本
oracle@FA1XXXXXXS00P:~> ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/app/oracle/product/11.2.0/lib/libobk.so
oracle@FA1XXXXXXS00P:~> /usr/openv/netbackup/bin/oracle_link 
Tue Mar 13 09:54:51 CST 2018
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) [n] y




LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /oracle/app/oracle/product/11.2.0/db_1
Oracle version: 11.2.0.4.0
Platform type: x86_64
Linking LIBOBK:
Moving libobk.so to libobk.so.back
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/XXXXXXX/lib/libobk.so
Done


Please check the trace file located in /tmp/make_trace.11011 
to make sure the linking process was successful.

##测试
jdXXX2:~ # su - oracle
oracle@jdXXX2:~> sbttest /etc/hosts
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle - Release 8.0 (2016110921)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
MMAPI error from sbtbackup: 7501, VxBSACreateObject: Failed with error:
   Server Status:  the specified policy does not exist in the configuration database
-- sbtbackup failed


/usr/openv/netbackup/ext/db_ext该目录下有支持各种数据库的备份模板


在/usr/openv/netbackup/目录下创建scripts目录,
拷贝模板下的脚本到该目录下
修改该脚本中涉及到Oracle环境变量,ORACLE_HOME、ORACLE_SID
备份方式也可以根据本单元备份要求进行调整。

拷贝完成后,需要在nbu server端配置备份测试和备份池

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI