码迷,mamicode.com
首页 > 数据库 > 详细

Oracle 12c DG主库ORA-00245: control file backup fail

时间:2018-07-10 15:52:14      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:mos   unique   oracl   product   记忆   server   app   not   str   

环境是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

标签:mos   unique   oracl   product   记忆   server   app   not   str   

原文地址:http://blog.51cto.com/yangjunfeng/2139779

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!