Tape Backup Problem

From: Rob Earl <donotreply_at_interbulletin.bogus>
Date: Wed, 02 May 2001 16:48:41 +0000
Message-ID: <3AF03A69.300A3FF9_at_interbulletin.com>


I have recently had some trouble getting Oracle to use the media manager (Legato Storage Manager) to back up to tape. For some reason, Oracle doesn't seem to be using the proper shared library for tape backups. When I do the "ldd" on the oracle executable, it does not show the correct shared library information. This is what it is supposed to show in the list of used shared libraries:

libobk.so -> libdsbtsh8.so

However, instead, this is the complete list I get:

       Main  =>   oracle
        libwtc8.so  =>   /aptus/Oracle8i/lib/libwtc8.so
        libjox8.so  =>   /aptus/Oracle8i/lib/libjox8.so
        libexc.so  =>   /usr/shlib/libexc.so
        librt.so  =>   /usr/shlib/librt.so
        libaio_raw.so  =>   /usr/shlib/libaio_raw.so
        libm.so  =>   /usr/shlib/libm.so
        libc.so  =>   /usr/shlib/libc.so

Also, in the $ORACLE_HOME/lib I should have seen the following symbolic link:

libobk.so -> libdsbtsh8.so

However, after reinstalling Oracle, I see the following symbolic link:

libobk.a -> libdsbtsh8.a

According to the installation instructions, there first link I mentioned is supposed to be there, and then it should be replaced with:

libobk.so -> liblsm.so

I used the Oracle troubleshooting guide to confirm that Oracle is in fact using the wrong API. This is the result when trying to do a tape backup:

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: t1
RMAN-08500: channel t1: sid=11 devtype=SBT_TAPE
RMAN-08526: channel t1: WARNING: Oracle Test Disk API

RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08008: channel t1: starting full datafile backupset
RMAN-08502: set_count=2 set_stamp=428661407 creation_time=02-MAY-01
RMAN-08010: channel t1: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00001 name=/mountpoints/dmn1fset1/oraHome1/oradata/APTUS1/system01.dbf
RMAN-08011: including current controlfile in backupset
RMAN-08013: channel t1: piece 1 created
RMAN-08503: piece handle=02copmkv_1_1 comment=API Version 2.0,MMS Version 8.1.3.0
RMAN-08525: backup set complete, elapsed time: 00:00:03
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-08031: released channel: t1

The important line in all of that is the line that starts with RMAN-08526 which tells me that Oracle is using the Test Disk API instead of the Legato Storage Manager (LSM) API.

So, it seems that something strange is going on here since several things having to do with this shared library don't match up with the documentation.

Does anyone have any suggestions?

Thanks,
Rob



Submitted via WebNewsReader of http://www.interbulletin.com Received on Wed May 02 2001 - 18:48:41 CEST

Original text of this message