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

Create successful ePaper yourself

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

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

9.12 Support <strong>for</strong> Oracle RDB database<br />

RMU command excluding any specified VMS file extension. This parameter can only be specified<br />

<strong>for</strong> database res<strong>to</strong>res. The default is 1 reader thread. A reader thread value of 1 is used <strong>for</strong> all<br />

other RMU commands that read data using SBT.<br />

The number of READER_THREADS <strong>for</strong> a database res<strong>to</strong>re from SBT should be equal <strong>to</strong> or less<br />

than the number of WRITER_THREADS specified <strong>for</strong> the database backup or the number of<br />

reader threads will be set by RMU <strong>to</strong> be equal <strong>to</strong> the number of data streams actually s<strong>to</strong>red<br />

using SBT. If the READER_THREADS specified <strong>for</strong> the res<strong>to</strong>re are less than the<br />

WRITER_THREADS specified <strong>for</strong> the backup RMU will partition the data streams among the<br />

specified reader threads so that all data streams representing the database are res<strong>to</strong>red. There<strong>for</strong>e,<br />

each reader thread can read more than one data stream.<br />

TRACE_FILE=file_pecification<br />

The trace data will be written <strong>to</strong> this file, if specified. The logical<br />

MDMS$SBT_TRACE_LEVEL allows you <strong>to</strong> define how much tracing of SBT you want <strong>to</strong><br />

appear in your trace file. The logical is defined in SYS$STARTUP:MDMS$SYSTARTUP.COM.<br />

You can check using the following command:<br />

$ SEARCH SYS$STARTUP:MDMS$SYSTARTUP.COM MDMS$SBT_TRACE_LEVEL<br />

%SEARCH-I-NOMATCHES, no strings matched<br />

If the search command did not find it, you need <strong>to</strong> edit SYS$STARTUP:MDMS$SYSTAR-<br />

TUP.TEMPLATE and pull the following code out of it and put the code in SYS$STAR-<br />

TUP:MDMS$SYSTARTUP.COM.<br />

$ !<br />

$ !<br />

$ ! The MDMS$SBT_TRACE_LEVEL log name controls what is written <strong>to</strong> the<br />

$ ! Oracle trace file <strong>for</strong> SBT. The trace level can be controlled by<br />

$ ! this logical separately from the trace level in the Oracle parameters.<br />

$ !<br />

$ TR_ERROR = %X00000000 ! Always trace errors, cannot be changed<br />

$ TR_SBTENTRY = %X00000001 ! Entry and exit of oracle called SBT functions<br />

$ TR_SBTPARAM = %X00000002 ! Trace oracle called SBT functions parameters<br />

$ TR_SBTRWENTRY = %X00000004 ! Trace of SBTREAD/SBTWRITE entry<br />

$ TR_SBTRWPARAM = %X00000008 ! Trace of parameters <strong>for</strong> SBTREAD/SBTWRITE<br />

$ TR_GENINFO = %X00000010 ! Trace general in<strong>for</strong>mation like backup file name<br />

$ TR_MEDINFO = %X00000020 ! Trace media movement in<strong>for</strong>mation<br />

$ TR_TAPSTAT = %X00000040 ! Trace tape/disk transfer stats<br />

$ TR_COMENTRY = %X00000080 ! Entry and exit <strong>for</strong> common functions<br />

$ TR_COMPARAM = %X00000100 ! Trace parameters <strong>for</strong> common functions<br />

$ TR_MEDENTRY = %X00000200 ! Entry and exit <strong>for</strong> media functions<br />

$ TR_MEDPARAM = %X00000400 ! Trace parameters <strong>for</strong> media functions<br />

$ TR_CATENTRY = %X00000800 ! Entry and exit <strong>for</strong> catalog functions<br />

$ TR_CATPARAM = %X00001000 ! Trace parameters <strong>for</strong> catalog functions<br />

$ TR_TAPENTRY = %X00002000 ! Entry and exit <strong>for</strong> VMSTAPE functions<br />

$ TR_TAPPARAM = %X00004000 ! Trace parameters <strong>for</strong> VMSTAPE functions<br />

$ TR_VOLENTRY = %X00008000 ! Entry and exit <strong>for</strong> VOLSET functions<br />

$ TR_VOLPARAM = %x00010000 ! Trace parameters <strong>for</strong> VOLSET functions<br />

$ tracefilter = TR_GENINFO .OR. TR_MEDINFO<br />

$ DEFINE/SYSTEM/NOLOG MDMS$SBT_TRACE_LEVEL 'tracefilter'<br />

$!<br />

After editing SYS$STARTUP:MDMS$SYSTARTUP.COM, be sure <strong>to</strong> execute it so the logical<br />

is defined.<br />

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

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

Saved successfully!

Ooh no, something went wrong!