Tuesday, February 11, 2020

Diagcollection - Clusterware diagcollection information

Diagcollection - Clusterware diagcollection information 

Diagcollection is a script that allows you to collect diagnostic information in the cluster. The output is very useful to analyze any critical issues with the cluster.

Collect Cluster Health Monitor data from any node in the cluster by running Grid_home/bin/diagcollection.pl script on the node.

When an Oracle Clusterware error occurs, run the diagcollection.pl diagnostics collection script to collect diagnostic information from Oracle Clusterware into trace files.

Run the diagcollection.pl script as root from the Grid_home/bin directory.

[root@wd01db01]# /u01/app/11.2.0.3/grid/bin/diagcollection.sh
Production Copyright 2004, 2010, Oracle.  All rights reserved
Cluster Ready Services (CRS) diagnostic collection tool
The following CRS diagnostic archives will be created in the local directory.
crsData_wd01db01_20140615_2310.tar.gz -> logs,traces and cores from CRS home. Note: core files will be packaged only with the --core option. 
ocrData_wd01db01_20140615_2310.tar.gz -> ocrdump, ocrcheck etc 
coreData_wd01db01_20140615_2310.tar.gz -> contents of CRS core files in text format

osData_wd01db01_20140615_2310.tar.gz -> logs from Operating System
Collecting crs data
/bin/tar: log/wd01db01/cssd/ocssd.log: file changed as we read it
Collecting OCR data 
PROT-302: Failed to initialize ocrdump
/bin/tar: wd01db01_OCRDUMP: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
Collecting information from core files

warning: exec file is newer than core file.
Cannot access memory at address 0xf8758966f07d8948

warning: exec file is newer than core file.
Cannot access memory at address 0xf8758966f07d8948

warning: core file may not match specified executable file.

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffdb5fd000

warning: core file may not match specified executable file.

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff033d2000

warning: exec file is newer than core file.
Cannot access memory at address 0x2b8ac494ec38

warning: exec file is newer than core file.
Cannot access memory at address 0x2b267a1a0c38

warning: exec file is newer than core file.
Cannot access memory at address 0x2afdffaa2c38

warning: exec file is newer than core file.
Cannot access memory at address 0x2add0a05dc38

warning: exec file is newer than core file.
Cannot access memory at address 0x2b325bc04c38
The following diagnostic archives will be created in the local directory.
acfsData_wd01db01_20140615_2310.tar.gz -> logs from acfs log.
Collecting acfs data
acfsutil log: CLSU-00100: Operating System function: open64 failed with error data: 2
acfsutil log: CLSU-00101: Operating System error message: No such file or directory
acfsutil log: CLSU-00103: error location: OOF_1
acfsutil log: CLSU-00104: additional error information: open64 (/dev/ofsctl)
acfsutil log: ACFS-00502: Failed to communicate with the ACFS driver.  Verify the ACFS driver has been loaded.
Collecting OS logs
Collecting sysconfig data
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3 doesn't contain a valid partition table
[root@wd01db01]#

Regards,
Mallik

No comments:

Post a Comment

Automation Script | Archivelog Generation Hourly Monitoring

1. List out all the running databases and pic one database where we want to monitore the archive log generation from last 1 month. [oracle@o...