ADSM-L

TDP for Oracle

2002-01-10 18:32:27
Subject: TDP for Oracle
From: David Prokop <DProkop AT EDGENCORP DOT COM>
Date: Thu, 10 Jan 2002 15:28:17 -0600
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


All the logs are empty. Is there a live RMAN script example to see what I
might be missing.

In various documents I have seen a statement done different ways.
Example:
backup database;
backup (database);
backup;

How do I know which is correct or if any are correct?

The RMAN script works fine when I backup to disk, it just dosen't seem to
talk to the agent.


David Prokop
Sr. IT Specialist

EDGEN )

Direct  225.756.6102
Fax     225.756.5887
Email   dprokop AT edgencorp DOT com
            www.edgencorp.com
<Prev in Thread] Current Thread [Next in Thread>
  • TDP for Oracle, David Prokop <=