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

时间: 2024-10-05 19:40:52

Required diagnostic data collection for RMAN backup的相关文章

PLSQL_性能优化工具系列_Best Practices: Proactive Data Collection for Performance Issues

占位符 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=2082062510193540&id=1366133.1&_afrWindowMode=0&_adf.ctrl-state=rru77dj7v_139 NOTE:1417774.1 - FAQ: SQL Health Check (SQLHC) Frequently Asked QuestionsNOTE:224270.1 - TRCANLZR

官方文档 恢复备份指南八 RMAN Backup Concepts

本章内容 Consistent and Inconsistent RMAN Backups Online Backups and Backup Mode Backup Sets Image Copies Multiple Copies of RMAN Backups Control File and Server Parameter File Autobackups Incremental Backups Backup Retention Policies 1.Consistent and In

How to restore and recover a database from an RMAN backup. (Doc ID 881395.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.

sharepoint 2013 开启 Usage and Health Data Collection

Usage and Health Data Collection Monitoring the status of your farm's health is a critical aspect of SharePoint administration. This service application collects the various logging information stored in SharePoint and writes it to the logging databa

rman backup

rman备份是一个服务-管理备份 1.rman使用oracle 服务器进程备份操作 2.包含数据库.表空间.数据文件.控制文件.归档日志文件 数据库关闭下的备份 1.目标库必须是MOUNT(不能打开) 2.包含数据库文件.控制文件.归档日志文件 数据库打开情况下的备份 1.表空间不应该放入备份模式中(rman 读取一个块,直到一致性的获取,不能使用ALTER TABLESPACE ...begin end;) 2.包含数据文件.控制文件.归档日志文件 rman 相关参数说明 filesperse

Setup alert email and Disable Sending Usage and Diagnostic Data to Cloudera

Setup Alert Email settings: Disable Sending Usage and Diagnostic Data to Cloudera ok

Windows 2008下 rman backup scirpts(备份脚本)--已经在生产环境下通过验证

一.任务计划 windows -控制面板-管理工具-计划任务程序,右击"任务计划程序库","创建任务" 二:相关脚本中的内容: 2.1  back_rman.bat中的内容: set ORACLE_SID=FS F:\oracle\product\10.2.0\db_1\BIN\rman target / cmdfile=H:\worksql\windows_backupscript\backup.rcv log=H:\worksql\windows_backups

Data collection (imaging)

Now that we've talked about sample prep, let's talk about imaging. 0:05 In a single particle project, the images can either be collected manually or automatically by a program written to do that. For instance, the one I'm going to use as an example i

Data Collection with Apache Flume(二)

今天继续讨论几个agent的配置. 第一个agent是从终端捕获特定命令执行的输出结果,并将文件输出到特定目录.先看一下配置的代码: agent2.sources = execsource //指定为从命令获取输出的source agent2.sinks = filesink //输出到文件的sink agent2.channels = filechannel //输出到文件的channel agent2.sources.execsource.type = exec //类型 agent2.so