diagcollection.pl

2
Tuesday, April 02, 2013 POSTS COMMENTS RAC Database Administration home dba unix interview questions Search this website... GO Diagcollection.pl Diagcollection.pl is a script used to collect the diagnostic information from clusterware installation. The script provides you with additional information so that the Oracle Support can resolve problems. 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_.tar.gz (contains logfiles from ORACLE_BASE/admin) crsData_.tar.gz (logs from $ORA_CRS_HOME/log/) ocrData_.tar.gz (results of ocrcheck, ocrdump and ocr backups) oraData_.tar.gz (logs from $ORACLE_HOME/log/) 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 Posted by Vinod Dhandapani at 1:33 PM Labels: Clusterware, Performance Tuning No comments: Post a Comment AMAZON OFFERS Nailed Joseph Flynn New Across the Creek Jeremy Asher New The Fifth Avenue Series Boxed Set Christopher Smith,... New No More Wasted Time Beverly Preston New Privacy Information Vinod's Blog on Oracle MY FAV BLOGS Powered by Blogger. ARCHIVE 2011 (20) September (7) June (4) May (5) Cluster Verification Utility CLUVFY Network Time Protocol (NTP) RFS Process not working Clusterware Log Files Diagcollection.pl April (3) March (1) 2010 (4) 2009 (23) LABELS Administration (3) Backup (2) Clusterware (4) Cluvfy (1) Commands (6) Configuration (2) CPU Tuning (8) Data Guard (8) Education (3) Errors (1) FTP (1) Installation (1) IO Tuning (2) IOSTAT (2) Issues (1) Memory Tuning (2) Performance Tuning (4) Redo log (1) SAR (6) Schedule (1) scripts (2) Server Tuning (19) Shell Script (1) Recommend this on Google RAC Database Administration: Diagcollection.pl http://racadmin.blogspot.in/2011/05/diagcollectionpl.html 1 of 2 4/2/2013 5:09 AM Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/)

Upload: alokmishra4533

Post on 22-Oct-2015

18 views

Category:

Documents


1 download

DESCRIPTION

DiagCollection for RAC

TRANSCRIPT

Page 1: Diagcollection.pl

Tuesday, April 02, 2013 POSTS COMMENTS

RAC Database Administration

home dba unix interview questions Search this website... GO

Diagcollection.plDiagcollection.pl is a script used to collect the diagnostic information from clusterware installation. The scriptprovides you with additional information so that the Oracle Support can resolve problems.

Invoking diagcollection script

Step 1: Log in as RootStep 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_.tar.gz (contains logfiles from ORACLE_BASE/admin)crsData_.tar.gz (logs from $ORA_CRS_HOME/log/)ocrData_.tar.gz (results of ocrcheck, ocrdump and ocr backups)oraData_.tar.gz (logs from $ORACLE_HOME/log/)

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

Posted by Vinod Dhandapani at 1:33 PM

Labels: Clusterware, Performance Tuning

No comments:

Post a Comment

AMAZON OFFERS

NailedJoseph FlynnNew

Across the CreekJeremy AsherNew

The Fifth AvenueSeries Boxed SetChristopherSmith,...New

No More WastedTimeBeverly PrestonNew

Privacy Information

Vinod's Blog on Oracle

MY FAV BLOGS

Powered by Blogger.

ARCHIVE

▼ 2011 (20)

► September (7)

► June (4)

▼ May (5)

Cluster VerificationUtility CLUVFY

Network TimeProtocol (NTP)

RFS Process notworking

Clusterware Log Files

Diagcollection.pl

► April (3)

► March (1)

► 2010 (4)

► 2009 (23)

LABELS

Administration (3)

Backup (2)

Clusterware (4)

Cluvfy (1)

Commands (6)

Configuration (2)

CPU Tuning (8)

Data Guard (8)

Education (3)

Errors (1)

FTP (1)

Installation (1)

IO Tuning (2)

IOSTAT (2)

Issues (1)

Memory Tuning(2)

PerformanceTuning (4)

Redo log (1)

SAR (6)

Schedule (1)

scripts (2)

Server Tuning (19)

Shell Script (1)

Recommend this on Google

RAC Database Administration: Diagcollection.pl http://racadmin.blogspot.in/2011/05/diagcollectionpl.html

1 of 2 4/2/2013 5:09 AMPrint to PDF without this message by purchasing novaPDF (http://www.novapdf.com/)

Page 2: Diagcollection.pl

Comment as:

SVMON (1)

Undo Tablespace(1)

Unix (26)

VMSTAT (1)

volumemanagement (1)

FOLLOWERS

RAC Database Administration. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com

RAC Database Administration: Diagcollection.pl http://racadmin.blogspot.in/2011/05/diagcollectionpl.html

2 of 2 4/2/2013 5:09 AMPrint to PDF without this message by purchasing novaPDF (http://www.novapdf.com/)