您的当前位置:首页正文

NBU安装调试v2byOldunix

2023-09-17 来源:伴沃教育
Oldunix制作

NBU安装配置

1、 在备份服务器上安装windows2003平台的oracle数据库,作为catalog服务器,并升级

到10.2.0.2

2、 安装磁带机(库)驱动,HBA卡(连接备份服务器和磁带机(库))驱动;

3、 安装NBU 6.5服务器(windows平台),添加NBU License; (第1张盘)

输入License

4、 安装NBU 6.5客户端(Solaris平台) (第1张盘)

挂接iso文件

lofiadm -a /opt/zqf/NBU65DVD1.iso /dev/lofi/1 mount -F hsfs -o ro /dev/lofi/1 /zqf

root@rac1 # ls -l total 70

drwxr-xr-x 6 root bin 2048 Jul 24 2007 IA64 -rwxr-xr-x 1 root bin 736 Jul 26 2007 Launch.bat drwxr-xr-x 4 root bin 2048 Jul 24 2007 NBClients drwxr-xr-x 6 root bin 2048 Jul 17 2007 NB_65_ICS_1.4.37.3_WIN32 drwxr-xr-x 6 root bin 2048 Jul 17 2007 NB_65_ICS_1.4.37.3_WINIA64 drwxr-xr-x 6 root bin 2048 Jul 17 2007 NB_65_ICS_1.4.37.3_WINX64 drwxr-xr-x 6 root bin 2048 Jul 24 2007 X86 -rwxr-xr-x 1 root bin 43 Jul 26 2007 autorun.inf -r-xr-xr-x 1 root bin 19692 Jul 24 2007 install drwxr-xr-x 6 root bin 2048 Jul 24 2007 x64 root@rac1 # ./install

Symantec Installation Script

Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.

Oldunix制作

Installing NetBackup Client Software

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

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

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

This package will install Solaris/Solaris9 client.

This package will install NetBackup client 6.5.

Enter the name of the NetBackup server : backup

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

x openv, 0 bytes, 0 tape blocks x openv/lib, 0 bytes, 0 tape blocks

x openv/lib/libvxSigScheduleJNI2.so, 1694784 bytes, 3311 tape blocks x openv/lib/libVmangle.so, 20372 bytes, 40 tape blocks

x openv/lib/libVnbatST.so_new, 254608 bytes, 498 tape blocks x openv/lib/libVnbat.so, 719784 bytes, 1406 tape blocks

x openv/lib/libVnbatST64.so_new, 17712 bytes, 35 tape blocks x openv/lib/libVnbat64.so, 17720 bytes, 35 tape blocks

x openv/lib/libnbmangleMT.so, 1615292 bytes, 3155 tape blocks x openv/lib/libVcvcomb.so, 747712 bytes, 1461 tape blocks x openv/lib/libVcvcombMT.so, 767116 bytes, 1499 tape blocks

x openv/lib/libVxSS_helper.so_new, 816040 bytes, 1594 tape blocks x openv/lib/libVxSS_helperMT.so, 1266172 bytes, 2473 tape blocks x openv/lib/libVcvcomb_noul.so, 706760 bytes, 1381 tape blocks x openv/lib/libVcvcomb64.so, 854552 bytes, 1670 tape blocks x openv/lib/libVcvcombMT64.so, 860800 bytes, 1682 tape blocks

x openv/lib/libVxSS_helper64.so_new, 640136 bytes, 1251 tape blocks x openv/lib/libVxSS_helperMT64.so, 644840 bytes, 1260 tape blocks x openv/lib/libVcvcomb64_noul.so, 853280 bytes, 1667 tape blocks x openv/lib/libvnoauth.so_new, 123668 bytes, 242 tape blocks x openv/lib/libvnoauth64.so_new, 143664 bytes, 281 tape blocks x openv/lib/libvopie.so_new, 472120 bytes, 923 tape blocks x openv/lib/libvopie64.so_new, 561936 bytes, 1098 tape blocks x openv/lib/libcatbackup.so, 121012 bytes, 237 tape blocks x openv/lib/libcatbackupMT.so, 126296 bytes, 247 tape blocks

Oldunix制作

x openv/lib/libxm.so, 64332 bytes, 126 tape blocks

x openv/lib/libnborb.so, 1872648 bytes, 3658 tape blocks x openv/lib/libnborbST.so, 1468556 bytes, 2869 tape blocks x openv/lib/libnbservice.so, 467796 bytes, 914 tape blocks x openv/lib/libubs.so, 214028 bytes, 419 tape blocks x openv/lib/libdbsb.so, 119624 bytes, 234 tape blocks

x openv/lib/libvxACE.so.3, 4346440 bytes, 8490 tape blocks x openv/lib/libvxxml4c.so, 6559764 bytes, 12813 tape blocks x openv/lib/libvxxml4cST.so, 6578664 bytes, 12849 tape blocks x openv/lib/libvxicui18n.so, 1107820 bytes, 2164 tape blocks x openv/lib/libvxicuuc.so, 944036 bytes, 1844 tape blocks x openv/lib/libvxustdio.so, 95240 bytes, 187 tape blocks

x openv/lib/libvxicudata.so, 8832280 bytes, 17251 tape blocks

x openv/lib/libvxACEST.so.3_new, 3941920 bytes, 7700 tape blocks x openv/lib/libvxicui18nST.so_new, 1107252 bytes, 2163 tape blocks x openv/lib/libvxicudataST.so_new, 8830436 bytes, 17247 tape blocks x openv/lib/libvxicuucST.so_new, 941320 bytes, 1839 tape blocks x openv/lib/libvxustdioST.so_new, 93884 bytes, 184 tape blocks x openv/lib/libvxexticu.so.1, 225032 bytes, 440 tape blocks x openv/lib/libvxlis.so.1, 34812 bytes, 68 tape blocks x openv/lib/libvxul.so.1, 429776 bytes, 840 tape blocks

x openv/lib/libvxextjava.so.1, 218800 bytes, 428 tape blocks

x openv/lib/libvxexticuST.so.1_new, 224976 bytes, 440 tape blocks x openv/lib/libvxlisST.so.1_new, 34796 bytes, 68 tape blocks x openv/lib/libvxulST.so.1_new, 426556 bytes, 834 tape blocks x openv/lib/libmap.so, 84072 bytes, 165 tape blocks x openv/lib/libvfutil.so, 246284 bytes, 482 tape blocks x openv/lib/libvxsslST.so, 309284 bytes, 605 tape blocks x openv/lib/map, 0 bytes, 0 tape blocks

x openv/lib/map/libdisk.so, 104680 bytes, 205 tape blocks

x openv/lib/map/libemcpower.so, 118248 bytes, 231 tape blocks x openv/lib/map/libnbu_snap.so, 73756 bytes, 145 tape blocks x openv/lib/map/librawp.so, 104680 bytes, 205 tape blocks x openv/lib/map/libufs.so, 162248 bytes, 317 tape blocks x openv/lib/map/libgfsp.so, 121212 bytes, 237 tape blocks x openv/lib/libvxcryptoST.so, 2092544 bytes, 4087 tape blocks x openv/lib/libvxcrypto.so, 2106088 bytes, 4114 tape blocks x openv/lib/libvxssl.so, 310284 bytes, 607 tape blocks x openv/lib/libvxPBX.so, 61152 bytes, 120 tape blocks

x openv/lib/libvxPBXCommon.so, 55284 bytes, 108 tape blocks x openv/lib/libvxPBXIOP.so, 1224580 bytes, 2392 tape blocks x openv/lib/libvxPBXVxSS.so, 1022212 bytes, 1997 tape blocks x openv/lib/libvxVxSSIOP.so, 1956040 bytes, 3821 tape blocks x openv/lib/libvxACEXML.so.3, 450880 bytes, 881 tape blocks

Oldunix制作

x openv/lib/libvxACEXML_Parser.so.3, 103044 bytes, 202 tape blocks x openv/lib/libvxTAO.so.3, 5061480 bytes, 9886 tape blocks

x openv/lib/libvxTAO_BiDirGIOP.so.3, 114972 bytes, 225 tape blocks x openv/lib/libvxTAO_CosNaming.so.3, 1358772 bytes, 2654 tape blocks

x openv/lib/libvxTAO_CosNotification.so.3, 12470688 bytes, 24357 tape blocks x openv/lib/libvxTAO_DynamicAny.so.3, 624576 bytes, 1220 tape blocks x openv/lib/libxbsa.so, 991080 bytes, 1936 tape blocks x openv/lib/libxbsaMT.so, 995440 bytes, 1945 tape blocks

x openv/lib/libvxTAO_ETCL.so.3, 127212 bytes, 249 tape blocks x openv/lib/libvxTAO_IORTable.so.3, 125324 bytes, 245 tape blocks x openv/lib/libvxTAO_Messaging.so.3, 559184 bytes, 1093 tape blocks

x openv/lib/libvxTAO_PortableServer.so.3, 2538472 bytes, 4958 tape blocks x openv/lib/libvxTAO_Security.so.3, 1244108 bytes, 2430 tape blocks x openv/lib/libvxTAO_Svc_Utils.so.3, 87936 bytes, 172 tape blocks x openv/lib/libxbsa64.so, 1176248 bytes, 2298 tape blocks x openv/lib/libxbsaMT64.so, 1180664 bytes, 2306 tape blocks x openv/lib/libnbbeclass.so, 778260 bytes, 1521 tape blocks x openv/lib/libnbbe_util.so, 396632 bytes, 775 tape blocks x openv/lib/libnbbestdutl.so, 36960 bytes, 73 tape blocks x openv/lib/libnbbedscomn.so, 243252 bytes, 476 tape blocks x openv/lib/libdmpclaim.so, 298960 bytes, 584 tape blocks x openv/lib/vxfi, 0 bytes, 0 tape blocks x openv/lib/vxfi/data, 0 bytes, 0 tape blocks

x openv/lib/vxfi/data/vfiid_schema.xsd, 5495 bytes, 11 tape blocks x openv/lib/vxfi/providers, 0 bytes, 0 tape blocks

x openv/lib/vxfi/providers/libdevicefi.so, 860164 bytes, 1681 tape blocks

x openv/lib/vxfi/providers/libemcclariionfi.so, 2211332 bytes, 4320 tape blocks x openv/lib/vxfi/providers/libemcsymfi.so, 2426556 bytes, 4740 tape blocks x openv/lib/vxfi/providers/libhpevafi.so, 1798572 bytes, 3513 tape blocks x openv/lib/vxfi/providers/libibmtsfi.so, 1828672 bytes, 3572 tape blocks x openv/lib/vxfi/providers/libvxfsfi.so, 1146312 bytes, 2239 tape blocks x openv/lib/vxfi/providers/libvxvmfi.so, 1970712 bytes, 3850 tape blocks x openv/lib/vxfi/providers/libgfspfi.so, 1054768 bytes, 2061 tape blocks x openv/lib/vxfi/providers/libnetappfi.so, 5958480 bytes, 11638 tape blocks x openv/lib/vxfi/providers/librawprtfi.so, 1009884 bytes, 1973 tape blocks x openv/lib/vxfi/providers/libdevicefiST.so, 823328 bytes, 1609 tape blocks

x openv/lib/vxfi/providers/libemcclariionfiST.so, 2161456 bytes, 4222 tape block s

x openv/lib/vxfi/providers/libemcsymfiST.so, 2372568 bytes, 4634 tape blocks x openv/lib/vxfi/providers/libhpevafiST.so, 1744528 bytes, 3408 tape blocks x openv/lib/vxfi/providers/libibmtsfiST.so, 1771088 bytes, 3460 tape blocks x openv/lib/vxfi/providers/libvxfsfiST.so, 1116276 bytes, 2181 tape blocks x openv/lib/vxfi/providers/libvxvmfiST.so, 1892240 bytes, 3696 tape blocks x openv/lib/vxfi/providers/libgfspfiST.so, 1024868 bytes, 2002 tape blocks

Oldunix制作

x openv/lib/vxfi/providers/libnetappfiST.so, 5879496 bytes, 11484 tape blocks x openv/lib/vxfi/providers/librawprtfiST.so, 954596 bytes, 1865 tape blocks x openv/lib/libfi.so, 1024040 bytes, 2001 tape blocks

x openv/lib/libficmn_4_4.so, 952784 bytes, 1861 tape blocks x openv/lib/libfipdk_4_4.so, 2053388 bytes, 4011 tape blocks x openv/lib/libfiprocessbackups.so, 362068 bytes, 708 tape blocks x openv/lib/libfiutil.so, 576668 bytes, 1127 tape blocks x openv/lib/libscsitool.so, 789820 bytes, 1543 tape blocks x openv/lib/libdmpclaimST.so, 281388 bytes, 550 tape blocks x openv/lib/libfiST.so, 1009848 bytes, 1973 tape blocks

x openv/lib/libficmn_4_4ST.so, 951612 bytes, 1859 tape blocks x openv/lib/libfipdk_4_4ST.so, 1982536 bytes, 3873 tape blocks x openv/lib/libfiprocessbackupsST.so, 361292 bytes, 706 tape blocks x openv/lib/libfiutilST.so, 564044 bytes, 1102 tape blocks x openv/lib/libscsitoolST.so, 756384 bytes, 1478 tape blocks

x openv/lib/libnbmangle.so_new, 1601596 bytes, 3129 tape blocks x openv/netbackup, 0 bytes, 0 tape blocks x openv/netbackup/bin, 0 bytes, 0 tape blocks

x openv/netbackup/bin/bpdynamicclient, 778096 bytes, 1520 tape blocks x openv/netbackup/bin/bpfilter, 1339368 bytes, 2616 tape blocks x openv/netbackup/bin/bpbackup, 863620 bytes, 1687 tape blocks x openv/netbackup/bin/bprestore, 844832 bytes, 1651 tape blocks x openv/netbackup/bin/bplist, 830988 bytes, 1624 tape blocks

x openv/netbackup/bin/bpclimagelist, 830948 bytes, 1623 tape blocks x openv/netbackup/bin/bpclntcmd, 823200 bytes, 1608 tape blocks x openv/netbackup/bin/bphdb, 427496 bytes, 835 tape blocks x openv/netbackup/bin/bpmount, 374808 bytes, 733 tape blocks x openv/netbackup/bin/bpfis, 712900 bytes, 1393 tape blocks x openv/netbackup/bin/bptpcinfo, 162984 bytes, ‘

319 tape blocks

x openv/netbackup/bin/nbfs, 119208 bytes, 233 tape blocks

x openv/netbackup/bin/SPSRecoveryAsst, 777540 bytes, 1519 tape blocks x openv/netbackup/bin/nblu_registration, 31930 bytes, 63 tape blocks x openv/netbackup/bin/bpbkar, 1346560 bytes, 2630 tape blocks x openv/netbackup/bin/bpcd_new, 1491420 bytes, 2913 tape blocks x openv/netbackup/bin/merge_auth_templates, 1965 bytes, 4 tape blocks x openv/netbackup/bin/bpjava-msvc, 1357108 bytes, 2651 tape blocks x openv/netbackup/bin/bpjava-usvc, 1358572 bytes, 2654 tape blocks x openv/netbackup/bin/bp, 527080 bytes, 1030 tape blocks x openv/netbackup/bin/driver, 0 bytes, 0 tape blocks

x openv/netbackup/bin/driver/snapcachelist, 88908 bytes, 174 tape blocks x openv/netbackup/bin/driver/snaplist, 93352 bytes, 183 tape blocks

Oldunix制作

x openv/netbackup/bin/driver/snapoff, 89652 bytes, 176 tape blocks x openv/netbackup/bin/driver/snapon, 93256 bytes, 183 tape blocks x openv/netbackup/bin/driver/snapstat, 89948 bytes, 176 tape blocks x openv/netbackup/bin/driver/snapctl, 144520 bytes, 283 tape blocks x openv/netbackup/bin/driver/snapctl_x, 260472 bytes, 509 tape blocks x openv/netbackup/bin/driver/snapctl.conf, 80 bytes, 1 tape blocks x openv/netbackup/bin/mtfrd, 421892 bytes, 825 tape blocks x openv/netbackup/bin/bpnbat, 569076 bytes, 1112 tape blocks x openv/netbackup/bin/bmrc, 7155608 bytes, 13976 tape blocks

x openv/netbackup/bin/bmrsavecfg, 9629944 bytes, 18809 tape blocks x openv/netbackup/bin/bmrsetupclient, 1100424 bytes, 2150 tape blocks x openv/netbackup/bin/vxlogcfg, 1008 bytes, 2 tape blocks x openv/netbackup/bin/vxlogmgr, 1003 bytes, 2 tape blocks x openv/netbackup/bin/vxlogview, 1005 bytes, 2 tape blocks

x openv/netbackup/bin/ndmpclient, 1386488 bytes, 2708 tape blocks x openv/netbackup/bin/goodies, 0 bytes, 0 tape blocks

x openv/netbackup/bin/goodies/nbclient, 2989 bytes, 6 tape blocks x openv/netbackup/bin/bpps, 174964 bytes, 342 tape blocks x openv/netbackup/bin/bp.kill_all, 20123 bytes, 40 tape blocks x openv/netbackup/bin/bp.start_all, 4834 bytes, 10 tape blocks x openv/netbackup/bin/nbftclnt, 3530088 bytes, 6895 tape blocks x openv/netbackup/bin/private, 0 bytes, 0 tape blocks

x openv/netbackup/bin/private/nblogcfg, 54044 bytes, 106 tape blocks x openv/netbackup/bin/private/nbloggen, 40020 bytes, 79 tape blocks x openv/netbackup/bin/private/nblogmgr, 36576 bytes, 72 tape blocks x openv/netbackup/bin/private/nblogview, 54888 bytes, 108 tape blocks x openv/netbackup/bin/support, 0 bytes, 0 tape blocks

x openv/netbackup/bin/support/nbsu, 1547777 bytes, 3024 tape blocks x openv/netbackup/bin/nbfirescan, 261476 bytes, 511 tape blocks x openv/netbackup/nblog.conf.template, 3655 bytes, 8 tape blocks x openv/bin, 0 bytes, 0 tape blocks

x openv/bin/vauth_testd, 489152 bytes, 956 tape blocks x openv/bin/vauth_util, 398548 bytes, 779 tape blocks x openv/bin/vauth_test, 486560 bytes, 951 tape blocks x openv/bin/vnetd_new, 535068 bytes, 1046 tape blocks x openv/bin/vopie_util, 475508 bytes, 929 tape blocks x openv/bin/vopied, 480488 bytes, 939 tape blocks x openv/var, 0 bytes, 0 tape blocks

x openv/var/auth, 0 bytes, 0 tape blocks

x openv/var/auth/template.methods.txt, 958 bytes, 2 tape blocks

x openv/var/auth/template.methods_allow.txt, 1379 bytes, 3 tape blocks x openv/var/auth/template.methods_deny.txt, 1599 bytes, 4 tape blocks x openv/var/auth/template.names_allow.txt, 1459 bytes, 3 tape blocks x openv/var/auth/template.names_deny.txt, 1701 bytes, 4 tape blocks

Oldunix制作

x openv/var/vnetd, 0 bytes, 0 tape blocks

x openv/var/vnetd/inetd_bpcd.txt, 47 bytes, 1 tape blocks

x openv/var/vnetd/inetd_bpjava-msvc.txt, 92 bytes, 1 tape blocks x openv/var/vnetd/inetd_vopied.txt, 51 bytes, 1 tape blocks x openv/msg, 0 bytes, 0 tape blocks

x openv/msg/.conf, 20720 bytes, 41 tape blocks x openv/resources, 0 bytes, 0 tape blocks

x openv/resources/vxul_root.res, 56164 bytes, 110 tape blocks

x openv/resources/SPSV2RecoveryAsst_root.res, 4692 bytes, 10 tape blocks x openv/resources/aggs_root.res, 244 bytes, 1 tape blocks x openv/resources/bmrc_root.res, 3864 bytes, 8 tape blocks

x openv/resources/bmrcommon_root.res, 159400 bytes, 312 tape blocks x openv/resources/bmrd_root.res, 5092 bytes, 10 tape blocks x openv/resources/bmrlaunch_root.res, 100 bytes, 1 tape blocks x openv/resources/bmrmedia_root.res, 100 bytes, 1 tape blocks x openv/resources/bmrpkg_root.res, 100 bytes, 1 tape blocks

x openv/resources/bmrrestore_root.res, 31012 bytes, 61 tape blocks x openv/resources/bmrsavecfg_root.res, 8696 bytes, 17 tape blocks x openv/resources/bmrsetup_root.res, 5752 bytes, 12 tape blocks x openv/resources/bmrsrt_root.res, 69208 bytes, 136 tape blocks x openv/resources/ftservices_root.res, 1288 bytes, 3 tape blocks x openv/resources/libraries_root.res, 19572 bytes, 39 tape blocks x openv/resources/libdevicefi_root.res, 1760 bytes, 4 tape blocks

x openv/resources/libemcclariionfi_root.res, 3700 bytes, 8 tape blocks x openv/resources/libemcsymfi_root.res, 2376 bytes, 5 tape blocks x openv/resources/libfi_root.res, 18288 bytes, 36 tape blocks x openv/resources/libhpevafi_root.res, 6708 bytes, 14 tape blocks x openv/resources/libibmtsfi_root.res, 7044 bytes, 14 tape blocks x openv/resources/libvxfsfi_root.res, 2044 bytes, 4 tape blocks x openv/resources/libvxvmfi_root.res, 5240 bytes, 11 tape blocks x openv/resources/libgfspfi_root.res, 1312 bytes, 3 tape blocks x openv/resources/libnetappfi_root.res, 2112 bytes, 5 tape blocks x openv/resources/librawprtfi_root.res, 1568 bytes, 4 tape blocks x openv/resources/nbecmsg_root.res, 42656 bytes, 84 tape blocks + /bin/cp NB-Java.tar.Z /usr/openv Installing NB-Java.

+ /bin/cp ./nbj.conf /usr/openv/java

Editing /etc/services to update NetBackup services.

Copying original /etc/services file to /etc/services.07-18-08.10:31:12 Adding NetBackup service bprd with default port 13720 to /etc/services

Adding NetBackup service bpjava-msvc with default port 13722 to /etc/services Adding NetBackup service bpcd with default port 13782 to /etc/services Adding NetBackup service vnetd with default port 13724 to /etc/services Adding NetBackup service vopied with default port 13783 to /etc/services

Oldunix制作

Checking for a bpcd entry in /etc/inetd.conf: Adding bpcd entry. Original /etc/inetd.conf saved as /etc/inetd.conf.07-18-08.10:31:12. 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.

The following automatic startup and shutdown scripts (respectively) have been installed. They will cause the NetBackup client daemons to be automatically shut down and restarted each time the system boots.

/etc/rc2.d/S95nbclient /etc/rc0.d/K01nbclient /etc/rc1.d/K01nbclient

Starting nbftclnt...

LiveUpdate is not installed, skipping registration step...

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

5、 安装Oracle Agent(Solaris平台) (第4张盘)

挂接iso文件

lofiadm -a /opt/zqf/NBU65DVD4.iso /dev/lofi/2 mount -F hsfs -o ro /dev/lofi/2 /zqf1

root@rac1 # cd /cdrom root@rac1 # ls

65_dvd4_20070723 cdrom0 root@rac1 # cd * root@rac1 # ls

Doc NB_OM NB_SM install vADD vDBA root@rac1 # ./install

Symantec Installation Script

Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.

Oldunix制作

Installation Options

1 NetBackup Add-On Product Software 2 NetBackup Database Agent Software

q To quit from this script Choose an option [default: q]: 2

**********

There are two ways to install database agent software.

1. Remote Installation: Loads the software on a server with the intent of pushing database software out to affected clients.

2. Local Installation: Loads and installs the software only to this local machine.

**********

Do you want to do a local installation? [y,n] (n) y

**********

NetBackup Database Agent Installation

Choose the Database Agents you wish to install one at a time or select Install All Database Agents.

1) NetBackup for DB2 2) NetBackup for Informix 3) NetBackup for Lotus Notes 4) NetBackup for Oracle 5) NetBackup for SAP 6) NetBackup for Sybase

7) Install All Database Agents

q) Done Selecting Agents x) Exit from this Script

Choose an option: 4

Oldunix制作

Choose an option: q

You have chosen to install these Database Agents:

NetBackup for Oracle

Is this list correct? [y,n] (y)

**********

Of the agents selected, the following are supported on this platform and will be installed:

Oracle

Loading the Database Agent packages into the

/usr/openv/netbackup/dbext directory and installing.

**********

Installing NetBackup for Oracle

Installing NetBackup for Oracle...

Extracting files from /usr/openv/netbackup/dbext/OEBU.solaris8.tar.Z ... x usr/openv/netbackup, 0 bytes, 0 tape blocks x usr/openv/netbackup/bin, 0 bytes, 0 tape blocks

x usr/openv/netbackup/bin/bpubsora, 194676 bytes, 381 tape blocks x usr/openv/netbackup/bin/bpdbsbora, 291956 bytes, 571 tape blocks x usr/openv/netbackup/bin/libobk.so.1, 112480 bytes, 220 tape blocks x usr/openv/netbackup/bin/oracle_link, 32260 bytes, 64 tape blocks x usr/openv/netbackup/bin/bporaexp, 122336 bytes, 239 tape blocks x usr/openv/netbackup/bin/bporaimp, 134128 bytes, 262 tape blocks x usr/openv/netbackup/bin/libobk.so64.1, 183360 bytes, 359 tape blocks x usr/openv/netbackup/bin/bporaexp64, 151376 bytes, 296 tape blocks x usr/openv/netbackup/bin/bporaimp64, 164088 bytes, 321 tape blocks

Oldunix制作

x usr/openv/netbackup/dbext, 0 bytes, 0 tape blocks

x usr/openv/netbackup/dbext/OEBU.solaris8.version, 28 bytes, 1 tape blocks x usr/openv/netbackup/ext, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/cold_database_backup.sh, 11 875 bytes, 24 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/cold_duplex_database_backup _full.sh, 12789 bytes, 25 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/database_restore.sh, 7155 b ytes, 14 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/hot_database_backup.sh, 115 38 bytes, 23 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/hot_tablespace_backup.sh, 1 1154 bytes, 22 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/pit_database_restore.sh, 10 307 bytes, 21 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/hot_database_backup_proxy.s h, 9983 bytes, 20 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/rman/hot_tablespace_backup_proxy .sh, 8575 bytes, 17 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bpend_notify.oracle_bli.sh, 2776 4 bytes, 55 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bpstart_notify.oracle_bli.sh, 31 867 bytes, 63 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/post_checkpoint_notify.oracle_bl i.sh, 21844 bytes, 43 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp, 0 bytes, 0 tape blocks x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/data_archiver_export.sh , 5124 bytes, 11 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/data_archiver_export64. sh, 5130 bytes, 11 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/bporaexp_help.param, 73 3 bytes, 2 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/bporaexp_partitions.par am, 1605 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/bporaexp_table_to_files .param, 1652 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/bporaexp_tables.param, 1669 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaexp/bporaexp_tables_rows.pa ram, 1868 bytes, 4 tape blocks

Oldunix制作

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp, 0 bytes, 0 tape blocks x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/data_archiver_import.sh , 5044 bytes, 10 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/data_archiver_import64. sh, 5050 bytes, 10 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_archive.param, 1242 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_archive_schema _to_files.param, 1317 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_archive_to_use rs.param, 1510 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_bfile_table.pa ram, 1604 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_help.param, 73 3 bytes, 2 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_ignore_rows_ta ble.param, 1530 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_large_table.pa ram, 1542 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_list.param, 15 94 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_old_archive.pa ram, 1556 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_partitions.par am, 1513 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_table_from_fil es.param, 1370 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_table_to_files .param, 1301 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_table_to_user. param, 1656 bytes, 4 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/samples/bporaimp/bporaimp_tables.param, 1289 bytes, 3 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/bin, 0 bytes, 0 tape blocks

x usr/openv/netbackup/ext/db_ext/oracle/bin/setup_bli_scripts, 18091 bytes, 36 t ape blocks

x usr/openv/lib, 0 bytes, 0 tape blocks

x usr/openv/lib/libdbsbrman.so, 1765172 bytes, 3448 tape blocks x usr/openv/lib/libbpora.so.8.0, 44232 bytes, 87 tape blocks x usr/openv/lib/libbpora.so.9.0, 44244 bytes, 87 tape blocks x usr/openv/lib/libbpora64.so.8.0, 61840 bytes, 121 tape blocks x usr/openv/lib/libbpora64.so.9.0, 61848 bytes, 121 tape blocks x usr/openv/lib/libnbberman.so, 112692 bytes, 221 tape blocks

Oldunix制作

LiveUpdate is not installed, skipping registration step...

NetBackup for Oracle installation completed.

**********

Execution of ./install_dbext is complete.

Execution of ./install is complete.

File /usr/openv/tmp/install_options_trace.23923 contains a trace of this install .

Symantec Installation Script

Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.

Installation Options

1 NetBackup Add-On Product Software 2 NetBackup Database Agent Software

q To quit from this script Choose an option [default: q]:

File /usr/openv/tmp/install_options_trace.23923 contains a trace of this install .

That file can be deleted after you are sure the install was successful.

6、 链接oracle和netbackup介质管理器

停止oracle数据库

root@rac1 # su - oracle Sun Microsystems Inc. SunOS 5.9 Generic May 2002 $ echo $ORACLE_HOME /opt/app/oracle

$ echo $ORACLE_SID oradb1

$ cd /usr/openv/netbackup/bin $ ls -l oracle_link -r-xr-xr-x 1 root bin 32260 Jul 24 2007 oracle_link

Oldunix制作

$ ./oracle_link

Fri Jul 18 11:05:00 CST 2008

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: /opt/app/oracle Oracle version: 10.2.0.2.0 Platform type: sparc Linking LIBOBK:

ln -s /usr/openv/netbackup/bin/libobk.so64.1 /opt/app/oracle/lib/libobk.so Done

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

重新启动数据库

7、 准备备份使用的存储介质 Disk

在storage中配置 Tape

在standalone中配置

8、 配置备份策略

配置veritas catalog备份策略 配置oracle数据库备份策略

9、 创建oracle备份模板文件,并生成备份脚本

/usr/openv/netbackup/bin//jnbSA

生成的模板文件

Oldunix制作

C:\\Program Files\\Veritas\\NetBackup\\db\\dbtemplates\\oracle\\backuprac.sh.tpl

利用模板,生成脚本:

bpdbsbora -backup -g script_file -t templ_name -S server_name

/usr/openv/netbackup/bin/bpdbsbora backuprac.sh.tpl -S backup

/usr/openv/netbackup/bin/bpdbsbora -backup -g everydayoraclebackup.sh -t everydayoraclebackup.tpl -S backup

拷贝文件backuprac.sh到目录/usr/openv/netbackup/zqf:

-backup

-g backuprac.sh -t

10、 备份恢复测试

测试机安装操作系统 准备存储 安装oracle 升级补丁

恢复到异机,需要在创建文件install_path\\NetBackup\\db\\altnames\\No.Restrictions 文件No.Restrictioins

恢复脚本的内容

rman target / catalog rman/rman@catdb<set dbid=2413573639 run {

allocate channel ch00 type 'SBT_TAPE'

parms=\"ENV=(NB_ORA_CLIENT=rac1,NB_ORA_SERV=backup)\"; restore controlfile;

RELEASE CHANNEL ch00; }

alter database mount; run {

allocate channel ch00 type 'SBT_TAPE'

Oldunix制作

parms=\"ENV=(NB_ORA_CLIENT=rac1,NB_ORA_SERV=backup)\"; restore database; recover database;

RELEASE CHANNEL ch00; } exit END

sqlplus '/ as sysdba'<恢复过程:

$ rman target / catalog rman/rman@catdb

Recovery Manager: Release 10.2.0.2.0 - Production on Tue Aug 5 11:08:52 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

connected to target database (not started) connected to recovery catalog database

RMAN> startup nomount

Oracle instance started set dbid=2413573639

Total System Global Area 4479516672 bytes

Fixed Size 2034768 bytes Variable Size 1241519024 bytes Database Buffers 3221225472 bytes Redo Buffers 14737408 bytes

RMAN>

executing command: SET DBID

database name is \"ORADB\" and DBID is 2413573639

RMAN> run {

allocate channel ch00 type 'SBT_TAPE'

Oldunix制作

parms=\"ENV=(NB_ORA_CLIENT=rac1,NB_ORA_SERV=backup)\"; restore controlfile;

2> RELEASE CHANNEL ch00; }

3> 4> 5> 6> 7>

allocated channel: ch00

channel ch00: sid=872 devtype=SBT_TAPE

channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2007072323)

Starting restore at 05-AUG-08

channel ch00: starting datafile backupset restore channel ch00: restoring control file

channel ch00: reading from backup piece bk_u4njn7ted_s151_p1_t661910989 channel ch00: restored backup piece 1

piece handle=bk_u4njn7ted_s151_p1_t661910989 tag=DBEVERYDAYBACKUP channel ch00: restore complete, elapsed time: 00:00:43

output filename=+ORADATA_DG/oradb/controlfile/current.296.661950589 output filename=+RECOVERY_DG/oradb/controlfile/current.271.661950589 Finished restore at 05-AUG-08

released channel: ch00

RMAN>

RMAN> alter database mount;

database mounted

RMAN> run {

allocate channel ch00 type 'SBT_TAPE'

parms=\"ENV=(NB_ORA_CLIENT=rac1,NB_ORA_SERV=backup)\"; restore database; recover database;

RELEASE CHANNEL ch00; }

2> exit

3> 4> 5> 6> 7> 8> allocated channel: ch00

channel ch00: sid=872 devtype=SBT_TAPE

channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2007072323)

Oldunix制作

Starting restore at 05-AUG-08

Starting implicit crosscheck backup at 05-AUG-08 Crosschecked 14 objects

Finished implicit crosscheck backup at 05-AUG-08

Starting implicit crosscheck copy at 05-AUG-08 Finished implicit crosscheck copy at 05-AUG-08

searching for all files in the recovery area cataloging files... cataloging done

List of Cataloged Files

=======================

File Name: +recovery_dg/ORADB/CONTROLFILE/current.256.660936657 File Name: +recovery_dg/ORADB/CONTROLFILE/current.257.660937811

channel ch00: starting datafile backupset restore

channel ch00: specifying datafile(s) to restore from backup set

restoring datafile 00001 to +ORADATA_DG/oradb/datafile/system.274.660939413 restoring datafile 00002 to +ORADATA_DG/oradb/datafile/undotbs1.275.660939631 restoring datafile 00003 to +ORADATA_DG/oradb/datafile/sysaux.277.660940175 restoring datafile 00004 to +ORADATA_DG/oradb/datafile/users.278.660940177 restoring datafile 00005 to +ORADATA_DG/oradb/datafile/undotbs2.276.660940175 channel ch00: reading from backup piece bk_u4mjn7tbd_s150_p1_t661910893 channel ch00: restored backup piece 1

piece handle=bk_u4mjn7tbd_s150_p1_t661910893 tag=DBEVERYDAYBACKUP channel ch00: restore complete, elapsed time: 00:03:06

datafile 1 switched to datafile copy

input datafile copy recid=8 stamp=661950983 filename=+ORADATA_DG/oradb/datafile/system.274.660939413 datafile 2 switched to datafile copy

input datafile copy recid=9 stamp=661950983 filename=+ORADATA_DG/oradb/datafile/undotbs1.275.660939631 datafile 3 switched to datafile copy

input datafile copy recid=10 stamp=661950983 filename=+ORADATA_DG/oradb/datafile/sysaux.277.660940175 datafile 4 switched to datafile copy

input datafile copy recid=11 stamp=661950984 filename=+ORADATA_DG/oradb/datafile/users.278.660940177 datafile 5 switched to datafile copy

input datafile copy recid=12 stamp=661950984

Oldunix制作

filename=+ORADATA_DG/oradb/datafile/undotbs2.276.660940175 Finished restore at 05-AUG-08

Starting recover at 05-AUG-08

starting media recovery

channel ch00: starting archive log restore to default destination channel ch00: restoring archive log archive log thread=1 sequence=122 channel ch00: restoring archive log archive log thread=2 sequence=107 channel ch00: restoring archive log archive log thread=2 sequence=108 channel ch00: restoring archive log archive log thread=1 sequence=123

channel ch00: reading from backup piece arch_u4ojn7tg4_s152_p1_t661911044 channel ch00: restored backup piece 1

piece handle=arch_u4ojn7tg4_s152_p1_t661911044 tag=TAG20080805T001044 channel ch00: restore complete, elapsed time: 00:00:36

archive log filename=+ORADATA_DG/oradb/1_122_660308874.dbf thread=1 sequence=122 archive log filename=+ORADATA_DG/oradb/2_107_660308874.dbf thread=2 sequence=107 archive log filename=+ORADATA_DG/oradb/2_108_660308874.dbf thread=2 sequence=108 archive log filename=+ORADATA_DG/oradb/1_123_660308874.dbf thread=1 sequence=123 unable to find archive log

archive log thread=1 sequence=124 released channel: ch00 RMAN-00571:

===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571:

=========================================================== RMAN-03002: failure of recover command at 08/05/2008 11:17:15

RMAN-06054: media recovery requesting unknown log: thread 1 seq 124 lowscn 3588712

RMAN> RMAN>

Recovery Manager complete. $ sqlplus '/ as sysdba'

alter database open resetlogs; exit

Oldunix制作

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Aug 5 11:17:31 2008

Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production With the Partitioning, OLAP and Data Mining options

SQL>

Database altered.

SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production

With the Partitioning, OLAP and Data Mining options $ $ $ $ $

$ sqlplus '/ as sysdba'

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Aug 5 11:17:50 2008

Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production With the Partitioning, OLAP and Data Mining options

SQL> select name from v$controlfile;

NAME

-------------------------------------------------------------------------------- +ORADATA_DG/oradb/controlfile/current.296.661950589 +RECOVERY_DG/oradb/controlfile/current.271.661950589

SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production With the Partitioning, OLAP and Data Mining options $

Oldunix制作

因篇幅问题不能全部显示,请点此查看更多更全内容