ETERNUS SF Recovery Manager for Oracle EE 13.0.1 User's Guide - Solaris(TM) Operating System -
Contents PreviousNext

Appendix A NOTES ON OPERATIONS

A.1 Oracle Database 10g

A.1.1 Automatic Storage Management

Recovery Manager for Oracle does not support Automatic Storage Management (hereafter referred to as "ASM").

A.1.2 Oracle Managed Files (9i, 10g) 

Recovery Manager for Oracle does not support Oracle Managed Files ("OMF").

A.2 Recovery of Cluster Operation 

The recovery processing in the cluster operation (HA and RAC) will fail unless all the nodes (systems) comprising the cluster have been activated.
Ensure the recovery operation is executed after recovering all the nodes (systems).

Also ensure that the recovery operation is executed after confirming that all GDS volumes and file systems locating the database files are visible without server problems.

A.3 Case of RAC Environment 

When performing a backup and recovery, please perform it with primary node(*.
However, when the backup is performed with primary node stopped, please perform it with a node excepting the primary node.
When all the nodes are in the inactive status, recovery using the full recovery function is recommended. The auto recovery function may not recover from the damage normally.
(* Primary node means the node that has the minimum instance number.

A.3.1 Using Oracle 9i RAC  

Recovery Manager for Oracle does not back up or recover the shared configuration files.
If shared configuration files requiring backup are in use, back them up separately. If shared configuration files are damaged, recover them separately.

Note: For details of shared configuration files, refer to the manual, "Oracle9i Real Application Clusters Setup and Configuration".

A.3.2 Using Oracle RAC 10g 

Recovery Manager for Oracle does not back up or recover the Oracle Cluster Registry (hereafter referred to as "OCR"). If the Oracle Cluster Registry requires backup, back it up separately. If the OCR is damaged, recover it separately.

Note: For details on OCR and how to back up and recover, refer to the manual, "Oracle10g Real Application Clusters Administrator's Guide".

A.4 Oracle Net Services

A.4.1 tnsnames.ora 

Set up "$ORACLE_HOME/network/admin/tnsnames.ora" such that the Oracle Net can connect to the database being backed up.

A.4.2 Listener 

Define the listener for target database connection in the static service configuration.

Recovery Manager for Oracle requires connection to databases using JDBC. Because the database can be connected in the open status only, a recovery error may be generated if the listener is in the dynamic service configuration. Ensure the listener is used in the static service configuration.

Example: Setting the listener in the static service configuration

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dbsvr)(PORT = 1521))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /oracle/app/oracle/product/101)
(GLOBAL_DBNAME = orcl.world)
)
)


Note: Enter "SID_LIST_listener name" and "SID_NAME".

A.5 Password File Authentication 

In the cluster operation (HA), when the password files are not synchronous between the nodes, the database may not be activated in the event of failover.

After performing the following tasks, synchronize the files between the nodes. This can be done, for example, by copying the password file to the standby node.

A.6 Logical Host (HA, RAC) 

A logical host for an Active/Passive Cluster Environment is required. In the OPC/EC backup operation, specify the logical host for the ACM Active/Passive Cluster Environment in "Host name (HOST)" of the "basic information file (rmfo_system.ini)". Log in to the logical host to execute the backup command and the recovery operations.

A.7 Changing Target Database Configuration

Back up immediately when the target database has been altered (adding, deleting, or changing the control files, online redo log, data files etc.).

A.8 Offline Tablespace 

In the database environment where some tablespaces are in the offline status, all the tablespaces will be turned online when the backup processing or DB check is executed.

A.9 Recovering Database 

A.9.1 Tablespace point-in-time recovery (TSPITR)

Recovery Manager for Oracle does not support the tablespace point-in-time recovery (TSPITR).

The entire database must be subjected to the point-in-time recovery.

A.9.2 Recovery in EC backup operation 

Always select "Full Recovery" to recover the database in the EC backup operation. When a recovery operation other than "Full Recovery" is performed, integrity of the EC session may be affected, and the next backup operation may end in error.

A.9.3 Re-backup at after recovery operation 

Back up immediately after a recovery operation is performed. Unless the recovery operation is for the tablespaces only, the redo log will be reset, and the recovery catalog will also be reset. Therefore, no backup copy will be kept. This may result in loss of data.

In the OPC/EC backup operation, physical copy for OPC restore may be in progress immediately after the recovery operation. In this instance, the backup operation will end in error. The following message is output to the execution log file if backup is performed while OPC restore physical copy is in progress.

swst0676 Cannot backup. This is because Restore for Transaction Volume is being executed. Device Name=[DEVICE NAME]


Check the status of physical copy for OPC restore on the Backup Control screen of AdvancedCopy Manager. When physical copy for OPC restore is completed, re-execute the backup operation.

A.10 Tape Backup 

Recovery Manager for Oracle does not provide a function that backs up data to a tape. It is recommended that data stored on a backup volume is backed up to a tape using backup software. By backing up data to tapes, risks may be dispersed.

The following require tape backup:

  1. Data file (tablespace) backup volume
  2. Control file backup volume
  3. Archived redo log backup volume
  4. Recovery catalog database backup volume
  5. All files in installation directory of Recovery Manager for Oracle

For the details of these volumes, refer to the examples of disk resource allocation in the section, "Disk Resources Allocation".

A.11 Simultaneous Execution of commands 

Multiple Recovery Manager for Oracle commands may not be issued to the same database. Ensure subsequent commands are executed after the previous command has returned.

A.12 Changing System Date

Using the RMAN function, this software operates and manages the backup and recovery operations by date. There is no problem with moving the system date forward. However, if the system time is moved back , backup and recovery processing may generate an error.

A.13 EC Backup Operation

Only the backup operation by the Suspend/Resume function is supported for EC.

At least two generations of EC backup volumes are required *1.

One generation is in the synchronous state, and the other generation is in the suspend state.

*1: A generation is defined as the "number of backup volumes" in Recovery Manager for Oracle.

A.14 Changing Backup Mode  

Integrity may be affected in the data that manages backup operations when the data file backup method or the number of backup generation managements is altered. This may cause an error in recovery operations.

To change the backup mode described above, consult the Support Department of Recovery Manager for Oracle beforehand.

A.15 Applying Patch for Oracle Database Product 

When a patch for the Oracle database product is applied, post processing of the recovery catalog database is also required after the patch application.

For details, consult the Support Department of Recovery Manager for Oracle

A.16 Designing Target Database 

  1. Database object name

    Use the character string in accordance with the "Oracle Schema object naming rules". Note that the name of an object with a quoted identifier is not supported.

  2. Database resources

    When the database operation is in the cluster mode (HA and RAC), locate all the database resources (control files, online redo log files, data files, archived redo log files) on the shared disks.

    No restriction applies to the single server configuration.

  3. UNDO tablespace

    Ensure the UNDO tablespace name is started with "UNDO".

  4. Temporary tablespace

    Use the locally managed temporary tablespace (create it using the "create temporary tablespace" statement) as the temporary tablespace, create at least one and set "AUTOEXTEND OFF" to the tablespace.

  5. Data file (tablespace)
    1. All the data files must be created in one format only. Operation is not guaranteed when the data file location comprises both the raw devices and the file systems.
    2. To create data files on a file system, always specify "AUTOEXTEND OFF" (no auto extension).
      Recovery Manager for Oracle supports the following file systems:
      • ufs
      • ufs logging
      • sfxfs (GFS local file system)
    3. To create data files on a raw device, specify the raw device name (/dev/rdsk) directly rather than using the symbolic linkage.

      Poor example: A raw device on the GDS

      # ln -s /dev/sfdsk/oracle/rdsk/USERS01 /oracle/dbf/users01.dbf
      SQL> create tablespace users
      2 datafile '/oracle/dbf/users01.dbf' size 1024MB *.

      Good example: A raw device on the GDS

      SQL> create tablespace users
      2 datafile '/dev/sfdsk/oracle/rdsk/USERS01' size 1024MB *.


  6. Password file authentication

    Specify the value of the initial parameter "remote_login_passwordfile" to be "exclusive" and the password file authentication to be essential.

  7. Oracle Net CONNECT strings

    Define in "$ORACLE_HOME/network/admin/tnsnames.ora" the Oracle Net connection to the database subject to the backup and recovery operation. This is because this software is designed to connect the database subject to the backup and recovery operation of the Oracle Net.

    Note: Setting must be made for each node in the cluster (HA and RAC) operation.

  8. PRIMECLUSTER Global Disk Services

    The following must be noted even though the backup and recovery operation of the database created on the PRIMECLUSTER Global Disk Services (hereafter referred to as "GDS") is supported:

    1. When the OPC/EC backup method is selected, disk mirroring is not supported.
    2. When the OPC/EC backup method is selected, disk concatenation is not supported.
    3. When the OPC/EC backup method is selected, the number of logical partitions created in one logical unit (LUN_V) must be eight or less*1.

    *1: When EC backup method is selected, this must be less than 8 / number-of-generations (number of EC backup volumes).

    Note: Refer to the respective manuals, software handbooks, user's guides etc. and check any other restrictions that may affect ACM, ETERNUS3000/6000, and ETERNUS GR Series.

A.17 Disk Resources Allocation

The following tables show the form of each file backed up with RMfO.

*1 Use GDS volumes.

Note: Backup Volumes

Data File Backup Volumes

A.17.1 Single server and cluster operation (HA) 

This section explains allocation of disk resources in the single server or cluster operation (HA).

  1. Data file (tablespace)

    The volume locates the data files of the target database. Do not locate files other than data files (control file, online redo log file, archived redo log file, general files etc.) in this volume. The file must be created on either a raw device or a file system, but not on both.

    The following file systems are supported:

    To create data files on a file system, always specify "AUTOEXTEND OFF" (no auto extension).

  2. Online redo log

    The volume locates the online redo log files of the target database. The volume is not subject to backup.

  3. Control file

    The volume locates the control files of the target database.

  4. Archived Redo Log

    The archived redo log is the output destination for the archived redo log files of the target database. The archived redo log may be mirrored using the initial parameter, "log_archive_dest_n" or "log_archive_duplex_dest", but only one of "log_archive_dest_1" or "log_archive_dest" will be backed up.

    The volume can be estimated according to the following formula:

    RSIZE * (NGEN + 1)


    where
    RSIZE : The required disk size of archived redo logs for one generation.
    NGEN : The number of backup generations. (1 to 3)

    To operate one generation, a capacity to store two or more generations of archived redo log is required.

  5. Data file (tablespace) backup

    The volume is the backup volume of the "Data file (tablespace)".

    1. For standard (without OPC/EC) backup

      It outputs the RMAN backup set.

      A file system volume must be created using the "newfs" command etc.

      The mount point to which this volume is allocated must also be created.

      The following file systems are supported:

      • ufs
      • ufs logging
      • sfxfs (GFS local file system)
      • sfcfs (GFS shared file system)

      When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).
      The volume can be estimated according to the following formula:

      SDF * (NGEN + 1)

      where

      SDF: the sum of all sizes of the data files on the target database.

      NGEN: the number of the backup generations. (1 to 3)

      Multiple output destinations can be specified but the output size is not necessarily divided equally (the RMAN function of the Oracle database allocates data files to the volumes in sequence starting from Data File No. 1).

    2. For OPC/EC backup

      Obtain a volume that is the same size as the data file (tablespace) multiplied by the number of backup generations to be managed.

      This volume must be visible from the target database server because it must be registered for backup in the recovery catalog.

      If the "Data file (tablespace)" is created on the file system, it is mounted as Read Only (the mount point name is the name of the mount point with "/rmfo_bk1-3" added at the beginning. Refer to section "1. Data file (tablespace)". The mount point must be created for the "/rmfo_bk1-3/mount point" name.

      If the "Data file (tablespace)" is created on the raw device, (as with the volume referred to in section "1. Data file (tablespace)"), the raw device in the OPC/EC backup destination volume must also be granted with the access permission of the Oracle Install user.

  6. Control file backup

    The volume locates the backup data of the "control file". It outputs the RMAN backup set.

    A file system volume must be created using the "newfs" command etc.

    The mount point to which this volume is allocated must also be created.

    The following file systems are supported:

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

    A volume size of 500MB or more is required.

  7. Archived redo log backup

    The volume locates the backup data of the "Archived redo log". It outputs the RMAN backup set.

    A file system volume must be created using the "newfs" command etc.

    The mount point to which this volume is allocated must also be created.

    The following file systems are supported:

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

    A volume size larger than the "Archived redo log" size is required.

  8. Recovery catalog database

    The RMAN recovery catalog database is created on this volume.

    A file system volume must be created using the "newfs" command etc.

    Only the "ufs" file system is supported.

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.)

    A volume size of 2GB or more is required.

  9. Recovery catalog database backup

    The volume locates the backup data of the "Recovery catalog database".

    The volume size must be the same as the recovery catalog database size.

    Allocate the volume only (neither the mount point nor the file system needs to be created).

    The backup generation is one generation.

[Figure A.1 Example of disk resource allocation in the standard (without OPC/EC) backup operation]

[Figure A.2 Example of disk resource allocation in the OPC/EC backup operation ]

A.17.2 Cluster operation (RAC)

This section explains allocation of disk resources in the cluster operation (RAC).

  1. Data file (tablespace)

    The volume locates the data files of the target database.

    The volume must be created on the GDS volume (raw device).

  2. Online redo log

    The volume locates the online redo log files of the target database. It is required by every node comprising RAC.

    The volume is not subject to backup.

    The volume must be created on the GDS volume (raw device).

    The number of groups and members of the online redo log must be the same for each node.

  3. Control file

    The volume locates the control files of the target database.

    The volume must be created on the GDS volume (raw device).

  4. Archived redo log

    The archived redo log is the output destination of the archived redo log files of the target database.

    It is required by every node comprising RAC.

    It must be the sfcfs (GFS shared file system) and shared mounting by all nodes comprising RAC must be possible. Configure the system so that only the volume of own node is mounted in normal operation (Please arrange so that auto-mounting does not occur at system start).

    Example: Setting "/etc/vfstab" (in two-node RAC operation)

    /dev/sfdsk/rac10g/dsk/arch1 /dev/sfdsk/rac10g/rdsk/arch1 /rac10g/arch1 sfcfs - no noforcedirectio,rw
    /dev/sfdsk/rac10g/dsk/arch2 /dev/sfdsk/rac10g/rdsk/arch2 /rac10g/arch2 sfcfs - no noforcedirectio,rw,noauto

    The archived redo log may be mirrored using the initial parameter, "log_archive_dest_n" or "log_archive_duplex_dest", but only "log_archive_dest_1" or "log_archive_dest" will be backed up.

    The volume can be estimated according to the following formula:

    RSIZE * (NGEN + 1)

    where
    RSIZE : The required disk size of archived redo logs for one generation.
    NGEN : The number of backup generations. (1 to 3)

    To operate one generation, the capacity to store two or more generations of archived redo logs is required.

  5. Data file (tablespace) backup

    The volume is the backup volume of the "Data file (tablespace)".

    1. For standard (without OPC/EC) backup

      It outputs the RMAN backup set.

      A file system volume must be created using the "newfs" command etc.

      The mount point to which this volume is allocated must also be created.

      The following file systems are supported:

      • ufs
      • ufs logging
      • sfxfs (GFS local file system)
      • sfcfs (GFS shared file system)

      When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

      The volume can be estimated according to the following formula:

      SDF * (NGEN + 1)

      where

      SDF: the sum of all sizes of the data files on the target database.

      NGEN: the number of the backup generations. (1 to 3)

      Multiple output destinations can be specified but the output size is not necessarily divided equally (the RMAN function of Oracle database allocates data files to the volumes in sequence starting from Data File No. 1).

    2. For OPC/EC backup

      Obtain a volume that is the same size as the "Data file (tablespace)" multiplied by the number of backup generations to be managed.

      This volume must be referable from the target database server because the volume must be registered for backup in the recovery catalog.

      As with the "data file (tablespace)" volume, the raw device in the OPC/EC backup destination volume must be also granted with the access permission of the Oracle Install user.

  6. Control file backup

    The volume locates the backup data of the "control file". It outputs the RMAN backup set.

    A file system volume must be created using the "newfs" command etc.

    The mount point to which this volume is allocated must also be created.

    The following file systems are supported:

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

    A volume size of 500MB or more is required.

  7. Archived redo log backup

    The archived redo log is the output destination for the archived redo log files of the target database. It outputs the RMAN backup set and is required by every node comprising RAC.

    A file system volume must be created using the "newfs" command etc.

    The mount point to which this volume is allocated must also be created.
    The following file systems are supported:

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

    A volume size larger than the "archived redo log" size is required.

  8. Recovery catalog database

    The RMAN recovery catalog database is created on this volume.

    A file system volume must be created using the "newfs" command etc.

    Only the "ufs" file system is supported.

    When the backup and recovery operation is executed, the software mounts and unmounts the volume. In normal operation, the volume must remain unmounted (Please arrange so that auto-mounting does not occur at system start.).

    A volume size of 2GB or more is required.

  9. Recovery catalog database backup

    The volume locates the backup data of the "recovery catalog database".

    The volume size must be the same as the "recovery catalog database" size.

    Allocate the volume only (no mount point or file system needs creating).

    The backup generation is one generation.

[Figure A.3 Example of disk resource allocation in the standard (without OPC/EC) backup operation]

[Figure A.4 Example of disk resource allocation in the OPC /EC backup operation ]


Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006