重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2432|回复: 0
打印 上一主题 下一主题

[备份恢复] ORA-00245: control file backup failed; target is likely on a local file system

[复制链接]
跳转到指定楼层
楼主
发表于 2020-6-22 09:35:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 jiawang 于 2020-6-23 09:14 编辑

环境:
DB VERSION: 11.2.0.4.0
RAC 2 nodes

报错现象:
Tue Jun 09 02:07:37 2020
Errors in file/u01/app/oracle/diag/rdbms/orcl/orcl1/trace/orcl1_ora_26486.trc:
ORA-00245: control file backup failed; target islikely on a local file system

解决办法:

在rac一个节点的rman中,修改SNAPSHOT CONTROLFILE NAME参数指定到ASM共享存储位置。
注意:在一个节点的rman中修改,会自动将改变同步到其他节点的rman中。

CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+data/xxxx/snapcf_xxx.f';

===========================================================================
以下根据metalink的相关文档整理
ORA-245: In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location (文档 ID 1472171.1)

错误原因:
Oracle Database - Enterprise Edition - Version 11.2.0.1.0 and later
Information in this document applies to any platform.
This issue is only applicable to RAC database.
该问题会出现在11.2.0.1.0及之后的RAC环境中。

From 11gR2 onwards, the controlfile backup happens without holding the controlfile enqueue. For non-RAC database, this doesn't change anything. But for RAC database, due to the changes made to the controlfile backup mechanism in 11gR2, any instance in the cluster may write to the snapshot controlfile. Due to this snapshot controlfile need to be visible to all instances.

11gR2之后,备份控制文件无需锁定controlfile enqueue。在非Rac中,没有任何改变。但是,在rac环境中,由于11gR2的控制文件备份原理发生了变化,集群中的每个实例都要能够写到快照控制文件。所以,快照控制文件要对所有实例可见。

The snapshot controlfile MUST be accessible by all nodes of a RAC database, if the snapshot controlfile does not reside on a shared device error will be raised at the time of RMAN backup while taking snapshot of controlfile.
在Rac中,所有节点都必须能够访问快照控制文件。如果快照控制文件没有放到共享设备上,当rman备份快照控制文件时,ORA-00245错误就会出现。

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-20 09:31 , Processed in 0.152524 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表