Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TDP

36198Jan 10 2002
When I run the rman script the databases come down properly but then it goes into a sleep mode. No errors show up anywhere. I can't tell if RMAN is handing off to Tivoli. The passwords do sync so they are talking. I have triple checked: dsm.opt, tdpo.opt, dsm.sys

A large portion of my RMAN script. Any ideas? Thanks in advance.

#
# change name of ifilecbo.ora
mv /home/oracle/rman/remote_init_files/initVIS.ora /home/oracle/rman/remote_init_files/initVIS.oraTMP
# alter cbo file entry in init.ora
sed -e 's|?/dbs|/home/oracle/rman/remote_init_files|g' /home/oracle/rman/remote_init_files/initVIS.oraTMP > /home/oracle/rman/remote_init_files/initVIS.ora
diff /home/oracle/rman/remote_init_files/initVIS.oraTMP /home/oracle/rman/remote_init_files/initVIS.ora
# Process command-line args
. /home/oracle/recmgr.env
TargetConnStr=internal/oracle@vis
RcvcatConnStr=rman/rman@recmgr

# need to do some parameter validation here!

${ORACLE_HOME}/bin/rman << EOF
connect target internal/oracle@vis
connect rcvcat rman/rman@recmgr
run
{
shutdown immediate;
startup mount pfile=/home/oracle/rman/remote_init_files/initVIS.ora;
allocate channel t1 type 'sbt_tape'parms
'ENV=(TDPO_OPTFILE=/home/oracle/tdporacle/tdpo.opt)';
allocate channel t2 type 'sbt_tape'parms
'ENV=(TDPO_OPTFILE=/home/oracle/tdporacle/tdpo.opt)';
backup
filesperset 5
format 'df_%t_%s_%p'
(database);
release channel t1;
release channel t2;
alter database open;
}
exit
EOF
if [ $? -ne 0 ]
then
echo "RMAN database backup failed"
else
echo "RMAN database backup OK"
fi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2002
Added on Jan 10 2002
5 comments
563 views