Required diagnostic data collection for RMAN backup

Posted feiyun8616的作坊 (半个程序员and dba)

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Required diagnostic data collection for RMAN backup相关的知识,希望对你有一定的参考价值。

1.  Provide the alert.log and related tracefile of the target database.  

2.  Provide details on the location where backup is being placed.  I.e., tape, local disk, nfs mount, data domain, etc.    Call the file srdc_rman_backup_answers_<date>.txt before submitting.

3.  Submit rman script.  Rename the script to srdc_rman_backup_script_<date>.txt before submitting.

4.  Submit full rman output of execution.  Rename the output file to srdc_rman_backup_output_<date>.log before submitting.

5.  If possible, reproduce the error/issue with debug enabled using:

a. Before invoking rman, set the following environment variable:

Unix:

export NLS_DATE_FORMAT=‘DD-MON-YYYY HH24MISS‘

Windows:

set NLS_DATE_FORMAT=DD-MON-YYYY HH24MISS

b. Invoke rman with:

rman trace=srdc_rman_backup_debug_<date>.trc log=srdc_rman_backup_output_<date>.log

c. execute:

connect target /;
connect catalog ..... /* if rman catalog is being used */
set echo on;
debug on;
<COMMANDS>
debug off;

   

NOTE:  debug adds very little overhead. 

6.  If it is impossible to re-execute, connect to the target database and capture:

eg:

SQL> connect / as sysdba
SQL> @srdc_rman_backup_output.sql

7.  Compress (in .zip or .tar.gz format) all above files.  Call the file srdc_rman_backup_details_<date>.zip/.tar/.gz before uploading to SR.

The following files are expected to be uploaded:

srdc_rman_backup_answers_<date>.txt
srdc_rman_backup_script_<date>.txt 
srdc_rman_backup_output_<date>.log
srdc_rman_backup_debug_<date>.trc

 

ps:

REM srdc_rman_backup_output.sql - collect RMAN information with backup.
define SRDCNAME=‘RMAN_BACKUP‘
SET MARKUP html ON PREFORMAT ON
set TERMOUT off FEEDBACK off VERIFY off TRIMSPOOL on HEADING off
COLUMN SRDCSPOOLNAME NOPRINT NEW_VALUE SRDCSPOOLNAME
select ‘SRDC_‘||upper(‘&&SRDCNAME‘)||‘_‘||upper(instance_name)||‘_‘||
     to_char(sysdate,‘YYYYMMDD_HH24MISS‘) SRDCSPOOLNAME from v$instance;
set TERMOUT on MARKUP html preformat on
REM
spool &&SRDCSPOOLNAME..htm
select ‘+----------------------------------------------------+‘ from dual
union all
select ‘| Diagnostic-Name: ‘||‘&&SRDCNAME‘ from dual
union all
select ‘| Timestamp:       ‘||to_char(systimestamp,‘YYYY-MM-DD HH24:MI:SS TZH:TZM‘) from dual
union all
select ‘| Machine:         ‘||host_name from v$instance
union all
select ‘| Version:         ‘||version from v$instance
union all
select ‘| DBName:          ‘||name from v$database
union all
select ‘| Instance:        ‘||instance_name from v$instance
union all
select ‘+----------------------------------------------------+‘ from dual
/
set pagesize 50000;
set echo on;
set feedback on;
select output from v$rman_output;

spool off
set markup html off preformat off

以上是关于Required diagnostic data collection for RMAN backup的主要内容,如果未能解决你的问题,请参考以下文章

System.Diagnostics.Trace.Listeners

John Deere Service Advisor EDL V3 Electronic Data Link Heavy Duty Truck Diagnostic Scanner with SA 4

阿凡达变脸器为啥显示missing required data

Sping Cloud项目启动报A component required a bean of type 'com.tianyan.bbc.dao.SecurityUserBaseMapper&

ElementUI 表格使用树形数据 报错 for nested data item, row-key is required

Spring Boot Starter Data Redis使用Lettuce客户端报错:NOAUTH Authentication required