溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

NBU 8.0客戶端安裝和備份配置

發(fā)布時間:2020-08-11 17:11:03 來源:ITPUB博客 閱讀:219 作者:gycixput 欄目:關(guān)系型數(shù)據(jù)庫
suse 11sp4
nbu client 8.0


首先將客戶端地址和服務(wù)端地址添加到相互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.


##手動配置鏈接,或者執(zhí)行腳本
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該目錄下有支持各種數(shù)據(jù)庫的備份模板


在/usr/openv/netbackup/目錄下創(chuàng)建scripts目錄,
拷貝模板下的腳本到該目錄下
修改該腳本中涉及到Oracle環(huán)境變量,ORACLE_HOME、ORACLE_SID
備份方式也可以根據(jù)本單元備份要求進(jìn)行調(diào)整。

拷貝完成后,需要在nbu server端配置備份測試和備份池

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI