Automatic Diagnostic Repository (ADR) with Oracle Net for 11g
Using and Disabling the Automatic Diagnostic Repository (ADR) with Oracle Net for 11g [ID 454927.1] | |||||
| |||||
修改時間 08-OCT-2010 型別 HOWTO 狀態 PUBLISHED |
In this Document
Goal
Solution
Applies to:
Oracle Net Services - Version: 11.1.0.6.0 to 11.2.0.1 - Release: 11.1 to 11.2Linux x86
Microsoft Windows (32-bit)
MS Windows
Intel Based Server LINUX
Checked for relevance on 19-MAR-2010.
Goal
Using and Disabling the Automatic Diagnostic Repository (ADR) with Oracle Net. Includes instructions for using the adrci executable included in the 11g installation.Solution
Client Trace Files
Viewing Method 1
adrci> show base -product client
adrci> set base
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
cd oradiag_username
cd clients
cd user_username
cd host*
cd trace
-or-
Followed by ls -ltr to sort the
directory listing by date.
Viewing Method 2 (Windows)
Server Trace Files
Viewing Method 1
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
Server traces are in the format of
e.g.,
/u01/app/oracle/product/diag/rdbms/v11/V11/trace
Viewing Method 2 (Windows) List of
server traces:
Server traces are in the format of
Listener Trace
Files
Viewing Method 1
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
Listener
traces are in the format of ora_
ls -ltr to sort by time and
date
Viewing Method 2 (Windows)
Listener traces are in the format of
ora_
dir /od *.trc to sort by time and
date
LSNRCTL traces
Viewing Method 1
adrci> show base -product client
adrci> set base
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
ls -ltr *.trc to sort by time and
date
Viewing Method 2 (Windows)
dir /od *.trc to sort by time and
date
Listener and CMAN Log Files
Viewing Method 1
adrci
adrci> show alert
[pick a
number corresponding to a log file]
Use vi commands and :w to write the file
CMAN Trace
Files
Viewing Method 1 (Linux)
Viewing Method 1 (Windows)
If you have "n" number of CMAN gateways configured then the last (n + 2) traces in the directory output are what is needed.
Out of these last (n + 2) traces, the 1st will be the cmadmin trace, the 2nd will be the cman tnslsnr trace, and the remaining will be gateway traces.
sqlnet.log
Viewing Method 1
adrci
adrci>show base -product client
adrci> set base <above
output>
adrci> show alert
[pick a number corresponding to a
log file]
Use vi commands and :w to write the
file
trcasst
No ADR created tracefile can be read by trcasst. Please see
below on how to disable ADR.
Tnsping Tracing
Tnsping traces are not effected by ADR
being set or not. Set tnsping_trace_level as
usual.
Reverting Back to Old-Style.
Tracing and Logging:
Set DIAG_ADR_ENABLED=off in the following
locations, after doing so, set a trace_level accordingly:
revert to
client/server tracing/logging: set parameter DIAG_ADR_ENABLED=off in the client
or server sqlnet.ora files
revert to listener tracing/logging: set
parameter DIAG_ADR_ENABLED_listenerName=off in the listener.ora file
revert to cman tracing/logging:
Linux and Windows: add (DIAG_ADR_ENABLED=off) inside the parameter_list
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/756652/viewspace-719232/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Automatic Diagnostic Repository (ADR) in Oracle Database 11g Release 1 (ADRCI)OracleDatabase
- Oracle 11g DG新特性--Automatic block repairOracleBloCAI
- Oracle ADR介紹Oracle
- oracle的adr清理incidentOracleIDE
- Oracle 12c Automatic ReoptimizationOracle
- 2.10.3 使用 Oracle Automatic Storage Management (Oracle ASM) 克隆資料庫OracleASM資料庫
- Oracle之11g DataGuardOracle
- Oracle 11G 安裝文件Oracle
- benchmark 壓測Oracle 11gOracle
- sysbench壓測Oracle 11gOracle
- 【ADRCI】使用ADRCI (ADR Command Interpreter) 工具檢視Oracle alert警告日誌Oracle
- Oracle 11G 安裝 bbed 工具Oracle
- oracle 11g data guard維護Oracle
- oracle 11g OEM在哪裡找到???Oracle
- oracle 11g 常用命令Oracle
- Oracle 11g RAC Silent Install For NFSOracleNFS
- Oracle 11g刪除庫重建Oracle
- Oracle 11G 修改scan_ipOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- Oracle 11g RAC 監聽日常管理Oracle
- Oracle 11g 052題庫解析1Oracle
- oracle 11g datagurd主從切換Oracle
- ORACLE10G升級11GOracle
- Oracle 11g RAC手動新增serviceOracle
- Oracle 11g dg broker自動failoverOracleAI
- Oracle 11g關閉開啟AWROracle
- oracle 11g 系統審計功能Oracle
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- ASM(Automatic Storage Management)ASM
- Oracle 11g 重新建立控制檔案Oracle
- Oracle Data Pump 11G 資料泵元件Oracle元件
- Oracle 11g dataguard 配置簡約步驟Oracle
- oracle 11g自動記憶體管理Oracle記憶體
- Oracle 11g RAC重新新增節點Oracle
- Oracle 11g升級到12COracle
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- Oracle 11g單主搭建物理DGOracle