TDP
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