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.

Chapter 11. Day-to-day monitoring on Windows 2000 . . . . . . . . . . . . 171<br />

11.1 Autom<strong>at</strong>ing d<strong>at</strong>abase tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171<br />

11.1.1 Starting SQL*Net and RDBMS services <strong>at</strong> system reboot . . . . 171<br />

11.2 Autom<strong>at</strong>ing RMAN backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171<br />

11.2.1 Scheduling TDP for <strong>Oracle</strong> backups . . . . . . . . . . . . . . . . . . . . 172<br />

11.3 RMAN report, list, and crosscheck utilities . . . . . . . . . . . . . . . . . . . 177<br />

11.3.1 Report utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

11.3.2 List utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181<br />

11.3.3 Crosscheck utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184<br />

11.4 Autom<strong>at</strong>ic deletion of old backups . . . . . . . . . . . . . . . . . . . . . . . . . 185<br />

11.4.1 Command files to autom<strong>at</strong>e backup deletion. . . . . . . . . . . . . . 185<br />

11.4.2 Using tags to help with deletion . . . . . . . . . . . . . . . . . . . . . . . 186<br />

Chapter 12. Recovering <strong>Oracle</strong> d<strong>at</strong>abases on Windows 2000 . . . . . . 189<br />

12.1 Restore oper<strong>at</strong>ions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189<br />

12.1.1 Consistent d<strong>at</strong>abase recovery . . . . . . . . . . . . . . . . . . . . . . . . 189<br />

12.1.2 Inconsistent d<strong>at</strong>abase recovery . . . . . . . . . . . . . . . . . . . . . . . 189<br />

12.2 Recovery Oper<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190<br />

12.3 Recovery examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

12.3.1 D<strong>at</strong>a file recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

12.3.2 Complete recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192<br />

12.3.3 Incomplete / partial disaster recovery . . . . . . . . . . . . . . . . . . . 193<br />

12.3.4 Duplic<strong>at</strong>e d<strong>at</strong>abase. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195<br />

Appendix A. Quick-start checklist for configur<strong>at</strong>ion . . . . . . . . . . . . . . 197<br />

Appendix B. Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199<br />

B.1 “Gotchas” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199<br />

B.1.1 RC 406 options file not found . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199<br />

B.1.2 Checking the library files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200<br />

B.1.3 Running a TSM CONFIG trace. . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

B.1.4 RC 137 authentic<strong>at</strong>ion failure, incorrect password . . . . . . . . . . . . . 202<br />

B.2 Things to check on the TSM server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

B.2.1 Specifying commtimeout in the dsmserv.opt . . . . . . . . . . . . . . . . . 202<br />

B.2.2 Administr<strong>at</strong>ive client queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203<br />

B.3 Isol<strong>at</strong>ing the problem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203<br />

B.4 List of logfiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204<br />

B.5 Inconsistencies between <strong>Oracle</strong> RMAN and TSM . . . . . . . . . . . . . . . . . 205<br />

B.5.1 RMAN references a non-existent TSM object . . . . . . . . . . . . . . . . 206<br />

B.5.2 TSM object exists without a corresponding RMAN reference . . . . 207<br />

B.5.3 Renaming / deleting the TSM filespace . . . . . . . . . . . . . . . . . . . . . 208<br />

Appendix C. TDP for <strong>Oracle</strong> Version 2.2. . . . . . . . . . . . . . . . . . . . . . . . . 209<br />

C.1 New fe<strong>at</strong>ures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209<br />

vii

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

Saved successfully!

Ooh no, something went wrong!