Monday, May 30, 2011

Diagcollection


 


 

Use the diagcollection.pl script to collect diagnostic information from an Oracle Clusterware installation. The diagnostics provide additional information so that Oracle Support can resolve problems. This script is located in $ORA_CRS_HOME/bin. Before executing the script, you must be logged in as the root user, and you must set the following environment variables: ORACLE_BASE, ORACLE_HOME, ORA_CRS_HOME, HOSTNAME.


 

#$ORA_CRS_HOME/bin/diagcollection.pl


 

#$ORA_CRS_HOME/bin/diagcollection.pl --collect


 

#$ORA_CRS_HOME/bin/diagcollection.pl --collect --crs $ORA_CRS_HOME


 

#$ORA_CRS_HOME/bin/diagcollection.pl --collect --oh $ORACLE_HOME


 

#$ORA_CRS_HOME/bin/diagcollection.pl --collect --ob $ORACLE_BASE


 

#$ORA_CRS_HOME/bin/diagcollection.pl --collect --all


 

#$ORA_CRS_HOME/bin/diagcollection.pl –coreanalysis


 

--- analyze all the trace & log files and summarizes in a text file


 

#$ORA_CRS_HOME/bin/diagcollection.pl --clean  --- cleans gathered info