24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DSMO_OWNER<br />

You must specify the oper<strong>at</strong>ing system DBA as the owner. In our case, it is<br />

oracle8. If you do not specify DSMO_OWNER, the owner of the files in the<br />

TSM server will be daemon. Because oracle8 does not own the files, root<br />

will be the only one who can do RMAN crosscheck and recovery.<br />

Specifying DSMO_OWNER will ensure th<strong>at</strong> the DBA will have privileges to<br />

do crosschecks and recovery for the d<strong>at</strong>abase.<br />

Backup (d<strong>at</strong>abase)<br />

The backup command must be split into two lines as in:<br />

backup<br />

(d<strong>at</strong>abase)<br />

TDP for ESS modifies the Backup command in the script. Note th<strong>at</strong> in the<br />

production machine, it modifies it to backup only the control files. In the<br />

backup machine, it modifies it to include the incremental parameter as<br />

specified in d<strong>at</strong>abase_backup_incremental_level. If the backup (d<strong>at</strong>abase)<br />

is in one line, the (d<strong>at</strong>abase) part gets deleted in the backup machine.<br />

Warning: We initially have our backup (d<strong>at</strong>abase) on one line, and it caused<br />

the script to fail. The trace file was helpful in finding out the problem, and it<br />

showed how TDP for ESS parsed the backup command.<br />

We suggest th<strong>at</strong> the backup script be as simple as possible as TDP for<br />

ESS needs to parse and rewrite the RMAN commands.<br />

E.3.2 <strong>Backing</strong> up the d<strong>at</strong>abase using TDP for ESS<br />

Before discussing our tests, let us discuss how we did our backups on the<br />

production and backup machine. You should also read the backup and restore<br />

chapter in the Tivoli D<strong>at</strong>a Protection for IBM ESS for <strong>Oracle</strong> D<strong>at</strong>abases<br />

Install<strong>at</strong>ion and User’s Guide manual SH26-4125-00. The backup chapter<br />

also discusses how you can autom<strong>at</strong>e the backup using the TSM scheduler.<br />

We first ran the backup on the production machine which only backed up the<br />

control files and some other files. Then we ran the backup on the backup<br />

machine which does the actual backup of the d<strong>at</strong>abase.<br />

Note th<strong>at</strong> you have to use root to run the TDP for ESS backups.<br />

Appendix E. TDP for IBM ESS for <strong>Oracle</strong> d<strong>at</strong>abases 237

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!