06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases<br />

9.11 Troubleshooting Tips<br />

• TR_MEDINFO - in<strong>for</strong>mation about drives and volumes. With this value define, you will see<br />

messages about allocating, loading, mounting, unloading, and deallocating tape volumes<br />

and drives.<br />

As a very minimum, we suggest that you enable the above two values so that you can check the<br />

progress of backups and res<strong>to</strong>res. If the backup or res<strong>to</strong>re can not get a volume set, it will loop,<br />

once a minute, waiting <strong>for</strong> the volume set <strong>to</strong> become available. If a tape drive is unavailable,SBT<br />

loops waiting <strong>for</strong> a drive <strong>to</strong> become available. SBT tries <strong>to</strong> allocate the tape drive every minute.<br />

SBT reports that it can not allocate the tape drive after five minutes and then after 10 minutes<br />

and so <strong>for</strong>th.<br />

Example 9–18 shows an example of ORA_DUMP:SBTIO.LOG with TR_GENINFO and<br />

TR_MEDINFO values enabled. Note that the SBT-00008140 is the pid, in hexadecimal, of the<br />

process doing the backup with SBT- prepended.<br />

Example 9–18 ORA_DUMP:SBTIO.LOG with TR_GENINFO and TR_MEDINFO Values<br />

Enabled<br />

EDINFO Values Enabled<br />

SBT-00008140 12/17/01 09:27:11 Using archive RMAN_TAPE_TL875_ARCH<br />

SBT-00008140 12/17/01 09:27:12 Starting backup of r1dbtgjd_1_1 <strong>for</strong> DB:<br />

EMPLOYEE<br />

SBT-00008140 12/17/01 09:27:12 Using catalog ORACLE_DB<br />

SBT-00008140 12/17/01 09:27:12 Allocated drive: MKC200 Device: MOE$MKC200:<br />

SBT-00008140 12/17/01 09:27:13 Drive is in jukebox TLZ875<br />

SBT-00008140 12/17/01 09:27:13 Allocated volume AIF078<br />

SBT-00008140 12/17/01 09:27:17 Unloading drive MKC200<br />

SBT-00008140 12/17/01 09:27:46 Loading volume AIF078 on drive MKC200<br />

SBT-00008140 12/17/01 09:28:39 Deallocating drive MKC200<br />

SBT-00008140 12/17/01 09:28:39 Initializing volume AIF078<br />

SBT-00008140 12/17/01 09:29:00 Allocated drive: MKC200 Device: MOE$MKC200:<br />

SBT-00008140 12/17/01 09:29:00 Drive is in jukebox TLZ875<br />

SBT-00008140 12/17/01 09:29:00 Loading/mounting volume AIF078 on drive MKC200<br />

SBT-00008140 12/17/01 09:29:00 Loading volume AIF078 on drive MKC200<br />

SBT-00008140 12/17/01 09:29:09 Mounting volume AIF078 on device MOE$MKC200:<br />

SBT-00008140 12/17/01 09:29:18 Ready <strong>to</strong> write <strong>to</strong> saveset 2001121709291582.<br />

on volume AIF078<br />

SBT-00008140 12/17/01 09:30:47 Using catalog ORACLE_DB<br />

SBT-00008140 12/17/01 09:30:48 Finished writing saveset 2001121709291582.<br />

on volume AIF078<br />

We hope the only thing that might not be obvious in Example 9–18 is the saveset name. We are<br />

limited <strong>to</strong> 17 characters so I change piece name, r1dbtgjd_1_1, in<strong>to</strong> a saveset name,<br />

2001121709291582., on a particular volume.<br />

Another value that you may want <strong>to</strong> use is TR_TAPSTAT. This gives you statistics about the<br />

reading/writing <strong>to</strong> a tape volume. Example 9–19 shows an example of tape statistics.<br />

Example 9–19 Trace of Tape Statistics<br />

SBT-00008140 12/17/01 09:50:49 I/O Statistics:<br />

SBT-00008140 12/17/01 09:50:49 DB block size: 262144 bytes 1<br />

SBT-00008140 12/17/01 09:50:50 I/O block size: 65024 bytes 2<br />

SBT-00008140 12/17/01 09:50:50 Total I/Os: 620 3<br />

SBT-00008140 12/17/01 09:50:50 Total I/O wait: 23279 milliseconds 4<br />

SBT-00008140 12/17/01 09:50:50 Maximum I/O wait: 936 milliseconds 5<br />

SBT-00008140 12/17/01 09:50:50 Average I/O wait: 37 milliseconds 6<br />

SBT-00008140 12/17/01 09:50:50 Total Kbytes: 40300 7<br />

SBT-00008140 12/17/01 09:50:50 Total bytes: 40314880.000 8<br />

SBT-00008140 12/17/01 09:50:50 Total seconds: 23 9<br />

<strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases 9–21

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

Saved successfully!

Ooh no, something went wrong!