Oracle DBA Tips and Techniques

By Arjun Raja

TSM BACKUP TROUBLESHOOTING

Posted by Arjun Raja on January 18, 2011

RMAN- BACKUP USING TSM- TROUBLE SHOOTING :

If backup to tape fails at first, it may be because the environmnent is not picking up a library file required….

run {
allocate channel ch1 device type sbt parms ‘ENV=
(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)’; backup current controlfile;
}

RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of allocate command on ch1 channel at 07/21/2008 11:17:14
ORA-19554: error allocating device, device type: SBT_TAPE, device name: ORA-27211: Failed to load Media Management Library
Additional information: 2

RMAN> exit

cd $ORACLE_HOME/lib

libobk* not found
apex:/u01/oracle/product/11.0/lib> ln -s /usr/lib/libobk64.a libobk.a apex:/u01/oracle/product/11.0/lib> ls -lrt libobk*
lrwxrwxrwx 1 oracle dba 19 Jul 21 11:32 libobk.a -> /usr/lib/libobk64.a

apex:/u01/oracle/product/11.0/lib>export
TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt

apex:/u01/oracle/product/11.0/lib> sbttest test
The sbt function pointers are loaded from libobk.a(shr.o) library.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: