Invoking diagcollection script
Step 1: Log in as Root
Step 2: Set up the following environment variables
# export ORACLE_BASE= /..../
# export ORACLE_HOME = /..../
# export ORA_CRS_HOME = /.../
Step 3: Run the script
# cd $ORA_CRS_HOME/bin
# ./diagcollection.pl -collect
The script generates the following files in the local directory,
basData_
crsData_
ocrData_
oraData_
To collect only subset of log files , you can invoke as follows,
# ./diagcollection.pl -collect -crs (CRS log files)
# ./diagcollection.pl -collect -oh (ORACLE_HOME logfiles)
# ./diagcollection.pl -collect -ob (ORACLE_BASE logfiles)
# ./diagcollection.pl -collect -all (default)
To clean out the files generated from the last run
# ./diagcollection.pl -clean
To extract only the core files found in the generated files and store it in a text file,
# ./diagcollection.pl -coreanalyze
Thanks
No comments:
Post a Comment