当前位置: 首页 > article >正文

第三方发起备份的ORA-00245问题

文章目录

  • 前言
  • 一、信息确认
    • 共享目录位置
    • 控制文件快照位置
      • 节点1
      • 节点2
  • 二、RAC修改snapshot controlfile 参数
  • 三、字典表确认以及测试


前言

在使用 AnyBackup 管理控制台发起 Oracle RAC 数据库备份后,在任务历史记录 > 执行输出中显示如下错误信息:
control file backup failed; in Oracle RAC, target might not be on shared storage.
or
control file backup failed; in Oracle RAC, target is likely on a local file system .
在这里插入图片描述
RMAN输出报错,请检查下是否符合备份恢复条件、是否有配置错误或者有对Oracle的错误操作。 错误提供者:
oracleschedule,错误值:425984055,错误位置:ncOracleExecThread.cpp:877)

一、信息确认

共享目录位置

[root@cxlrac01 ~]# su  - grid
Last login: Tue Nov 28 14:35:03 CST 2023 on pts/2
[grid@cxlrac01 ~]$ 
[grid@cxlrac01 ~]$ 
[grid@cxlrac01 ~]$ asmcmd
ASMCMD> 
ASMCMD> 
ASMCMD> ls
DATAC1/
RECOC1/
ASMCMD> cd datac1
ASMCMD> 
ASMCMD> ls
ASM/
Cluster-um1/
DB1DB1/
TDHLBG/
TDHLDW/
TDHLTS/
TDHLYL/
orapwasm
orapwasm_backup
ASMCMD> 
ASMCMD> 
ASMCMD> exit

控制文件快照位置

节点1

[oracle@cxlrac01 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Nov 28 14:46:48 2023
Version 19.15.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: TDHLYL (DBID=1578450313)

RMAN> 

RMAN> 

RMAN> show snapshot controlfile name;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name TDHLYL are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/snapcf_tdhlyl1.f'; # default

RMAN> 

节点2

[oracle@cxlrac02 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Nov 28 14:48:29 2023
Version 19.15.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: TDHLYL (DBID=1578450313)

RMAN> 

RMAN> show snapshot controlfile name;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name TDHLYL are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/snapcf_tdhlyl2.f'; # default

RMAN> exit


Recovery Manager complete.
[oracle@cxlrac02 ~]$ 

二、RAC修改snapshot controlfile 参数

在其中一节点下进行参数修改CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘+DATAC1/TDHLBG/snapcf_tdhlyl.f’;

[oracle@cxlrac01 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Nov 28 14:46:48 2023
Version 19.15.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: TDHLYL (DBID=1578450313)

RMAN> 

RMAN> 

RMAN> show snapshot controlfile name;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name TDHLYL are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/snapcf_tdhlyl1.f'; # default

RMAN> 

RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATAC1/TDHLYL/snapcf_TDHLyl.f';

new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATAC1/TDHLYL/snapcf_TDHLyl.f';
new RMAN configuration parameters are successfully stored

RMAN> show snapshot controlfile name;

RMAN configuration parameters for database with db_unique_name TDHLYL are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATAC1/TDHLYL/snapcf_TDHLyl.f';

RMAN> 

RMAN> exit


Recovery Manager complete.
[oracle@cxlrac01 ~]$ 

在第二节点确认参数信息:

[oracle@cxlrac02 ~]$ 
[oracle@cxlrac02 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Nov 28 14:48:29 2023
Version 19.15.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: TDHLYL (DBID=1578450313)

RMAN> 

RMAN> show snapshot controlfile name;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name TDHLYL are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATAC1/TDHLYL/snapcf_tdhlyl.f';

RMAN> exit


Recovery Manager complete.

三、字典表确认以及测试

select * from V$RMAN_CONFIGURATION;
在这里插入图片描述

在 AnyBackup 控制台重新发起备份任务进行测试。


http://www.kler.cn/a/149602.html

相关文章:

  • python高效处理大数据:将Excel10万数据分批插入MySQL数据库的实战代码
  • 去地面算法——depth_clustering算法调试(1)
  • 【Hadoop实训】Hive 数据操作①
  • AI时代的研发生产关系,是否有新的可能?
  • OpenGL【C++】台灯
  • 零基础玩转IPC之——海思平台实现P2P远程传输实验(基于TUTK,国科君正全志海思通用)
  • vue实现动态路由菜单!!!
  • 19. Python 数据处理之 Pandas
  • 奇葩问题:arp缓存与ip地址冲突(实际是ip地址被占用导致arp缓存出现问题)
  • ssh管理
  • Android12强制所有应用跟随gsensor旋转
  • 23.解释不同方式的自动装配,spring 自动装配 bean 有哪些方式?
  • 【带头学C++】----- 八、C++面向对象编程 ---- 8.10 函数的默认参数
  • Python基础语法之学习字符串快速格式化
  • C\C++:原子计数操作 之__syn_fetch_and_add性能研究
  • 前后端分离开发出现的跨域问题
  • 压缩字符串II
  • Maven 介绍
  • C语言基础程序设计题
  • 爬虫如何确定HTTP代理IP是否符合自己业务需求?
  • Android 13.0 app进程保活白名单功能实现
  • Python语言学习笔记之二(基础语法)
  • leetcode 611. 有效三角形的个数(优质解法)
  • 去水印软件有哪些?亲测四款好用去水印神器
  • redis使用
  • “rhdf5filters.so’ not found when install ‘glmGamPoi‘ package