Troubleshooting Oracle clusterware and collecting Diagnostic information from crs_home and db_home using diagcollection.pl in RAC

>The default location of alert log of cluster is:
$ORA_CRS_HOME/10g
$ls
$cd lnx01
$ls
$tail -50 alertlnx01.log | more

—————————————————————–
Collecting diagnostic information from oracle home
—————————————————————–
>we need to run as root user,
lnx01]# export ORA_CRS_HOME=/u01/app/oracle/product/10.2.0/crs_home
#cd $ORA_CRS_HOME/bin
bin]# ./diagcollection.pl –collect -crs $ORA_CRS_HOME
#ls *.gz
#mv *.gz $HOME
#cd
#ls
#unzip ocrData_lnx01.tar.gz
#gunzip ocrData_lnx01.tar.gz
#tar -xvf ocrData_lnx01.tar

———————————————————
Collecting diagnostic information from ORACLE_HOME
———————————————————————-

lnx01]#export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_home
#cd $ORA_CRS_HOME/bin
#./diagcollection.pl –collect –oh $ORACLE_HOME
#ls *.gz
#mv *.gz $HOME
#cd
#gunzip oraData_lnx01.gz
#ls
#gunzip oraData_lnx01.tar.gz
#ls
#tar -xvf oraData_lnx01.tar.gz

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: