Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN configure channel with multiple parameters

Re: RMAN configure channel with multiple parameters

From: s.kapitza <skapitza_at_volcanomail.com>
Date: 3 Sep 2004 13:25:29 -0700
Message-ID: <26703915.0409031225.5cb55c85@posting.google.com>


manuela mueller <mueller_m_at_fiz-chemie.de> wrote in message news:<2pr7p6FnvrfeU1_at_uni-berlin.de>...
> Dear All,
>
> Environment
> OS: linux, SuSE SLES-8
> Kernel: 2.4.21-215-smp
> RDBMS: Oracle EE + RAC 9.2.0.5
> RMAN configured with recover catalog database.
> Backup Software: Time Navigator Media Management 3.7
>
> Maybe this is an easy question, but I can't find the solution yet.
> I'm trying to configure RMAN automatic channels with multiple parms.
>
> a) manually allocating an sbt channel works fine:
> (I abbreviated the pathnames and included line breaks for better
> readability)
>
> RUN
> {
> allocate channel c1 type 'sbt_tape'
> parms="SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so,
> ENV=(TINA_HOME=/tina,
> TINA_SERVICE_NAME=tina,
> TINA_RMAN_CATALOG=catalog,
> TINA_RMAN_FOLDER=backupfolder, LD_LIBRARY_PATH=$ORACLE_HOME/lib:/tina/Lib,
> TINA_APP_LIB_PATH=/tina/Lib/libtina_rman.so,
> TINA_RMAN_USER=the_user)";
> release channel c1;
> }
>
> allocated channel: c1
> channel c1: sid=23 devtype=SBT_TAPE
> channel c1: Time Navigator Media Management
>
> released channel: c1
>
> b) configure channel:
>
> RUN
> {
> CONFIGURE CHANNEL DEVICE TYPE 'sbt_tape'
> parms="SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so,
> ENV=( TINA_HOME=/tina,
> TINA_SERVICE_NAME=tina,
> TINA_RMAN_CATALOG=catalog,
> TINA_RMAN_FOLDER=backupfolder, LD_LIBRARY_PATH=$ORACLE_HOME/lib:/tina/Lib,
> TINA_APP_LIB_PATH=/tina/Lib/libtina_rman.so,
> TINA_RMAN_USER=the_user) ";
> }
>
> RMAN-00571: ===========================================================
> RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
> RMAN-00571: ===========================================================
> RMAN-03009: failure of allocate command on c1 channel at 09/03/2004 13:32:54
> ORA-19554: error allocating device, device type: SBT_TAPE, device name:
> ORA-27211: Failed to load Media Management Library
> Additional information: 2
>
> The RMAN User Guide
> http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconfg.htm#453279
> shows only an example with one parameter
> <quote>
> CONFIGURE CHANNEL DEVICE TYPE # sets parameters for all
> channels
> PARMS 'ENV=(NSR_DATA_VOLUME_POOL=oracle_tapes)' FORMAT '%U_backup';
> </quote>
>
> I switched the order of parameters, first ENV(...) then SBT_LIBRARY but
> without success:
>
> RUN
> {
> CONFIGURE CHANNEL DEVICE TYPE 'sbt_tape'
> parms="ENV=( TINA_HOME=/tina,
> TINA_SERVICE_NAME=tina,
> TINA_RMAN_CATALOG=catalog,
> TINA_RMAN_FOLDER=backupfolder, LD_LIBRARY_PATH=$ORACLE_HOME/lib:/tina/Lib,
> TINA_APP_LIB_PATH=/tina/Lib/libtina_rman.so,
> TINA_RMAN_USER=the_user),
> SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so";
> }
>
> This is the first time I perform backups on tape.
> Maybe I am missing something obvious?
> Any suggestions are welcome.
> Thanks in advance and have a nice day
>
> Manuela Mueller

RUN
 {
 CONFIGURE CHANNEL DEVICE TYPE 'sbt_tape'  parms="ENV=( TINA_HOME=/tina,

 TINA_SERVICE_NAME=tina,
 TINA_RMAN_CATALOG=catalog,
 TINA_RMAN_FOLDER=backupfolder, LD_LIBRARY_PATH=$ORACLE_HOME/lib:/tina/Lib,
 TINA_APP_LIB_PATH=/tina/Lib/libtina_rman.so,
 TINA_RMAN_USER=the_user,SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so)";
}

should work

regards

s.kapitza Received on Fri Sep 03 2004 - 15:25:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US