IMPAX 6.5.1 Server Knowledge Base home > Oracle Server home > Configuring Oracle Data Guard

Configuring RMAN backups after the Oracle Data Guard configuration

Perform this task after you have backed up the database on the primary server and restored it on the standby server as part of the Oracle Guard configuration.

Configuring RMAN to perform a disk backup at this point cleans up the archive logs.

To configure RMAN backups after the Oracle Data Guard configuration

  1. Log into the primary server.

    On Solaris, log in as the oracle user. On Windows, log in as the AgfaService user.

  2. In a command prompt, change to the /usr/mvf/bin (Solaris) or the C:\mvf\bin (Windows) directory.

  3. Run the configure_backup command.

  4. To create a standby control file on the primary server, type

    sqlplus / as sysdba

    alter database create standby controlfile as '/opt/oracle/standby_control_file.ctl';

  5. Copy the control file, standby_control_file.ctl, from the primary to the standby server.

    On Solaris, you can use the following command to do so:

    scp /opt/oracle/standby_control_file.ctl service@host_name_of_standby_server/usr/mvf

    On Windows, use standard copy and paste functionality to copy the file over.

  6. Log into the standby server as the oracle (Solaris) or AgfaService (Windows) user.

  7. Run the configure_backup command on this server as well.

  8. To shut down the standby server, type the following:

    sqlplus / as sysdba

    shutdown immediate;

  9. To import the standby control files from the primary server to the standby server, first rename them with a .orig extension on the standby server; for example, change control03.ctl to control03.ctl.orig. The files to rename are:

    1. /usr/mvf/data/dbase/data2/control03.ctl (Solaris) or E:\data\dbase\data2\control03.ctl (Windows)

    2. /usr/mvf/data/dbase/index2/control02.ctl (Solaris) or E:\data\dbase\index2\control02.ctl (Windows)

    3. /usr/mvf/data/dbase/system/control01.ctl (Solaris) or E:\data\dbase\system\control01.ctl (Windows)

  10. Now copy the standby control files from the primary server to the standby server. The files to copy are the same as those listed in the previous step.

  11. To start and mount the standby server, type

    sqlplus / as sysdba

    startup mount


See also


Topic number: 66586

Applies to: IMPAX 6.5.1 Server Knowledge Base