RAC with BRARCHIVE

10 篇文章 7 订阅

RAC with BRARCHIVE

This section describes how to set up the Oracle Real Application Cluster (RAC) to run with BRARCHIVE.

Caution Caution

It is important to archive the offline redo log files, because these are essential if you have to recover the database.

Integration

The following graphic shows a typical archiving scenario with RAC:

This graphic is explained in the accompanying text.

 

Prerequisites

Offline redo log files of different instances can be stored in the common archiving directory located on a shared file system of another instance. This can occur if the online redo log files of a particular instance have not been saved in the archiving directory for a long time.

Possible reasons are that the instance is closed or it is started but not active. Therefore, since a redo log file change is not forced, Oracle archiving is not activated. One of the “active” instances notices this status and makes sure that the current online redo log file of the affected instance is saved in the archiving directory.

Therefore, you must set the parallel_instances parameter in the init<DBSID>.sap profiles used by BRARCHIVE, so that BRARCHIVE can find and archive the offline redo log files of the other Oracle instances.

On UNIX systems, you can now perform BRBACKUP and BRARCHIVE backups of RAC databases with the OPS$ user without entering the database user and password in the -u option. For more information, see SAP Note 914174.

On Windows systems, this is possible in the standard Oracle configuration.

Features

  • There is only one volume pool managed by BRARCHIVE.

  • The entire BRARCHIVE functionality is available, even continuous archiving with the option -f.

  • Only the disk space in the global archiving directory must be provided.

  • Normally there is a global archiving directory created in the cluster file system. This directory can be accessed from every node of the RAC system. All the archiving processes save the online redo log files to the global directory in this way.

  • Example Example

    Definition of the global archiving directory in spfile:

    log_archive_dest = /oracle/RAC/oraarch/RACarch

    log_archive_format = %t_%s.dbf

    where:

    • %t: thread number (for identifying the instance)

    • %s: log sequence number

Caution Caution

The Oracle placeholder @ (for ORACLE_SID) must not appear in the name of an offline redo log file. This means that it must not appear in either log_archive_dest nor in log_archive_format

Activities

You start BRARCHIVE only on the host of one Oracle instance, generally on the dedicated database (DDB) instance. It archives all offline redo log files of all the Oracle instances.

BRARCHIVE creates a separate summary log, arch<DBSID>.log, for every Oracle instance. These logs are stored in the global saparch directory.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值