Avamar:Oracle 备份:如果使用任务文件时其中一个备份失败,那么可插拔数据库的所有并发 Oracle 备份都可能失败

Summary: 本文提供可插拔数据库的并发 Oracle 备份失败的解决方法。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

在 Oracle 多租户体系结构中,客户可能有多个可插拔数据库,这些数据库可以使用不同的 rman 脚本并行备份。如果可插拔数据库的其中一个备份失败,那么并行运行的所有其他可插拔数据库备份也可能会失败。仅当在 rman 脚本中使用任务文件时,才会发生这种情况。
 
示例
connect target /
run {

allocate channel t1 type sbt PARMS 'SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so' SEND '"--prefix=19c/PDB1/" "--flagfile=/home/oracle/flagfile.txt" "--taskfile=/home/oracle/taskflag1.txt" "--bindir=/usr/local/avamar/bin"  "--cacheprefix=PDB1" "--vardir=/usr/local/avamar/var"' trace 5;

backup format "PDB1_%U" filesperset 4 incremental  level 0 pluggable database PDB1;

}

 

错误信息
 
channel t1: starting piece 1 at 13-APR-22
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on t1 channel at 04/13/2022 11:15:11
ORA-27192: skgfcls: sbtclose2 returned error - failed to close file
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
   sbtclose2: invalid response from avoracle


 
 
提醒:在以下情况下,本知识库文章不适用:
  • 从 Avamar Server 安排备份。
  • rman 脚本中没有任务文件用于执行备份。

Cause

该产品使用 Oracle 视图来查找备份状态。在整个备份过程中,重复对 Oracle 视图的查询,在其输出中搜索“FAILED/ERRORS/RMAN-03099”关键字,如果找到这些关键字之一,则将备份标记为失败,否则将备份标记为完成。

该问题发生在两个可插拔数据库的并发备份期间。例如 PDB1 和 PDB2,如果 PDB2 备份失败,则 PDB1 备份也会失败,原因是它会在查询中找到 PDB2 失败的输出。

Resolution

解决方法
  • 从 rman 脚本中删除任务文件。


 
  • 从 Avamar Server/Scheduler 安排备份。

Affected Products

Avamar Plug-in for Oracle
Article Properties
Article Number: 000198426
Article Type: Solution
Last Modified: 14 Dec 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.