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
System Backup to Tape for Oracle Databases 9.9 System Backup to Tape Defaults exit $ exit Note Since the RMAN script is just a DCL command procedure, the /AFTER_SCHEDULE qualifier cannot be used to link schedules that execute RMAN scripts. That is, schedules that execute RMAN scripts cannot be assigned to the /AFTER_SCHEDULE qualifier on any schedule object. This is a current design limitation. Please refer to release notes section 5.3.6 for more details on this restriction. Note When specifying a format in the backup command you must put in a % character that creates unique names being sent to SBT. You can put Oracle's Recovery Manager command line in the scheduler command and execute a stored script through a cmdfile. 9.9 System Backup to Tape Defaults 9.9.1 Archive Name 9.9.2 Catalog Name 9.9.3 I/O Block Size The SBT feature of ABS/MDMS has defaults. This section describes these defaults. If you do not pass the parms="ENV=(MDMS$SBT_ ARCHIVE=archive_name)" in an Oracle Recovery Manager allocate command, SBT will use the default ORACLE_DB_ ARCHIVE archive. If you do not pass the parms="ENV=(MDMS$SBT_ CATALOG=catalog_name)" in an Oracle Recovery Manager allocate command, SBT will use the default ABS$CATA- LOG:ORACLE_DB catalog. If you do not pass the parms="ENV=(MDMS$SBT_IO_BLOCK_ SIZE=block_size)" in an Oracle Recovery Manager allocate command, SBT will use a block size of 65024 bytes when writing blocks on the I/O device. This has nothing to do with the block size that Oracle sends down to be written on the I/O device. 9.9.4 MDMS$SBT_RESTORE_SINGLE_CHANNEL=TRUE If you do not pass params="ENV=(MDMS$SBT_RESTORE_SINGLE_CHANNEL=TRUE)" in an Oracle Recovery manager allocate command,SBT will not treat this restore as a single channel restore and will force a dismount operation after restoring each backup piece. 9.9.5 System Backup to Tape Logicals Names describes the logical names used to control your SBT sessions. These logical names can be a system wide logical (DEFINE/SYSTEM) or be defined in your Oracle Recovery Manager scripts. When using in Oracle's Recovery Manager scripts, the logical is declared when you allocate a channel with the keyword of ENVfor the keyword parms. The following example shows how the MDMS$SBT_ARCHIVE and MDMS$SBT_IO_BLOCK_SIZE logicals are defined as a process logical with Oracle's Recovery Manager allocate command: run { allocate channel t1 for 'sbt_tape' parms="ENV=(MDMS$SBT_ARCHIVE=OFFSITE_ARCHIVE, 9-18 System Backup to Tape for Oracle Databases
System Backup to Tape for Oracle Databases 9.10 System Backup to Tape Restrictions } ... MDMS$SBT_IO_BLOCK_SIZE=32768)"; Note Everything between the quotes in parms MUST be uppercase characters. The logical abs_sbt alone is an exception. It works for both upper and lower case. SBT Logical Names Logical Name MDMS$SBT_ ARCHIVE MDMS$SBT_ ARCHIVE_n MDMS$SBT_IO_ BLOCK_SIZE MDMS$SBT_ CATALOG MDMS$SBT_TRACE_ LEVEL Description This logical name is the name of the archive used during a backup of the Oracle database. These logical names are the names of the archives used during a backup of the Oracle database when using the duplex feature of Oracle's Recovery Manager. MDMS$SBT_ARCHIVE_1 is for copy 1, MDMS$SBT_ARCHIVE_2 is for copy 2, and so forth. Example 9–13 is an example of using these logical. This logical name is the size of the block that is written on the tape volume. The default size is 65024 bytes ( 127 * 512 bytes). You cannot specify a value larger than 65024 bytes. This logical name is the name of the catalog used for the following Oracle Recovery Manager commands: • restore • validate • list backup This logical allows you to define how much tracing appears in the trace file. The logical is defined in SYS$STAR- TUP:MDMS$SYSTARTUP.COM. By default the values TR_GENINFO and TR_MEDINFO are defined. 9.10System Backup to Tape Restrictions This section describes restrictions in the use of this version of SBT. 9.10.1 Doing Parallel Backups When doing a parallel backup and you do not have all of the SBT resources needed could cause a backup not to complete. When doing a parallel backup, the controlling Oracle server does not let any of the Oracle servers doing the backup end until all servers say they have completed their task. I believe this is to keep the database consistent. However, this can cause the backup to not complete if SBT resources are not available. Note This is not really a SBT restriction, but it is placed here to make you aware of the possibility of parallel backups not completing. The following three scenarios can cause a parallel backup not to complete: • Setting the Drives List in the archive to a number of drives less than the number of parallel streams that Oracle's Recovery Manager starts. If you do not need to restrict the Oracle System Backup to Tape for Oracle Databases 9–19
- Page 109 and 110: User Interfaces 6.1 Graphical User
- Page 111 and 112: User Interfaces 6.1 Graphical User
- Page 113 and 114: Figure 6-5 Domain View Showing Expa
- Page 115 and 116: User Interfaces 6.1 Graphical User
- Page 117 and 118: 6.1.13 Viewing MDMS Audit and Event
- Page 119 and 120: 6.2.1 Syntax Overview User Interfac
- Page 121 and 122: User Interfaces 6.3 User Interface
- Page 123 and 124: 7 Preparing For Disaster Recovery I
- Page 125 and 126: 7.1.2 Backup of MDMS$ROOT Preparing
- Page 127 and 128: 7.2 Prolog and Epilog Procedure Pre
- Page 129 and 130: 7.2.1 Restoring The System Disk To
- Page 131 and 132: 8 Remote Devices 8.1 RDF Installati
- Page 133 and 134: Remote Devices 8.4 Monitoring and T
- Page 135 and 136: 8.4.4 Changing Network Parameters f
- Page 137 and 138: • Free Space is 20 Remote Devices
- Page 139 and 140: Remote Devices 8.5 Controlling Acce
- Page 141: Remote Devices 8.7 RDF Error Messag
- Page 144 and 145: System Backup to Tape for Oracle Da
- Page 146 and 147: System Backup to Tape for Oracle Da
- Page 148 and 149: System Backup to Tape for Oracle Da
- Page 150 and 151: System Backup to Tape for Oracle Da
- Page 152 and 153: System Backup to Tape for Oracle Da
- Page 154 and 155: System Backup to Tape for Oracle Da
- Page 156 and 157: System Backup to Tape for Oracle Da
- Page 158 and 159: System Backup to Tape for Oracle Da
- Page 162 and 163: System Backup to Tape for Oracle Da
- Page 164 and 165: System Backup to Tape for Oracle Da
- Page 166 and 167: System Backup to Tape for Oracle Da
- Page 168 and 169: System Backup to Tape for Oracle Da
- Page 170 and 171: System Backup to Tape for Oracle Da
- Page 172 and 173: System Backup to Tape for Oracle Da
- Page 174 and 175: Virtual Library System (VLS) 10.3 Q
- Page 176 and 177: Architecture 11.1 The Server Proces
- Page 178 and 179: Architecture 11.2 Scheduler Interfa
- Page 180 and 181: Architecture 11.3 Catalogs Example
- Page 182 and 183: Architecture 11.4 Coordinator 11.4.
- Page 184 and 185: Troubleshooting 12.2 Media Manageme
- Page 186 and 187: Troubleshooting 12.2 Media Manageme
- Page 188 and 189: Troubleshooting 12.4 ABS Catalogs 1
- Page 190 and 191: Troubleshooting 12.5 Windows and Un
- Page 192 and 193: Troubleshooting 12.6 RDF (Remote De
- Page 195 and 196: A Configuration Example Getting ABS
- Page 197 and 198: Configuration Example * Magazine -
- Page 199 and 200: Configuration Example Configuring s
- Page 201 and 202: Configuration Example If you comple
- Page 203 and 204: Configuration Example Assist: YES C
- Page 205 and 206: B Migrating from SLS/MDMS V2.X to A
- Page 207 and 208: Migrating from SLS/MDMS V2.X to ABS
- Page 209 and 210: Table B-1 SBK Symbols in ABS Termin
<strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases<br />
9.9 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape Defaults<br />
exit<br />
$ exit<br />
Note<br />
Since the RMAN script is just a DCL command procedure, the /AFTER_SCHEDULE<br />
qualifier cannot be used <strong>to</strong> link schedules that execute RMAN scripts. That is, schedules<br />
that execute RMAN scripts cannot be assigned <strong>to</strong> the /AFTER_SCHEDULE qualifier<br />
on any schedule object. This is a current design limitation. Please refer <strong>to</strong> release<br />
notes section 5.3.6 <strong>for</strong> more details on this restriction.<br />
Note<br />
When specifying a <strong>for</strong>mat in the backup command you must put in a % character that<br />
creates unique names being sent <strong>to</strong> SBT.<br />
You can put Oracle's Recovery Manager command line in the scheduler command and execute a<br />
s<strong>to</strong>red script through a cmdfile.<br />
9.9 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape Defaults<br />
9.9.1 <strong>Archive</strong> Name<br />
9.9.2 Catalog Name<br />
9.9.3 I/O Block Size<br />
The SBT feature of ABS/MDMS has defaults. This section describes these defaults.<br />
If you do not pass the parms="ENV=(MDMS$SBT_ ARCHIVE=archive_name)" in an Oracle<br />
Recovery Manager allocate command, SBT will use the default ORACLE_DB_ ARCHIVE<br />
archive.<br />
If you do not pass the parms="ENV=(MDMS$SBT_ CATALOG=catalog_name)" in an Oracle<br />
Recovery Manager allocate command, SBT will use the default ABS$CATA-<br />
LOG:ORACLE_DB catalog.<br />
If you do not pass the parms="ENV=(MDMS$SBT_IO_BLOCK_ SIZE=block_size)" in an<br />
Oracle Recovery Manager allocate command, SBT will use a block size of 65024 bytes when<br />
writing blocks on the I/O device. This has nothing <strong>to</strong> do with the block size that Oracle sends<br />
down <strong>to</strong> be written on the I/O device.<br />
9.9.4 MDMS$SBT_RESTORE_SINGLE_CHANNEL=TRUE<br />
If you do not pass params="ENV=(MDMS$SBT_RESTORE_SINGLE_CHANNEL=TRUE)"<br />
in an Oracle Recovery manager allocate command,SBT will not treat this res<strong>to</strong>re as a single<br />
channel res<strong>to</strong>re and will <strong>for</strong>ce a dismount operation after res<strong>to</strong>ring each backup piece.<br />
9.9.5 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape Logicals Names<br />
describes the logical names used <strong>to</strong> control your SBT sessions. These logical names can be a<br />
system wide logical (DEFINE/SYSTEM) or be defined in your Oracle Recovery Manager<br />
scripts. When using in Oracle's Recovery Manager scripts, the logical is declared when you allocate<br />
a channel with the keyword of ENV<strong>for</strong> the keyword parms. The following example shows<br />
how the MDMS$SBT_ARCHIVE and MDMS$SBT_IO_BLOCK_SIZE logicals are defined as<br />
a process logical with Oracle's Recovery Manager allocate command:<br />
run<br />
{<br />
allocate channel t1 <strong>for</strong> 'sbt_tape'<br />
parms="ENV=(MDMS$SBT_ARCHIVE=OFFSITE_ARCHIVE,<br />
9-18 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases