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

gycixput發表於2018-03-13
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


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端配置備份測試和備份池

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24585765/viewspace-2151774/,如需轉載,請註明出處,否則將追究法律責任。

相關文章