Avamar:Oracle 備份:使用 Taskfile 在可插式資料庫進行 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 指令檔中使用 taskfile 時,才會發生此狀況。
錯誤訊息
範例
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
注意:若有以下狀況,則本 KB 文章不適用:
- 備份為從 Avamar Server 排定。
- 如果用於備份的 rman 指令檔中沒有 --taskfile。
Cause
產品使用 Oracle 檢視尋找備份狀態。在整個備份的期間會對 Oracle 檢視多次查詢,在其輸出結果中搜尋 FAILED/ERRORS/RMAN-03099 等關鍵字,若發現其中一個關鍵字,則代表備份標示為失敗,若沒有發現關鍵字,代表備份標示為已完成。
此問題發生在兩個可插拔資料庫的並行備份期間。例如 PDB1 和 PDB2,如果 PDB2 備份失敗,PDB1 備份也會失敗,因為會在 PDB2 故障的查詢輸出中找到。
此問題發生在兩個可插拔資料庫的並行備份期間。例如 PDB1 和 PDB2,如果 PDB2 備份失敗,PDB1 備份也會失敗,因為會在 PDB2 故障的查詢輸出中找到。
Resolution
因應措施
或
- 從 rman 指令檔移除 taskfile。
或
- 從 Avamar Server/Scheduler 排程備份。
Affected Products
Avamar Plug-in for OracleArticle 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.