Oracle 12c DG主库ORA-00245: control file backup fail
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle 12c DG主库ORA-00245: control file backup fail相关的知识,希望对你有一定的参考价值。
环境是12.2.0.1 version, Oracle Data Guard主库巡检发现alert有异常报错:
2018-07-10T13:24:04.710366+08:00
Errors in file /u01/app/oracle/diag/rdbms/dwdb/dwdb1/trace/dwdb1_m000_4455.trc:
ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage
Removing incomplete backup control file /u01/app/oracle/product/12.2.0/db_1/dbs/snapcf_dwdb1.f
Got error: 245
**** WARNING ***
The errors during Server autobackup are not fatal, as it
is attempted after sucessful completion of the command.
However, it is recomended to take an RMAN control file
backup as soon as possible because the Autobackup failed
with the following error:
ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage
记忆里这个是11g的一个bug,用ASM的话,控制文件的快照得放在共享路径下,现环境12C,也有这样的问题?
RMAN> show snapshot controlfile name;
RMAN configuration parameters for database with db_unique_name DWDB are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘/u01/app/oracle/product/12.2.0/db_1/dbs/snapcf_dwdb1.f‘; # default
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘+data/dwdb/snapcf_dwdb1.f‘;
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘+data/dwdb/snapcf_dwdb1.f‘;
new RMAN configuration parameters are successfully stored
RMAN> show snapshot controlfile name;
RMAN configuration parameters for database with db_unique_name DWDB are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘+data/dwdb/snapcf_dwdb1.f‘;
具体可以参考MOS
ORA-245: In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location (文档 ID 1472171.1)
特此记录一下,好记性不如烂笔头~
以上是关于Oracle 12c DG主库ORA-00245: control file backup fail的主要内容,如果未能解决你的问题,请参考以下文章
Oracle故障处理:ORA-00245: control file backup failed; target is likely on a local file system