Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

ADRCI command tips!

Oracle 11g New Features Tips by Donald BurlesonJune 29, 2015

Oracle Automatic Diagnostic Repository (ADR) commands are with the Oracle Incident Packaging Services (IPS) to report issues to Oracle technical support (MOSC).

See these notes on using ADRCI with IPS Incident packaging services.

From the command prompt, the ADRCI utility is entered by typing:

C:\>adrci 

ADRCI: Release 11.1.0.6.0 - Beta on Thu Nov 15 22:21:42 2015 

Copyright (c) 1982, 2015, Oracle.  All rights reserved. 

ADR base = "file:///u01/oracle/11g">u01/oracle/11g"

adrci>

You can also display ADR information from the v$diag_info view:

SQL> SELECT name, value FROM v$diag_info;

NAME VALUE
--------------------- ---------------------------------------------------
Diag Enabled          TRUE
ADR Base              /u01/app/oracle
ADR Home              /u01/app/oracle/diag/rdbms/db11/db1
Diag Trace            /u01/app/oracle/diag/rdbms/db11/db1/trace
Diag Alert            /u01opt/app/oracle/diag/rdbms/db11/db1/alert
Diag Incident         /u01/app/oracle/diag/rdbms/db11/db1/incident
Diag Cdump            /u01/app/oracle/diag/rdbms/db11/db1/cdump
Health Monitor        /u01/app/oracle/diag/rdbms/db11/db1/hm
Default Trace File    /u01/app/oracle/diag/rdbms/db11/db1/trc/ora_9230.trc
Active Problem Count 0
Active Incident Count 0

ADRCI Homes

ADRCI commands are based on one or more base directories known as ADR homes.  Before using the ADRCI commands, it is helpful to set an active ADR home to work with a single instance.  The available homes can be seen by typing:

adrci> show homes

ADR Homes:
diag\clients\user_system\host_1475088825_11
diag\clients\user_varun jain\host_1475088825_11
diag\rdbms\ora11g4\ora11g4
diag\rdbms\ora11gr1\ora11gr1
diag\tnslsnr\dcfx7hb1\listener
adrci>

The output above shows that there are several available home directories on which ADR can operate.  If a DBA wants to only access diagnostic data from one of the available homes, the active ADR home should be set appropriately.  The active home can be set using the set homepath command:

adrci> set homepath diag\rdbms\ora11gr1\ora11gr1

adrci> show homes

ADR Homes:
diag\rdbms\ora11gr1\ora11gr1

adrci>

The output demonstrates that after setting the active ADR home, only the active home displays. 

ADRCI alert log commands

You can run the ADRCI "show alert" command to view the alert log:

adrci> set homepath diag/rdbms/ora11gr1\ora11gr

adrci> show alert -tail;

Note: Rampant author Laurent Schneider has some additional insight into creating an Oracle Automatic Diagnostic Repository (ADR)

 

This is an excerpt from the new book Oracle 11g New Features: Expert Guide to the Important New Features by John Garmany, Steve Karam, Lutz Hartmann, V. J. Jain, Brian Carr.

You can buy it direct from the publisher for 30% off.

 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational