|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > RAC > Oracle clusterware log files (for 11.2 Oracle clusterware) |
|
Oracle 10g, 11g Database Administration (DBA): RAC |
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11gR2 Oracle clusterware log files |
||||||||||||||||||||||||||||||
|
Oracle Database uses a unified log directory structure to consolidate the Oracle Clusterware component log files. This consolidated structure simplifies diagnostic information collection and assists during data retrieval and problem analysis.
With Oracle grid infrastructure 11g release 2 (11.2), Oracle
Automatic Storage Management (Oracle ASM) and Oracle Clusterware are
installed into a single home directory, which is referred to as the Grid
Infrastructure home. Configuration assistants start after the
installer interview process that configures Oracle ASM and Oracle
Clusterware.
Notations
$GRID_HOME is used in 11.2 Oracle clusterware to specify the grid (clusterware + ASM location). In previous releases we used $CRS_HOME or $ORA_CRS_HOME as environment variable for the clusterware software location (oracle cluster home). For this reason, we can set all these 3 environment variable with the same value (in .profile), but this is not mandatory. In this case we can consider GRID_BASE /oracle/grid if we want.
$GRID_HOME=/oracle/grid/11.2 $ORA_CRS_HOME=/oracle/grid/11.2 $CRS_HOME=/oracle/grid/11.2
In 11.2 grid infrastructure, the Oracle Clusterware Component Log Files are all situated in the $GRID_HOME/log/<hostname>
For instance, if my host name is tzdev1rac, all my Oracle Clusterware Component Log Files (for 11.2) are situated in $GRID_HOME/log/tzdev1rac:
pwd
ls -altr
Where can we find the log files related to the listeners?
For listener.log ($ORACLE_BASE was set during the instalation and $DIAGNOSTIC_DEST wasn't set) => $ORACLE_BASE/diag/tnslsnr/tzdev1rac/listener/trace/listener.log
As of Oracle Database 11g Release 1, the diagnostics for each database
instance are located in a dedicated directory, which can be specified
through the DIAGNOSTIC_DEST initialization parameter. The structure of
the directory specified by DIAGNOSTIC_DEST is as follows:
For example, if the database name is proddb and the instance name is
proddb1, the ADR home directory would be
<diagnostic_dest>/diag/rdbms/proddb/proddb1.
This parameter can be set on each instance. Oracle recommends that each instance in a cluster specify a DIAGNOSTIC_DEST directory location that is located on shared disk and that the same value for DIAGNOSTIC_DEST be specified for each instance.
If you want to see how the ADR Homes are configurated in the database you can run:
column INST_ID format 999 column NAME format a20 column VALUE format a45 select INST_ID, NAME, VALUE from V$DIAG_INFO;
More information
about this subject (
Oracle clusterware log files (for 11.2 Oracle clusterware) ) you can get from
www.in-oracle.com
|
|
Home > Oracle Database Administration (DBA) > RAC > Oracle clusterware log files (for 11.2 Oracle clusterware) |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.