天天看點

oracle11gRAC之log日志體系

oracle11gRAC之log日志體系:

1、CRS日志(grid):

首選檢視alertlog:

$CRS_HOME/grid/log/hostname/alertdbserver1.log

Clusterware背景程序日志:

crsd.Log: $ORA_CRS_HOME/grid/log/hostname/crsd/crsd.Log

ocssd.Log: $ORA_CRS_HOME/grid/log/hostname/cssd/ocsd.Log

evmd.Log: $ORA_CRS_HOME/grid/log/hostname/evmd/evmd.Log

工具執行日志:

$ORA_CRS_HOME/log/hostname/client/

Clusterware 提供了許多指令行工具:

比如crsctl、ocrcheck, ocrconfig,ocrdump,oifcfg和clscfg, 這些工具産生的日志就放在這個目錄下

2、DB日志(oracle)

alertlog:

/diag/rdbms///trace

/oracle/app/oracle/diag/rdbms/orclfi/orclfi1/trace

/oracle/app/oracle/diag/rdbms/orclfi/orclfi2/trace

3、lsnrctl log

/oracle/app/11.2.0/grid/log/diag/tnslsnr/dbserver2/listener_scan1/trace/listener_scan1.log

[@more@]