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.4 Configuring <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape in the <strong>Archive</strong> <strong>Backup</strong> <strong>System</strong><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. By default the general in<strong>for</strong>mation and media movement in<strong>for</strong>mation are traced in the<br />

trace file ORA_DUMP:SBTIO.LOG. Refer <strong>to</strong> Section 9.11.1 <strong>for</strong> more in<strong>for</strong>mation about the logical<br />

MDMS$SBT_TRACE_LEVEL.<br />

9.4 Configuring <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape in the <strong>Archive</strong> <strong>Backup</strong> <strong>System</strong><br />

Be<strong>for</strong>e you can use SBT, you must configure a catalog and an archive in ABS/MDMS. This section<br />

describes how <strong>to</strong> create catalogs and archives. Catalogs s<strong>to</strong>re in<strong>for</strong>mation about what in<strong>for</strong>mation<br />

was backed up. <strong>Archive</strong>s allow you <strong>to</strong> implement your s<strong>to</strong>rage policies.<br />

This section shows you how <strong>to</strong> create the default catalog (ORACLE_DB) and the default archive<br />

(ORACLE_DB_ARCHIVE). By creating these two default objects, you can test SBT easier as<br />

described in Section 9.5.<br />

9.4.1 Creating an ORACLE_DB Catalog<br />

Be<strong>for</strong>e you can us the SBT feature, you must create a catalog. The catalog s<strong>to</strong>res the tape volume,<br />

saveset name, and piece name. The catalog allows SBT <strong>to</strong> lookup the tape volume <strong>for</strong> a<br />

res<strong>to</strong>re. You should only create one oracle_db type catalog that is accessible <strong>to</strong> Oracle’s Recover<br />

Manager(s). The catalog is created in ABS$CATALOG:. The catalog must be created in the<br />

ABS$CATALOG: direc<strong>to</strong>ry that is local <strong>to</strong> all nodes that will access the catalog.<br />

Use the following command <strong>to</strong> create a catalog named ORACLE_ DB:<br />

$ MDMS CREATE CATALOG ORACLE_DB /TYPE=ORACLE_DB<br />

Note<br />

Do not use the /NODE qualifier when creating the catalog. This version of SBT can<br />

only access catalogs that are local <strong>to</strong> the node.<br />

9.4.2 Creating an <strong>Archive</strong><br />

When doing an Oracle Recovery Manager res<strong>to</strong>re, allocateForMaint, or validate command, you<br />

must specify the catalog you want <strong>to</strong> use. However, the default catalog name <strong>for</strong> SBT is<br />

ORACLE_DB. There<strong>for</strong>e, if you do not specify a catalog, it will lookup in<strong>for</strong>mation in the<br />

ORACLE_DB catalog on the local node.<br />

Refer <strong>to</strong> Section 9.7 <strong>for</strong> in<strong>for</strong>mation on how <strong>to</strong> access the ORACLE_DB catalog.<br />

An archive defines the tape volumes and archive attributes where you can safely s<strong>to</strong>re data. Each<br />

archive has a unique name and contains a set of archive characteristics. You can have as many<br />

archives as you want <strong>to</strong> implement your s<strong>to</strong>rage policies. This section describes how <strong>to</strong> create an<br />

archive and what attributes pertain <strong>to</strong> SBT. You should refer <strong>to</strong> the command reference guide <strong>for</strong><br />

in<strong>for</strong>mation about creating archives and their attributes. You may want <strong>to</strong> create an archive that<br />

keeps tape volumes <strong>for</strong> a year and another that keeps tape volumes <strong>for</strong> 35 days.<br />

Note<br />

When using SBT you do not use an environment, save, or res<strong>to</strong>re object.<br />

The following command creates an archive named ORACLE_DB_ ARCHIVE:<br />

$ MDMS CREATE ARCHIVE ORACLE_DB_ARCHIVE -<br />

/ARCHIVE_TYPE=TAPE -<br />

9-8 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases

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

Saved successfully!

Ooh no, something went wrong!