--check netbackup client version
[oracle@subhen-db02 ~]$ cd /usr/openv/netbackup/bin/
[oracle@subhen-db02 bin]$ cat version
NetBackup-RedHat2.6 6.5.6
-- stop all services running in the ORACLE_HOME
[oracle@subhen-db01 ~]$ srvctl stop home -o /oracle/app/database/11.2.0.3/dbhome_1 -s /home/oracle/state_file -n subhen-db01
[oracle@subhen-db01 ~]$ ps -fe|grep pmon
oracle 17163 3097 0 11:02 pts/0 00:00:00 grep pmon
oracle 18127 1 0 2011 ? 00:10:12 asm_pmon_+ASM1
-- run oracle_link
[oracle@subhen-db01 ~]$ cd /usr/openv/netbackup/bin/
[oracle@subhen-db01 bin]$ ls -tlr|grep -i oracle
-r-xr-xr-x 1 root bin 34972 Apr 25 2010 oracle_link
[oracle@subhen-db01 bin]$ ./oracle_link
Thu Dec 27 11:02:42 EST 2012
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/database/11.2.0.3/dbhome_1
Oracle version: 11.2.0.3.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/app/database/11.2.0.3/dbhome_1/lib/libobk.so
Done
Please check the trace file located in /tmp/make_trace.17228
to make sure the linking process was successful.
-- check the symbolic link
[oracle@subhen-db01 bin]$ cd /oracle/app/database/11.2.0.3/dbhome_1/lib/
[oracle@subhen-db01 lib]$ ls -ltr
-rwxrwxr-x+ 1 oracle oinstall 52690050 Oct 28 2011 libclntsh.so.11.1
-rw-rwxr--+ 1 oracle oinstall 111 Oct 28 2011 ldflags
lrwxrwxrwx 1 oracle oinstall 36 Dec 27 11:02 libobk.so -> /usr/openv/netbackup/bin/libobk.so64
-- start the oracle home services again
[oracle@subhen-db01 lib]$ srvctl start home -o /oracle/app/database/11.2.0.3/dbhome_1 -s /home/oracle/state_file -n subhen-db01
[oracle@subhen-db01 lib]$ ps -fe|grep pmon
oracle 17676 1 0 11:03 ? 00:00:00 ora_pmon_XXXX1
oracle 18127 1 0 2011 ? 00:10:12 asm_pmon_+ASM1
oracle 18324 1 0 11:03 ? 00:00:00 ora_pmon_YYYYY1