HP A.06.11 User Manual

Page 79

Advertising
background image

If the Oracle target database is not operating in the ARCHIVELOG mode, proceed
as follows:

If SPFILE is used:

1.

Shut down the database.

2.

Mount the database.

3.

Start SQL*Plus and type:

alter database archivelog;

alter database open;

alter system archive log start SCOPE=SPFILE;

If PFILE is used:

1.

Shut down the database.

2.

Change PFILE to enable log archiving by setting:

log_archive_start = true

3.

Mount the database.

4.

Start SQL*Plus and type:

alter database archivelog;

alter database open;

Oracle Data Guard:

The archive logs generated after an archive log backup must

be manually cataloged so that they are known to RMAN for future backups when:

The primary or standby control file is re-created. The archive logs must be
re-cataloged because RMAN uses the control file to determine which archive logs
must be backed up.

The primary database role changes to standby after a failover. The archive logs
must be re-cataloged because a change in database role resets the version time
of the mounted control file.

Use the RMAN command CATALOG ARCHIVELOG 'archive_log_file_name';
to manually catalog the archived redo logs.

Now you are ready to run an online backup of the Oracle database, using any of
the following methods:

Integration guide for Oracle and SAP

79

Advertising